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
zzha zzha
OpenXG-RAN
Commits
5de045b8
Commit
5de045b8
authored
May 18, 2017
by
shahab SHARIATBAGHERI
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Uplink slices
parent
eee0c1b8
Changes
4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
141 additions
and
935 deletions
+141
-935
openair2/ENB_APP/CONTROL_MODULES/MAC/flexran_agent_mac.c
openair2/ENB_APP/CONTROL_MODULES/MAC/flexran_agent_mac.c
+2
-2
openair2/LAYER2/MAC/flexran_agent_mac_proto.h
openair2/LAYER2/MAC/flexran_agent_mac_proto.h
+3
-3
openair2/LAYER2/MAC/flexran_agent_scheduler_dlsch_ue.c
openair2/LAYER2/MAC/flexran_agent_scheduler_dlsch_ue.c
+7
-7
openair2/LAYER2/MAC/flexran_agent_scheduler_ulsch_ue.c
openair2/LAYER2/MAC/flexran_agent_scheduler_ulsch_ue.c
+129
-923
No files found.
openair2/ENB_APP/CONTROL_MODULES/MAC/flexran_agent_mac.c
View file @
5de045b8
...
@@ -1248,8 +1248,8 @@ int flexran_agent_register_mac_xface(mid_t mod_id, AGENT_MAC_xface *xface) {
...
@@ -1248,8 +1248,8 @@ int flexran_agent_register_mac_xface(mid_t mod_id, AGENT_MAC_xface *xface) {
xface
->
flexran_agent_send_sr_info
=
flexran_agent_send_sr_info
;
xface
->
flexran_agent_send_sr_info
=
flexran_agent_send_sr_info
;
xface
->
flexran_agent_send_sf_trigger
=
flexran_agent_send_sf_trigger
;
xface
->
flexran_agent_send_sf_trigger
=
flexran_agent_send_sf_trigger
;
//xface->flexran_agent_send_update_mac_stats = flexran_agent_send_update_mac_stats;
//xface->flexran_agent_send_update_mac_stats = flexran_agent_send_update_mac_stats;
xface
->
flexran_agent_schedule_ue_spec
=
flexran_schedule_ue_spec_default
;
xface
->
flexran_agent_schedule_ue_spec
=
flexran_schedule_ue_
dl_
spec_default
;
xface
->
flexran_agent_schedule_ul_spec
=
flexran_
agent_schedule_ulsch_ue_spec
;
xface
->
flexran_agent_schedule_ul_spec
=
flexran_
schedule_ue_ul_spec_default
;
//xface->flexran_agent_schedule_ue_spec = flexran_schedule_ue_spec_remote;
//xface->flexran_agent_schedule_ue_spec = flexran_schedule_ue_spec_remote;
xface
->
flexran_agent_get_pending_dl_mac_config
=
flexran_agent_get_pending_dl_mac_config
;
xface
->
flexran_agent_get_pending_dl_mac_config
=
flexran_agent_get_pending_dl_mac_config
;
...
...
openair2/LAYER2/MAC/flexran_agent_mac_proto.h
View file @
5de045b8
...
@@ -51,7 +51,7 @@ typedef void (*slice_scheduler)(module_id_t mod_id,
...
@@ -51,7 +51,7 @@ typedef void (*slice_scheduler)(module_id_t mod_id,
/*
/*
* top level flexran scheduler used by the eNB scheduler
* top level flexran scheduler used by the eNB scheduler
*/
*/
void
flexran_schedule_ue_spec_default
(
mid_t
mod_id
,
void
flexran_schedule_ue_
dl_
spec_default
(
mid_t
mod_id
,
uint32_t
frame
,
uint32_t
frame
,
uint32_t
subframe
,
uint32_t
subframe
,
int
*
mbsfn_flag
,
int
*
mbsfn_flag
,
...
@@ -102,7 +102,7 @@ flexran_schedule_ue_spec_be(mid_t mod_id,
...
@@ -102,7 +102,7 @@ flexran_schedule_ue_spec_be(mid_t mod_id,
* common flexran scheduler function
* common flexran scheduler function
*/
*/
void
void
flexran_schedule_ue_spec_common
(
mid_t
mod_id
,
flexran_schedule_ue_
dl_
spec_common
(
mid_t
mod_id
,
int
slice_id
,
int
slice_id
,
uint32_t
frame
,
uint32_t
frame
,
uint32_t
subframe
,
uint32_t
subframe
,
...
@@ -182,7 +182,7 @@ void _dlsch_scheduler_pre_processor_allocate (module_id_t Mod_id,
...
@@ -182,7 +182,7 @@ void _dlsch_scheduler_pre_processor_allocate (module_id_t Mod_id,
/*
/*
* Default scheduler used by the eNB agent
* Default scheduler used by the eNB agent
*/
*/
void
flexran_schedule_ue_spec_default
(
mid_t
mod_id
,
uint32_t
frame
,
uint32_t
subframe
,
void
flexran_schedule_ue_
dl_
spec_default
(
mid_t
mod_id
,
uint32_t
frame
,
uint32_t
subframe
,
int
*
mbsfn_flag
,
Protocol__FlexranMessage
**
dl_info
);
int
*
mbsfn_flag
,
Protocol__FlexranMessage
**
dl_info
);
/*
/*
...
...
openair2/LAYER2/MAC/flexran_agent_scheduler_dlsch_ue.c
View file @
5de045b8
...
@@ -709,12 +709,12 @@ void _dlsch_scheduler_pre_processor (module_id_t Mod_id,
...
@@ -709,12 +709,12 @@ void _dlsch_scheduler_pre_processor (module_id_t Mod_id,
#define SF05_LIMIT 1
#define SF05_LIMIT 1
/*
/*
* Main
scheduling functions to support s
licing
* Main
Downlink S
licing
*
*
*/
*/
void
void
flexran_schedule_ue_spec_default
(
mid_t
mod_id
,
flexran_schedule_ue_
dl_
spec_default
(
mid_t
mod_id
,
uint32_t
frame
,
uint32_t
frame
,
uint32_t
subframe
,
uint32_t
subframe
,
int
*
mbsfn_flag
,
int
*
mbsfn_flag
,
...
@@ -876,7 +876,7 @@ flexran_schedule_ue_spec_embb(mid_t mod_id,
...
@@ -876,7 +876,7 @@ flexran_schedule_ue_spec_embb(mid_t mod_id,
Protocol__FlexranMessage
**
dl_info
)
Protocol__FlexranMessage
**
dl_info
)
{
{
flexran_schedule_ue_spec_common
(
mod_id
,
flexran_schedule_ue_
dl_
spec_common
(
mod_id
,
slice_id
,
slice_id
,
frame
,
frame
,
subframe
,
subframe
,
...
@@ -894,7 +894,7 @@ flexran_schedule_ue_spec_urllc(mid_t mod_id,
...
@@ -894,7 +894,7 @@ flexran_schedule_ue_spec_urllc(mid_t mod_id,
Protocol__FlexranMessage
**
dl_info
)
Protocol__FlexranMessage
**
dl_info
)
{
{
flexran_schedule_ue_spec_common
(
mod_id
,
flexran_schedule_ue_spec_
dl_
common
(
mod_id
,
slice_id
,
slice_id
,
frame
,
frame
,
subframe
,
subframe
,
...
@@ -913,7 +913,7 @@ flexran_schedule_ue_spec_mmtc(mid_t mod_id,
...
@@ -913,7 +913,7 @@ flexran_schedule_ue_spec_mmtc(mid_t mod_id,
{
{
flexran_schedule_ue_spec_common
(
mod_id
,
flexran_schedule_ue_
dl_
spec_common
(
mod_id
,
slice_id
,
slice_id
,
frame
,
frame
,
subframe
,
subframe
,
...
@@ -932,7 +932,7 @@ flexran_schedule_ue_spec_be(mid_t mod_id,
...
@@ -932,7 +932,7 @@ flexran_schedule_ue_spec_be(mid_t mod_id,
{
{
flexran_schedule_ue_spec_common
(
mod_id
,
flexran_schedule_ue_
dl_
spec_common
(
mod_id
,
slice_id
,
slice_id
,
frame
,
frame
,
subframe
,
subframe
,
...
@@ -943,7 +943,7 @@ flexran_schedule_ue_spec_be(mid_t mod_id,
...
@@ -943,7 +943,7 @@ flexran_schedule_ue_spec_be(mid_t mod_id,
//------------------------------------------------------------------------------
//------------------------------------------------------------------------------
void
void
flexran_schedule_ue_spec_common
(
mid_t
mod_id
,
flexran_schedule_ue_
dl_
spec_common
(
mid_t
mod_id
,
int
slice_id
,
int
slice_id
,
uint32_t
frame
,
uint32_t
frame
,
uint32_t
subframe
,
uint32_t
subframe
,
...
...
openair2/LAYER2/MAC/flexran_agent_scheduler_ulsch_ue.c
View file @
5de045b8
This diff is collapsed.
Click to expand it.
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