• Bartosz Podrygajlo's avatar
    Fix a bug where if BWP size is not exactly maximum BWP size for a bandwidth... · 48d68f7d
    Bartosz Podrygajlo authored
    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, 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
    48d68f7d
pbchsim.c 29.8 KB