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
wangjie
OpenXG-RAN
Commits
06b55e3f
Commit
06b55e3f
authored
Mar 04, 2016
by
Xenofon Foukas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed bug in creation of ul_cqi_report
parent
47d3d773
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
openair2/ENB_APP/enb_agent_mac.c
openair2/ENB_APP/enb_agent_mac.c
+9
-9
No files found.
openair2/ENB_APP/enb_agent_mac.c
View file @
06b55e3f
...
...
@@ -633,7 +633,7 @@ int enb_agent_mac_stats_reply(mid_t mod_id,
if
(
ul_report
==
NULL
)
goto
error
;
//Fill each UL report of the UE for each of the configured report types
for
(
j
=
0
;
j
++
;
j
<
full_ul_report
->
n_cqi_meas
)
{
for
(
j
=
0
;
j
<
full_ul_report
->
n_cqi_meas
;
j
++
)
{
ul_report
[
j
]
=
malloc
(
sizeof
(
Protocol__PrpUlCqi
));
if
(
ul_report
[
j
]
==
NULL
)
goto
error
;
...
...
@@ -665,14 +665,14 @@ int enb_agent_mac_stats_reply(mid_t mod_id,
full_ul_report
->
pucch_dbm
=
malloc
(
sizeof
(
Protocol__PrpPucchDbm
*
)
*
full_ul_report
->
n_pucch_dbm
);
for
(
j
=
0
;
j
<
MAX_NUM_CCs
;
j
++
)
{
full_ul_report
->
pucch_dbm
[
j
]
=
malloc
(
sizeof
(
Protocol__PrpPucchDbm
));
protocol__prp_pucch_dbm__init
(
full_ul_report
->
pucch_dbm
[
j
]);
full_ul_report
->
pucch_dbm
[
j
]
->
has_serv_cell_index
=
1
;
full_ul_report
->
pucch_dbm
[
j
]
->
serv_cell_index
=
j
;
if
(
get_p0_pucch_dbm
(
enb_id
,
i
,
j
)
!=
-
1
){
full_ul_report
->
pucch_dbm
[
j
]
->
p0_pucch_dbm
=
get_p0_pucch_dbm
(
enb_id
,
i
,
j
);
full_ul_report
->
pucch_dbm
[
j
]
->
has_p0_pucch_dbm
=
1
;
}
full_ul_report
->
pucch_dbm
[
j
]
=
malloc
(
sizeof
(
Protocol__PrpPucchDbm
));
protocol__prp_pucch_dbm__init
(
full_ul_report
->
pucch_dbm
[
j
]);
full_ul_report
->
pucch_dbm
[
j
]
->
has_serv_cell_index
=
1
;
full_ul_report
->
pucch_dbm
[
j
]
->
serv_cell_index
=
j
;
if
(
get_p0_pucch_dbm
(
enb_id
,
i
,
j
)
!=
-
1
){
full_ul_report
->
pucch_dbm
[
j
]
->
p0_pucch_dbm
=
get_p0_pucch_dbm
(
enb_id
,
i
,
j
);
full_ul_report
->
pucch_dbm
[
j
]
->
has_p0_pucch_dbm
=
1
;
}
}
//Add full UL CQI report to the UE report
...
...
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