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
ZhouShuya
OpenXG-RAN
Commits
02291630
Commit
02291630
authored
Dec 12, 2017
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix multiple compilation warnings
parent
730ffc76
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
6 deletions
+8
-6
openair2/ENB_APP/enb_config.c
openair2/ENB_APP/enb_config.c
+2
-2
openair2/ENB_APP/flexran_agent_net_comm.c
openair2/ENB_APP/flexran_agent_net_comm.c
+6
-4
No files found.
openair2/ENB_APP/enb_config.c
View file @
02291630
...
...
@@ -2009,7 +2009,7 @@ Enb_properties_array_t *enb_config_init(char* lib_config_file_name_pP)
enb_properties
.
properties
[
enb_properties_index
]
->
rrc_report_amount
=
ReportConfigEUTRA__reportAmount_infinity
;
}
else
{
AssertFatal
(
0
,
"Failed to parse eNB configuration file %s, enb %d unknown value
\"
%
d
\"
for report_amount choice: r1, r2, r4, r8, r16, r32, r64, infinity !
\n
"
,
"Failed to parse eNB configuration file %s, enb %d unknown value
\"
%
s
\"
for report_amount choice: r1, r2, r4, r8, r16, r32, r64, infinity !
\n
"
,
lib_config_file_name_pP
,
i
,
rrc_report_amount
);
}
...
...
@@ -2041,7 +2041,7 @@ Enb_properties_array_t *enb_config_init(char* lib_config_file_name_pP)
enb_properties
.
properties
[
enb_properties_index
]
->
rrc_report_interval
=
ReportInterval_min60
;
}
else
{
AssertFatal
(
0
,
"Failed to parse eNB configuration file %s, enb %d unknown value
\"
%
d
\"
for report_interval choice: 120ms, 240ms, 480ms, 640ms, 1024ms, 2048ms, 5120ms, 10240ms, 1min, 6min, 12"
,
"Failed to parse eNB configuration file %s, enb %d unknown value
\"
%
s
\"
for report_interval choice: 120ms, 240ms, 480ms, 640ms, 1024ms, 2048ms, 5120ms, 10240ms, 1min, 6min, 12"
,
lib_config_file_name_pP
,
i
,
rrc_report_interval
);
}
...
...
openair2/ENB_APP/flexran_agent_net_comm.c
View file @
02291630
...
...
@@ -141,9 +141,9 @@ int flexran_agent_destroy_channel(int channel_id) {
for
(
i
=
0
;
i
<
NUM_MAX_ENB
;
i
++
)
{
for
(
j
=
0
;
j
<
FLEXRAN_AGENT_MAX
;
j
++
)
{
if
(
agent_channel
[
i
][
j
]
!=
NULL
)
{
if
(
agent_channel
[
i
][
j
]
->
channel_id
==
e
->
channel_id
)
{
free
(
agent_channel
[
i
][
j
]);
}
if
(
agent_channel
[
i
][
j
]
->
channel_id
==
e
->
channel_id
)
{
free
(
agent_channel
[
i
][
j
]);
}
}
}
}
...
...
@@ -164,7 +164,9 @@ err_code_t flexran_agent_init_channel_container(void) {
for
(
i
=
0
;
i
<
NUM_MAX_ENB
;
i
++
)
{
for
(
j
=
0
;
j
<
FLEXRAN_AGENT_MAX
;
j
++
)
{
agent_channel
[
i
][
j
]
=
malloc
(
sizeof
(
flexran_agent_channel_t
));
agent_channel
[
i
][
j
]
=
malloc
(
sizeof
(
flexran_agent_channel_t
));
if
(
!
agent_channel
[
i
][
j
])
return
-
1
;
}
}
...
...
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