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
58102d24
Commit
58102d24
authored
May 23, 2022
by
Roberto Louro Magueta
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Configuration of nrofSRS_Ports based on UE capability
parent
d8dbd215
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
1 deletion
+24
-1
openair2/RRC/NR/MESSAGES/asn1_msg.c
openair2/RRC/NR/MESSAGES/asn1_msg.c
+2
-1
openair2/RRC/NR/nr_rrc_config.c
openair2/RRC/NR/nr_rrc_config.c
+21
-0
openair2/RRC/NR/nr_rrc_config.h
openair2/RRC/NR/nr_rrc_config.h
+1
-0
No files found.
openair2/RRC/NR/MESSAGES/asn1_msg.c
View file @
58102d24
...
...
@@ -1682,7 +1682,7 @@ void fill_initial_SpCellConfig(int uid,
// We are using do_srs = 0 here because the periodic SRS will only be enabled in update_cellGroupConfig() if do_srs == 1
initialUplinkBWP
->
srs_Config
=
calloc
(
1
,
sizeof
(
*
initialUplinkBWP
->
srs_Config
));
config_srs
(
initialUplinkBWP
->
srs_Config
,
scc
,
uid
,
0
);
config_srs
(
initialUplinkBWP
->
srs_Config
,
scc
,
NULL
,
uid
,
0
);
// configure Scheduling request
// 40 slot period
...
...
@@ -2168,6 +2168,7 @@ void update_cellGroupConfig(NR_CellGroupConfig_t *cellGroupConfig,
}
config_srs
(
SpCellConfig
->
spCellConfigDedicated
->
uplinkConfig
->
initialUplinkBWP
->
srs_Config
,
scc
,
uecap
,
uid
,
configuration
->
do_SRS
);
}
...
...
openair2/RRC/NR/nr_rrc_config.c
View file @
58102d24
...
...
@@ -292,6 +292,7 @@ long rrc_get_max_nr_csrs(uint8_t max_rbs, long b_SRS) {
void
config_srs
(
NR_SetupRelease_SRS_Config_t
*
setup_release_srs_Config
,
NR_ServingCellConfigCommon_t
*
servingcellconfigcommon
,
NR_UE_NR_Capability_t
*
uecap
,
int
uid
,
int
do_srs
)
{
...
...
@@ -356,6 +357,26 @@ void config_srs(NR_SetupRelease_SRS_Config_t *setup_release_srs_Config,
NR_SRS_Resource_t
*
srs_res0
=
calloc
(
1
,
sizeof
(
*
srs_res0
));
srs_res0
->
srs_ResourceId
=
0
;
srs_res0
->
nrofSRS_Ports
=
NR_SRS_Resource__nrofSRS_Ports_port1
;
if
(
uecap
&&
uecap
->
featureSets
&&
uecap
->
featureSets
->
featureSetsUplink
&&
uecap
->
featureSets
->
featureSetsUplink
->
list
.
count
>
0
)
{
NR_FeatureSetUplink_t
*
ul_feature_setup
=
uecap
->
featureSets
->
featureSetsUplink
->
list
.
array
[
0
];
switch
(
ul_feature_setup
->
supportedSRS_Resources
->
maxNumberSRS_Ports_PerResource
)
{
case
NR_SRS_Resources__maxNumberSRS_Ports_PerResource_n1
:
srs_res0
->
nrofSRS_Ports
=
NR_SRS_Resource__nrofSRS_Ports_port1
;
break
;
case
NR_SRS_Resources__maxNumberSRS_Ports_PerResource_n2
:
srs_res0
->
nrofSRS_Ports
=
NR_SRS_Resource__nrofSRS_Ports_ports2
;
break
;
case
NR_SRS_Resources__maxNumberSRS_Ports_PerResource_n4
:
srs_res0
->
nrofSRS_Ports
=
NR_SRS_Resource__nrofSRS_Ports_ports4
;
break
;
default:
LOG_E
(
NR_RRC
,
"Max Number of SRS Ports Per Resource %ld is invalid!
\n
"
,
ul_feature_setup
->
supportedSRS_Resources
->
maxNumberSRS_Ports_PerResource
);
}
}
srs_res0
->
ptrs_PortIndex
=
NULL
;
srs_res0
->
transmissionComb
.
present
=
NR_SRS_Resource__transmissionComb_PR_n2
;
srs_res0
->
transmissionComb
.
choice
.
n2
=
calloc
(
1
,
sizeof
(
*
srs_res0
->
transmissionComb
.
choice
.
n2
));
...
...
openair2/RRC/NR/nr_rrc_config.h
View file @
58102d24
...
...
@@ -125,6 +125,7 @@ void config_csiim(int do_csirs, int dl_antenna_ports, int curr_bwp,
NR_CSI_MeasConfig_t
*
csi_MeasConfig
);
void
config_srs
(
NR_SetupRelease_SRS_Config_t
*
setup_release_srs_Config
,
NR_ServingCellConfigCommon_t
*
servingcellconfigcommon
,
NR_UE_NR_Capability_t
*
uecap
,
int
uid
,
int
do_srs
);
void
set_dl_mcs_table
(
int
scs
,
NR_UE_NR_Capability_t
*
cap
,
...
...
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