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
spbro
OpenXG-RAN
Commits
eb41150d
Commit
eb41150d
authored
Oct 13, 2022
by
Roberto Louro Magueta
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Filters improvement for linear interpolation as UL channel estimation technique
parent
8773e423
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
28 additions
and
25 deletions
+28
-25
openair1/PHY/NR_ESTIMATION/nr_ul_channel_estimation.c
openair1/PHY/NR_ESTIMATION/nr_ul_channel_estimation.c
+10
-25
openair1/PHY/NR_UE_ESTIMATION/filt16a_32.c
openair1/PHY/NR_UE_ESTIMATION/filt16a_32.c
+13
-0
openair1/PHY/NR_UE_ESTIMATION/filt16a_32.h
openair1/PHY/NR_UE_ESTIMATION/filt16a_32.h
+5
-0
No files found.
openair1/PHY/NR_ESTIMATION/nr_ul_channel_estimation.c
View file @
eb41150d
...
...
@@ -108,7 +108,7 @@ int nr_pusch_channel_estimation(PHY_VARS_gNB *gNB,
unsigned
short
bwp_start_subcarrier
,
nfapi_nr_pusch_pdu_t
*
pusch_pdu
)
{
c16_t
pilot
[
3280
]
__attribute__
((
aligned
(
16
)));
int16_t
*
f
l
,
*
fm
,
*
fr
,
*
fml
,
*
fmr
,
*
fmm
,
*
fdcl
,
*
fdcr
,
*
fdclh
,
*
fdcrh
;
int16_t
*
f
dcl
,
*
fdcr
,
*
fdclh
,
*
fdcrh
;
const
int
chest_freq
=
gNB
->
chest_freq
;
...
...
@@ -139,12 +139,6 @@ int nr_pusch_channel_estimation(PHY_VARS_gNB *gNB,
switch
(
nushift
)
{
case
0
:
fl
=
filt8_l0
;
fm
=
filt8_m0
;
fr
=
filt8_r0
;
fmm
=
filt8_mm0
;
fml
=
filt8_m0
;
fmr
=
filt8_mr0
;
fdcl
=
filt8_dcl0
;
fdcr
=
filt8_dcr0
;
fdclh
=
filt8_dcl0_h
;
...
...
@@ -152,12 +146,6 @@ int nr_pusch_channel_estimation(PHY_VARS_gNB *gNB,
break
;
case
1
:
fl
=
filt8_l1
;
fm
=
filt8_m1
;
fr
=
filt8_r1
;
fmm
=
filt8_mm1
;
fml
=
filt8_ml1
;
fmr
=
filt8_mm1
;
fdcl
=
filt8_dcl1
;
fdcr
=
filt8_dcr1
;
fdclh
=
filt8_dcl1_h
;
...
...
@@ -256,19 +244,16 @@ int nr_pusch_channel_estimation(PHY_VARS_gNB *gNB,
#endif
if
(
pilot_cnt
==
0
)
{
c16multaddVectRealComplex
(
fl
,
&
ch16
,
ul_ch
,
8
);
}
else
if
(
pilot_cnt
==
1
)
{
c16multaddVectRealComplex
(
fml
,
&
ch16
,
ul_ch
,
8
);
}
else
if
(
pilot_cnt
==
(
6
*
nb_rb_pusch
-
2
))
{
c16multaddVectRealComplex
(
fmr
,
&
ch16
,
ul_ch
,
8
);
ul_ch
+=
4
;
}
else
if
(
pilot_cnt
==
(
6
*
nb_rb_pusch
-
1
))
{
c16multaddVectRealComplex
(
fr
,
&
ch16
,
ul_ch
,
8
);
}
else
if
(
pilot_cnt
%
2
==
0
)
{
c16multaddVectRealComplex
(
fmm
,
&
ch16
,
ul_ch
,
8
);
ul_ch
+=
4
;
c16multaddVectRealComplex
(
filt16_ul_p0
,
&
ch16
,
ul_ch
,
16
);
}
else
if
(
pilot_cnt
==
1
||
pilot_cnt
==
2
)
{
c16multaddVectRealComplex
(
filt16_ul_p1p2
,
&
ch16
,
ul_ch
,
16
);
}
else
if
(
pilot_cnt
==
(
6
*
nb_rb_pusch
-
1
))
{
c16multaddVectRealComplex
(
filt16_ul_last
,
&
ch16
,
ul_ch
,
16
);
}
else
{
c16multaddVectRealComplex
(
fm
,
&
ch16
,
ul_ch
,
8
);
c16multaddVectRealComplex
(
filt16_ul_middle
,
&
ch16
,
ul_ch
,
16
);
if
(
pilot_cnt
%
2
==
0
)
{
ul_ch
+=
4
;
}
}
pilot_cnt
++
;
...
...
openair1/PHY/NR_UE_ESTIMATION/filt16a_32.c
View file @
eb41150d
...
...
@@ -329,3 +329,16 @@ short filt24_end[24] = {
short
filt24_middle
[
24
]
=
{
4096
,
4779
,
5461
,
6144
,
6827
,
7509
,
8192
,
8875
,
9557
,
10240
,
10923
,
11605
,
12288
,
11605
,
10923
,
10240
,
9557
,
8875
,
8192
,
7509
,
6827
,
6144
,
5461
,
4779
};
// UL
short
filt16_ul_p0
[
16
]
=
{
4096
,
4096
,
4096
,
4096
,
4096
,
4096
,
4096
,
4096
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
};
short
filt16_ul_p1p2
[
16
]
=
{
4096
,
4096
,
4096
,
4096
,
2048
,
2048
,
2048
,
2048
,
2048
,
2048
,
2048
,
2048
,
0
,
0
,
0
,
0
};
short
filt16_ul_middle
[
16
]
=
{
2048
,
2048
,
2048
,
2048
,
2048
,
2048
,
2048
,
2048
,
2048
,
2048
,
2048
,
2048
,
2048
,
2048
,
2048
,
2048
};
short
filt16_ul_last
[
16
]
=
{
4096
,
4096
,
4096
,
4096
,
8192
,
8192
,
8192
,
8192
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
};
\ No newline at end of file
openair1/PHY/NR_UE_ESTIMATION/filt16a_32.h
View file @
eb41150d
...
...
@@ -219,4 +219,9 @@ extern short filt24_start[24];
extern
short
filt24_end
[
24
];
extern
short
filt24_middle
[
24
];
/*UL*/
extern
short
filt16_ul_p0
[
16
];
extern
short
filt16_ul_p1p2
[
16
];
extern
short
filt16_ul_middle
[
16
];
extern
short
filt16_ul_last
[
16
];
#endif
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