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
zzha zzha
OpenXG-RAN
Commits
0ab8c8d9
Commit
0ab8c8d9
authored
Nov 29, 2022
by
francescomani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use SSB for reference until we have a better implementation of BWP
parent
8303ddcf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
18 deletions
+10
-18
openair2/RRC/NR/nr_rrc_config.c
openair2/RRC/NR/nr_rrc_config.c
+10
-18
No files found.
openair2/RRC/NR/nr_rrc_config.c
View file @
0ab8c8d9
...
@@ -487,8 +487,9 @@ void config_srs(NR_SetupRelease_SRS_Config_t *setup_release_srs_Config,
...
@@ -487,8 +487,9 @@ void config_srs(NR_SetupRelease_SRS_Config_t *setup_release_srs_Config,
srs_res0
->
sequenceId
=
40
;
srs_res0
->
sequenceId
=
40
;
srs_res0
->
spatialRelationInfo
=
calloc
(
1
,
sizeof
(
*
srs_res0
->
spatialRelationInfo
));
srs_res0
->
spatialRelationInfo
=
calloc
(
1
,
sizeof
(
*
srs_res0
->
spatialRelationInfo
));
srs_res0
->
spatialRelationInfo
->
servingCellId
=
NULL
;
srs_res0
->
spatialRelationInfo
->
servingCellId
=
NULL
;
srs_res0
->
spatialRelationInfo
->
referenceSignal
.
present
=
NR_SRS_SpatialRelationInfo__referenceSignal_PR_csi_RS_Index
;
// TODO include CSI as reference signal when BWPs are handled properly
srs_res0
->
spatialRelationInfo
->
referenceSignal
.
choice
.
csi_RS_Index
=
0
;
srs_res0
->
spatialRelationInfo
->
referenceSignal
.
present
=
NR_SRS_SpatialRelationInfo__referenceSignal_PR_ssb_Index
;
srs_res0
->
spatialRelationInfo
->
referenceSignal
.
choice
.
ssb_Index
=
0
;
ASN_SEQUENCE_ADD
(
&
srs_Config
->
srs_ResourceToAddModList
->
list
,
srs_res0
);
ASN_SEQUENCE_ADD
(
&
srs_Config
->
srs_ResourceToAddModList
->
list
,
srs_res0
);
}
}
...
@@ -728,14 +729,9 @@ void set_pucch_power_config(NR_PUCCH_Config_t *pucch_Config, int do_csirs) {
...
@@ -728,14 +729,9 @@ void set_pucch_power_config(NR_PUCCH_Config_t *pucch_Config, int do_csirs) {
pucch_Config
->
pucch_PowerControl
->
pathlossReferenceRSs
=
calloc
(
1
,
sizeof
(
*
pucch_Config
->
pucch_PowerControl
->
pathlossReferenceRSs
));
pucch_Config
->
pucch_PowerControl
->
pathlossReferenceRSs
=
calloc
(
1
,
sizeof
(
*
pucch_Config
->
pucch_PowerControl
->
pathlossReferenceRSs
));
struct
NR_PUCCH_PathlossReferenceRS
*
PL_ref_RS
=
calloc
(
1
,
sizeof
(
*
PL_ref_RS
));
struct
NR_PUCCH_PathlossReferenceRS
*
PL_ref_RS
=
calloc
(
1
,
sizeof
(
*
PL_ref_RS
));
PL_ref_RS
->
pucch_PathlossReferenceRS_Id
=
0
;
PL_ref_RS
->
pucch_PathlossReferenceRS_Id
=
0
;
if
(
do_csirs
)
{
// TODO include CSI as reference signal when BWPs are handled properly
PL_ref_RS
->
referenceSignal
.
present
=
NR_PUCCH_PathlossReferenceRS__referenceSignal_PR_csi_RS_Index
;
PL_ref_RS
->
referenceSignal
.
present
=
NR_PUCCH_PathlossReferenceRS__referenceSignal_PR_ssb_Index
;
PL_ref_RS
->
referenceSignal
.
choice
.
csi_RS_Index
=
0
;
PL_ref_RS
->
referenceSignal
.
choice
.
ssb_Index
=
0
;
}
else
{
PL_ref_RS
->
referenceSignal
.
present
=
NR_PUCCH_PathlossReferenceRS__referenceSignal_PR_ssb_Index
;
PL_ref_RS
->
referenceSignal
.
choice
.
ssb_Index
=
0
;
}
ASN_SEQUENCE_ADD
(
&
pucch_Config
->
pucch_PowerControl
->
pathlossReferenceRSs
->
list
,
PL_ref_RS
);
ASN_SEQUENCE_ADD
(
&
pucch_Config
->
pucch_PowerControl
->
pathlossReferenceRSs
->
list
,
PL_ref_RS
);
pucch_Config
->
pucch_PowerControl
->
deltaF_PUCCH_f0
=
calloc
(
1
,
sizeof
(
*
pucch_Config
->
pucch_PowerControl
->
deltaF_PUCCH_f0
));
pucch_Config
->
pucch_PowerControl
->
deltaF_PUCCH_f0
=
calloc
(
1
,
sizeof
(
*
pucch_Config
->
pucch_PowerControl
->
deltaF_PUCCH_f0
));
...
@@ -748,14 +744,10 @@ void set_pucch_power_config(NR_PUCCH_Config_t *pucch_Config, int do_csirs) {
...
@@ -748,14 +744,10 @@ void set_pucch_power_config(NR_PUCCH_Config_t *pucch_Config, int do_csirs) {
NR_PUCCH_SpatialRelationInfo_t
*
pucchspatial
=
calloc
(
1
,
sizeof
(
*
pucchspatial
));
NR_PUCCH_SpatialRelationInfo_t
*
pucchspatial
=
calloc
(
1
,
sizeof
(
*
pucchspatial
));
pucchspatial
->
pucch_SpatialRelationInfoId
=
1
;
pucchspatial
->
pucch_SpatialRelationInfoId
=
1
;
pucchspatial
->
servingCellId
=
NULL
;
pucchspatial
->
servingCellId
=
NULL
;
if
(
do_csirs
)
{
// TODO include CSI as reference signal when BWPs are handled properly
pucchspatial
->
referenceSignal
.
present
=
NR_PUCCH_SpatialRelationInfo__referenceSignal_PR_csi_RS_Index
;
pucchspatial
->
referenceSignal
.
present
=
NR_PUCCH_SpatialRelationInfo__referenceSignal_PR_ssb_Index
;
pucchspatial
->
referenceSignal
.
choice
.
csi_RS_Index
=
0
;
pucchspatial
->
referenceSignal
.
choice
.
ssb_Index
=
0
;
}
else
{
pucchspatial
->
referenceSignal
.
present
=
NR_PUCCH_SpatialRelationInfo__referenceSignal_PR_ssb_Index
;
pucchspatial
->
referenceSignal
.
choice
.
ssb_Index
=
0
;
}
pucchspatial
->
pucch_PathlossReferenceRS_Id
=
PL_ref_RS
->
pucch_PathlossReferenceRS_Id
;
pucchspatial
->
pucch_PathlossReferenceRS_Id
=
PL_ref_RS
->
pucch_PathlossReferenceRS_Id
;
pucchspatial
->
p0_PUCCH_Id
=
p00
->
p0_PUCCH_Id
;
pucchspatial
->
p0_PUCCH_Id
=
p00
->
p0_PUCCH_Id
;
...
...
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