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
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
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
OpenXG-RAN
Commits
6e08c4c0
Commit
6e08c4c0
authored
Jul 18, 2023
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused function nr_read_config_and_init()
parent
515b71f9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
36 deletions
+0
-36
openair2/GNB_APP/gnb_config.c
openair2/GNB_APP/gnb_config.c
+0
-35
openair2/GNB_APP/gnb_config.h
openair2/GNB_APP/gnb_config.h
+0
-1
No files found.
openair2/GNB_APP/gnb_config.c
View file @
6e08c4c0
...
...
@@ -2329,41 +2329,6 @@ ngran_node_t get_node_type(void)
return
ngran_gNB_DU
;
}
void
nr_read_config_and_init
(
void
)
{
MessageDef
*
msg_p
=
NULL
;
uint32_t
gnb_id
;
uint32_t
gnb_nb
=
RC
.
nb_nr_inst
;
RCconfig_NR_L1
();
RCconfig_nr_prs
();
RCconfig_nr_macrlc
();
LOG_I
(
PHY
,
"%s() RC.nb_nr_L1_inst:%d
\n
"
,
__FUNCTION__
,
RC
.
nb_nr_L1_inst
);
if
(
RC
.
nb_nr_L1_inst
>
0
)
AssertFatal
(
l1_north_init_gNB
()
==
0
,
"could not initialize L1 north interface
\n
"
);
AssertFatal
(
gnb_nb
<=
RC
.
nb_nr_inst
,
"Number of gNB is greater than gNB defined in configuration file (%u/%u)!"
,
gnb_nb
,
RC
.
nb_nr_inst
);
LOG_I
(
GNB_APP
,
"Allocating gNB_RRC_INST for %d instances
\n
"
,
RC
.
nb_nr_inst
);
RC
.
nrrrc
=
(
gNB_RRC_INST
**
)
malloc
(
RC
.
nb_nr_inst
*
sizeof
(
gNB_RRC_INST
*
));
LOG_I
(
PHY
,
"%s() RC.nb_nr_inst:%d RC.nrrrc:%p
\n
"
,
__FUNCTION__
,
RC
.
nb_nr_inst
,
RC
.
nrrrc
);
for
(
gnb_id
=
0
;
gnb_id
<
RC
.
nb_nr_inst
;
gnb_id
++
)
{
RC
.
nrrrc
[
gnb_id
]
=
(
gNB_RRC_INST
*
)
malloc
(
sizeof
(
gNB_RRC_INST
));
LOG_I
(
PHY
,
"%s() Creating RRC instance RC.nrrrc[%d]:%p (%d of %d)
\n
"
,
__FUNCTION__
,
gnb_id
,
RC
.
nrrrc
[
gnb_id
],
gnb_id
+
1
,
RC
.
nb_nr_inst
);
memset
((
void
*
)
RC
.
nrrrc
[
gnb_id
],
0
,
sizeof
(
gNB_RRC_INST
));
msg_p
=
itti_alloc_new_message
(
TASK_GNB_APP
,
0
,
NRRRC_CONFIGURATION_REQ
);
RCconfig_NRRRC
(
msg_p
,
gnb_id
,
RC
.
nrrrc
[
gnb_id
]);
}
if
(
NODE_IS_CU
(
RC
.
nrrrc
[
0
]
->
node_type
)
&&
RC
.
nrrrc
[
0
]
->
node_type
!=
ngran_gNB_CUCP
)
{
nr_pdcp_layer_init
();
}
}
#ifdef E2_AGENT
e2_agent_args_t
RCconfig_NR_E2agent
(
void
)
...
...
openair2/GNB_APP/gnb_config.h
View file @
6e08c4c0
...
...
@@ -106,7 +106,6 @@ int RCconfig_NR_X2(MessageDef *msg_p, uint32_t i);
int
RCconfig_NR_DU_F1
(
MessageDef
*
msg_p
,
uint32_t
i
);
int
gNB_app_handle_f1ap_setup_resp
(
f1ap_setup_resp_t
*
resp
);
int
gNB_app_handle_f1ap_gnb_cu_configuration_update
(
f1ap_gnb_cu_configuration_update_t
*
gnb_cu_cfg_update
);
void
nr_read_config_and_init
(
void
);
MessageDef
*
RCconfig_NR_CU_E1
(
bool
separate_CUUP_process
);
ngran_node_t
get_node_type
(
void
);
...
...
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