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
canghaiwuhen
OpenXG-RAN
Commits
85f9d566
Commit
85f9d566
authored
Oct 01, 2018
by
Wang Tsu-Han
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
testing for multi L1
parent
bf55d13c
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
20 additions
and
3 deletions
+20
-3
openair2/ENB_APP/enb_app.c
openair2/ENB_APP/enb_app.c
+7
-0
openair2/ENB_APP/enb_config.c
openair2/ENB_APP/enb_config.c
+10
-0
targets/COMMON/openairinterface5g_limits.h
targets/COMMON/openairinterface5g_limits.h
+1
-1
targets/RT/USER/lte-softmodem.c
targets/RT/USER/lte-softmodem.c
+2
-2
No files found.
openair2/ENB_APP/enb_app.c
View file @
85f9d566
...
...
@@ -118,6 +118,7 @@ static uint32_t eNB_app_register(uint32_t enb_id_start, uint32_t enb_id_end)//,
MessageDef
*
msg_p
;
uint32_t
register_enb_pending
=
0
;
printf
(
"~~~~~~~~~~~~~~~~~~~~~~~~ enb_id_start = %d, enb_id_end = %d"
,
enb_id_start
,
enb_id_end
);
for
(
enb_id
=
enb_id_start
;
(
enb_id
<
enb_id_end
)
;
enb_id
++
)
{
{
/* note: there is an implicit relationship between the data structure and the message name */
...
...
@@ -216,6 +217,12 @@ void *eNB_app_task(void *args_p)
configure_rrc
(
enb_id
);
}
/* Start the agent. If it is turned off in the configuration, it won't start */
/*RCconfig_flexran();
for (i = 0; i < RC.nb_L1_inst; i++) {
flexran_agent_start(i);
}*/
# if defined(ENABLE_USE_MME)
/* Try to register each eNB */
registered_enb
=
0
;
...
...
openair2/ENB_APP/enb_config.c
View file @
85f9d566
...
...
@@ -151,6 +151,13 @@ void RCconfig_flexran() {
paramdef_t
ENBSParams
[]
=
ENBSPARAMS_DESC
;
config_get
(
ENBSParams
,
sizeof
(
ENBSParams
)
/
sizeof
(
paramdef_t
),
NULL
);
num_enbs
=
ENBSParams
[
ENB_ACTIVE_ENBS_IDX
].
numelt
;
/*~~~~~~~~~~~~~~~~~~ what's being added for test ~~~~~~~~~~~~~~~~~~*/
paramlist_def_t
L1ParamList
=
{
CONFIG_STRING_L1_LIST
,
NULL
,
0
};
config_getlist
(
&
L1ParamList
,
NULL
,
0
,
NULL
);
int
nb_L1_inst
=
L1ParamList
.
numelt
;
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
/* for eNB ID */
paramdef_t
ENBParams
[]
=
ENBPARAMS_DESC
;
paramlist_def_t
ENBParamList
=
{
ENB_CONFIG_STRING_ENB_LIST
,
NULL
,
0
};
...
...
@@ -176,6 +183,7 @@ void RCconfig_flexran() {
}
for
(
i
=
0
;
i
<
num_enbs
;
i
++
)
{
//for (i = 0; i < nb_L1_inst; i++){
RC
.
flexran
[
i
]
=
calloc
(
1
,
sizeof
(
flexran_agent_info_t
));
AssertFatal
(
RC
.
flexran
[
i
],
"can't ALLOCATE %zu Bytes for flexran agent info (iteration %d/%d)
\n
"
,
...
...
@@ -2291,6 +2299,8 @@ int RCconfig_X2(MessageDef *msg_p, uint32_t i) {
if
(
ENBParamList
.
numelt
>
0
)
{
for
(
k
=
0
;
k
<
ENBParamList
.
numelt
;
k
++
)
{
if
(
k
!=
i
)
continue
;
if
(
ENBParamList
.
paramarray
[
k
][
ENB_ENB_ID_IDX
].
uptr
==
NULL
)
{
// Calculate a default eNB ID
# if defined(ENABLE_USE_MME)
...
...
targets/COMMON/openairinterface5g_limits.h
View file @
85f9d566
...
...
@@ -2,7 +2,7 @@
#define OPENAIRINTERFACE5G_LIMITS_H_
#if defined(CBMIMO1) || defined(EXMIMO) || defined(OAI_USRP) || defined(OAI_LMSSDR)
# define NUMBER_OF_eNB_MAX
1
# define NUMBER_OF_eNB_MAX
2
# define NUMBER_OF_RU_MAX 2
# ifndef UE_EXPANSION
# define NUMBER_OF_UE_MAX 16
...
...
targets/RT/USER/lte-softmodem.c
View file @
85f9d566
...
...
@@ -1068,10 +1068,10 @@ int main( int argc, char **argv )
#endif
/* Start the agent. If it is turned off in the configuration, it won't start */
RCconfig_flexran
();
/*
RCconfig_flexran();
for (i = 0; i < RC.nb_L1_inst; i++) {
flexran_agent_start(i);
}
}
*/
// init UE_PF_PO and mutex lock
pthread_mutex_init
(
&
ue_pf_po_mutex
,
NULL
);
...
...
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