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
zzha zzha
OpenXG-RAN
Commits
bbb369a9
Commit
bbb369a9
authored
Jan 08, 2016
by
lukashov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Small bugfix for TM5 and TM6
parent
42eb48fa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
2 deletions
+13
-2
openair1/PHY/LTE_TRANSPORT/dlsch_demodulation.c
openair1/PHY/LTE_TRANSPORT/dlsch_demodulation.c
+13
-2
No files found.
openair1/PHY/LTE_TRANSPORT/dlsch_demodulation.c
View file @
bbb369a9
...
@@ -494,6 +494,12 @@ int rx_pdsch(PHY_VARS_UE *phy_vars_ue,
...
@@ -494,6 +494,12 @@ int rx_pdsch(PHY_VARS_UE *phy_vars_ue,
if
((
rx_type
==
rx_IC_single_stream
)
&&
(
eNB_id_i
==
phy_vars_ue
->
n_connected_eNB
)
&&
(
dlsch0_harq
->
dl_power_off
==
0
))
{
// TM5 two-user
if
((
rx_type
==
rx_IC_single_stream
)
&&
(
eNB_id_i
==
phy_vars_ue
->
n_connected_eNB
)
&&
(
dlsch0_harq
->
dl_power_off
==
0
))
{
// TM5 two-user
// Scale the channel estimates for interfering stream
// Scale the channel estimates for interfering stream
dlsch_scale_channel
(
lte_ue_pdsch_vars
[
eNB_id
]
->
dl_ch_estimates_ext
,
frame_parms
,
dlsch_ue
,
symbol
,
nb_rb
);
dlsch_scale_channel
(
lte_ue_pdsch_vars
[
eNB_id_i
]
->
dl_ch_estimates_ext
,
dlsch_scale_channel
(
lte_ue_pdsch_vars
[
eNB_id_i
]
->
dl_ch_estimates_ext
,
frame_parms
,
frame_parms
,
...
@@ -593,7 +599,7 @@ int rx_pdsch(PHY_VARS_UE *phy_vars_ue,
...
@@ -593,7 +599,7 @@ int rx_pdsch(PHY_VARS_UE *phy_vars_ue,
}
else
if
(
dlsch0_harq
->
dl_power_off
==
1
)
{
}
else
if
(
dlsch0_harq
->
dl_power_off
==
1
)
{
dlsch_scale_channel
(
lte_ue_pdsch_vars
[
eNB_id
_i
]
->
dl_ch_estimates_ext
,
dlsch_scale_channel
(
lte_ue_pdsch_vars
[
eNB_id
]
->
dl_ch_estimates_ext
,
frame_parms
,
frame_parms
,
dlsch_ue
,
dlsch_ue
,
symbol
,
symbol
,
...
@@ -609,9 +615,14 @@ int rx_pdsch(PHY_VARS_UE *phy_vars_ue,
...
@@ -609,9 +615,14 @@ int rx_pdsch(PHY_VARS_UE *phy_vars_ue,
avg
,
avg
,
symbol
,
symbol
,
nb_rb
);
nb_rb
);
avgs
=
0
;
for
(
aatx
=
0
;
aatx
<
frame_parms
->
nb_antennas_tx_eNB
;
aatx
++
)
for
(
aarx
=
0
;
aarx
<
frame_parms
->
nb_antennas_rx
;
aarx
++
)
avgs
=
cmax
(
avgs
,
avg
[(
aatx
<<
1
)
+
aarx
]);
// LOG_D(PHY,"llr_offset = %d\n",offset_mumimo_llr_drange[dlsch0_harq->mcs][(i_mod>>1)-1]);
// LOG_D(PHY,"llr_offset = %d\n",offset_mumimo_llr_drange[dlsch0_harq->mcs][(i_mod>>1)-1]);
avg
[
0
]
=
log2_approx
(
avg
[
0
])
-
13
+
offset_mumimo_llr_drange
[
dlsch0_harq
->
mcs
][(
i_mod
>>
1
)
-
1
];
lte_ue_pdsch_vars
[
eNB_id
]
->
log2_maxh
=
(
log2_approx
(
avgs
)
/
2
)
+
interf_unaw_shift_tm1_mcs
[
dlsch0_harq
->
mcs
];
lte_ue_pdsch_vars
[
eNB_id
]
->
log2_maxh
=
cmax
(
avg
[
0
],
0
);
lte_ue_pdsch_vars
[
eNB_id
]
->
log2_maxh
=
cmax
(
avg
[
0
],
0
);
lte_ue_pdsch_vars
[
eNB_id
]
->
log2_maxh
++
;
lte_ue_pdsch_vars
[
eNB_id
]
->
log2_maxh
++
;
...
...
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