Reverting changes that did not fix SA mode
This commit is contained in:
@@ -519,6 +519,10 @@ void nr_initiate_ra_proc(module_id_t module_idP,
|
|||||||
for (int i = 0; i < NR_NB_RA_PROC_MAX; i++) {
|
for (int i = 0; i < NR_NB_RA_PROC_MAX; i++) {
|
||||||
NR_RA_t *ra = &cc->ra[i];
|
NR_RA_t *ra = &cc->ra[i];
|
||||||
pr_found = 0;
|
pr_found = 0;
|
||||||
|
const int UE_id = find_nr_UE_id(module_idP, ra->rnti);
|
||||||
|
if (UE_id != -1) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
if (ra->state == RA_IDLE) {
|
if (ra->state == RA_IDLE) {
|
||||||
for(int j = 0; j < ra->preambles.num_preambles; j++) {
|
for(int j = 0; j < ra->preambles.num_preambles; j++) {
|
||||||
//check if the preamble received correspond to one of the listed or configured preambles
|
//check if the preamble received correspond to one of the listed or configured preambles
|
||||||
|
|||||||
@@ -224,7 +224,7 @@ static void init_NR_SI(gNB_RRC_INST *rrc, gNB_RrcConfigurationReq *configuration
|
|||||||
rrc->carrier.sizeof_SIB1 = do_SIB1_NR(&rrc->carrier, configuration);
|
rrc->carrier.sizeof_SIB1 = do_SIB1_NR(&rrc->carrier, configuration);
|
||||||
}
|
}
|
||||||
|
|
||||||
else if (!NODE_IS_DU(rrc->node_type)) {
|
if (!NODE_IS_DU(rrc->node_type)) {
|
||||||
rrc->carrier.SIB23 = (uint8_t *) malloc16(100);
|
rrc->carrier.SIB23 = (uint8_t *) malloc16(100);
|
||||||
AssertFatal(rrc->carrier.SIB23 != NULL, "cannot allocate memory for SIB");
|
AssertFatal(rrc->carrier.SIB23 != NULL, "cannot allocate memory for SIB");
|
||||||
rrc->carrier.sizeof_SIB23 = do_SIB23_NR(&rrc->carrier, configuration);
|
rrc->carrier.sizeof_SIB23 = do_SIB23_NR(&rrc->carrier, configuration);
|
||||||
|
|||||||
Reference in New Issue
Block a user