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
7c24dea1
Commit
7c24dea1
authored
Mar 27, 2024
by
francescomani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avoid another possible segfault
parent
2a03d793
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
openair2/LAYER2/NR_MAC_UE/nr_ue_procedures.c
openair2/LAYER2/NR_MAC_UE/nr_ue_procedures.c
+6
-4
No files found.
openair2/LAYER2/NR_MAC_UE/nr_ue_procedures.c
View file @
7c24dea1
...
...
@@ -2263,7 +2263,10 @@ bool get_downlink_ack(NR_UE_MAC_INST_t *mac, frame_t frame, int slot, PUCCH_sche
bool
two_transport_blocks
=
false
;
int
number_of_code_word
=
1
;
if
(
current_DL_BWP
&&
current_DL_BWP
->
pdsch_Config
&&
current_DL_BWP
->
pdsch_Config
->
maxNrofCodeWordsScheduledByDCI
&&
current_DL_BWP
->
pdsch_Config
->
maxNrofCodeWordsScheduledByDCI
[
0
]
==
2
)
{
if
(
current_DL_BWP
&&
current_DL_BWP
->
pdsch_Config
&&
current_DL_BWP
->
pdsch_Config
->
maxNrofCodeWordsScheduledByDCI
&&
current_DL_BWP
->
pdsch_Config
->
maxNrofCodeWordsScheduledByDCI
[
0
]
==
2
)
{
two_transport_blocks
=
true
;
number_of_code_word
=
2
;
}
...
...
@@ -2400,9 +2403,8 @@ bool get_downlink_ack(NR_UE_MAC_INST_t *mac, frame_t frame, int slot, PUCCH_sche
return
false
;
}
NR_PUCCH_Config_t
*
pucch_Config
=
current_UL_BWP
->
pucch_Config
;
if
(
!
pucch_Config
||
!
pucch_Config
->
resourceSetToAddModList
||
pucch_Config
->
resourceSetToAddModList
->
list
.
array
[
0
]
==
NULL
)
NR_PUCCH_Config_t
*
pucch_Config
=
current_UL_BWP
?
current_UL_BWP
->
pucch_Config
:
NULL
;
if
(
!
(
pucch_Config
&&
pucch_Config
->
resourceSetToAddModList
&&
pucch_Config
->
resourceSetToAddModList
->
list
.
array
[
0
]))
configure_initial_pucch
(
pucch
,
res_ind
);
else
{
int
resource_set_id
=
find_pucch_resource_set
(
pucch_Config
,
O_ACK
);
...
...
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