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
alex037yang
OpenXG-RAN
Commits
0bb6a19f
Commit
0bb6a19f
authored
May 04, 2018
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
only initialize RC.mac once
parent
da35afb0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
openair2/ENB_APP/enb_config.c
openair2/ENB_APP/enb_config.c
+1
-1
openair2/LAYER2/MAC/config.c
openair2/LAYER2/MAC/config.c
+1
-1
No files found.
openair2/ENB_APP/enb_config.c
View file @
0bb6a19f
...
...
@@ -292,7 +292,7 @@ void RCconfig_L1(void) {
LOG_I
(
PHY
,
"%s() NFAPI PNF mode - RC.nb_CC[0]=%d for init_eNB_afterRU()
\n
"
,
__FUNCTION__
,
RC
.
nb_CC
[
0
]);
LOG_I
(
PHY
,
"%s() NFAPI PNF mode - RC.nb_macrlc_inst:%d because used by mac_top_init_eNB()
\n
"
,
__FUNCTION__
,
RC
.
nb_macrlc_inst
);
mac_top_init_eNB
();
//
mac_top_init_eNB();
configure_nfapi_pnf
(
RC
.
eNB
[
j
][
0
]
->
eth_params_n
.
remote_addr
,
RC
.
eNB
[
j
][
0
]
->
eth_params_n
.
remote_portc
,
RC
.
eNB
[
j
][
0
]
->
eth_params_n
.
my_addr
,
RC
.
eNB
[
j
][
0
]
->
eth_params_n
.
my_portd
,
RC
.
eNB
[
j
][
0
]
->
eth_params_n
.
remote_portd
);
}
...
...
openair2/LAYER2/MAC/config.c
View file @
0bb6a19f
...
...
@@ -733,7 +733,7 @@ rrc_mac_config_req_eNB(module_id_t Mod_idP,
if
(
RC
.
mac
==
NULL
)
l2_init_eNB
();
mac_top_init_eNB
();
//
mac_top_init_eNB();
RC
.
mac
[
Mod_idP
]
->
common_channels
[
CC_idP
].
mib
=
mib
;
RC
.
mac
[
Mod_idP
]
->
common_channels
[
CC_idP
].
physCellId
=
physCellId
;
...
...
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