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
b64cb5b2
Commit
b64cb5b2
authored
9 years ago
by
Xenofon Foukas
Browse files
Options
Downloads
Patches
Plain Diff
Added rank indication and timing advance indication support
parent
a6636544
No related branches found
No related tags found
No related merge requests found
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
openair2/ENB_APP/enb_agent_common.c
+25
-0
25 additions, 0 deletions
openair2/ENB_APP/enb_agent_common.c
openair2/ENB_APP/enb_agent_common.h
+5
-0
5 additions, 0 deletions
openair2/ENB_APP/enb_agent_common.h
openair2/ENB_APP/enb_agent_mac.c
+110
-84
110 additions, 84 deletions
openair2/ENB_APP/enb_agent_mac.c
with
140 additions
and
84 deletions
openair2/ENB_APP/enb_agent_common.c
+
25
−
0
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)
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
;
}
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
*/
...
...
This diff is collapsed.
Click to expand it.
openair2/ENB_APP/enb_agent_common.h
+
5
−
0
View file @
b64cb5b2
...
...
@@ -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_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
);
...
...
This diff is collapsed.
Click to expand it.
openair2/ENB_APP/enb_agent_mac.c
+
110
−
84
View file @
b64cb5b2
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