Skip to content

Fix an assert in power control

Bartosz Podrygajlo requested to merge fix-assert-in-pc into develop

Fix a bug where if BWP size is not exactly maximum BWP size for a bandwidth power control code asserts. This assert and assumption is incorrect, according to 38.101-1 UE channel is defined only by the BWP size and BWP size can be any value supported by the RRC parameters defining the BWP. To determine the UE channel the smallest bandwidth supporting the BWP is selected. This is an assumption based on references in the same document to UE channel bandwidth being equal to one of the values in set {5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 60, 70, 80, 90, 100}. Also:

  • calculated P_CMIN during BWP setup since the parameter doesn't depend on DCI.
  • initiialize uniqCfg structure in test_nr_ue_power_procedures main function which enables LOG prints during tests

Merge request reports