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
b1750c29
Commit
b1750c29
authored
Aug 24, 2018
by
lfarizav
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
some little mods in oaisim_functions
parent
617b92cf
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
openair2/ENB_APP/enb_config.c
openair2/ENB_APP/enb_config.c
+4
-4
No files found.
openair2/ENB_APP/enb_config.c
View file @
b1750c29
...
...
@@ -2336,7 +2336,7 @@ const Enb_properties_array_t *enb_config_init(char* lib_config_file_name_pP)
enb_properties
.
properties
[
enb_properties_index
]
->
nb_rrh_gw
=
0
;
for
(
j
=
0
;
j
<
num_rrh_gw
;
j
++
)
{
printf
(
"num_rrh_gw is %d
\n
"
,
num_rrh_gw
);
//
printf("num_rrh_gw is %d\n",num_rrh_gw);
setting_rrh_gw
=
config_setting_get_elem
(
setting_rrh_gws
,
j
);
if
(
!
(
...
...
@@ -2361,7 +2361,7 @@ const Enb_properties_array_t *enb_config_init(char* lib_config_file_name_pP)
}
enb_properties
.
properties
[
enb_properties_index
]
->
nb_rrh_gw
+=
1
;
printf
(
"nb_rrh_gw is %d
\n
"
,
enb_properties
.
properties
[
enb_properties_index
]
->
nb_rrh_gw
);
//
printf("nb_rrh_gw is %d\n",enb_properties.properties[enb_properties_index]->nb_rrh_gw);
enb_properties
.
properties
[
enb_properties_index
]
->
rrh_gw_config
[
j
].
rrh_gw_if_name
=
strdup
(
if_name
);
enb_properties
.
properties
[
enb_properties_index
]
->
rrh_gw_config
[
j
].
local_address
=
strdup
(
ipv4
);
enb_properties
.
properties
[
enb_properties_index
]
->
rrh_gw_config
[
j
].
remote_address
=
strdup
(
ipv4_remote
);
...
...
@@ -2801,8 +2801,8 @@ const Enb_properties_array_t *enb_config_init(char* lib_config_file_name_pP)
}
enb_properties
.
number
=
num_enb_properties
;
printf
(
"num_enb_properties %d
\n
"
,
num_enb_properties
);
printf
(
"enb_properties.number %d
\n
"
,
enb_properties
.
number
);
//
printf("num_enb_properties %d\n",num_enb_properties);
//
printf("enb_properties.number %d\n",enb_properties.number);
AssertFatal
(
enb_properties_index
==
num_enb_properties
,
"Failed to parse eNB configuration file %s, mismatch between %u active eNBs and %u corresponding defined eNBs !
\n
"
,
lib_config_file_name_pP
,
num_enb_properties
,
enb_properties_index
);
...
...
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