Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
openairinterface5G
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Worker.N
openairinterface5G
Commits
e5e58ec2
Commit
e5e58ec2
authored
9 years ago
by
Xenofon Foukas
Browse files
Options
Downloads
Patches
Plain Diff
Fixed mac stats handler for periodic and continuous stats updates
parent
b9cf840a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
openair2/ENB_APP/enb_agent_mac.c
+6
-2
6 additions, 2 deletions
openair2/ENB_APP/enb_agent_mac.c
with
6 additions
and
2 deletions
openair2/ENB_APP/enb_agent_mac.c
+
6
−
2
View file @
e5e58ec2
...
@@ -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
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment