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
wangjie
OpenXG-RAN
Commits
16bbb96d
Commit
16bbb96d
authored
Jan 22, 2016
by
Xenofon Foukas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added continuous update functionality in the MAC layer
parent
3ad4d26f
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
191 additions
and
23 deletions
+191
-23
openair2/ENB_APP/enb_agent_mac.c
openair2/ENB_APP/enb_agent_mac.c
+184
-16
openair2/ENB_APP/enb_agent_mac.h
openair2/ENB_APP/enb_agent_mac.h
+7
-7
No files found.
openair2/ENB_APP/enb_agent_mac.c
View file @
16bbb96d
This diff is collapsed.
Click to expand it.
openair2/ENB_APP/enb_agent_mac.h
View file @
16bbb96d
...
...
@@ -45,9 +45,6 @@
#include "enb_agent_common.h"
#include "enb_agent_extern.h"
/*Flags showing if a mac agent has already been registered*/
unsigned
int
mac_agent_registered
[
NUM_MAX_ENB_AGENT
];
/* These types will be used to give
instructions for the type of stats reports
we need to create */
...
...
@@ -72,14 +69,13 @@ typedef struct {
cc_report_type_t
*
cc_report_type
;
}
report_config_t
;
typedef
struct
{
typedef
struct
stats_request_config_s
{
uint8_t
report_type
;
uint8_t
report_frequency
;
uint16_t
period
;
/*In number of subframes*/
report_config_t
*
config
;
}
stats_request_config_t
;
int
enb_agent_mac_handle_stats
(
mid_t
mod_id
,
const
void
*
params
,
Protocol__ProgranMessage
**
msg
);
int
enb_agent_mac_stats_request
(
mid_t
mod_id
,
xid_t
xid
,
const
stats_request_config_t
*
report_config
,
Protocol__ProgranMessage
**
msg
);
...
...
@@ -104,10 +100,14 @@ int enb_agent_mac_destroy_sf_trigger(Protocol__ProgranMessage *msg);
**********************************/
/*Inform controller about received scheduling requests during a subframe*/
void
enb_agent_send_sr_info
(
mid_t
mod_id
,
msg_context_t
*
context
);
void
enb_agent_send_sr_info
(
mid_t
mod_id
);
/*Inform the controller about the current UL/DL subframe*/
void
enb_agent_send_sf_trigger
(
mid_t
mod_id
,
msg_context_t
*
context
);
void
enb_agent_send_sf_trigger
(
mid_t
mod_id
);
/// Send to the controller all the mac stat updates that occured during this subframe
/// based on the stats request configuration
void
enb_agent_send_update_mac_stats
(
mid_t
mod_id
);
/*Register technology specific interface callbacks*/
int
enb_agent_register_mac_xface
(
mid_t
mod_id
,
AGENT_MAC_xface
*
xface
);
...
...
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