Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG UE
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 UE
Commits
8230efee
Commit
8230efee
authored
Jan 11, 2022
by
rmagueta
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SRS channel interpolation improved for comb_size 4
parent
a163f38b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
31 additions
and
16 deletions
+31
-16
openair1/PHY/NR_ESTIMATION/nr_ul_channel_estimation.c
openair1/PHY/NR_ESTIMATION/nr_ul_channel_estimation.c
+15
-15
openair1/PHY/NR_UE_ESTIMATION/filt16a_32.c
openair1/PHY/NR_UE_ESTIMATION/filt16a_32.c
+11
-1
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 @
8230efee
...
...
@@ -1152,21 +1152,21 @@ int nr_srs_channel_estimation(PHY_VARS_gNB *gNB,
srs_estimated_channel16
=
(
int16_t
*
)
&
srs_estimated_channel_freq
[
ant
][
nr_srs_info
->
sc_list
[
sc_idx
]];
}
}
else
{
if
(
sc_idx
>
0
)
{
multadd_real_vector_complex_scalar
(
filt8_dcr0_h
,
ls_estimated
,
srs_estimated_channel16
,
8
);
if
(
nr_srs_info
->
sc_list
[
sc_idx
]
<
nr_srs_info
->
sc_list
[
sc_idx
-
1
])
{
srs_estimated_channel16
=
(
int16_t
*
)
&
srs_estimated_channel_freq
[
ant
][
nr_srs_info
->
sc_list
[
sc_idx
+
1
]]
-
8
;
}
else
{
srs_estimated_channel16
=
(
int16_t
*
)
&
srs_estimated_channel_freq
[
ant
][
nr_srs_info
->
sc_list
[
sc_idx
]];
}
srs_estimated_channel16
[
0
]
=
0
;
srs_estimated_channel16
[
1
]
=
0
;
}
multadd_real_vector_complex_scalar
(
filt8_dcl0_h
,
ls_estimated
,
srs_estimated_channel16
,
8
);
if
(
sc_idx
==
(
nr_srs_info
->
sc_list_length
-
1
))
{
srs_estimated_channel_freq
[
ant
][
nr_srs_info
->
sc_list
[
sc_idx
]
+
1
]
=
srs_estimated_channel_freq
[
ant
][
nr_srs_info
->
sc_list
[
sc_idx
]];
srs_estimated_channel_freq
[
ant
][
nr_srs_info
->
sc_list
[
sc_idx
]
+
2
]
=
srs_estimated_channel_freq
[
ant
][
nr_srs_info
->
sc_list
[
sc_idx
]]
;
srs_estimated_channel
_freq
[
ant
][
nr_srs_info
->
sc_list
[
sc_idx
]
+
3
]
=
srs_estimated_channel_freq
[
ant
][
nr_srs_info
->
sc_list
[
sc_idx
]];
if
(
sc_idx
==
0
)
{
// First subcarrier case
// filt16_start is {12288,8192,8192,8192,4096,0,0,0,0,0,0,0,0,0,0,0}
multadd_real_vector_complex_scalar
(
filt16_start
,
ls_estimated
,
srs_estimated_channel16
,
16
);
}
else
if
(
nr_srs_info
->
sc_list
[
sc_idx
]
<
nr_srs_info
->
sc_list
[
sc_idx
-
1
])
{
// Start of OFDM symbol case
srs_estimated_channel16
=
(
int16_t
*
)
&
srs_estimated_channel_freq
[
ant
][
nr_srs_info
->
sc_list
[
sc_idx
+
1
]]
-
8
;
// filt16_start is {12288,8192,8192,8192,4096,0,0,0,0,0,0,0,0,0,0,0}
multadd_real_vector_complex_scalar
(
filt16_start
,
ls_estimated
,
srs_estimated_channel16
,
16
);
}
else
if
((
sc_idx
<
(
nr_srs_info
->
sc_list_length
-
1
)
&&
nr_srs_info
->
sc_list
[
sc_idx
+
1
]
<
nr_srs_info
->
sc_list
[
sc_idx
])
||
(
sc_idx
==
(
nr_srs_info
->
sc_list_length
-
1
)))
{
// End of OFDM symbol or last subcarrier cases
// filt16_end is {4096,8192,8192,8192,12288,16384,16384,16384,0,0,0,0,0,0,0,0
}
multadd_real_vector_complex_scalar
(
filt16_end
,
ls_estimated
,
srs_estimated_channel16
,
16
);
}
else
{
// Middle case
// filt16_middle4 is {4096,8192,8192,8192,8192,8192,8192,8192,4096,0,0,0,0,0,0,0}
multadd_real_vector_complex_scalar
(
filt16_middle4
,
ls_estimated
,
srs_estimated_channel16
,
16
)
;
srs_estimated_channel
16
=
(
int16_t
*
)
&
srs_estimated_channel_freq
[
ant
][
nr_srs_info
->
sc_list
[
sc_idx
]];
}
}
...
...
openair1/PHY/NR_UE_ESTIMATION/filt16a_32.c
View file @
8230efee
...
...
@@ -272,4 +272,14 @@ short filt8_middle4[8] = {
0
,
0
,
4096
,
8192
,
8192
,
8192
,
4096
,
0
};
short
filt8_end
[
8
]
=
{
4096
,
8192
,
12288
,
16384
,
0
,
0
,
0
,
0
};
\ No newline at end of file
4096
,
8192
,
12288
,
16384
,
0
,
0
,
0
,
0
};
// Comb size 4
short
filt16_start
[
16
]
=
{
12288
,
8192
,
8192
,
8192
,
4096
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
};
short
filt16_middle4
[
16
]
=
{
4096
,
8192
,
8192
,
8192
,
8192
,
8192
,
8192
,
8192
,
4096
,
0
,
0
,
0
,
0
,
0
,
0
,
0
};
short
filt16_end
[
16
]
=
{
4096
,
8192
,
8192
,
8192
,
12288
,
16384
,
16384
,
16384
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
};
\ No newline at end of file
openair1/PHY/NR_UE_ESTIMATION/filt16a_32.h
View file @
8230efee
...
...
@@ -188,4 +188,9 @@ extern short filt8_start[8];
extern
short
filt8_middle2
[
8
];
extern
short
filt8_middle4
[
8
];
extern
short
filt8_end
[
8
];
/*Comb size 4*/
extern
short
filt16_start
[
16
];
extern
short
filt16_middle4
[
16
];
extern
short
filt16_end
[
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