Address review comments
This commit is contained in:
@@ -515,7 +515,8 @@ uint8_t nr_ue_get_rach(NR_PRACH_RESOURCES_t *prach_resources,
|
|||||||
|
|
||||||
uint8_t sdu_lcids[NB_RB_MAX] = {0};
|
uint8_t sdu_lcids[NB_RB_MAX] = {0};
|
||||||
uint16_t sdu_lengths[NB_RB_MAX] = {0};
|
uint16_t sdu_lengths[NB_RB_MAX] = {0};
|
||||||
int num_sdus, offset = 0;
|
int num_sdus = 0;
|
||||||
|
int offset = 0;
|
||||||
|
|
||||||
// Delay init RA procedure to allow the convergence of the IIR filter on PRACH noise measurements at gNB side
|
// Delay init RA procedure to allow the convergence of the IIR filter on PRACH noise measurements at gNB side
|
||||||
if (!prach_resources->init_msg1) {
|
if (!prach_resources->init_msg1) {
|
||||||
|
|||||||
@@ -465,7 +465,7 @@ void nr_rx_sdu(const module_id_t gnb_mod_idP,
|
|||||||
|
|
||||||
// random access pusch with TC-RNTI
|
// random access pusch with TC-RNTI
|
||||||
if (ra->rnti != current_rnti) {
|
if (ra->rnti != current_rnti) {
|
||||||
LOG_W(MAC,
|
LOG_W(NR_MAC,
|
||||||
"expected TC-RNTI %04x to match current RNTI %04x\n",
|
"expected TC-RNTI %04x to match current RNTI %04x\n",
|
||||||
ra->rnti,
|
ra->rnti,
|
||||||
current_rnti);
|
current_rnti);
|
||||||
|
|||||||
@@ -78,14 +78,14 @@ typedef struct OAI_NR_UECapability_s {
|
|||||||
} OAI_NR_UECapability_t;
|
} OAI_NR_UECapability_t;
|
||||||
|
|
||||||
typedef enum requested_SI_List_e {
|
typedef enum requested_SI_List_e {
|
||||||
SIB2 = 0x1,
|
SIB2 = 1,
|
||||||
SIB3 = 0x2,
|
SIB3 = 2,
|
||||||
SIB4 = 0x4,
|
SIB4 = 4,
|
||||||
SIB5 = 0x8,
|
SIB5 = 8,
|
||||||
SIB6 = 0x16,
|
SIB6 = 16,
|
||||||
SIB7 = 0x32,
|
SIB7 = 32,
|
||||||
SIB8 = 0x64,
|
SIB8 = 64,
|
||||||
SIB9 = 0x128
|
SIB9 = 128
|
||||||
} requested_SI_List_t;
|
} requested_SI_List_t;
|
||||||
|
|
||||||
// 3GPP TS 38.300 Section 9.2.6
|
// 3GPP TS 38.300 Section 9.2.6
|
||||||
|
|||||||
Reference in New Issue
Block a user