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
8a7a7937
Commit
8a7a7937
authored
Apr 27, 2021
by
Thomas Schlichter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
5G NR: change PUSCH and PDSCH channel levelling for higher accuracy
parent
da799243
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
openair1/PHY/NR_TRANSPORT/nr_ulsch_demodulation.c
openair1/PHY/NR_TRANSPORT/nr_ulsch_demodulation.c
+1
-1
openair1/PHY/NR_UE_TRANSPORT/nr_dlsch_demodulation.c
openair1/PHY/NR_UE_TRANSPORT/nr_dlsch_demodulation.c
+3
-3
No files found.
openair1/PHY/NR_TRANSPORT/nr_ulsch_demodulation.c
View file @
8a7a7937
...
...
@@ -1272,7 +1272,7 @@ int nr_rx_pusch(PHY_VARS_gNB *gNB,
for
(
aarx
=
0
;
aarx
<
frame_parms
->
nb_antennas_rx
;
aarx
++
)
avgs
=
cmax
(
avgs
,
avg
[(
aatx
<<
1
)
+
aarx
]);
gNB
->
pusch_vars
[
ulsch_id
]
->
log2_maxh
=
(
log2_approx
(
avgs
)
/
2
)
+
3
;
gNB
->
pusch_vars
[
ulsch_id
]
->
log2_maxh
=
(
log2_approx
(
avgs
)
/
2
)
+
1
;
gNB
->
pusch_vars
[
ulsch_id
]
->
cl_done
=
1
;
}
...
...
openair1/PHY/NR_UE_TRANSPORT/nr_dlsch_demodulation.c
View file @
8a7a7937
...
...
@@ -443,8 +443,6 @@ int nr_rx_pdsch(PHY_VARS_NR_UE *ue,
//LOG_I(PHY, "avgs Power per SC is %d\n", avgs);
median
[(
aatx
*
frame_parms
->
nb_antennas_rx
)
+
aarx
]
=
avg
[(
aatx
*
frame_parms
->
nb_antennas_rx
)
+
aarx
];
}
pdsch_vars
[
gNB_id
]
->
log2_maxh
=
(
log2_approx
(
avgs
)
/
2
)
+
3
;
//LOG_I(PHY, "avgs Power per SC is %d lg2_maxh %d\n", avgs, pdsch_vars[gNB_id]->log2_maxh);
if
(
dlsch0_harq
->
mimo_mode
==
NR_DUALSTREAM
)
{
nr_dlsch_channel_level_median
(
pdsch_vars
[
gNB_id
]
->
dl_ch_estimates_ext
,
...
...
@@ -459,8 +457,10 @@ int nr_rx_pdsch(PHY_VARS_NR_UE *ue,
avgs
=
cmax
(
avgs
,
median
[
aatx
*
n_rx
+
aarx
]);
}
}
pdsch_vars
[
gNB_id
]
->
log2_maxh
=
(
log2_approx
(
avgs
)
/
2
)
+
1
;
}
pdsch_vars
[
gNB_id
]
->
log2_maxh
=
(
log2_approx
(
avgs
)
/
2
)
+
1
;
//LOG_I(PHY, "avgs Power per SC is %d lg2_maxh %d\n", avgs, pdsch_vars[gNB_id]->log2_maxh);
}
LOG_D
(
PHY
,
"[DLSCH] AbsSubframe %d.%d log2_maxh = %d [log2_maxh0 %d log2_maxh1 %d] (%d,%d)
\n
"
,
frame
%
1024
,
...
...
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