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
littleBu
OpenXG-RAN
Commits
6b8a59cb
Commit
6b8a59cb
authored
Jan 08, 2025
by
Thomas Schlichter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gNB: add support for NTN parameter ta-CommonDrift-r17
parent
0053a3d0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
openair2/GNB_APP/RRC_nr_paramsvalues.h
openair2/GNB_APP/RRC_nr_paramsvalues.h
+2
-0
openair2/GNB_APP/gnb_config.c
openair2/GNB_APP/gnb_config.c
+6
-0
No files found.
openair2/GNB_APP/RRC_nr_paramsvalues.h
View file @
6b8a59cb
...
...
@@ -132,6 +132,7 @@
#define GNB_CONFIG_STRING_EPHEMERIS_VELOCITY_VY "velocityVY-r17"
#define GNB_CONFIG_STRING_EPHEMERIS_VELOCITY_VZ "velocityVZ-r17"
#define GNB_CONFIG_STRING_TA_COMMON "ta-Common-r17"
#define GNB_CONFIG_STRING_TA_COMMONDRIFT "ta-CommonDrift-r17"
#define CARRIERBANDWIDTH_OKVALUES {11,18,24,25,31,32,38,51,52,65,66,78,79,93,106,107,121,132,133,135,160,162,189,216,217,245,264,270,273}
...
...
@@ -257,6 +258,7 @@
{GNB_CONFIG_STRING_EPHEMERIS_VELOCITY_VY,NULL,0,.i64ptr=&scc->ext2->ntn_Config_r17->ephemerisInfo_r17->choice.positionVelocity_r17->velocityVY_r17,.defint64val=LONG_MAX,TYPE_INT64,0}, \
{GNB_CONFIG_STRING_EPHEMERIS_VELOCITY_VZ,NULL,0,.i64ptr=&scc->ext2->ntn_Config_r17->ephemerisInfo_r17->choice.positionVelocity_r17->velocityVZ_r17,.defint64val=LONG_MAX,TYPE_INT64,0}, \
{GNB_CONFIG_STRING_TA_COMMON,NULL,0,.i64ptr=&scc->ext2->ntn_Config_r17->ta_Info_r17->ta_Common_r17,.defint64val=-1,TYPE_INT64,0}, \
{GNB_CONFIG_STRING_TA_COMMONDRIFT,NULL,0,.i64ptr=scc->ext2->ntn_Config_r17->ta_Info_r17->ta_CommonDrift_r17,.defint64val=0,TYPE_INT64,0}, \
{GNB_CONFIG_STRING_MSG1SUBCARRIERSPACING,NULL,0,.i64ptr=scc->uplinkConfigCommon->initialUplinkBWP->rach_ConfigCommon->choice.setup->msg1_SubcarrierSpacing,.defintval=-1,TYPE_INT64,0}}
#define SCC_PATTERN2_STRING_CONFIG "pattern2"
...
...
openair2/GNB_APP/gnb_config.c
View file @
6b8a59cb
...
...
@@ -185,6 +185,7 @@ void prepare_scc(NR_ServingCellConfigCommon_t *scc)
scc
->
ext2
->
ntn_Config_r17
->
ephemerisInfo_r17
=
calloc_or_fail
(
1
,
sizeof
(
*
scc
->
ext2
->
ntn_Config_r17
->
ephemerisInfo_r17
));
scc
->
ext2
->
ntn_Config_r17
->
ta_Info_r17
=
calloc_or_fail
(
1
,
sizeof
(
*
scc
->
ext2
->
ntn_Config_r17
->
ta_Info_r17
));
scc
->
ext2
->
ntn_Config_r17
->
ta_Info_r17
->
ta_CommonDrift_r17
=
calloc_or_fail
(
1
,
sizeof
(
*
scc
->
ext2
->
ntn_Config_r17
->
ta_Info_r17
->
ta_CommonDrift_r17
));
scc
->
ext2
->
ntn_Config_r17
->
ephemerisInfo_r17
->
present
=
NR_EphemerisInfo_r17_PR_positionVelocity_r17
;
scc
->
ext2
->
ntn_Config_r17
->
ephemerisInfo_r17
->
choice
.
positionVelocity_r17
=
...
...
@@ -505,7 +506,12 @@ void fix_scc(NR_ServingCellConfigCommon_t *scc, uint64_t ssbmap)
free
(
scc
->
ext2
->
ntn_Config_r17
->
cellSpecificKoffset_r17
);
scc
->
ext2
->
ntn_Config_r17
->
cellSpecificKoffset_r17
=
NULL
;
}
if
(
*
scc
->
ext2
->
ntn_Config_r17
->
ta_Info_r17
->
ta_CommonDrift_r17
==
0
)
{
free
(
scc
->
ext2
->
ntn_Config_r17
->
ta_Info_r17
->
ta_CommonDrift_r17
);
scc
->
ext2
->
ntn_Config_r17
->
ta_Info_r17
->
ta_CommonDrift_r17
=
NULL
;
}
if
(
scc
->
ext2
->
ntn_Config_r17
->
ta_Info_r17
->
ta_Common_r17
==
-
1
)
{
free
(
scc
->
ext2
->
ntn_Config_r17
->
ta_Info_r17
->
ta_CommonDrift_r17
);
free
(
scc
->
ext2
->
ntn_Config_r17
->
ta_Info_r17
);
scc
->
ext2
->
ntn_Config_r17
->
ta_Info_r17
=
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