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
ZhouShuya
OpenXG-RAN
Commits
06170625
Commit
06170625
authored
Jun 02, 2017
by
Cedric Roux
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/MSG3_power_control_correction' into develop
parents
bc0f0990
32b636d7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
2 deletions
+12
-2
openair1/PHY/LTE_TRANSPORT/phich.c
openair1/PHY/LTE_TRANSPORT/phich.c
+10
-0
openair1/SCHED/pusch_pc.c
openair1/SCHED/pusch_pc.c
+2
-2
No files found.
openair1/PHY/LTE_TRANSPORT/phich.c
View file @
06170625
...
...
@@ -1098,6 +1098,8 @@ void rx_phich(PHY_VARS_UE *ue,
uint8_t
NSF_PHICH
=
4
;
uint8_t
pusch_subframe
;
int8_t
delta_PUSCH_acc
[
4
]
=
{
-
1
,
0
,
1
,
3
};
// check if we're expecting a PHICH in this subframe
LOG_D
(
PHY
,
"[UE %d][PUSCH %d] Frame %d subframe %d PHICH RX
\n
"
,
ue
->
Mod_id
,
harq_pid
,
proc
->
frame_rx
,
subframe
);
...
...
@@ -1387,6 +1389,14 @@ void rx_phich(PHY_VARS_UE *ue,
nseq_PHICH
,
ngroup_PHICH
);
ulsch
->
f_pusch
+=
delta_PUSCH_acc
[
ulsch
->
harq_processes
[
harq_pid
]
->
TPC
];
LOG_I
(
PHY
,
"[PUSCH %d] AbsSubframe %d.%d: f_pusch (ACC) %d, adjusting by %d (TPC %d)
\n
"
,
harq_pid
,
proc
->
frame_rx
,
subframe
,
ulsch
->
f_pusch
,
delta_PUSCH_acc
[
ulsch
->
harq_processes
[
harq_pid
]
->
TPC
],
ulsch
->
harq_processes
[
harq_pid
]
->
TPC
);
ulsch
->
harq_processes
[
harq_pid
]
->
subframe_scheduling_flag
=
1
;
// ulsch->harq_processes[harq_pid]->Ndi = 0;
ulsch
->
harq_processes
[
harq_pid
]
->
round
++
;
...
...
openair1/SCHED/pusch_pc.c
View file @
06170625
...
...
@@ -155,8 +155,8 @@ void pusch_power_cntl(PHY_VARS_UE *ue,UE_rxtx_proc_t *proc,uint8_t eNB_id,uint8_
ue
->
ulsch
[
eNB_id
]
->
Po_PUSCH
+=
(
mac_xface
->
get_Po_NOMINAL_PUSCH
(
ue
->
Mod_id
,
0
)
+
PL
);
LOG_I
(
PHY
,
"[UE %d][RAPROC]
frame %d, subframe %d: Msg3
Po_PUSCH %d dBm (%d,%d,100*PL=%d,%d,%d)
\n
"
,
ue
->
Mod_id
,
proc
->
frame_tx
,
proc
->
subframe_tx
,
ue
->
ulsch
[
eNB_id
]
->
Po_PUSCH
,
LOG_I
(
PHY
,
"[UE %d][RAPROC]
AbsSubframe %d.%d: Msg3 (%d PRBs)
Po_PUSCH %d dBm (%d,%d,100*PL=%d,%d,%d)
\n
"
,
ue
->
Mod_id
,
proc
->
frame_tx
,
proc
->
subframe_tx
,
nb_rb
,
ue
->
ulsch
[
eNB_id
]
->
Po_PUSCH
,
100
*
mac_xface
->
get_Po_NOMINAL_PUSCH
(
ue
->
Mod_id
,
0
),
hundred_times_log10_NPRB
[
nb_rb
-
1
],
100
*
PL
,
...
...
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