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
常顺宇
OpenXG-RAN
Commits
45eda995
Commit
45eda995
authored
6 years ago
by
Raymond Knopp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
conditions for configuration in DU
parent
876e9efd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
7 deletions
+13
-7
openair2/ENB_APP/enb_config.c
openair2/ENB_APP/enb_config.c
+8
-2
openair2/RRC/LTE/rrc_eNB.c
openair2/RRC/LTE/rrc_eNB.c
+5
-5
No files found.
openair2/ENB_APP/enb_config.c
View file @
45eda995
...
...
@@ -675,8 +675,14 @@ int RCconfig_RRC(uint32_t i, eNB_RRC_INST *rrc, int macrlc_has_f1) {
else
{
// set to ngran_eNB for now, it will get set to ngran_eNB_DU if macrlc entity which uses F1 is present
// Note: we will have to handle the case of ngran_ng_eNB_DU
if
(
macrlc_has_f1
==
0
)
rrc
->
node_type
=
ngran_eNB
;
else
rrc
->
node_type
=
ngran_eNB_DU
;
if
(
macrlc_has_f1
==
0
)
{
rrc
->
node_type
=
ngran_eNB
;
LOG_I
(
RRC
,
"Setting node_type to ngran_eNB
\n
"
);
}
else
{
rrc
->
node_type
=
ngran_eNB_DU
;
LOG_I
(
RRC
,
"Setting node_type to ngran_eNB_DU
\n
"
);
}
}
// MCC and MNC
...
...
This diff is collapsed.
Click to expand it.
openair2/RRC/LTE/rrc_eNB.c
View file @
45eda995
...
...
@@ -169,9 +169,8 @@ init_SI(
PROTOCOL_RRC_CTXT_ARGS(ctxt_pP));
LOG_I(RRC,"[eNB %d] Node type %d \n ", ctxt_pP->module_id, rrc->node_type);
if
((
rrc
->
node_type
!=
ngran_eNB_CU
)
||
(
rrc
->
node_type
!=
ngran_ng_eNB_CU
)
||
(
rrc
->
node_type
!=
ngran_gNB_CU
)
)
{
if ((rrc->node_type == ngran_eNB_DU) ||
(rrc->node_type == ngran_eNB) ) {
// copy basic Cell parameters
carrier->physCellId = configuration->Nid_cell[CC_id];
carrier->p_eNB = configuration->nb_antenna_ports[CC_id];
...
...
@@ -207,8 +206,9 @@ init_SI(
AssertFatal(carrier->sizeof_SIB1 != 255,"FATAL, RC.rrc[enb_mod_idP].carrier[CC_id].sizeof_SIB1 == 255");
}
if
((
rrc
->
node_type
!=
ngran_eNB_DU
)
||
(
rrc
->
node_type
!=
ngran_gNB_DU
))
{
if ((rrc->node_type == ngran_eNB_CU) ||
(rrc->node_type == ngran_ng_eNB_CU) ||
(rrc->node_type == ngran_eNB)) {
carrier->SIB23 = (uint8_t*) malloc16(64);
AssertFatal(carrier->SIB23!=NULL,"cannot allocate memory for SIB");
carrier->sizeof_SIB23 = do_SIB23(
...
...
This diff is collapsed.
Click to expand it.
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