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
lizhongxiao
OpenXG-RAN
Commits
f0d62984
Commit
f0d62984
authored
Mar 19, 2021
by
francescomani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
new attempt at improving call to RC L1 config
parent
a1f1d53c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
+7
-4
executables/nr-softmodem.c
executables/nr-softmodem.c
+2
-3
openair2/GNB_APP/gnb_config.c
openair2/GNB_APP/gnb_config.c
+5
-1
No files found.
executables/nr-softmodem.c
View file @
f0d62984
...
@@ -807,12 +807,11 @@ if(!IS_SOFTMODEM_NOS1)
...
@@ -807,12 +807,11 @@ if(!IS_SOFTMODEM_NOS1)
if
(
IS_SOFTMODEM_NOS1
)
if
(
IS_SOFTMODEM_NOS1
)
init_pdcp
();
init_pdcp
();
if
(
RC
.
nb_nr_L1_inst
>
0
)
RCconfig_NR_L1
();
if
(
RC
.
nb_nr_inst
>
0
)
{
if
(
RC
.
nb_nr_inst
>
0
)
{
// don't create if node doesn't connect to RRC/S1/GTP
// don't create if node doesn't connect to RRC/S1/GTP
RCconfig_NR_L1
();
AssertFatal
(
create_gNB_tasks
(
1
)
==
0
,
"cannot create ITTI tasks
\n
"
);
AssertFatal
(
create_gNB_tasks
(
1
)
==
0
,
"cannot create ITTI tasks
\n
"
);
}
else
{
AssertFatal
(
1
==
0
,
"RC.nb_nr_inst should have been already initialized in get_options()"
);
}
}
/* Start the agent. If it is turned off in the configuration, it won't start */
/* Start the agent. If it is turned off in the configuration, it won't start */
...
...
openair2/GNB_APP/gnb_config.c
View file @
f0d62984
...
@@ -430,7 +430,11 @@ void RCconfig_NR_L1(void) {
...
@@ -430,7 +430,11 @@ void RCconfig_NR_L1(void) {
mac_top_init_gNB
();
mac_top_init_gNB
();
configure_nr_nfapi_pnf
(
RC
.
gNB
[
j
]
->
eth_params_n
.
remote_addr
,
RC
.
gNB
[
j
]
->
eth_params_n
.
remote_portc
,
RC
.
gNB
[
j
]
->
eth_params_n
.
my_addr
,
RC
.
gNB
[
j
]
->
eth_params_n
.
my_portd
,
RC
.
gNB
[
j
]
->
eth_params_n
.
remote_portd
);
configure_nr_nfapi_pnf
(
RC
.
gNB
[
j
]
->
eth_params_n
.
remote_addr
,
RC
.
gNB
[
j
]
->
eth_params_n
.
remote_portc
,
RC
.
gNB
[
j
]
->
eth_params_n
.
my_addr
,
RC
.
gNB
[
j
]
->
eth_params_n
.
my_portd
,
RC
.
gNB
[
j
]
->
eth_params_n
.
remote_portd
);
}
else
{
// other midhaul
}
else
{
// other midhaul
}
}
}
// for (j = 0; j < RC.nb_nr_L1_inst; j++)
}
// for (j = 0; j < RC.nb_nr_L1_inst; j++)
...
...
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