Commit 0a95d831 authored by swu's avatar swu Committed by Jerome Peraldi

bug #127933: [SS][rrc-eNB]add implementation of rrc reestablishment in SS mode

parent d9cea1c5
...@@ -227,6 +227,15 @@ mac_rrc_data_req( ...@@ -227,6 +227,15 @@ mac_rrc_data_req(
if( (Srb_id & RAB_OFFSET ) == CCCH) { if( (Srb_id & RAB_OFFSET ) == CCCH) {
struct rrc_eNB_ue_context_s *ue_context_p = rrc_eNB_get_ue_context(RC.rrc[Mod_idP],rnti); struct rrc_eNB_ue_context_s *ue_context_p = rrc_eNB_get_ue_context(RC.rrc[Mod_idP],rnti);
if(ue_context_p == NULL){
/* Check reestablishment context */
for (int i = 0; i < MAX_MOBILES_PER_ENB; i++) {
if (reestablish_rnti_map[i][0] == rnti) {
ue_context_p = rrc_eNB_get_ue_context(RC.rrc[Mod_idP], reestablish_rnti_map[i][1]);
break;
}
}
}
if (ue_context_p == NULL) return(0); if (ue_context_p == NULL) return(0);
......
This diff is collapsed.
...@@ -775,7 +775,7 @@ int sys_add_reconfig_cell(struct SYSTEM_CTRL_REQ *req) ...@@ -775,7 +775,7 @@ int sys_add_reconfig_cell(struct SYSTEM_CTRL_REQ *req)
{ {
RRC_CONFIGURATION_REQ(msg_p).ActiveParam[cell_index].b_C_RNTI_Present = true; RRC_CONFIGURATION_REQ(msg_p).ActiveParam[cell_index].b_C_RNTI_Present = true;
RRC_CONFIGURATION_REQ(msg_p).ActiveParam[cell_index].C_RNTI = bin_to_int(AddOrReconfigure->Active.v.C_RNTI.v, 16); RRC_CONFIGURATION_REQ(msg_p).ActiveParam[cell_index].C_RNTI = bin_to_int(AddOrReconfigure->Active.v.C_RNTI.v, 16);
//SS_context.SSCell_list[cell_index].ss_rnti_g = RRC_CONFIGURATION_REQ(msg_p).ActiveParam[cell_index].C_RNTI; SS_context.SSCell_list[cell_index].ss_rnti_g = RRC_CONFIGURATION_REQ(msg_p).ActiveParam[cell_index].C_RNTI;
LOG_A(ENB_SS_SYS_TASK, "C_RNTI present in Active Cell Config %d\n", RRC_CONFIGURATION_REQ(msg_p).ActiveParam[cell_index].C_RNTI); LOG_A(ENB_SS_SYS_TASK, "C_RNTI present in Active Cell Config %d\n", RRC_CONFIGURATION_REQ(msg_p).ActiveParam[cell_index].C_RNTI);
} }
if (AddOrReconfigure->Active.v.RachProcedureConfig.d == true) if (AddOrReconfigure->Active.v.RachProcedureConfig.d == true)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment