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
canghaiwuhen
OpenXG-RAN
Commits
0f73ebe3
Commit
0f73ebe3
authored
Nov 23, 2020
by
Francesco Mani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bugfix in pucch_rx
parent
697eae32
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
openair1/PHY/NR_TRANSPORT/pucch_rx.c
openair1/PHY/NR_TRANSPORT/pucch_rx.c
+2
-2
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_uci.c
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_uci.c
+1
-1
No files found.
openair1/PHY/NR_TRANSPORT/pucch_rx.c
View file @
0f73ebe3
...
...
@@ -1627,7 +1627,7 @@ void nr_decode_pucch2(PHY_VARS_gNB *gNB,
uci_pdu
->
harq
.
harq_payload
[
i
]
=
decodedPayload
[
0
]
&
255
;
decodedPayload
[
0
]
>>=
8
;
}
bit_left
=
pucch_pdu
->
bit_len_harq
-
(
harq_bytes
-
1
)
<<
3
;
bit_left
=
pucch_pdu
->
bit_len_harq
-
(
(
harq_bytes
-
1
)
<<
3
)
;
uci_pdu
->
harq
.
harq_payload
[
i
]
=
decodedPayload
[
0
]
&
((
1
<<
bit_left
)
-
1
);
decodedPayload
[
0
]
>>=
pucch_pdu
->
bit_len_harq
;
}
...
...
@@ -1652,7 +1652,7 @@ void nr_decode_pucch2(PHY_VARS_gNB *gNB,
uci_pdu
->
csi_part1
.
csi_part1_payload
[
i
]
=
decodedPayload
[
0
]
&
255
;
decodedPayload
[
0
]
>>=
8
;
}
bit_left
=
pucch_pdu
->
bit_len_csi_part1
-
(
csi_part1_bytes
-
1
)
<<
3
;
bit_left
=
pucch_pdu
->
bit_len_csi_part1
-
(
(
csi_part1_bytes
-
1
)
<<
3
)
;
uci_pdu
->
csi_part1
.
csi_part1_payload
[
i
]
=
decodedPayload
[
0
]
&
((
1
<<
bit_left
)
-
1
);
decodedPayload
[
0
]
>>=
pucch_pdu
->
bit_len_csi_part1
;
}
...
...
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_uci.c
View file @
0f73ebe3
...
...
@@ -1247,7 +1247,7 @@ void extract_pucch_csi_report (NR_CSI_MeasConfig_t *csi_MeasConfig,
*
(
UE_info
->
csi_report_template
[
UE_id
][
csi_report_id
].
CSI_Index_list
[
cri_ssbri_bitlen
>
0
?
((
*
payload
)
&~
(
~
1
<<
(
cri_ssbri_bitlen
-
1
)))
:
cri_ssbri_bitlen
]);
*
payload
>>=
cri_ssbri_bitlen
;
LOG_I
(
PHY
,
"SSB_index = %d"
,
sched_ctrl
->
CSI_report
[
idx
].
choice
.
ssb_cri_report
.
CRI_SSBRI
[
csi_ssb_idx
]);
LOG_I
(
PHY
,
"SSB_index = %d
\n
"
,
sched_ctrl
->
CSI_report
[
idx
].
choice
.
ssb_cri_report
.
CRI_SSBRI
[
csi_ssb_idx
]);
}
reverse_n_bits
(
payload
,
7
);
...
...
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