Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
openairinterface-6g
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
openairinterface-6g
Commits
56b987c1
Commit
56b987c1
authored
Oct 29, 2025
by
francescomani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bugfix for computation of alt size of DCI00
parent
75a68167
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
openair2/LAYER2/NR_MAC_COMMON/nr_mac_common.c
openair2/LAYER2/NR_MAC_COMMON/nr_mac_common.c
+8
-6
No files found.
openair2/LAYER2/NR_MAC_COMMON/nr_mac_common.c
View file @
56b987c1
...
...
@@ -2813,11 +2813,13 @@ uint16_t nr_dci_size(const NR_UE_DL_BWP_t *DL_BWP,
dci_pdu
->
harq_pid
.
nbits
=
4
;
dci_pdu
->
frequency_domain_assignment
.
nbits
=
(
uint8_t
)
ceil
(
log2
((
N_RB
*
(
N_RB
+
1
))
>>
1
));
// Freq domain assignment -- hopping scenario to be updated
size
+=
dci_pdu
->
frequency_domain_assignment
.
nbits
;
if
(
alt_size
>=
size
)
size
+=
alt_size
-
size
;
// Padding to match 1_0 size
else
if
(
ss_type
==
NR_SearchSpace__searchSpaceType_PR_common
)
{
dci_pdu
->
frequency_domain_assignment
.
nbits
-=
(
size
-
alt_size
);
size
=
alt_size
;
if
(
alt_size
)
{
if
(
alt_size
>=
size
)
size
+=
alt_size
-
size
;
// Padding to match 1_0 size
else
if
(
ss_type
==
NR_SearchSpace__searchSpaceType_PR_common
)
{
dci_pdu
->
frequency_domain_assignment
.
nbits
-=
(
size
-
alt_size
);
size
=
alt_size
;
}
}
// UL/SUL indicator assumed to be 0
break
;
...
...
@@ -3127,7 +3129,7 @@ uint16_t nr_dci_size(const NR_UE_DL_BWP_t *DL_BWP,
default:
AssertFatal
(
1
==
0
,
"Invalid NR DCI format %d
\n
"
,
format
);
}
LOG_D
(
NR_MAC
,
"DCI
size: %d
\n
"
,
size
);
LOG_D
(
NR_MAC
,
"DCI
format %d size: %d alt_size %d
\n
"
,
format
,
size
,
alt_
size
);
return
size
;
}
...
...
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