Commit 360e2e77 authored by Raymond Knopp's avatar Raymond Knopp

monolithic ok (RRCConnectionSetupComplete)

parent 1e5f95cd
...@@ -307,7 +307,7 @@ mac_rrc_data_ind( ...@@ -307,7 +307,7 @@ mac_rrc_data_ind(
LOG_I(RRC,"[eNB %d] Received SDU for CCCH on SRB 0 (%d,%x)\n",module_idP, LOG_I(RRC,"[eNB %d] Received SDU for CCCH on SRB 0 (%d,%x)\n",module_idP,
ctxt.module_id,ctxt.rnti); ctxt.module_id,ctxt.rnti);
/*
// create a ue_context with rnti as random value, will be updated when Attach Request is received // create a ue_context with rnti as random value, will be updated when Attach Request is received
struct rrc_eNB_ue_context_s *ue_context_p = rrc_eNB_get_next_free_ue_context(&ctxt, struct rrc_eNB_ue_context_s *ue_context_p = rrc_eNB_get_next_free_ue_context(&ctxt,
rntiP rntiP
...@@ -327,8 +327,8 @@ mac_rrc_data_ind( ...@@ -327,8 +327,8 @@ mac_rrc_data_ind(
sdu_lenP); sdu_lenP);
srb_info_p->Rx_buffer.payload_size = sdu_lenP; srb_info_p->Rx_buffer.payload_size = sdu_lenP;
srb_info_p->Active = 1; srb_info_p->Active = 1;
*/
// msg("\n******INST %d Srb_info %p, Srb_id=%d****\n\n",Mod_id,Srb_info,Srb_info->Srb_id);
if (sdu_lenP > 0) rrc_eNB_decode_ccch(&ctxt, sduP, sdu_lenP, CC_id); if (sdu_lenP > 0) rrc_eNB_decode_ccch(&ctxt, sduP, sdu_lenP, CC_id);
} }
......
...@@ -6438,6 +6438,7 @@ rrc_eNB_decode_ccch( ...@@ -6438,6 +6438,7 @@ rrc_eNB_decode_ccch(
ue_context_p->ue_context.ul_failure_timer = 20000; ue_context_p->ue_context.ul_failure_timer = 20000;
} }
ue_context_p = rrc_eNB_get_next_free_ue_context(ctxt_pP, random_value); ue_context_p = rrc_eNB_get_next_free_ue_context(ctxt_pP, random_value);
ue_context_p->ue_context.Srb0.Active=1;
} else if (InitialUE_Identity_PR_s_TMSI == rrcConnectionRequest->ue_Identity.present) { } else if (InitialUE_Identity_PR_s_TMSI == rrcConnectionRequest->ue_Identity.present) {
/* Save s-TMSI */ /* Save s-TMSI */
S_TMSI_t s_TMSI = rrcConnectionRequest->ue_Identity.choice.s_TMSI; S_TMSI_t s_TMSI = rrcConnectionRequest->ue_Identity.choice.s_TMSI;
......
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