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
b64cb5b2
Commit
b64cb5b2
authored
Feb 10, 2016
by
Xenofon Foukas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added rank indication and timing advance indication support
parent
a6636544
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
140 additions
and
84 deletions
+140
-84
openair2/ENB_APP/enb_agent_common.c
openair2/ENB_APP/enb_agent_common.c
+25
-0
openair2/ENB_APP/enb_agent_common.h
openair2/ENB_APP/enb_agent_common.h
+5
-0
openair2/ENB_APP/enb_agent_mac.c
openair2/ENB_APP/enb_agent_mac.c
+110
-84
No files found.
openair2/ENB_APP/enb_agent_common.c
View file @
b64cb5b2
...
@@ -400,6 +400,31 @@ int get_tx_queue_size(mid_t mod_id, mid_t ue_id, logical_chan_id_t channel_id)
...
@@ -400,6 +400,31 @@ int get_tx_queue_size(mid_t mod_id, mid_t ue_id, logical_chan_id_t channel_id)
mac_rlc_status_resp_t
rlc_status
=
mac_rlc_status_ind
(
mod_id
,
rnti
,
mod_id
,
frame
,
ENB_FLAG_YES
,
MBMS_FLAG_NO
,
channel_id
,
0
);
mac_rlc_status_resp_t
rlc_status
=
mac_rlc_status_ind
(
mod_id
,
rnti
,
mod_id
,
frame
,
ENB_FLAG_YES
,
MBMS_FLAG_NO
,
channel_id
,
0
);
return
rlc_status
.
bytes_in_buffer
;
return
rlc_status
.
bytes_in_buffer
;
}
}
int
get_MAC_CE_bitmap_TA
(
mid_t
mod_id
,
mid_t
ue_id
)
{
if
((((
UE_list_t
*
)
enb_ue
[
mod_id
])
->
UE_sched_ctrl
[
ue_id
].
ta_update
)
>
0
)
return
1
;
else
return
0
;
}
int
get_active_CC
(
mid_t
mod_id
,
mid_t
ue_id
)
{
return
((
UE_list_t
*
)
enb_ue
[
mod_id
])
->
numactiveCCs
[
ue_id
];
}
int
get_current_RI
(
mid_t
mod_id
,
mid_t
ue_id
,
int
CC_id
)
{
LTE_eNB_UE_stats
*
eNB_UE_stats
=
NULL
;
int
pCCid
=
UE_PCCID
(
mod_id
,
ue_id
);
rnti_t
rnti
=
get_ue_crnti
(
mod_id
,
ue_id
);
eNB_UE_stats
=
mac_xface
->
get_eNB_UE_stats
(
mod_id
,
CC_id
,
rnti
);
return
eNB_UE_stats
[
CC_id
].
rank
;
}
/*
/*
* timer primitives
* timer primitives
*/
*/
...
...
openair2/ENB_APP/enb_agent_common.h
View file @
b64cb5b2
...
@@ -150,6 +150,11 @@ int get_ue_wcqi (mid_t mod_id, mid_t ue_id);
...
@@ -150,6 +150,11 @@ int get_ue_wcqi (mid_t mod_id, mid_t ue_id);
int
get_tx_queue_size
(
mid_t
mod_id
,
mid_t
ue_id
,
logical_chan_id_t
channel_id
);
int
get_tx_queue_size
(
mid_t
mod_id
,
mid_t
ue_id
,
logical_chan_id_t
channel_id
);
int
get_MAC_CE_bitmap_TA
(
mid_t
mod_id
,
mid_t
ue_id
);
int
get_active_CC
(
mid_t
mod_id
,
mid_t
ue_id
);
int
get_current_RI
(
mid_t
mod_id
,
mid_t
ue_id
,
int
CC_id
);
...
...
openair2/ENB_APP/enb_agent_mac.c
View file @
b64cb5b2
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