Skip to content
Snippets Groups Projects
Commit e5e58ec2 authored by Xenofon Foukas's avatar Xenofon Foukas
Browse files

Fixed mac stats handler for periodic and continuous stats updates

parent b9cf840a
No related branches found
No related tags found
No related merge requests found
...@@ -73,12 +73,16 @@ int enb_agent_mac_handle_stats(uint32_t xid, const void *params, Protocol__Progr ...@@ -73,12 +73,16 @@ int enb_agent_mac_handle_stats(uint32_t xid, const void *params, Protocol__Progr
if (comp_req->report_frequency == PROTOCOL__PRP_STATS_REPORT_FREQ__PRSRF_PERIODICAL) { if (comp_req->report_frequency == PROTOCOL__PRP_STATS_REPORT_FREQ__PRSRF_PERIODICAL) {
//TODO: Must create a periodic report. Implement once the //TODO: Must create a periodic report. Implement once the
// timer functionality is supported // timer functionality is supported
return -1; *msg = NULL;
return 0;
} else if (comp_req->report_frequency == PROTOCOL__PRP_STATS_REPORT_FREQ__PRSRF_CONTINUOUS) { } else if (comp_req->report_frequency == PROTOCOL__PRP_STATS_REPORT_FREQ__PRSRF_CONTINUOUS) {
//TODO: Must create an event based report mechanism //TODO: Must create an event based report mechanism
return -1; *msg = NULL;
return 0;
} else if (comp_req->report_frequency == PROTOCOL__PRP_STATS_REPORT_FREQ__PRSRF_OFF) { } else if (comp_req->report_frequency == PROTOCOL__PRP_STATS_REPORT_FREQ__PRSRF_OFF) {
//TODO: Must implement to deactivate the event based reporting //TODO: Must implement to deactivate the event based reporting
*msg = NULL;
return 0;
} else { //One-off reporting } else { //One-off reporting
//Set the proper flags //Set the proper flags
ue_flags = comp_req->ue_report_flags; ue_flags = comp_req->ue_report_flags;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment