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
Michael Black
OpenXG UE
Commits
9cade566
Commit
9cade566
authored
Sep 24, 2020
by
Francesco Mani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix for reference point for k in pucch2 dmrs
parent
6c07bea0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
3 deletions
+14
-3
openair1/PHY/NR_TRANSPORT/pucch_rx.c
openair1/PHY/NR_TRANSPORT/pucch_rx.c
+9
-2
openair1/PHY/NR_UE_TRANSPORT/pucch_nr.c
openair1/PHY/NR_UE_TRANSPORT/pucch_nr.c
+5
-1
No files found.
openair1/PHY/NR_TRANSPORT/pucch_rx.c
View file @
9cade566
...
...
@@ -1092,6 +1092,9 @@ void nr_decode_pucch2(PHY_VARS_gNB *gNB,
AssertFatal
(
pucch_pdu
->
nr_of_symbols
==
1
||
pucch_pdu
->
nr_of_symbols
==
2
,
"Illegal number of symbols for PUCCH 2 %d
\n
"
,
pucch_pdu
->
nr_of_symbols
);
AssertFatal
((
pucch_pdu
->
prb_start
-
((
pucch_pdu
->
prb_start
>>
2
)
<<
2
))
==
0
,
"Current pucch2 receiver implementation requires a PRB offset multiple of 4. The one selected is %d"
,
pucch_pdu
->
prb_start
);
//extract pucch and dmrs first
...
...
@@ -1210,7 +1213,11 @@ void nr_decode_pucch2(PHY_VARS_gNB *gNB,
printf
(
"slot %d, start_symbol_index %d, dmrs_scrambling_id %d
\n
"
,
slot
,
pucch_pdu
->
start_symbol_index
,
pucch_pdu
->
dmrs_scrambling_id
);
#endif
s
=
lte_gold_generic
(
&
x1
,
&
x2
,
1
);
int
reset
=
1
;
for
(
int
i
=
0
;
i
<=
(
pucch_pdu
->
prb_start
>>
2
);
i
++
)
{
s
=
lte_gold_generic
(
&
x1
,
&
x2
,
reset
);
reset
=
0
;
}
for
(
int
group
=
0
;
group
<
ngroup
;
group
++
)
{
// each group has 8*nc_group_size elements, compute 1 complex correlation with DMRS per group
...
...
@@ -1472,7 +1479,7 @@ void nr_decode_pucch2(PHY_VARS_gNB *gNB,
for
(
int
aa
=
0
;
aa
<
Prx
;
aa
++
)
{
LOG_D
(
PHY
,
"pucch2 cw %d group %d aa %d: (%d,%d)+(%d,%d) = (%d,%d)
\n
"
,
cw
,
group
,
aa
,
corr32_re
[
group
][
aa
],
corr32_im
[
0
][
aa
],
corr32_re
[
group
][
aa
],
corr32_im
[
group
][
aa
],
((
int16_t
*
)(
&
prod_re
[
aa
]))[
0
],
((
int16_t
*
)(
&
prod_im
[
aa
]))[
0
],
corr32_re
[
group
][
aa
]
+
((
int16_t
*
)(
&
prod_re
[
aa
]))[
0
],
...
...
openair1/PHY/NR_UE_TRANSPORT/pucch_nr.c
View file @
9cade566
...
...
@@ -1045,7 +1045,11 @@ void nr_generate_pucch2(PHY_VARS_NR_UE *ue,
for
(
int
l
=
0
;
l
<
nrofSymbols
;
l
++
)
{
x2
=
(((
1
<<
17
)
*
((
14
*
nr_tti_tx
)
+
(
l
+
startingSymbolIndex
)
+
1
)
*
((
2
*
dmrs_scrambling_id
)
+
1
))
+
(
2
*
dmrs_scrambling_id
))
%
(
1U
<<
31
);
// c_init calculation according to TS38.211 subclause
s
=
lte_gold_generic
(
&
x1
,
&
x2
,
1
);
int
reset
=
1
;
for
(
int
ii
=
0
;
ii
<=
(
startingPRB
>>
2
);
ii
++
)
{
s
=
lte_gold_generic
(
&
x1
,
&
x2
,
reset
);
reset
=
0
;
}
m
=
0
;
for
(
int
rb
=
0
;
rb
<
nrofPRB
;
rb
++
)
{
//startingPRB = startingPRB + rb;
...
...
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