Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG UE
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
OpenXG
OpenXG UE
Commits
d225d2df
Commit
d225d2df
authored
Sep 14, 2020
by
Haruki NAOI
Committed by
shono.takafumi
Nov 30, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix: SNR feedback to PUSCH TPC and PUCCH TPC of default scheduler.
parent
1228461d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
openair2/LAYER2/MAC/eNB_scheduler_phytest.c
openair2/LAYER2/MAC/eNB_scheduler_phytest.c
+0
-1
openair2/LAYER2/MAC/eNB_scheduler_ulsch.c
openair2/LAYER2/MAC/eNB_scheduler_ulsch.c
+2
-2
No files found.
openair2/LAYER2/MAC/eNB_scheduler_phytest.c
View file @
d225d2df
...
...
@@ -239,7 +239,6 @@ void schedule_ulsch_phy_test(module_id_t module_idP,frame_t frameP,sub_frame_t s
//compute the expected ULSCH RX power (for the stats)
// this is the snr and this should be constant (regardless of mcs)
snr
=
UE_sched_ctrl
->
pusch_snr
[
CC_id
];
// new transmission
ndi
=
1
-
UE_template
->
oldNDI_UL
[
harq_pid
];
UE_template
->
oldNDI_UL
[
harq_pid
]
=
ndi
;
...
...
openair2/LAYER2/MAC/eNB_scheduler_ulsch.c
View file @
d225d2df
...
...
@@ -1492,7 +1492,7 @@ schedule_ulsch_rnti(module_id_t module_idP,
* This is the normalized RX snr and this should be constant (regardless
* of mcs) Is not in dBm, unit from nfapi, converting to dBm
*/
const
int32_t
snr
=
(
5
*
UE_sched_ctrl_ptr
->
pusch_snr
[
CC_id
]
-
640
)
/
10
;
const
int32_t
snr
=
UE_sched_ctrl_ptr
->
pusch_snr
[
CC_id
]
;
const
int32_t
target_snr
=
mac
->
puSch10xSnr
/
10
;
/*
...
...
@@ -2073,7 +2073,7 @@ void schedule_ulsch_rnti_emtc(module_id_t module_idP,
cqi_req
=
0
;
/* Power control: compute the expected ULSCH RX snr (for the stats) */
/* This is the normalized snr and this should be constant (regardless of mcs) */
snr
=
UE_sched_ctrl
->
pusch_snr
_avg
[
CC_id
];
snr
=
UE_sched_ctrl
->
pusch_snr
[
CC_id
];
target_snr
=
eNB
->
puSch10xSnr
/
10
;
/* TODO: target_rx_power was 178, what to put? */
/* This assumes accumulated tpc */
/* Make sure that we are only sending a tpc update once a frame, otherwise the control loop will freak out */
...
...
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