Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG UE
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
OpenXG
OpenXG UE
Commits
76cccf6b
Commit
76cccf6b
authored
Nov 19, 2021
by
Melissa Elkadi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding assertFatal to UCI multiplexing
parent
676d43a1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
openair2/NR_UE_PHY_INTERFACE/NR_IF_Module.c
openair2/NR_UE_PHY_INTERFACE/NR_IF_Module.c
+8
-6
No files found.
openair2/NR_UE_PHY_INTERFACE/NR_IF_Module.c
View file @
76cccf6b
...
...
@@ -505,7 +505,10 @@ static void copy_uci_inds_to_single_uci_ind(NR_UE_MAC_INST_t *mac,
/* In openair1/SCHED_NR_UE/fapi_nr_ue_l1.c nr_ue_schedule_response_stub(), the
number of UCIs is hard coded to 1. This is why we always use index 0 of the
queued UCI indication to fill the new multiplexed UCI indication */
if
(
!
uci_from_queue
)
{
LOG_E
(
NR_MAC
,
"There was not a UCI in the queue!
\n
"
);
return
;
}
nfapi_nr_uci_pucch_pdu_format_0_1_t
*
pdu_0_1
=
&
new_uci
->
uci_list
[
index
].
pucch_pdu_format_0_1
;
memset
(
pdu_0_1
,
0
,
sizeof
(
*
pdu_0_1
));
AssertFatal
(
index
<=
new_uci
->
num_ucis
,
...
...
@@ -549,11 +552,10 @@ nfapi_nr_uci_indication_t *multiplex_uci_ind(NR_UE_MAC_INST_t *mac)
uci_ind
->
slot
=
NFAPI_SFNSLOT2SLOT
(
mac
->
nr_ue_emul_l1
.
active_harq_sfn_slot
);
uci_ind
->
num_ucis
=
num_active_harqs
;
uci_ind
->
uci_list
=
MALLOC
(
uci_ind
->
num_ucis
*
sizeof
(
*
uci_ind
->
uci_list
));
if
(
num_active_harqs
!=
nr_uci_ind_queue
.
num_items
)
{
LOG_E
(
NR_MAC
,
"The number of active harqs %d should match the number of UCIs in the queue %lu
\n
"
,
num_active_harqs
,
nr_uci_ind_queue
.
num_items
);
}
AssertFatal
(
num_active_harqs
==
nr_uci_ind_queue
.
num_items
,
"The number of active harqs %d should match the number of UCIs in the queue %lu
\n
"
,
num_active_harqs
,
nr_uci_ind_queue
.
num_items
);
for
(
int
j
=
0
;
j
<
num_active_harqs
;
j
++
)
{
nfapi_nr_uci_indication_t
*
queued_uci_ind
=
get_queue
(
&
nr_uci_ind_queue
);
...
...
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