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
d24f5323
Commit
d24f5323
authored
Mar 03, 2016
by
Xenofon Foukas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed bug in de-allocation of p0_pucch report
parent
d153208f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
9 deletions
+6
-9
openair2/ENB_APP/enb_agent_mac.c
openair2/ENB_APP/enb_agent_mac.c
+6
-9
No files found.
openair2/ENB_APP/enb_agent_mac.c
View file @
d24f5323
...
@@ -658,12 +658,9 @@ int enb_agent_mac_stats_reply(mid_t mod_id,
...
@@ -658,12 +658,9 @@ int enb_agent_mac_stats_reply(mid_t mod_id,
ul_report
[
j
]
->
serv_cell_index
=
0
;
ul_report
[
j
]
->
serv_cell_index
=
0
;
ul_report
[
j
]
->
has_serv_cell_index
=
1
;
ul_report
[
j
]
->
has_serv_cell_index
=
1
;
/*if(get_p0_pucch_dbm(enb_id,i) != -1){
ul_report[j]->p0_pucch_dbm = get_p0_pucch_dbm(enb_id,i);
ul_report[j]->has_p0_pucch_dbm = 1;
}*/
//Set the list of UL reports of this UE to the full UL report
//Set the list of UL reports of this UE to the full UL report
full_ul_report
->
cqi_meas
=
ul_report
;
full_ul_report
->
cqi_meas
=
ul_report
;
full_ul_report
->
n_pucch_dbm
=
MAX_NUM_CCs
;
full_ul_report
->
n_pucch_dbm
=
MAX_NUM_CCs
;
full_ul_report
->
pucch_dbm
=
malloc
(
sizeof
(
Protocol__PrpPucchDbm
*
)
*
full_ul_report
->
n_pucch_dbm
);
full_ul_report
->
pucch_dbm
=
malloc
(
sizeof
(
Protocol__PrpPucchDbm
*
)
*
full_ul_report
->
n_pucch_dbm
);
...
@@ -843,11 +840,11 @@ int enb_agent_mac_destroy_stats_reply(Protocol__ProgranMessage *msg) {
...
@@ -843,11 +840,11 @@ int enb_agent_mac_destroy_stats_reply(Protocol__ProgranMessage *msg) {
free
(
ul_report
->
cqi_meas
[
j
]);
free
(
ul_report
->
cqi_meas
[
j
]);
}
}
free
(
ul_report
->
cqi_meas
);
free
(
ul_report
->
cqi_meas
);
}
for
(
j
=
0
;
j
<
ul_report
->
n_pucch_dbm
;
j
++
)
{
for
(
j
=
0
;
j
<
ul_report
->
n_pucch_dbm
;
j
++
)
{
free
(
ul_report
->
pucch_dbm
[
j
]);
free
(
ul_report
->
pucch_dbm
[
j
]);
}
}
free
(
ul_report
->
pucch_dbm
);
free
(
ul_report
->
pucch_dbm
);
}
free
(
reply
->
ue_report
[
i
]);
free
(
reply
->
ue_report
[
i
]);
}
}
free
(
reply
->
ue_report
);
free
(
reply
->
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