Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lizhongxiao
OpenXG-RAN
Commits
d0b00aa5
Commit
d0b00aa5
authored
Dec 02, 2023
by
Chieh-Chun Chen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix: save plmn info in RRCSetupComplete
parent
477510cb
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
openair2/RRC/NR/rrc_gNB.c
openair2/RRC/NR/rrc_gNB.c
+6
-0
openair2/RRC/NR/rrc_gNB_NGAP.c
openair2/RRC/NR/rrc_gNB_NGAP.c
+3
-0
No files found.
openair2/RRC/NR/rrc_gNB.c
View file @
d0b00aa5
...
...
@@ -1553,6 +1553,12 @@ 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
;
...
...
openair2/RRC/NR/rrc_gNB_NGAP.c
View file @
d0b00aa5
...
...
@@ -209,6 +209,9 @@ 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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment