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
f9f175a6
Commit
f9f175a6
authored
Aug 17, 2022
by
luis_pereira87
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix initial_cyclic_shift for pucch-ConfigCommon
parent
ad8381a6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_primitives.c
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_primitives.c
+2
-2
No files found.
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_primitives.c
View file @
f9f175a6
...
@@ -1247,8 +1247,8 @@ void nr_configure_pucch(nfapi_nr_pucch_pdu_t* pucch_pdu,
...
@@ -1247,8 +1247,8 @@ void nr_configure_pucch(nfapi_nr_pucch_pdu_t* pucch_pdu,
pucch_pdu
->
format_type
=
default_pucch_fmt
[
rsetindex
];
pucch_pdu
->
format_type
=
default_pucch_fmt
[
rsetindex
];
pucch_pdu
->
initial_cyclic_shift
=
r_pucch
%
default_pucch_csset
[
rsetindex
];
pucch_pdu
->
initial_cyclic_shift
=
r_pucch
%
default_pucch_csset
[
rsetindex
];
if
(
rsetindex
==
3
||
rsetindex
==
7
||
rsetindex
==
11
)
pucch_pdu
->
initial_cyclic_shift
*=
6
;
if
(
rsetindex
==
3
||
rsetindex
==
7
||
rsetindex
==
11
)
pucch_pdu
->
initial_cyclic_shift
*=
6
;
else
if
(
rsetindex
==
1
||
rsetindex
==
2
)
pucch_pdu
->
initial_cyclic_shift
*=
3
;
else
if
(
rsetindex
==
1
||
rsetindex
==
2
)
pucch_pdu
->
initial_cyclic_shift
*=
4
;
else
pucch_pdu
->
initial_cyclic_shift
*=
4
;
else
pucch_pdu
->
initial_cyclic_shift
*=
3
;
pucch_pdu
->
nr_of_symbols
=
nr_of_symb
;
pucch_pdu
->
nr_of_symbols
=
nr_of_symb
;
pucch_pdu
->
start_symbol_index
=
start_symb
;
pucch_pdu
->
start_symbol_index
=
start_symb
;
if
(
pucch_pdu
->
format_type
==
1
)
pucch_pdu
->
time_domain_occ_idx
=
0
;
// check this!!
if
(
pucch_pdu
->
format_type
==
1
)
pucch_pdu
->
time_domain_occ_idx
=
0
;
// check this!!
...
...
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