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
zzha zzha
OpenXG-RAN
Commits
4f2854f9
Commit
4f2854f9
authored
May 02, 2022
by
Roberto Louro Magueta
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix UL channel estimation for 4 layers
parent
1694e1b0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
10 deletions
+8
-10
cmake_targets/autotests/test_case_list.xml
cmake_targets/autotests/test_case_list.xml
+1
-1
openair1/PHY/NR_ESTIMATION/nr_ul_channel_estimation.c
openair1/PHY/NR_ESTIMATION/nr_ul_channel_estimation.c
+7
-9
No files found.
cmake_targets/autotests/test_case_list.xml
View file @
4f2854f9
...
...
@@ -1331,7 +1331,7 @@
-n100 -s5 -Z -U 2 0 2
-n100 -m19 -s10 -S15 -z2
-n100 -m9 -r106 -s10 -W2 -y2 -z2
-n100 -m9 -r106 -s
13
-W4 -y4 -z4
</main_exec_args>
-n100 -m9 -r106 -s
20
-W4 -y4 -z4
</main_exec_args>
<tags>
nr_ulsim.test1 nr_ulsim.test2 nr_ulsim.test3 nr_ulsim.test4 nr_ulsim.test5 nr_ulsim.test6 nr_ulsim.test7 nr_ulsim.test8 nr_ulsim.test9 nr_ulsim.test10 nr_ulsim.test11 nr_ulsim.test12 nr_ulsim.test13 nr_ulsim.test14 nr_ulsim.test15 nr_ulsim.test16 nr_ulsim.test17
</tags>
<search_expr_true>
PUSCH test OK
</search_expr_true>
...
...
openair1/PHY/NR_ESTIMATION/nr_ul_channel_estimation.c
View file @
4f2854f9
...
...
@@ -233,21 +233,19 @@ int nr_pusch_channel_estimation(PHY_VARS_gNB *gNB,
// where k' is 0 or 1, and delta is in Table 6.4.1.1.3-1 from TS 38.211
pilot_cnt
=
0
;
int
delta
=
nr_pusch_dmrs_delta
(
pusch_dmrs_type1
,
p
);
for
(
int
n
=
0
;
n
<
3
*
nb_rb_pusch
;
n
++
)
{
// LS estimation
ch
[
0
]
=
0
;
ch
[
1
]
=
0
;
for
(
int
p2
=
0
;
p2
<
pusch_pdu
->
nrOfLayers
;
p2
+=
2
)
{
int
delta2
=
nr_pusch_dmrs_delta
(
pusch_dmrs_type1
,
p2
);
for
(
int
k_line
=
0
;
k_line
<=
1
;
k_line
++
)
{
re_offset
=
(
k0
+
(
n
<<
2
)
+
(
k_line
<<
1
)
+
delta2
)
%
gNB
->
frame_parms
.
ofdm_symbol_size
;
rxF
=
(
int16_t
*
)
&
rxdataF
[
aarx
][(
soffset
+
symbol_offset
+
re_offset
)];
ch
[
0
]
+=
(
int16_t
)
(((
int32_t
)
pil
[
0
]
*
rxF
[
0
]
-
(
int32_t
)
pil
[
1
]
*
rxF
[
1
])
>>
(
15
+
b_shift
));
ch
[
1
]
+=
(
int16_t
)
(((
int32_t
)
pil
[
0
]
*
rxF
[
1
]
+
(
int32_t
)
pil
[
1
]
*
rxF
[
0
])
>>
(
15
+
b_shift
));
pil
+=
2
;
}
for
(
int
k_line
=
0
;
k_line
<=
1
;
k_line
++
)
{
re_offset
=
(
k0
+
(
n
<<
2
)
+
(
k_line
<<
1
)
+
delta
)
%
gNB
->
frame_parms
.
ofdm_symbol_size
;
rxF
=
(
int16_t
*
)
&
rxdataF
[
aarx
][(
soffset
+
symbol_offset
+
re_offset
)];
ch
[
0
]
+=
(
int16_t
)
(((
int32_t
)
pil
[
0
]
*
rxF
[
0
]
-
(
int32_t
)
pil
[
1
]
*
rxF
[
1
])
>>
(
15
+
b_shift
));
ch
[
1
]
+=
(
int16_t
)
(((
int32_t
)
pil
[
0
]
*
rxF
[
1
]
+
(
int32_t
)
pil
[
1
]
*
rxF
[
0
])
>>
(
15
+
b_shift
));
pil
+=
2
;
}
// Channel interpolation
...
...
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