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
8d2b8895
Commit
8d2b8895
authored
1 year ago
by
Robert Schmidt
Committed by
Francesco Mani
1 year ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Review commit
parent
23c1ea02
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
openair1/PHY/NR_UE_TRANSPORT/pucch_nr.c
openair1/PHY/NR_UE_TRANSPORT/pucch_nr.c
+4
-4
No files found.
openair1/PHY/NR_UE_TRANSPORT/pucch_nr.c
View file @
8d2b8895
...
...
@@ -757,10 +757,10 @@ void nr_generate_pucch2(const PHY_VARS_NR_UE *ue,
for
(
int
l
=
0
;
l
<
pucch_pdu
->
nr_of_symbols
;
l
++
)
{
// c_init calculation according to TS38.211 subclause
uint64_t
temp_x2
=
1
<<
17
;
temp_x2
*=
(
14
*
nr_slot_tx
)
+
(
l
+
startingSymbolIndex
)
+
1
;
temp_x2
*=
(
2
*
pucch_pdu
->
dmrs_scrambling_id
)
+
1
;
x2
=
(
temp_x2
+
(
2
*
pucch_pdu
->
dmrs_scrambling_id
))
%
(
1U
<<
31
);
uint64_t
temp_x2
=
1
ll
<<
17
;
temp_x2
*=
14UL
*
nr_slot_tx
+
l
+
startingSymbolIndex
+
1
;
temp_x2
*=
2UL
*
pucch_pdu
->
dmrs_scrambling_id
+
1
;
x2
=
(
temp_x2
+
2UL
*
pucch_pdu
->
dmrs_scrambling_id
)
%
(
1UL
<<
31
);
int
reset
=
1
;
for
(
int
ii
=
0
;
ii
<=
(
startingPRB
>>
2
);
ii
++
)
{
...
...
This diff is collapsed.
Click to expand it.
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