Commit 1da34a9a authored by Chieh-Chun Chen's avatar Chieh-Chun Chen

Revert "Fix: save plmn info in RRCSetupComplete"

This reverts commit fa8e88f66fa8778682a620c0301069aea83b596a.
parent 8f7be257
......@@ -1439,12 +1439,6 @@ static int handle_rrcSetupComplete(const protocol_ctxt_t *const ctxt_pP,
}
}
// TODO: need to handle multiple PLMN in RRC Connection Setup Complete
UE->ue_guami.mcc = RC.nrrrc[0]->configuration.mcc[0];
UE->ue_guami.mnc = RC.nrrrc[0]->configuration.mnc[0];
UE->ue_guami.mnc_len = RC.nrrrc[0]->configuration.mnc_digit_length[0];
// LOG_W(NR_RRC, "mcc %d, mnc %d, mnc_len %d\n", UE->ue_guami.mcc, UE->ue_guami.mnc, UE->ue_guami.mnc_len);
rrc_gNB_process_RRCSetupComplete(ctxt_pP, ue_context_p, setup_complete->criticalExtensions.choice.rrcSetupComplete);
LOG_I(NR_RRC, PROTOCOL_NR_RRC_CTXT_UE_FMT " UE State = NR_RRC_CONNECTED \n", PROTOCOL_NR_RRC_CTXT_UE_ARGS(ctxt_pP));
return 0;
......
......@@ -207,9 +207,6 @@ rrc_gNB_send_NGAP_NAS_FIRST_REQ(
/* selected_plmn_identity: IE is 1-based, convert to 0-based (C array) */
int selected_plmn_identity = rrcSetupComplete->selectedPLMN_Identity - 1;
req->selected_plmn_identity = selected_plmn_identity;
req->ue_identity.guami.mcc = UE->ue_guami.mcc;
req->ue_identity.guami.mnc = UE->ue_guami.mnc;
req->ue_identity.guami.mnc_len = UE->ue_guami.mnc_len;
if (rrcSetupComplete->registeredAMF != NULL) {
NR_RegisteredAMF_t *r_amf = rrcSetupComplete->registeredAMF;
......
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