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
zzha zzha
OpenXG-RAN
Commits
c3927fa6
Commit
c3927fa6
authored
Sep 27, 2023
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix bug: correct PLMN in check in E1AP Setup Req handler
parent
a23984c7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
openair2/E1AP/e1ap_setup.c
openair2/E1AP/e1ap_setup.c
+0
-1
openair2/RRC/NR/rrc_gNB.c
openair2/RRC/NR/rrc_gNB.c
+2
-2
No files found.
openair2/E1AP/e1ap_setup.c
View file @
c3927fa6
...
...
@@ -104,7 +104,6 @@ MessageDef *RCconfig_NR_CU_E1(bool separate_CUUP_process)
for
(
int
I
=
0
;
I
<
numPLMNs
;
I
++
)
{
e1Setup
->
plmns
[
I
].
mcc
=
*
PLMNParamList
.
paramarray
[
I
][
GNB_MOBILE_COUNTRY_CODE_IDX
].
uptr
;
e1Setup
->
plmns
[
I
].
mnc
=
*
PLMNParamList
.
paramarray
[
I
][
GNB_MOBILE_NETWORK_CODE_IDX
].
uptr
;
e1Setup
->
plmns
[
I
].
mnc
=
*
PLMNParamList
.
paramarray
[
I
][
GNB_MNC_DIGIT_LENGTH
].
u8ptr
;
}
/* TODO add NSSAIs */
...
...
openair2/RRC/NR/rrc_gNB.c
View file @
c3927fa6
...
...
@@ -2325,8 +2325,8 @@ int rrc_gNB_process_e1_setup_req(e1ap_setup_req_t *req, instance_t instance) {
resp
->
transac_id
=
req
->
transac_id
;
for
(
int
i
=
0
;
i
<
req
->
supported_plmns
;
i
++
)
{
if
(
rrc
->
configuration
.
mcc
[
i
]
==
req
->
plmns
[
i
].
mcc
&&
rrc
->
configuration
.
mnc
[
i
]
=
=
req
->
plmns
[
i
].
mnc
)
{
if
(
rrc
->
configuration
.
mcc
[
i
]
!=
req
->
plmns
[
i
].
mcc
||
rrc
->
configuration
.
mnc
[
i
]
!
=
req
->
plmns
[
i
].
mnc
)
{
LOG_E
(
NR_RRC
,
"PLMNs received from CUUP (mcc:%d, mnc:%d) did not match with PLMNs in RRC (mcc:%d, mnc:%d)
\n
"
,
req
->
plmns
[
i
].
mcc
,
req
->
plmns
[
i
].
mnc
,
rrc
->
configuration
.
mcc
[
i
],
rrc
->
configuration
.
mnc
[
i
]);
return
-
1
;
...
...
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