Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG UE
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 UE
Commits
9cdd58ef
Commit
9cdd58ef
authored
Sep 05, 2018
by
Raymond Knopp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update of cu configuration file
parent
3f764b60
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
19 deletions
+30
-19
openair2/ENB_APP/enb_config.c
openair2/ENB_APP/enb_config.c
+22
-18
targets/PROJECTS/GENERIC-LTE-EPC/CONF/cu.lte.conf
targets/PROJECTS/GENERIC-LTE-EPC/CONF/cu.lte.conf
+8
-1
No files found.
openair2/ENB_APP/enb_config.c
View file @
9cdd58ef
...
...
@@ -815,10 +815,9 @@ int RCconfig_RRC(MessageDef *msg_p, uint32_t i, eNB_RRC_INST *rrc) {
char
enbpath
[
MAX_OPTNAME_SIZE
+
8
];
if
(
rrc
->
node_type
!=
ngran_eNB_CU
&&
rrc
->
node_type
!=
ngran_ng_eNB_CU
)
{
LOG_I
(
RRC
,
"Configuring Cell Information
\n
"
);
// PLMN information for SIB1 in DU
RRC_CONFIGURATION_REQ
(
msg_p
).
cell_identity
=
enb_id
;
LOG_I
(
RRC
,
"Configuring Cell Information
\n
"
);
// PLMN information for SIB1 in DU
RRC_CONFIGURATION_REQ
(
msg_p
).
cell_identity
=
enb_id
;
/*
if (strcmp(*(ENBParamList.paramarray[i][ENB_CELL_TYPE_IDX].strptr), "CELL_MACRO_ENB") == 0) {
...
...
@@ -833,21 +832,20 @@ int RCconfig_RRC(MessageDef *msg_p, uint32_t i, eNB_RRC_INST *rrc) {
enb_properties_loc.properties[enb_properties_loc_index]->eNB_name = strdup(enb_name);
*/
RRC_CONFIGURATION_REQ
(
msg_p
).
tac
=
(
uint16_t
)
atoi
(
*
(
ENBParamList
.
paramarray
[
i
][
ENB_TRACKING_AREA_CODE_IDX
].
strptr
)
);
RRC_CONFIGURATION_REQ
(
msg_p
).
mcc
=
(
uint16_t
)
atoi
(
*
(
ENBParamList
.
paramarray
[
i
][
ENB_MOBILE_COUNTRY_CODE_IDX
].
strptr
)
);
RRC_CONFIGURATION_REQ
(
msg_p
).
mnc
=
(
uint16_t
)
atoi
(
*
(
ENBParamList
.
paramarray
[
i
][
ENB_MOBILE_NETWORK_CODE_IDX
].
strptr
)
);
RRC_CONFIGURATION_REQ
(
msg_p
).
mnc_digit_length
=
strlen
(
*
(
ENBParamList
.
paramarray
[
i
][
ENB_MOBILE_NETWORK_CODE_IDX
].
strptr
));
AssertFatal
((
RRC_CONFIGURATION_REQ
(
msg_p
).
mnc_digit_length
==
2
)
||
(
RRC_CONFIGURATION_REQ
(
msg_p
).
mnc_digit_length
==
3
),
"BAD MNC DIGIT LENGTH %d"
,
RRC_CONFIGURATION_REQ
(
msg_p
).
mnc_digit_length
);
RRC_CONFIGURATION_REQ
(
msg_p
).
tac
=
(
uint16_t
)
atoi
(
*
(
ENBParamList
.
paramarray
[
i
][
ENB_TRACKING_AREA_CODE_IDX
].
strptr
)
);
RRC_CONFIGURATION_REQ
(
msg_p
).
mcc
=
(
uint16_t
)
atoi
(
*
(
ENBParamList
.
paramarray
[
i
][
ENB_MOBILE_COUNTRY_CODE_IDX
].
strptr
)
);
RRC_CONFIGURATION_REQ
(
msg_p
).
mnc
=
(
uint16_t
)
atoi
(
*
(
ENBParamList
.
paramarray
[
i
][
ENB_MOBILE_NETWORK_CODE_IDX
].
strptr
)
);
RRC_CONFIGURATION_REQ
(
msg_p
).
mnc_digit_length
=
strlen
(
*
(
ENBParamList
.
paramarray
[
i
][
ENB_MOBILE_NETWORK_CODE_IDX
].
strptr
));
AssertFatal
((
RRC_CONFIGURATION_REQ
(
msg_p
).
mnc_digit_length
==
2
)
||
(
RRC_CONFIGURATION_REQ
(
msg_p
).
mnc_digit_length
==
3
),
"BAD MNC DIGIT LENGTH %d"
,
RRC_CONFIGURATION_REQ
(
msg_p
).
mnc_digit_length
);
// Parse optional physical parameters
sprintf
(
enbpath
,
"%s.[%i]"
,
ENB_CONFIG_STRING_ENB_LIST
,
k
),
config_getlist
(
&
CCsParamList
,
NULL
,
0
,
enbpath
);
// Parse optional physical parameters
sprintf
(
enbpath
,
"%s.[%i]"
,
ENB_CONFIG_STRING_ENB_LIST
,
k
),
config_getlist
(
&
CCsParamList
,
NULL
,
0
,
enbpath
);
}
LOG_I
(
RRC
,
"num component carriers %d
\n
"
,
CCsParamList
.
numelt
);
if
(
CCsParamList
.
numelt
>
0
)
{
...
...
@@ -2346,6 +2344,12 @@ return 0;
int
RCconfig_CU_F1
(
uint32_t
i
)
{
AssertFatal
(
1
==
0
,
"Shouldn't get here yet
\n
"
);
// 1. wait for F1AP_SETUP_REQ
// 2. configure cells with selected PLMN(s)
// 3. send F1AP_SETUP_RESP and return to setup S1AP
while
(
}
int
RCconfig_DU_F1
(
MessageDef
*
msg_p
,
uint32_t
i
)
{
...
...
targets/PROJECTS/GENERIC-LTE-EPC/CONF/cu.lte.conf
View file @
9cdd58ef
...
...
@@ -12,6 +12,13 @@ eNBs =
eNB_name
=
"eNB-CU-Eurecom-LTEBox"
;
//
Tracking
area
code
,
0
x0000
and
0
xfffe
are
reserved
values
tracking_area_code
=
"1"
;
mobile_country_code
=
"208"
;
mobile_network_code
=
"93"
;
tr_s_preference
=
"f1"
local_s_if_name
=
"lo"
;
...
...
@@ -26,7 +33,7 @@ eNBs =
component_carriers
= (
{
node_function
=
"3GPP_eN
O
"
;
node_function
=
"3GPP_eN
odeB
"
;
node_timing
=
"synch_to_ext_device"
;
node_synch_ref
=
0
;
pbch_repetition
=
"FALSE"
;
...
...
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