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
Michael Black
OpenXG-RAN
Commits
4d97a47e
Commit
4d97a47e
authored
Sep 19, 2022
by
Roberto Louro Magueta
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add comment and break in get_pusch_nb_antenna_ports() function
parent
a46ac88e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
openair2/LAYER2/NR_MAC_COMMON/nr_mac_common.c
openair2/LAYER2/NR_MAC_COMMON/nr_mac_common.c
+7
-3
No files found.
openair2/LAYER2/NR_MAC_COMMON/nr_mac_common.c
View file @
4d97a47e
...
...
@@ -2717,10 +2717,14 @@ uint8_t get_pusch_nb_antenna_ports(NR_PUSCH_Config_t *pusch_Config,
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
)
{
// When multiple SRS resources are configured by SRS-ResourceSet with usage set to 'codebook',
// the UE shall expect that higher layer parameters nrofSRS-Ports in SRS-Resource in SRS-ResourceSet
// shall be configured with the same value for all these SRS resources.
if
(
srs_resource_set
->
usage
==
NR_SRS_ResourceSet__usage_codebook
)
{
NR_SRS_Resource_t
*
srs_resource
=
srs_config
->
srs_ResourceToAddModList
->
list
.
array
[
sri
];
AssertFatal
(
srs_resource
!=
NULL
,
"SRS resource indicated by DCI does not exist
\n
"
);
n_antenna_port
=
1
<<
srs_resource
->
nrofSRS_Ports
;
AssertFatal
(
srs_resource
!=
NULL
,
"SRS resource indicated by DCI does not exist
\n
"
);
n_antenna_port
=
1
<<
srs_resource
->
nrofSRS_Ports
;
break
;
}
}
}
...
...
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