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
spbro
OpenXG-RAN
Commits
2955ae47
Commit
2955ae47
authored
Aug 01, 2019
by
Cedric Roux
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bugfix: compile with x2ap release 15.03
parent
43a53f99
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
10 deletions
+17
-10
openair2/X2AP/x2ap_eNB_generate_messages.c
openair2/X2AP/x2ap_eNB_generate_messages.c
+8
-5
openair2/X2AP/x2ap_eNB_handler.c
openair2/X2AP/x2ap_eNB_handler.c
+8
-4
openair3/UTILS/conversions.h
openair3/UTILS/conversions.h
+1
-1
No files found.
openair2/X2AP/x2ap_eNB_generate_messages.c
View file @
2955ae47
...
...
@@ -1425,12 +1425,15 @@ int x2ap_gNB_generate_ENDC_x2_setup_response(
&
servedCellMember
->
servedNRCellInfo
.
nrCellID
.
pLMN_Identity
);
NR_CELL_ID_TO_BIT_STRING
(
instance_p
->
eNB_id
,
&
servedCellMember
->
servedNRCellInfo
.
nrCellID
.
nRcellIdentifier
);
NR_EXTENDED_TAC_ID_TO_BIT_STRING
(
instance_p
->
tac
,
&
servedCellMember
->
servedNRCellInfo
.
eXtended_TAC
);
servedCellMember
->
servedNRCellInfo
.
fiveGS_TAC
=
calloc
(
1
,
sizeof
(
X2AP_FiveGS_TAC_t
));
if
(
servedCellMember
->
servedNRCellInfo
.
fiveGS_TAC
==
NULL
)
exit
(
1
);
NR_FIVEGS_TAC_ID_TO_BIT_STRING
(
instance_p
->
tac
,
servedCellMember
->
servedNRCellInfo
.
fiveGS_TAC
);
X2AP_INFO
(
"TAC: %d -> %02x%02x%02x
\n
"
,
instance_p
->
tac
,
servedCellMember
->
servedNRCellInfo
.
eXtended_TAC
.
buf
[
0
],
servedCellMember
->
servedNRCellInfo
.
eXtended_TAC
.
buf
[
1
],
servedCellMember
->
servedNRCellInfo
.
eXtended_TAC
.
buf
[
2
]);
servedCellMember
->
servedNRCellInfo
.
fiveGS_TAC
->
buf
[
0
],
servedCellMember
->
servedNRCellInfo
.
fiveGS_TAC
->
buf
[
1
],
servedCellMember
->
servedNRCellInfo
.
fiveGS_TAC
->
buf
[
2
]);
plmn
=
(
X2AP_PLMN_Identity_t
*
)
calloc
(
1
,
sizeof
(
X2AP_PLMN_Identity_t
));
{
...
...
@@ -1440,7 +1443,7 @@ int x2ap_gNB_generate_ENDC_x2_setup_response(
if
(
instance_p
->
frame_type
[
i
]
==
TDD
)
{
// Panos: Remember to change that to TDD
servedCellMember
->
servedNRCellInfo
.
nrModeInfo
.
present
=
X2AP_ServedNRCell_Information__nrModeInfo_PR_tdd
;
servedCellMember
->
servedNRCellInfo
.
nrModeInfo
.
choice
.
tdd
.
nR
_
ARFCN
=
0
;
//instance_p->tdd_nRARFCN[i];
servedCellMember
->
servedNRCellInfo
.
nrModeInfo
.
choice
.
tdd
.
nR
FreqInfo
.
nR
ARFCN
=
0
;
//instance_p->tdd_nRARFCN[i];
/*Missing addition of Frequency Band List item here, can't find it... */
switch
(
instance_p
->
N_RB_DL
[
i
])
{
case
50
:
...
...
openair2/X2AP/x2ap_eNB_handler.c
View file @
2955ae47
...
...
@@ -1582,10 +1582,14 @@ x2ap_gNB_handle_ENDC_x2_setup_response(instance_t instance,
servedCellMember
=
(
ServedNRcellsENDCX2ManagementList__Member
*
)
ie_GNB_ENDC
->
value
.
choice
.
ServedNRcellsENDCX2ManagementList
.
list
.
array
[
i
];
x2ap_eNB_data
->
Nid_cell
[
i
]
=
servedCellMember
->
servedNRCellInfo
.
nrpCI
;
//servedCellMember->servedNRCellInfo.nrCellID.pLMN_Identity.buf[0]
X2AP_INFO
(
"TAC: %02x%02x%02x
\n
"
,
servedCellMember
->
servedNRCellInfo
.
eXtended_TAC
.
buf
[
0
],
servedCellMember
->
servedNRCellInfo
.
eXtended_TAC
.
buf
[
1
],
servedCellMember
->
servedNRCellInfo
.
eXtended_TAC
.
buf
[
2
]);
if
(
servedCellMember
->
servedNRCellInfo
.
fiveGS_TAC
!=
NULL
)
{
X2AP_INFO
(
"TAC: %02x%02x%02x
\n
"
,
servedCellMember
->
servedNRCellInfo
.
fiveGS_TAC
->
buf
[
0
],
servedCellMember
->
servedNRCellInfo
.
fiveGS_TAC
->
buf
[
1
],
servedCellMember
->
servedNRCellInfo
.
fiveGS_TAC
->
buf
[
2
]);
}
else
{
X2AP_INFO
(
"TAC: (NULL)
\n
"
);
}
X2AP_INFO
(
"PLMN: %02x%02x%02x
\n
"
,
servedCellMember
->
servedNRCellInfo
.
nrCellID
.
pLMN_Identity
.
buf
[
0
],
...
...
openair3/UTILS/conversions.h
View file @
2955ae47
...
...
@@ -380,7 +380,7 @@ do { \
} while(0)
*/
#define NR_
EXTENDED
_TAC_ID_TO_BIT_STRING(x, aSN) \
#define NR_
FIVEGS
_TAC_ID_TO_BIT_STRING(x, aSN) \
do { \
(aSN)->buf = calloc(3, sizeof(uint8_t)); \
(aSN)->size = 3; \
...
...
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