Commit 86d8e214 authored by Robert Schmidt's avatar Robert Schmidt

Test for CMs before taking CM-specific stats

parent 23650bde
...@@ -477,31 +477,23 @@ int flexran_agent_stats_reply(mid_t enb_id, xid_t xid, const report_config_t *re ...@@ -477,31 +477,23 @@ int flexran_agent_stats_reply(mid_t enb_id, xid_t xid, const report_config_t *re
} }
/* /* MAC reply split */
MAC reply split if (flexran_agent_get_mac_xface(enb_id)
*/ && flexran_agent_mac_stats_reply(enb_id, report_config, ue_report, cell_report) < 0) {
if (flexran_agent_mac_stats_reply(enb_id, report_config, ue_report, cell_report) < 0 ) {
err_code = PROTOCOL__FLEXRAN_ERR__MSG_BUILD; err_code = PROTOCOL__FLEXRAN_ERR__MSG_BUILD;
goto error; goto error;
} }
/* /* RRC reply split */
RRC reply split if (flexran_agent_get_rrc_xface(enb_id)
*/ && flexran_agent_rrc_stats_reply(enb_id, report_config, ue_report, cell_report) < 0) {
if (flexran_agent_rrc_stats_reply(enb_id, report_config, ue_report, cell_report) < 0 ) {
err_code = PROTOCOL__FLEXRAN_ERR__MSG_BUILD; err_code = PROTOCOL__FLEXRAN_ERR__MSG_BUILD;
goto error; goto error;
} }
/* PDCP reply split */
/* if (flexran_agent_get_pdcp_xface(enb_id)
PDCP reply split && flexran_agent_pdcp_stats_reply(enb_id, report_config, ue_report, cell_report) < 0) {
*/
if (flexran_agent_pdcp_stats_reply(enb_id, report_config, ue_report, cell_report) < 0 ) {
err_code = PROTOCOL__FLEXRAN_ERR__MSG_BUILD; err_code = PROTOCOL__FLEXRAN_ERR__MSG_BUILD;
goto error; goto error;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment