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
canghaiwuhen
OpenXG-RAN
Commits
23aeaa88
Commit
23aeaa88
authored
Dec 13, 2017
by
Vincent Savaux
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adapt channel compensation dlsch RX to NB-IoT
parent
5101d7cb
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
230 additions
and
201 deletions
+230
-201
openair1/PHY/LTE_TRANSPORT/dlsch_demodulation_NB_IoT.c
openair1/PHY/LTE_TRANSPORT/dlsch_demodulation_NB_IoT.c
+208
-199
openair1/PHY/LTE_TRANSPORT/dlsch_llr_computation.c
openair1/PHY/LTE_TRANSPORT/dlsch_llr_computation.c
+2
-2
openair1/PHY/LTE_TRANSPORT/proto_NB_IoT.h
openair1/PHY/LTE_TRANSPORT/proto_NB_IoT.h
+20
-0
No files found.
openair1/PHY/LTE_TRANSPORT/dlsch_demodulation_NB_IoT.c
View file @
23aeaa88
This diff is collapsed.
Click to expand it.
openair1/PHY/LTE_TRANSPORT/dlsch_llr_computation.c
View file @
23aeaa88
...
@@ -643,7 +643,7 @@ int dlsch_qpsk_llr(LTE_DL_FRAME_PARMS *frame_parms,
...
@@ -643,7 +643,7 @@ int dlsch_qpsk_llr(LTE_DL_FRAME_PARMS *frame_parms,
uint32_t
*
rxF
=
(
uint32_t
*
)
&
rxdataF_comp
[
0
][((
int32_t
)
symbol
*
frame_parms
->
N_RB_DL
*
12
)];
uint32_t
*
rxF
=
(
uint32_t
*
)
&
rxdataF_comp
[
0
][((
int32_t
)
symbol
*
frame_parms
->
N_RB_DL
*
12
)];
uint32_t
*
llr32
;
uint32_t
*
llr32
;
int
i
,
len
;
int
i
,
len
;
uint8_t
symbol_mod
=
(
symbol
>=
(
7
-
frame_parms
->
Ncp
))
?
(
symbol
-
(
7
-
frame_parms
->
Ncp
)
)
:
symbol
;
uint8_t
symbol_mod
=
(
symbol
>=
7
)
?
(
symbol
-
7
)
:
symbol
;
if
(
first_symbol_flag
==
1
)
{
if
(
first_symbol_flag
==
1
)
{
llr32
=
(
uint32_t
*
)
dlsch_llr
;
llr32
=
(
uint32_t
*
)
dlsch_llr
;
...
@@ -657,7 +657,7 @@ int dlsch_qpsk_llr(LTE_DL_FRAME_PARMS *frame_parms,
...
@@ -657,7 +657,7 @@ int dlsch_qpsk_llr(LTE_DL_FRAME_PARMS *frame_parms,
}
}
if
(
(
symbol_mod
==
0
)
||
(
symbol_mod
==
(
4
-
frame_parms
->
Ncp
))
)
{
if
(
symbol_mod
==
0
||
symbol_mod
==
4
)
{
if
(
frame_parms
->
mode1_flag
==
0
)
if
(
frame_parms
->
mode1_flag
==
0
)
len
=
(
nb_rb
*
8
)
-
(
2
*
pbch_pss_sss_adjust
/
3
);
len
=
(
nb_rb
*
8
)
-
(
2
*
pbch_pss_sss_adjust
/
3
);
else
else
...
...
openair1/PHY/LTE_TRANSPORT/proto_NB_IoT.h
View file @
23aeaa88
...
@@ -313,6 +313,26 @@ unsigned short dlsch_extract_rbs_single_NB_IoT(int **rxdataF,
...
@@ -313,6 +313,26 @@ unsigned short dlsch_extract_rbs_single_NB_IoT(int **rxdataF,
uint32_t
high_speed_flag
,
uint32_t
high_speed_flag
,
NB_IoT_DL_FRAME_PARMS
*
frame_parms
);
NB_IoT_DL_FRAME_PARMS
*
frame_parms
);
void
dlsch_channel_level_NB_IoT
(
int
**
dl_ch_estimates_ext
,
NB_IoT_DL_FRAME_PARMS
*
frame_parms
,
int32_t
*
avg
,
uint8_t
symbol
,
unsigned
short
nb_rb
);
void
dlsch_channel_compensation_NB_IoT
(
int
**
rxdataF_ext
,
int
**
dl_ch_estimates_ext
,
int
**
dl_ch_mag
,
int
**
dl_ch_magb
,
int
**
rxdataF_comp
,
int
**
rho
,
NB_IoT_DL_FRAME_PARMS
*
frame_parms
,
unsigned
char
symbol
,
uint8_t
first_symbol_flag
,
unsigned
char
mod_order
,
unsigned
short
nb_rb
,
unsigned
char
output_shift
,
PHY_MEASUREMENTS_NB_IoT
*
measurements
);
//************************************************************//
//************************************************************//
...
...
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