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
Michael Black
OpenXG-RAN
Commits
fae74fb8
Commit
fae74fb8
authored
Oct 02, 2018
by
Hongzhi Wang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add dlsch llr computation
parent
a5a5e85f
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8693 additions
and
62 deletions
+8693
-62
cmake_targets/CMakeLists.txt
cmake_targets/CMakeLists.txt
+1
-0
openair1/PHY/NR_UE_TRANSPORT/nr_dlsch_demodulation.c
openair1/PHY/NR_UE_TRANSPORT/nr_dlsch_demodulation.c
+31
-37
openair1/PHY/NR_UE_TRANSPORT/nr_dlsch_llr_computation.c
openair1/PHY/NR_UE_TRANSPORT/nr_dlsch_llr_computation.c
+8641
-0
openair1/PHY/NR_UE_TRANSPORT/nr_transport_proto_ue.h
openair1/PHY/NR_UE_TRANSPORT/nr_transport_proto_ue.h
+20
-25
No files found.
cmake_targets/CMakeLists.txt
View file @
fae74fb8
...
...
@@ -1326,6 +1326,7 @@ set(PHY_SRC_UE
${
OPENAIR1_DIR
}
/PHY/NR_UE_TRANSPORT/nr_pbch.c
${
OPENAIR1_DIR
}
/PHY/NR_UE_TRANSPORT/nr_dlsch_demodulation.c
${
OPENAIR1_DIR
}
/PHY/NR_UE_TRANSPORT/nr_dlsch_decoding.c
${
OPENAIR1_DIR
}
/PHY/NR_UE_TRANSPORT/nr_dlsch_llr_computation.c
${
OPENAIR1_DIR
}
/PHY/NR_UE_TRANSPORT/
${
OPENAIR1_DIR
}
/PHY/NR_UE_TRANSPORT/srs_modulation_nr.c
${
OPENAIR1_DIR
}
/PHY/NR_UE_TRANSPORT/dci_nr.c
...
...
openair1/PHY/NR_UE_TRANSPORT/nr_dlsch_demodulation.c
View file @
fae74fb8
...
...
@@ -114,7 +114,7 @@ int nr_rx_pdsch(PHY_VARS_NR_UE *ue,
unsigned
char
aatx
,
aarx
;
unsigned
short
nb_rb
=
0
,
round
;
unsigned
short
nb_rb
=
0
,
nb_re
=
0
,
round
;
int
avgs
=
0
;
// rb;
NR_DL_UE_HARQ_t
*
dlsch0_harq
,
*
dlsch1_harq
=
0
;
...
...
@@ -839,6 +839,9 @@ int nr_rx_pdsch(PHY_VARS_NR_UE *ue,
//i_mod should have been passed as a parameter
}
nb_re
=
(
symbol
==
2
)
?
(
nb_rb
*
6
)
:
(
nb_rb
*
12
);
pdsch_vars
[
eNB_id
]
->
llr_offset
[
symbol
]
=
nb_re
*
dlsch0_harq
->
Qm
*
2
;
#if UE_TIMING_TRACE
stop_meas
(
&
ue
->
generic_stat_bis
[
ue
->
current_thread_id
[
nr_tti_rx
]][
slot
]);
#if DISABLE_LOG_X
...
...
@@ -879,29 +882,27 @@ int nr_rx_pdsch(PHY_VARS_NR_UE *ue,
switch
(
dlsch0_harq
->
Qm
)
{
case
2
:
if
((
rx_type
==
rx_standard
)
||
(
codeword_TB1
==
-
1
))
{
dlsch_qpsk_llr
(
frame_parms
,
nr_
dlsch_qpsk_llr
(
frame_parms
,
pdsch_vars
[
eNB_id
]
->
rxdataF_comp0
,
(
int16_t
*
)
pllr_symbol_cw0
,
symbol
,
first_symbol_flag
,
nb_rb
,
adjust_G2
(
frame_parms
,
dlsch0_harq
->
rb_alloc_even
,
2
,
nr_tti_rx
,
symbol
),
beamforming_mode
);
}
else
if
(
codeword_TB0
==
-
1
){
dlsch_qpsk_llr
(
frame_parms
,
nr_
dlsch_qpsk_llr
(
frame_parms
,
pdsch_vars
[
eNB_id
]
->
rxdataF_comp0
,
(
int16_t
*
)
pllr_symbol_cw1
,
symbol
,
first_symbol_flag
,
nb_rb
,
adjust_G2
(
frame_parms
,
dlsch0_harq
->
rb_alloc_even
,
2
,
nr_tti_rx
,
symbol
),
beamforming_mode
);
}
else
if
(
rx_type
>=
rx_IC_single_stream
)
{
if
(
dlsch1_harq
->
Qm
==
2
)
{
dlsch_qpsk_qpsk_llr
(
frame_parms
,
nr_
dlsch_qpsk_qpsk_llr
(
frame_parms
,
pdsch_vars
[
eNB_id
]
->
rxdataF_comp0
,
rxdataF_comp_ptr
,
pdsch_vars
[
eNB_id
]
->
dl_ch_rho2_ext
,
...
...
@@ -910,7 +911,7 @@ int nr_rx_pdsch(PHY_VARS_NR_UE *ue,
adjust_G2
(
frame_parms
,
dlsch0_harq
->
rb_alloc_even
,
2
,
nr_tti_rx
,
symbol
),
pdsch_vars
[
eNB_id
]
->
llr128
);
if
(
rx_type
==
rx_IC_dual_stream
)
{
dlsch_qpsk_qpsk_llr
(
frame_parms
,
nr_
dlsch_qpsk_qpsk_llr
(
frame_parms
,
rxdataF_comp_ptr
,
pdsch_vars
[
eNB_id
]
->
rxdataF_comp0
,
pdsch_vars
[
eNB_id
]
->
dl_ch_rho_ext
[
harq_pid
][
round
],
...
...
@@ -921,7 +922,7 @@ int nr_rx_pdsch(PHY_VARS_NR_UE *ue,
}
}
else
if
(
dlsch1_harq
->
Qm
==
4
)
{
dlsch_qpsk_16qam_llr
(
frame_parms
,
nr_
dlsch_qpsk_16qam_llr
(
frame_parms
,
pdsch_vars
[
eNB_id
]
->
rxdataF_comp0
,
rxdataF_comp_ptr
,
//i
dl_ch_mag_ptr
,
//i
...
...
@@ -931,7 +932,7 @@ int nr_rx_pdsch(PHY_VARS_NR_UE *ue,
adjust_G2
(
frame_parms
,
dlsch0_harq
->
rb_alloc_even
,
2
,
nr_tti_rx
,
symbol
),
pdsch_vars
[
eNB_id
]
->
llr128
);
if
(
rx_type
==
rx_IC_dual_stream
)
{
dlsch_16qam_qpsk_llr
(
frame_parms
,
nr_
dlsch_16qam_qpsk_llr
(
frame_parms
,
rxdataF_comp_ptr
,
pdsch_vars
[
eNB_id
]
->
rxdataF_comp0
,
//i
dl_ch_mag_ptr
,
...
...
@@ -943,7 +944,7 @@ int nr_rx_pdsch(PHY_VARS_NR_UE *ue,
}
}
else
{
dlsch_qpsk_64qam_llr
(
frame_parms
,
nr_
dlsch_qpsk_64qam_llr
(
frame_parms
,
pdsch_vars
[
eNB_id
]
->
rxdataF_comp0
,
rxdataF_comp_ptr
,
//i
dl_ch_mag_ptr
,
//i
...
...
@@ -953,7 +954,7 @@ int nr_rx_pdsch(PHY_VARS_NR_UE *ue,
adjust_G2
(
frame_parms
,
dlsch0_harq
->
rb_alloc_even
,
2
,
nr_tti_rx
,
symbol
),
pdsch_vars
[
eNB_id
]
->
llr128
);
if
(
rx_type
==
rx_IC_dual_stream
)
{
dlsch_64qam_qpsk_llr
(
frame_parms
,
nr_
dlsch_64qam_qpsk_llr
(
frame_parms
,
rxdataF_comp_ptr
,
pdsch_vars
[
eNB_id
]
->
rxdataF_comp0
,
//i
dl_ch_mag_ptr
,
...
...
@@ -968,27 +969,25 @@ int nr_rx_pdsch(PHY_VARS_NR_UE *ue,
break
;
case
4
:
if
((
rx_type
==
rx_standard
)
||
(
codeword_TB1
==
-
1
))
{
dlsch_16qam_llr
(
frame_parms
,
nr_
dlsch_16qam_llr
(
frame_parms
,
pdsch_vars
[
eNB_id
]
->
rxdataF_comp0
,
pdsch_vars
[
eNB_id
]
->
llr
[
0
],
pdsch_vars
[
eNB_id
]
->
dl_ch_mag0
,
symbol
,
first_symbol_flag
,
nb_rb
,
adjust_G2
(
frame_parms
,
dlsch0_harq
->
rb_alloc_even
,
4
,
nr_tti_rx
,
symbol
),
pdsch_vars
[
eNB_id
]
->
llr128
,
beamforming_mode
);
}
else
if
(
codeword_TB0
==
-
1
){
dlsch_16qam_llr
(
frame_parms
,
nr_
dlsch_16qam_llr
(
frame_parms
,
pdsch_vars
[
eNB_id
]
->
rxdataF_comp0
,
pdsch_vars
[
eNB_id
]
->
llr
[
1
],
pdsch_vars
[
eNB_id
]
->
dl_ch_mag0
,
symbol
,
first_symbol_flag
,
nb_rb
,
adjust_G2
(
frame_parms
,
dlsch0_harq
->
rb_alloc_even
,
4
,
nr_tti_rx
,
symbol
),
pdsch_vars
[
eNB_id
]
->
llr128_2ndstream
,
beamforming_mode
);
}
else
if
(
rx_type
>=
rx_IC_single_stream
)
{
if
(
dlsch1_harq
->
Qm
==
2
)
{
dlsch_16qam_qpsk_llr
(
frame_parms
,
nr_
dlsch_16qam_qpsk_llr
(
frame_parms
,
pdsch_vars
[
eNB_id
]
->
rxdataF_comp0
,
rxdataF_comp_ptr
,
//i
pdsch_vars
[
eNB_id
]
->
dl_ch_mag0
,
...
...
@@ -998,7 +997,7 @@ int nr_rx_pdsch(PHY_VARS_NR_UE *ue,
adjust_G2
(
frame_parms
,
dlsch0_harq
->
rb_alloc_even
,
4
,
nr_tti_rx
,
symbol
),
pdsch_vars
[
eNB_id
]
->
llr128
);
if
(
rx_type
==
rx_IC_dual_stream
)
{
dlsch_qpsk_16qam_llr
(
frame_parms
,
nr_
dlsch_qpsk_16qam_llr
(
frame_parms
,
rxdataF_comp_ptr
,
pdsch_vars
[
eNB_id
]
->
rxdataF_comp0
,
//i
pdsch_vars
[
eNB_id
]
->
dl_ch_mag0
,
//i
...
...
@@ -1010,7 +1009,7 @@ int nr_rx_pdsch(PHY_VARS_NR_UE *ue,
}
}
else
if
(
dlsch1_harq
->
Qm
==
4
)
{
dlsch_16qam_16qam_llr
(
frame_parms
,
nr_
dlsch_16qam_16qam_llr
(
frame_parms
,
pdsch_vars
[
eNB_id
]
->
rxdataF_comp0
,
rxdataF_comp_ptr
,
//i
pdsch_vars
[
eNB_id
]
->
dl_ch_mag0
,
...
...
@@ -1021,7 +1020,7 @@ int nr_rx_pdsch(PHY_VARS_NR_UE *ue,
adjust_G2
(
frame_parms
,
dlsch0_harq
->
rb_alloc_even
,
4
,
nr_tti_rx
,
symbol
),
pdsch_vars
[
eNB_id
]
->
llr128
);
if
(
rx_type
==
rx_IC_dual_stream
)
{
dlsch_16qam_16qam_llr
(
frame_parms
,
nr_
dlsch_16qam_16qam_llr
(
frame_parms
,
rxdataF_comp_ptr
,
pdsch_vars
[
eNB_id
]
->
rxdataF_comp0
,
//i
dl_ch_mag_ptr
,
...
...
@@ -1034,7 +1033,7 @@ int nr_rx_pdsch(PHY_VARS_NR_UE *ue,
}
}
else
{
dlsch_16qam_64qam_llr
(
frame_parms
,
nr_
dlsch_16qam_64qam_llr
(
frame_parms
,
pdsch_vars
[
eNB_id
]
->
rxdataF_comp0
,
rxdataF_comp_ptr
,
//i
pdsch_vars
[
eNB_id
]
->
dl_ch_mag0
,
...
...
@@ -1045,7 +1044,7 @@ int nr_rx_pdsch(PHY_VARS_NR_UE *ue,
adjust_G2
(
frame_parms
,
dlsch0_harq
->
rb_alloc_even
,
4
,
nr_tti_rx
,
symbol
),
pdsch_vars
[
eNB_id
]
->
llr128
);
if
(
rx_type
==
rx_IC_dual_stream
)
{
dlsch_64qam_16qam_llr
(
frame_parms
,
nr_
dlsch_64qam_16qam_llr
(
frame_parms
,
rxdataF_comp_ptr
,
pdsch_vars
[
eNB_id
]
->
rxdataF_comp0
,
dl_ch_mag_ptr
,
...
...
@@ -1061,29 +1060,27 @@ int nr_rx_pdsch(PHY_VARS_NR_UE *ue,
break
;
case
6
:
if
((
rx_type
==
rx_standard
)
||
(
codeword_TB1
==
-
1
))
{
dlsch_64qam_llr
(
frame_parms
,
nr_
dlsch_64qam_llr
(
frame_parms
,
pdsch_vars
[
eNB_id
]
->
rxdataF_comp0
,
(
int16_t
*
)
pllr_symbol_cw0
,
pdsch_vars
[
eNB_id
]
->
dl_ch_mag0
,
pdsch_vars
[
eNB_id
]
->
dl_ch_magb0
,
symbol
,
first_symbol_flag
,
nb_rb
,
adjust_G2
(
frame_parms
,
dlsch0_harq
->
rb_alloc_even
,
6
,
nr_tti_rx
,
symbol
),
pdsch_vars
[
eNB_id
]
->
llr_offset
[
symbol
],
beamforming_mode
);
}
else
if
(
codeword_TB0
==
-
1
){
dlsch_64qam_llr
(
frame_parms
,
nr_
dlsch_64qam_llr
(
frame_parms
,
pdsch_vars
[
eNB_id
]
->
rxdataF_comp0
,
(
int16_t
*
)
pllr_symbol_cw1
,
pdsch_vars
[
eNB_id
]
->
dl_ch_mag0
,
pdsch_vars
[
eNB_id
]
->
dl_ch_magb0
,
symbol
,
first_symbol_flag
,
nb_rb
,
adjust_G2
(
frame_parms
,
dlsch0_harq
->
rb_alloc_even
,
6
,
nr_tti_rx
,
symbol
),
pdsch_vars
[
eNB_id
]
->
llr_offset
[
symbol
],
beamforming_mode
);
}
else
if
(
rx_type
>=
rx_IC_single_stream
)
{
if
(
dlsch1_harq
->
Qm
==
2
)
{
dlsch_64qam_qpsk_llr
(
frame_parms
,
nr_
dlsch_64qam_qpsk_llr
(
frame_parms
,
pdsch_vars
[
eNB_id
]
->
rxdataF_comp0
,
rxdataF_comp_ptr
,
//i
pdsch_vars
[
eNB_id
]
->
dl_ch_mag0
,
...
...
@@ -1093,7 +1090,7 @@ int nr_rx_pdsch(PHY_VARS_NR_UE *ue,
adjust_G2
(
frame_parms
,
dlsch0_harq
->
rb_alloc_even
,
6
,
nr_tti_rx
,
symbol
),
pdsch_vars
[
eNB_id
]
->
llr128
);
if
(
rx_type
==
rx_IC_dual_stream
)
{
dlsch_qpsk_64qam_llr
(
frame_parms
,
nr_
dlsch_qpsk_64qam_llr
(
frame_parms
,
rxdataF_comp_ptr
,
pdsch_vars
[
eNB_id
]
->
rxdataF_comp0
,
//i
pdsch_vars
[
eNB_id
]
->
dl_ch_mag0
,
...
...
@@ -1105,7 +1102,7 @@ int nr_rx_pdsch(PHY_VARS_NR_UE *ue,
}
}
else
if
(
dlsch1_harq
->
Qm
==
4
)
{
dlsch_64qam_16qam_llr
(
frame_parms
,
nr_
dlsch_64qam_16qam_llr
(
frame_parms
,
pdsch_vars
[
eNB_id
]
->
rxdataF_comp0
,
rxdataF_comp_ptr
,
//i
pdsch_vars
[
eNB_id
]
->
dl_ch_mag0
,
...
...
@@ -1116,7 +1113,7 @@ int nr_rx_pdsch(PHY_VARS_NR_UE *ue,
adjust_G2
(
frame_parms
,
dlsch0_harq
->
rb_alloc_even
,
6
,
nr_tti_rx
,
symbol
),
pdsch_vars
[
eNB_id
]
->
llr128
);
if
(
rx_type
==
rx_IC_dual_stream
)
{
dlsch_16qam_64qam_llr
(
frame_parms
,
nr_
dlsch_16qam_64qam_llr
(
frame_parms
,
rxdataF_comp_ptr
,
pdsch_vars
[
eNB_id
]
->
rxdataF_comp0
,
//i
dl_ch_mag_ptr
,
...
...
@@ -1129,7 +1126,7 @@ int nr_rx_pdsch(PHY_VARS_NR_UE *ue,
}
}
else
{
dlsch_64qam_64qam_llr
(
frame_parms
,
nr_
dlsch_64qam_64qam_llr
(
frame_parms
,
pdsch_vars
[
eNB_id
]
->
rxdataF_comp0
,
rxdataF_comp_ptr
,
//i
pdsch_vars
[
eNB_id
]
->
dl_ch_mag0
,
...
...
@@ -1140,7 +1137,7 @@ int nr_rx_pdsch(PHY_VARS_NR_UE *ue,
adjust_G2
(
frame_parms
,
dlsch0_harq
->
rb_alloc_even
,
6
,
nr_tti_rx
,
symbol
),
pdsch_vars
[
eNB_id
]
->
llr_offset
[
symbol
]);
if
(
rx_type
==
rx_IC_dual_stream
)
{
dlsch_64qam_64qam_llr
(
frame_parms
,
nr_
dlsch_64qam_64qam_llr
(
frame_parms
,
rxdataF_comp_ptr
,
pdsch_vars
[
eNB_id
]
->
rxdataF_comp0
,
//i
dl_ch_mag_ptr
,
...
...
@@ -1163,35 +1160,32 @@ int nr_rx_pdsch(PHY_VARS_NR_UE *ue,
switch
(
get_Qm
(
dlsch1_harq
->
mcs
))
{
case
2
:
if
(
rx_type
==
rx_standard
)
{
dlsch_qpsk_llr
(
frame_parms
,
nr_
dlsch_qpsk_llr
(
frame_parms
,
pdsch_vars
[
eNB_id
]
->
rxdataF_comp0
,
(
int16_t
*
)
pllr_symbol_cw0
,
symbol
,
first_symbol_flag
,
nb_rb
,
adjust_G2
(
frame_parms
,
dlsch0_harq
->
rb_alloc_even
,
2
,
nr_tti_rx
,
symbol
),
beamforming_mode
);
}
break
;
case
4
:
if
(
rx_type
==
rx_standard
)
{
dlsch_16qam_llr
(
frame_parms
,
nr_
dlsch_16qam_llr
(
frame_parms
,
pdsch_vars
[
eNB_id
]
->
rxdataF_comp0
,
pdsch_vars
[
eNB_id
]
->
llr
[
0
],
pdsch_vars
[
eNB_id
]
->
dl_ch_mag0
,
symbol
,
first_symbol_flag
,
nb_rb
,
adjust_G2
(
frame_parms
,
dlsch0_harq
->
rb_alloc_even
,
4
,
nr_tti_rx
,
symbol
),
pdsch_vars
[
eNB_id
]
->
llr128
,
beamforming_mode
);
}
break
;
case
6
:
if
(
rx_type
==
rx_standard
)
{
dlsch_64qam_llr
(
frame_parms
,
nr_
dlsch_64qam_llr
(
frame_parms
,
pdsch_vars
[
eNB_id
]
->
rxdataF_comp0
,
(
int16_t
*
)
pllr_symbol_cw0
,
pdsch_vars
[
eNB_id
]
->
dl_ch_mag0
,
pdsch_vars
[
eNB_id
]
->
dl_ch_magb0
,
symbol
,
first_symbol_flag
,
nb_rb
,
adjust_G2
(
frame_parms
,
dlsch0_harq
->
rb_alloc_even
,
6
,
nr_tti_rx
,
symbol
),
pdsch_vars
[
eNB_id
]
->
llr_offset
[
symbol
],
beamforming_mode
);
}
...
...
openair1/PHY/NR_UE_TRANSPORT/nr_dlsch_llr_computation.c
0 → 100644
View file @
fae74fb8
This source diff could not be displayed because it is too large. You can
view the blob
instead.
openair1/PHY/NR_UE_TRANSPORT/nr_transport_proto_ue.h
View file @
fae74fb8
...
...
@@ -106,7 +106,7 @@ void qpsk_qpsk(int16_t *stream0_in,
@param nb_rb number of RBs for this allocation
@param pbch_pss_sss_adj Number of channel bits taken by PBCH/PSS/SSS
@param llr128p pointer to pointer to symbol in dlsch_llr*/
int32_t
dlsch_qpsk_qpsk_llr
(
NR_DL_FRAME_PARMS
*
frame_parms
,
int32_t
nr_
dlsch_qpsk_qpsk_llr
(
NR_DL_FRAME_PARMS
*
frame_parms
,
int32_t
**
rxdataF_comp
,
int32_t
**
rxdataF_comp_i
,
int32_t
**
rho_i
,
...
...
@@ -142,7 +142,7 @@ void qpsk_qam16(int16_t *stream0_in,
@param nb_rb number of RBs for this allocation
@param pbch_pss_sss_adj Number of channel bits taken by PBCH/PSS/SSS
@param llr128p pointer to pointer to symbol in dlsch_llr*/
int32_t
dlsch_qpsk_16qam_llr
(
NR_DL_FRAME_PARMS
*
frame_parms
,
int32_t
nr_
dlsch_qpsk_16qam_llr
(
NR_DL_FRAME_PARMS
*
frame_parms
,
int32_t
**
rxdataF_comp
,
int32_t
**
rxdataF_comp_i
,
int
**
dl_ch_mag_i
,
//|h_1|^2*(2/sqrt{10})
...
...
@@ -154,6 +154,7 @@ int32_t dlsch_qpsk_16qam_llr(NR_DL_FRAME_PARMS *frame_parms,
uint16_t
pbch_pss_sss_adj
,
int16_t
**
llr128p
);
/** \brief This function computes the LLRs for ML (max-logsum approximation) dual-stream QPSK/64QAM reception.
@param stream0_in Input from channel compensated (MR combined) stream 0
@param stream1_in Input from channel compensated (MR combined) stream 1
...
...
@@ -179,7 +180,7 @@ void qpsk_qam64(int16_t *stream0_in,
@param nb_rb number of RBs for this allocation
@param pbch_pss_sss_adj Number of channel bits taken by PBCH/PSS/SSS
@param llr128p pointer to pointer to symbol in dlsch_llr*/
int32_t
dlsch_qpsk_64qam_llr
(
NR_DL_FRAME_PARMS
*
frame_parms
,
int32_t
nr_
dlsch_qpsk_64qam_llr
(
NR_DL_FRAME_PARMS
*
frame_parms
,
int32_t
**
rxdataF_comp
,
int32_t
**
rxdataF_comp_i
,
int
**
dl_ch_mag_i
,
//|h_1|^2*(2/sqrt{10})
...
...
@@ -217,7 +218,7 @@ void qam16_qpsk(short *stream0_in,
@param nb_rb number of RBs for this allocation
@param pbch_pss_sss_adj Number of channel bits taken by PBCH/PSS/SSS
@param llr16p pointer to pointer to symbol in dlsch_llr*/
int
dlsch_16qam_qpsk_llr
(
NR_DL_FRAME_PARMS
*
frame_parms
,
int
nr_
dlsch_16qam_qpsk_llr
(
NR_DL_FRAME_PARMS
*
frame_parms
,
int
**
rxdataF_comp
,
int
**
rxdataF_comp_i
,
int
**
dl_ch_mag
,
//|h_0|^2*(2/sqrt{10})
...
...
@@ -258,7 +259,7 @@ void qam16_qam16(short *stream0_in,
@param nb_rb number of RBs for this allocation
@param pbch_pss_sss_adj Number of channel bits taken by PBCH/PSS/SSS
@param llr16p pointer to pointer to symbol in dlsch_llr*/
int
dlsch_16qam_16qam_llr
(
NR_DL_FRAME_PARMS
*
frame_parms
,
int
nr_
dlsch_16qam_16qam_llr
(
NR_DL_FRAME_PARMS
*
frame_parms
,
int
**
rxdataF_comp
,
int
**
rxdataF_comp_i
,
int
**
dl_ch_mag
,
//|h_0|^2*(2/sqrt{10})
...
...
@@ -300,7 +301,7 @@ void qam16_qam64(short *stream0_in,
@param nb_rb number of RBs for this allocation
@param pbch_pss_sss_adj Number of channel bits taken by PBCH/PSS/SSS
@param llr16p pointer to pointer to symbol in dlsch_llr*/
int
dlsch_16qam_64qam_llr
(
NR_DL_FRAME_PARMS
*
frame_parms
,
int
nr_
dlsch_16qam_64qam_llr
(
NR_DL_FRAME_PARMS
*
frame_parms
,
int
**
rxdataF_comp
,
int
**
rxdataF_comp_i
,
int
**
dl_ch_mag
,
//|h_0|^2*(2/sqrt{10})
...
...
@@ -480,15 +481,13 @@ int dlsch_64qam_64qam_llr(NR_DL_FRAME_PARMS *frame_parms,
@param llr128p pointer to pointer to symbol in dlsch_llr
@param beamforming_mode beamforming mode
*/
int32_t
dlsch_qpsk_llr
(
NR_DL_FRAME_PARMS
*
frame_parms
,
int32_t
**
rxdataF_comp
,
int16_t
*
dlsch_llr
,
uint8_t
symbol
,
uint8_t
first_symbol_flag
,
uint16_t
nb_rb
,
uint16_t
pbch_pss_sss_adj
,
//int16_t **llr128p,
uint8_t
beamforming_mode
);
int32_t
nr_dlsch_qpsk_llr
(
NR_DL_FRAME_PARMS
*
frame_parms
,
int32_t
**
rxdataF_comp
,
int16_t
*
dlsch_llr
,
uint8_t
symbol
,
uint8_t
first_symbol_flag
,
uint16_t
nb_rb
,
uint8_t
beamforming_mode
);
/**
\brief This function generates log-likelihood ratios (decoder input) for single-stream 16QAM received waveforms
...
...
@@ -504,7 +503,7 @@ int32_t dlsch_qpsk_llr(NR_DL_FRAME_PARMS *frame_parms,
@param beamforming_mode beamforming mode
*/
int32_t
dlsch_qpsk_llr_SIC
(
NR_DL_FRAME_PARMS
*
frame_parms
,
int32_t
nr_
dlsch_qpsk_llr_SIC
(
NR_DL_FRAME_PARMS
*
frame_parms
,
int
**
rxdataF_comp
,
int32_t
**
sic_buffer
,
int
**
rho_i
,
...
...
@@ -515,15 +514,14 @@ int32_t dlsch_qpsk_llr_SIC(NR_DL_FRAME_PARMS *frame_parms,
uint16_t
mod_order_0
,
uint32_t
rb_alloc
);
void
dlsch_16qam_llr
(
NR_DL_FRAME_PARMS
*
frame_parms
,
void
nr_
dlsch_16qam_llr
(
NR_DL_FRAME_PARMS
*
frame_parms
,
int32_t
**
rxdataF_comp
,
int16_t
*
dlsch_llr
,
int32_t
**
dl_ch_mag
,
uint8_t
symbol
,
uint8_t
first_symbol_flag
,
uint16_t
nb_rb
,
uint16_t
pbch_pss_sss_adjust
,
int16_t
**
llr128p
,
int16_t
**
llr32p
,
uint8_t
beamforming_mode
);
/**
\brief This function generates log-likelihood ratios (decoder input) for single-stream 16QAM received waveforms
...
...
@@ -538,7 +536,7 @@ void dlsch_16qam_llr(NR_DL_FRAME_PARMS *frame_parms,
@param pbch_pss_sss_adjust PBCH/PSS/SSS RE adjustment (in REs)
@param beamforming_mode beamforming mode
*/
void
dlsch_16qam_llr_SIC
(
NR_DL_FRAME_PARMS
*
frame_parms
,
void
nr_
dlsch_16qam_llr_SIC
(
NR_DL_FRAME_PARMS
*
frame_parms
,
int32_t
**
rxdataF_comp
,
int32_t
**
sic_buffer
,
//Q15
int32_t
**
rho_i
,
...
...
@@ -563,8 +561,7 @@ void dlsch_64qam_llr_SIC(NR_DL_FRAME_PARMS *frame_parms,
uint16_t
mod_order_0
,
uint32_t
rb_alloc
);
void
dlsch_64qam_llr
(
NR_DL_FRAME_PARMS
*
frame_parms
,
void
nr_dlsch_64qam_llr
(
NR_DL_FRAME_PARMS
*
frame_parms
,
int32_t
**
rxdataF_comp
,
int16_t
*
dlsch_llr
,
int32_t
**
dl_ch_mag
,
...
...
@@ -572,8 +569,6 @@ void dlsch_64qam_llr(NR_DL_FRAME_PARMS *frame_parms,
uint8_t
symbol
,
uint8_t
first_symbol_flag
,
uint16_t
nb_rb
,
uint16_t
pbch_pss_sss_adjust
,
//int16_t **llr_save,
uint32_t
llr_offset
,
uint8_t
beamforming_mode
);
...
...
@@ -1044,7 +1039,7 @@ int32_t nr_rx_pdsch(PHY_VARS_NR_UE *phy_vars_ue,
uint8_t
i_mod
,
uint8_t
harq_pid
);
int32_t
rx_pdcch
(
PHY_VARS_NR_UE
*
ue
,
int32_t
nr_
rx_pdcch
(
PHY_VARS_NR_UE
*
ue
,
uint32_t
frame
,
uint8_t
subframe
,
uint8_t
eNB_id
,
...
...
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