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
lizhongxiao
OpenXG-RAN
Commits
642d6ee6
Commit
642d6ee6
authored
May 21, 2019
by
Javier Morgade
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CI WARNING suppression
parent
27a3cff7
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
20 additions
and
16 deletions
+20
-16
openair1/PHY/LTE_ESTIMATION/lte_dl_mbsfn_channel_estimation.c
...air1/PHY/LTE_ESTIMATION/lte_dl_mbsfn_channel_estimation.c
+9
-14
openair1/PHY/LTE_ESTIMATION/lte_estimation.h
openair1/PHY/LTE_ESTIMATION/lte_estimation.h
+5
-0
openair1/PHY/LTE_REFSIG/lte_gold_mbsfn.c
openair1/PHY/LTE_REFSIG/lte_gold_mbsfn.c
+1
-1
openair1/PHY/LTE_REFSIG/lte_refsig.h
openair1/PHY/LTE_REFSIG/lte_refsig.h
+4
-0
openair1/PHY/MODULATION/slot_fep_mbsfn.c
openair1/PHY/MODULATION/slot_fep_mbsfn.c
+1
-1
No files found.
openair1/PHY/LTE_ESTIMATION/lte_dl_mbsfn_channel_estimation.c
View file @
642d6ee6
...
...
@@ -793,17 +793,14 @@ int lte_dl_mbsfn_khz_1dot25_channel_estimation(PHY_VARS_UE *ue,
int
pilot_khz_1dot25
[
600
]
__attribute__
((
aligned
(
16
)));
unsigned
char
aarx
,
aa
;
unsigned
int
rb
;
unsigned
char
aarx
/*,aa*/
;
//
unsigned int rb;
int16_t
ch
[
2
];
short
*
pil
,
*
rxF
,
*
dl_ch
,
*
ch0
,
*
ch1
,
*
ch11
,
*
chp
,
*
ch_prev
;
short
*
pil
,
*
rxF
,
*
dl_ch
/*,*ch0,*ch1,*ch11,*chp,*ch_prev*/
;
int
ch_offset
,
symbol_offset
;
int
pilot_cnt
;
int16_t
*
f
,
*
f2
,
*
fl
,
*
f2l2
,
*
fr
,
*
f2r2
,
*
f2_dc
,
*
f_dc
;
unsigned
int
ofdm_symbol_size
;
unsigned
int
m
,
s
;
int16_t
*
f
,
*
f2
,
*
fl
,
*
f2l2
,
*
fr
,
*
f2r2
/*,*f2_dc,*f_dc*/
;
unsigned
int
k
;
...
...
@@ -816,7 +813,7 @@ int lte_dl_mbsfn_khz_1dot25_channel_estimation(PHY_VARS_UE *ue,
ch_offset
=
0
;
//(l*(ue->frame_parms.ofdm_symbol_size));
symbol_offset
=
0
;
//ch_offset;//phy_vars_ue->lte_frame_parms.ofdm_symbol_size*l;
AssertFatal
(
ue
->
frame_parms
.
N_RB_DL
==
25
,
"OFDM symbol size %d not yet supported for FeMBMS
%d
\n
"
,
ue
->
frame_parms
.
N_RB_DL
);
AssertFatal
(
ue
->
frame_parms
.
N_RB_DL
==
25
,
"OFDM symbol size %d not yet supported for FeMBMS
\n
"
,
ue
->
frame_parms
.
N_RB_DL
);
if
(
(
subframe
&
0x1
)
==
0
){
f
=
filt24_0_khz_1dot25
;
...
...
@@ -825,8 +822,8 @@ int lte_dl_mbsfn_khz_1dot25_channel_estimation(PHY_VARS_UE *ue,
f2l2
=
filt24_2_khz_1dot25
;
fr
=
filt24_0r2_khz_1dot25
;
f2r2
=
filt24_2r_khz_1dot25
;
f_dc
=
filt24_0_dcr_khz_1dot25
;
f2_dc
=
filt24_2_dcl_khz_1dot25
;
//
f_dc=filt24_0_dcr_khz_1dot25;
//
f2_dc=filt24_2_dcl_khz_1dot25;
}
else
{
f
=
filt24_0_khz_1dot25
;
f2
=
filt24_2_khz_1dot25
;
...
...
@@ -834,8 +831,8 @@ int lte_dl_mbsfn_khz_1dot25_channel_estimation(PHY_VARS_UE *ue,
f2l2
=
filt24_2_khz_1dot25
;
fr
=
filt24_0r2_khz_1dot25
;
f2r2
=
filt24_2r_khz_1dot25
;
f_dc
=
filt24_0_dcr_khz_1dot25
;
f2_dc
=
filt24_2_dcl_khz_1dot25
;
//
f_dc=filt24_0_dcr_khz_1dot25;
//
f2_dc=filt24_2_dcl_khz_1dot25;
}
...
...
@@ -852,10 +849,8 @@ int lte_dl_mbsfn_khz_1dot25_channel_estimation(PHY_VARS_UE *ue,
memset
(
dl_ch
,
0
,
4
*
(
ue
->
frame_parms
.
ofdm_symbol_size_khz_1dot25
));
int
shift
;
if
(
(
subframe
&
0x1
)
==
0
){
rxF
+=
0
;
shift
=
0
;
k
=
0
;
}
else
{
rxF
+=
6
;
//2*3;
...
...
openair1/PHY/LTE_ESTIMATION/lte_estimation.h
View file @
642d6ee6
...
...
@@ -132,6 +132,11 @@ int lte_dl_mbsfn_channel_estimation(PHY_VARS_UE *phy_vars_ue,
int
subframe
,
unsigned
char
l
);
int
lte_dl_mbsfn_khz_1dot25_channel_estimation
(
PHY_VARS_UE
*
ue
,
module_id_t
eNB_id
,
uint8_t
eNB_offset
,
int
subframe
);
/*!
\brief Frequency offset estimation for LTE
We estimate the frequency offset by calculating the phase difference between channel estimates for symbols carrying pilots (l==0 or l==3/4). We take a moving average of the phase difference.
...
...
openair1/PHY/LTE_REFSIG/lte_gold_mbsfn.c
View file @
642d6ee6
...
...
@@ -97,7 +97,7 @@ void lte_gold_mbsfn(LTE_DL_FRAME_PARMS *frame_parms,uint32_t lte_gold_mbsfn_tabl
#if (LTE_RRC_VERSION >= MAKE_VERSION(14, 0, 0))
void
lte_gold_mbsfn_khz_1dot25
(
LTE_DL_FRAME_PARMS
*
frame_parms
,
uint32_t
lte_gold_mbsfn_khz_1dot25_table
[
10
][
150
],
uint16_t
Nid_mbsfn
){
unsigned
char
sfn
,
l
;
unsigned
char
sfn
;
unsigned
int
n
,
x1
,
x2
;
//,x1tmp,x2tmp;
for
(
sfn
=
0
;
sfn
<
10
;
sfn
++
)
{
...
...
openair1/PHY/LTE_REFSIG/lte_refsig.h
View file @
642d6ee6
...
...
@@ -146,6 +146,10 @@ int lte_dl_mbsfn_rx(PHY_VARS_UE *phy_vars_ue,
int
subframe
,
unsigned
char
l
);
int
lte_dl_mbsfn_khz_1dot25_rx
(
PHY_VARS_UE
*
ue
,
int
*
output
,
int
subframe
);
...
...
openair1/PHY/MODULATION/slot_fep_mbsfn.c
View file @
642d6ee6
...
...
@@ -216,7 +216,7 @@ int slot_fep_mbsfn_khz_1dot25(PHY_VARS_UE *ue,
uint8_t
eNB_id
=
0
;
//ue_common_vars->eNb_id;
unsigned
char
aa
;
unsigned
char
frame_type
=
frame_parms
->
frame_type
;
// Frame Type: 0 - FDD, 1 - TDD;
//
unsigned char frame_type = frame_parms->frame_type; // Frame Type: 0 - FDD, 1 - TDD;
unsigned
int
nb_prefix_samples
;
int
ofdm_symbol_size
;
unsigned
int
subframe_offset
;
...
...
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