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
836f6c63
Commit
836f6c63
authored
Oct 29, 2018
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Include statistics flag only when values are written
parent
f02b5392
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
10 deletions
+14
-10
openair2/ENB_APP/CONTROL_MODULES/MAC/flexran_agent_mac.c
openair2/ENB_APP/CONTROL_MODULES/MAC/flexran_agent_mac.c
+9
-5
openair2/ENB_APP/CONTROL_MODULES/PDCP/flexran_agent_pdcp.c
openair2/ENB_APP/CONTROL_MODULES/PDCP/flexran_agent_pdcp.c
+1
-1
openair2/ENB_APP/CONTROL_MODULES/RRC/flexran_agent_rrc.c
openair2/ENB_APP/CONTROL_MODULES/RRC/flexran_agent_rrc.c
+2
-0
openair2/ENB_APP/flexran_agent_handler.c
openair2/ENB_APP/flexran_agent_handler.c
+2
-4
No files found.
openair2/ENB_APP/CONTROL_MODULES/MAC/flexran_agent_mac.c
View file @
836f6c63
...
...
@@ -84,12 +84,14 @@ int flexran_agent_mac_stats_reply(mid_t mod_id,
}
ue_report
[
i
]
->
bsr
=
elem
;
ue_report
[
i
]
->
flags
|=
PROTOCOL__FLEX_UE_STATS_TYPE__FLUST_BSR
;
}
/* Check flag for creation of PHR report */
if
(
report_config
->
ue_report_type
[
i
].
ue_report_flags
&
PROTOCOL__FLEX_UE_STATS_TYPE__FLUST_PHR
)
{
ue_report
[
i
]
->
phr
=
flexran_get_ue_phr
(
enb_id
,
i
);
// eNB_UE_list->UE_template[UE_PCCID(enb_id,i)][i].phr_info;
ue_report
[
i
]
->
has_phr
=
1
;
ue_report
[
i
]
->
flags
|=
PROTOCOL__FLEX_UE_STATS_TYPE__FLUST_PHR
;
}
...
...
@@ -130,7 +132,7 @@ int flexran_agent_mac_stats_reply(mid_t mod_id,
// Add RLC buffer status reports to the full report
if
(
ue_report
[
i
]
->
n_rlc_report
>
0
)
ue_report
[
i
]
->
rlc_report
=
rlc_reports
;
ue_report
[
i
]
->
flags
|=
PROTOCOL__FLEX_UE_STATS_TYPE__FLUST_RLC_BS
;
}
...
...
@@ -143,7 +145,7 @@ int flexran_agent_mac_stats_reply(mid_t mod_id,
// found in stats_common.pb-c.h. See
// flex_ce_type in FlexRAN specification
ue_report
[
i
]
->
has_pending_mac_ces
=
1
;
ue_report
[
i
]
->
flags
|=
PROTOCOL__FLEX_UE_STATS_TYPE__FLUST_MAC_CE_BS
;
}
/* Check flag for creation of DL CQI report */
...
...
@@ -368,7 +370,7 @@ int flexran_agent_mac_stats_reply(mid_t mod_id,
dl_report
->
csi_report
=
csi_reports
;
//Add the DL CQI report to the stats report
ue_report
[
i
]
->
dl_cqi_report
=
dl_report
;
ue_report
[
i
]
->
flags
|=
PROTOCOL__FLEX_UE_STATS_TYPE__FLUST_DL_CQI
;
}
/* Check flag for creation of paging buffer status report */
...
...
@@ -413,6 +415,7 @@ int flexran_agent_mac_stats_reply(mid_t mod_id,
paging_report
->
paging_info
=
p_info
;
//Add the paging report to the UE report
ue_report
[
i
]
->
pbr
=
paging_report
;
ue_report
[
i
]
->
flags
|=
PROTOCOL__FLEX_UE_STATS_TYPE__FLUST_PBS
;
}
/* Check flag for creation of UL CQI report */
...
...
@@ -484,7 +487,7 @@ int flexran_agent_mac_stats_reply(mid_t mod_id,
}
// Add full UL CQI report to the UE report
ue_report
[
i
]
->
ul_cqi_report
=
full_ul_report
;
ue_report
[
i
]
->
flags
|=
PROTOCOL__FLEX_UE_STATS_TYPE__FLUST_UL_CQI
;
}
if
(
report_config
->
ue_report_type
[
i
].
ue_report_flags
&
PROTOCOL__FLEX_UE_STATS_TYPE__FLUST_MAC_STATS
)
{
...
...
@@ -580,7 +583,7 @@ int flexran_agent_mac_stats_reply(mid_t mod_id,
ue_report
[
i
]
->
mac_stats
=
macstats
;
ue_report
[
i
]
->
flags
|=
PROTOCOL__FLEX_UE_STATS_TYPE__FLUST_MAC_STATS
;
}
...
...
@@ -622,6 +625,7 @@ int flexran_agent_mac_stats_reply(mid_t mod_id,
ni_report
->
p0_nominal_pucch
=
flexran_get_p0_nominal_pucch
(
enb_id
,
0
);
ni_report
->
has_p0_nominal_pucch
=
1
;
cell_report
[
i
]
->
noise_inter_report
=
ni_report
;
cell_report
[
i
]
->
flags
|=
PROTOCOL__FLEX_CELL_STATS_TYPE__FLCST_NOISE_INTERFERENCE
;
}
}
...
...
openair2/ENB_APP/CONTROL_MODULES/PDCP/flexran_agent_pdcp.c
View file @
836f6c63
...
...
@@ -116,7 +116,7 @@ int flexran_agent_pdcp_stats_reply(mid_t mod_id,
pdcp_aggr_stats
->
has_sfn
=
1
;
ue_report
[
i
]
->
pdcp_stats
=
pdcp_aggr_stats
;
ue_report
[
i
]
->
flags
|=
PROTOCOL__FLEX_UE_STATS_TYPE__FLUST_PDCP_STATS
;
}
}
}
else
{
...
...
openair2/ENB_APP/CONTROL_MODULES/RRC/flexran_agent_rrc.c
View file @
836f6c63
...
...
@@ -441,6 +441,7 @@ int flexran_agent_rrc_stats_reply(mid_t mod_id,
}
ue_report
[
i
]
->
rrc_measurements
=
rrc_measurements
;
ue_report
[
i
]
->
flags
|=
PROTOCOL__FLEX_UE_STATS_TYPE__FLUST_RRC_MEASUREMENTS
;
}
...
...
@@ -477,6 +478,7 @@ int flexran_agent_rrc_stats_reply(mid_t mod_id,
// ni_report->p0_nominal_pucch = flexran_get_p0_nominal_pucch(enb_id, 0);
// ni_report->has_p0_nominal_pucch = 1;
// cell_report[i]->noise_inter_report = ni_report;
// cell_report[i]->flags |= PROTOCOL__FLEX_CELL_STATS_TYPE__FLCST_NOISE_INTERFERENCE;
// }
// }
...
...
openair2/ENB_APP/flexran_agent_handler.c
View file @
836f6c63
...
...
@@ -449,8 +449,7 @@ int flexran_agent_stats_reply(mid_t enb_id, xid_t xid, const report_config_t *re
protocol__flex_ue_stats_report__init
(
ue_report
[
i
]);
ue_report
[
i
]
->
rnti
=
report_config
->
ue_report_type
[
i
].
ue_rnti
;
ue_report
[
i
]
->
has_rnti
=
1
;
ue_report
[
i
]
->
flags
=
report_config
->
ue_report_type
[
i
].
ue_report_flags
;
ue_report
[
i
]
->
has_flags
=
1
;
ue_report
[
i
]
->
has_flags
=
1
;
/* actual flags are filled in the CMs below */
}
...
...
@@ -472,8 +471,7 @@ int flexran_agent_stats_reply(mid_t enb_id, xid_t xid, const report_config_t *re
protocol__flex_cell_stats_report__init
(
cell_report
[
i
]);
cell_report
[
i
]
->
carrier_index
=
report_config
->
cc_report_type
[
i
].
cc_id
;
cell_report
[
i
]
->
has_carrier_index
=
1
;
cell_report
[
i
]
->
flags
=
report_config
->
cc_report_type
[
i
].
cc_report_flags
;
cell_report
[
i
]
->
has_flags
=
1
;
cell_report
[
i
]
->
has_flags
=
1
;
/* actual flags are filled in the CMs below */
}
...
...
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