Respect minimum grant condition for Msg3
This commit is contained in:
committed by
francescomani
parent
7d8658f5ef
commit
d8b67af156
@@ -1047,7 +1047,7 @@ static bool nr_get_Msg3alloc(gNB_MAC_INST *mac, int CC_id, int current_slot, fra
|
||||
NR_RA_t *ra = UE->ra;
|
||||
DevAssert(ra->Msg3_tda_id >= 0 && ra->Msg3_tda_id < 16);
|
||||
|
||||
uint16_t msg3_nb_rb = 8; // sdu has 6 or 8 bytes
|
||||
uint16_t msg3_nb_rb = max(8, mac->min_grant_prb); // sdu has 6 or 8 bytes
|
||||
|
||||
NR_UE_UL_BWP_t *ul_bwp = &UE->current_UL_BWP;
|
||||
NR_UE_ServingCell_Info_t *sc_info = &UE->sc_info;
|
||||
|
||||
Reference in New Issue
Block a user