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
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
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-RAN
Commits
8759eae0
Commit
8759eae0
authored
May 31, 2022
by
Roberto Louro Magueta
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix in get_pusch_nb_antenna_ports
parent
d6e960e4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
openair2/LAYER2/NR_MAC_COMMON/nr_mac_common.c
openair2/LAYER2/NR_MAC_COMMON/nr_mac_common.c
+3
-2
No files found.
openair2/LAYER2/NR_MAC_COMMON/nr_mac_common.c
View file @
8759eae0
...
...
@@ -2639,11 +2639,12 @@ uint8_t get_pusch_nb_antenna_ports(NR_PUSCH_Config_t *pusch_Config,
n_antenna_port
=
*
pusch_Config
->
maxRank
;
}
else
{
if
(
srs_config
!=
NULL
&&
srs_resource_indicator
.
nbits
>
0
)
{
uint8_t
sri
=
srs_resource_indicator
.
nbits
>
0
?
srs_resource_indicator
.
val
:
0
;
if
(
srs_config
!=
NULL
)
{
for
(
int
rs
=
0
;
rs
<
srs_config
->
srs_ResourceSetToAddModList
->
list
.
count
;
rs
++
)
{
NR_SRS_ResourceSet_t
*
srs_resource_set
=
srs_config
->
srs_ResourceSetToAddModList
->
list
.
array
[
rs
];
if
(
srs_resource_set
->
usage
==
NR_SRS_ResourceSet__usage_codebook
)
{
NR_SRS_Resource_t
*
srs_resource
=
srs_config
->
srs_ResourceToAddModList
->
list
.
array
[
sr
s_resource_indicator
.
val
];
NR_SRS_Resource_t
*
srs_resource
=
srs_config
->
srs_ResourceToAddModList
->
list
.
array
[
sr
i
];
AssertFatal
(
srs_resource
!=
NULL
,
"SRS resource indicated by DCI does not exist
\n
"
);
n_antenna_port
=
1
<<
srs_resource
->
nrofSRS_Ports
;
}
...
...
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