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
f87c1cbb
Commit
f87c1cbb
authored
Nov 08, 2019
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
FlexRAN refactor+format MAC stats function
parent
b6d466d7
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
499 additions
and
605 deletions
+499
-605
openair2/ENB_APP/CONTROL_MODULES/MAC/flexran_agent_mac.c
openair2/ENB_APP/CONTROL_MODULES/MAC/flexran_agent_mac.c
+488
-594
openair2/ENB_APP/CONTROL_MODULES/MAC/flexran_agent_mac.h
openair2/ENB_APP/CONTROL_MODULES/MAC/flexran_agent_mac.h
+9
-8
openair2/ENB_APP/flexran_agent_handler.c
openair2/ENB_APP/flexran_agent_handler.c
+2
-3
No files found.
openair2/ENB_APP/CONTROL_MODULES/MAC/flexran_agent_mac.c
View file @
f87c1cbb
This diff is collapsed.
Click to expand it.
openair2/ENB_APP/CONTROL_MODULES/MAC/flexran_agent_mac.h
View file @
f87c1cbb
...
@@ -51,11 +51,12 @@ int flexran_agent_mac_destroy_sr_info(Protocol__FlexranMessage *msg);
...
@@ -51,11 +51,12 @@ int flexran_agent_mac_destroy_sr_info(Protocol__FlexranMessage *msg);
int
flexran_agent_mac_sf_trigger
(
mid_t
mod_id
,
const
void
*
params
,
Protocol__FlexranMessage
**
msg
);
int
flexran_agent_mac_sf_trigger
(
mid_t
mod_id
,
const
void
*
params
,
Protocol__FlexranMessage
**
msg
);
int
flexran_agent_mac_destroy_sf_trigger
(
Protocol__FlexranMessage
*
msg
);
int
flexran_agent_mac_destroy_sf_trigger
(
Protocol__FlexranMessage
*
msg
);
/* Statistics reply protocol message constructor and destructor */
/* Statistics reply protocol message constructor
s (for UE and cell stats)
and destructor */
int
flexran_agent_mac_stats_reply
(
mid_t
mod_id
,
int
flexran_agent_mac_stats_reply
_ue
(
mid_t
mod_id
,
Protocol__FlexUeStatsReport
**
ue_report
,
Protocol__FlexUeStatsReport
**
ue_report
,
int
n_ue
,
int
n_ue
,
uint32_t
ue_flags
,
uint32_t
ue_flags
);
int
flexran_agent_mac_stats_reply_cell
(
mid_t
mod_id
,
Protocol__FlexCellStatsReport
**
cell_report
,
Protocol__FlexCellStatsReport
**
cell_report
,
int
n_cc
,
int
n_cc
,
uint32_t
cc_flags
);
uint32_t
cc_flags
);
...
...
openair2/ENB_APP/flexran_agent_handler.c
View file @
f87c1cbb
...
@@ -297,9 +297,8 @@ int flexran_agent_stats_reply(mid_t enb_id,
...
@@ -297,9 +297,8 @@ int flexran_agent_stats_reply(mid_t enb_id,
/* MAC reply split */
/* MAC reply split */
if
(
flexran_agent_get_mac_xface
(
enb_id
)
if
(
flexran_agent_get_mac_xface
(
enb_id
)
&&
flexran_agent_mac_stats_reply
(
enb_id
,
&&
(
flexran_agent_mac_stats_reply_ue
(
enb_id
,
ue_report
,
n_ue
,
ue_flags
)
<
0
ue_report
,
n_ue
,
ue_flags
,
||
flexran_agent_mac_stats_reply_cell
(
enb_id
,
cell_report
,
n_cc
,
cell_flags
)
<
0
))
{
cell_report
,
n_cc
,
cell_flags
)
<
0
)
{
err_code
=
PROTOCOL__FLEXRAN_ERR__MSG_BUILD
;
err_code
=
PROTOCOL__FLEXRAN_ERR__MSG_BUILD
;
goto
error
;
goto
error
;
}
}
...
...
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