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
47d3d773
Commit
47d3d773
authored
Mar 04, 2016
by
Xenofon Foukas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added updates in the dataplane based on dl_mac_config message
parent
d24f5323
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
openair2/LAYER2/MAC/eNB_agent_scheduler_dataplane.c
openair2/LAYER2/MAC/eNB_agent_scheduler_dataplane.c
+16
-0
No files found.
openair2/LAYER2/MAC/eNB_agent_scheduler_dataplane.c
View file @
47d3d773
...
...
@@ -164,6 +164,12 @@ void apply_ue_spec_scheduling_decisions(mid_t mod_id,
ta_len
=
(
dl_data
->
ce_bitmap
[
0
]
&
PROTOCOL__PRP_CE_TYPE__PRPCET_TA
)
?
2
:
0
;
}
if
(
ta_len
>
0
)
{
// Reset the measurement
ue_sched_ctl
->
ta_timer
=
20
;
eNB_UE_stats
->
timing_advance_update
=
0
;
}
n_lc
=
dl_data
->
n_rlc_pdu
;
num_sdus
=
0
;
sdu_length_total
=
0
;
...
...
@@ -333,6 +339,7 @@ void fill_oai_dci(mid_t mod_id, uint32_t CC_id, uint32_t rnti,
int
size_bits
,
size_bytes
;
eNB_MAC_INST
*
eNB
=
&
eNB_mac_inst
[
mod_id
];
UE_list_t
*
UE_list
=
&
eNB
->
UE_list
;
LTE_eNB_UE_stats
*
eNB_UE_stats
=
NULL
;
int
UE_id
=
find_ue
(
rnti
,
PHY_vars_eNB_g
[
mod_id
][
CC_id
]);
...
...
@@ -347,6 +354,15 @@ void fill_oai_dci(mid_t mod_id, uint32_t CC_id, uint32_t rnti,
frame_parms
[
CC_id
]
=
mac_xface
->
get_lte_frame_parms
(
mod_id
,
CC_id
);
if
(
dl_dci
->
has_tpc
==
1
)
{
// Check if tpc has been set and reset measurement */
if
((
dl_dci
->
tpc
==
0
)
||
(
dl_dci
->
tpc
==
2
))
{
eNB_UE_stats
=
mac_xface
->
get_eNB_UE_stats
(
mod_id
,
CC_id
,
rnti
);
eNB_UE_stats
->
Po_PUCCH_update
=
0
;
}
}
switch
(
frame_parms
[
CC_id
]
->
N_RB_DL
)
{
case
6
:
if
(
frame_parms
[
CC_id
]
->
frame_type
==
TDD
)
{
...
...
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