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
promise
OpenXG-RAN
Commits
4cc5bf58
Commit
4cc5bf58
authored
Aug 27, 2020
by
Francesco Mani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix for pucchsim with sr
parent
260a9e58
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
openair1/SIMULATION/NR_PHY/pucchsim.c
openair1/SIMULATION/NR_PHY/pucchsim.c
+6
-3
No files found.
openair1/SIMULATION/NR_PHY/pucchsim.c
View file @
4cc5bf58
...
...
@@ -479,14 +479,17 @@ int main(int argc, char **argv)
uint32_t
dmrs_scrambling_id
=
0
,
data_scrambling_id
=
0
;
//t_nrPolar_params *currentPtr;
int
shift
=
0
;
if
(
format
==
0
){
// for now we are not considering SR just HARQ-ACK
if
(
sr_flag
)
shift
=
1
<<
nr_bit
;
if
(
nr_bit
==
0
)
mcs
=
table1_mcs
[
0
];
else
if
(
nr_bit
==
1
)
mcs
=
table1_mcs
[
actual_payload
];
mcs
=
table1_mcs
[
actual_payload
+
shift
];
else
if
(
nr_bit
==
2
)
mcs
=
table2_mcs
[
actual_payload
];
mcs
=
table2_mcs
[
actual_payload
+
shift
];
else
AssertFatal
(
1
==
0
,
"Either nr_bit %d or sr_flag %d must be non-zero
\n
"
,
nr_bit
,
sr_flag
);
}
else
if
(
format
==
2
&&
nr_bit
>
11
)
gNB
->
uci_polarParams
=
nr_polar_params
(
2
,
nr_bit
,
nrofPRB
,
1
,
NULL
);
...
...
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