Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
oai
openairinterface5G
Commits
0bb6a19f
Commit
0bb6a19f
authored
May 04, 2018
by
Robert Schmidt
Browse files
only initialize RC.mac once
parent
da35afb0
Changes
2
Hide whitespace changes
Inline
Side-by-side
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
Supports
Markdown
0%
Try again
or
attach a new 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