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
d66aea3f
Commit
d66aea3f
authored
Jul 09, 2020
by
Francesco Mani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bugfixes in dci size
parent
0f951992
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
openair2/LAYER2/NR_MAC_COMMON/nr_mac_common.c
openair2/LAYER2/NR_MAC_COMMON/nr_mac_common.c
+5
-2
No files found.
openair2/LAYER2/NR_MAC_COMMON/nr_mac_common.c
View file @
d66aea3f
...
...
@@ -1979,8 +1979,10 @@ uint16_t nr_dci_size(NR_ServingCellConfigCommon_t *scc,
if
(
srs_config
->
srs_ResourceSetToAddModList
->
list
.
array
[
i
]
->
usage
==
NR_SRS_ResourceSet__usage_codebook
)
count
++
;
}
if
(
count
>
1
)
if
(
count
>
1
)
{
dci_pdu
->
srs_resource_indicator
.
nbits
=
1
;
size
+=
dci_pdu
->
srs_resource_indicator
.
nbits
;
}
}
else
{
int
lmin
,
Lmax
=
0
;
...
...
@@ -2003,11 +2005,12 @@ uint16_t nr_dci_size(NR_ServingCellConfigCommon_t *scc,
}
}
dci_pdu
->
srs_resource_indicator
.
nbits
=
(
int
)
ceil
(
log2
(
lsum
));
size
+=
dci_pdu
->
srs_resource_indicator
.
nbits
;
}
}
size
+=
dci_pdu
->
srs_resource_indicator
.
nbits
;
// Precoding info and number of layers
long
transformPrecoder
;
dci_pdu
->
precoding_information
.
nbits
=
0
;
if
(
pusch_Config
->
transformPrecoder
==
NULL
){
// if transform precoder is null, apply the values from msg3
if
(
scc
->
uplinkConfigCommon
->
initialUplinkBWP
->
rach_ConfigCommon
->
choice
.
setup
->
msg3_transformPrecoder
==
NULL
)
...
...
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