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
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
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
OpenXG
OpenXG-RAN
Commits
9327e991
Commit
9327e991
authored
Apr 21, 2022
by
francescomani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
additional fixes for SR
parent
ca51ba7d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
openair1/PHY/NR_TRANSPORT/pucch_rx.c
openair1/PHY/NR_TRANSPORT/pucch_rx.c
+2
-2
No files found.
openair1/PHY/NR_TRANSPORT/pucch_rx.c
View file @
9327e991
...
...
@@ -422,9 +422,9 @@ void nr_decode_pucch0(PHY_VARS_gNB *gNB,
if
(
pucch_pdu
->
bit_len_harq
==
0
)
{
uci_pdu
->
harq
=
NULL
;
uci_pdu
->
sr
=
calloc
(
1
,
sizeof
(
*
uci_pdu
->
sr
));
uci_pdu
->
sr
->
sr_confidence_level
=
(
SNRtimes10
>
uci_stats
->
pucch0_thres
)
?
1
:
0
;
uci_pdu
->
sr
->
sr_confidence_level
=
(
SNRtimes10
<
uci_stats
->
pucch0_thres
)
;
uci_stats
->
pucch0_sr_trials
++
;
if
(
xrtmag_dBtimes10
>
10
*
max_n0
)
{
if
(
xrtmag_dBtimes10
>
(
10
*
max_n0
+
100
)
)
{
uci_pdu
->
sr
->
sr_indication
=
1
;
uci_stats
->
pucch0_positive_SR
++
;
LOG_D
(
PHY
,
"PUCCH0 got positive SR. Cumulative number of positive SR %d
\n
"
,
uci_stats
->
pucch0_positive_SR
);
...
...
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