Temp fix to try to get CBRA procdeure complete
Need to review this with Raymond.
This commit is contained in:
@@ -1762,8 +1762,13 @@ int8_t nr_rrc_ue_decode_ccch( const protocol_ctxt_t *const ctxt_pP, const NR_SRB
|
||||
//-----------------------------------------------------------------------------
|
||||
void nr_rrc_ue_generate_RRCSetupRequest(module_id_t module_id, const uint8_t gNB_index) {
|
||||
uint8_t i=0,rv[6];
|
||||
|
||||
if(get_softmodem_params()->sa) {
|
||||
/* TODO: Melissa, this is not a proper fix. The NAS layer should be
|
||||
getting intialized and then the substate will not crash when AMF_MODE_ENABLED
|
||||
is equal to 1. However, as a side note, when we keep the code below,
|
||||
once the CBRA procedure is finished, the NAS layer is ran and the AMF_MODE_ENABLED
|
||||
is switched to one and the substate assertion in the nr_rrc_set_sub_state()
|
||||
does not happen. So show this to Raymond and maybe its okay? */
|
||||
if(get_softmodem_params()->sa && !get_softmodem_params()->emulate_l2) {
|
||||
AMF_MODE_ENABLED = 1;
|
||||
}
|
||||
if(NR_UE_rrc_inst[module_id].Srb0[gNB_index].Tx_buffer.payload_size ==0) {
|
||||
|
||||
Reference in New Issue
Block a user