Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
openairinterface5G
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
oai
openairinterface5G
Commits
8d222bc4
Commit
8d222bc4
authored
6 months ago
by
Guido Casati
Browse files
Options
Downloads
Patches
Plain Diff
Refactoring of prepare_scc
* improved readability * clang formatted
parent
a32a8504
No related branches found
No related tags found
2 merge requests
!3021
Integration: `2024.w40b`
,
!2965
Refactoring of prepare_scc in gNB config
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
openair2/GNB_APP/gnb_config.c
+81
-80
81 additions, 80 deletions
openair2/GNB_APP/gnb_config.c
with
81 additions
and
80 deletions
openair2/GNB_APP/gnb_config.c
+
81
−
80
View file @
8d222bc4
...
@@ -107,90 +107,91 @@
...
@@ -107,90 +107,91 @@
extern
uint16_t
sf_ahead
;
extern
uint16_t
sf_ahead
;
void
prepare_scc
(
NR_ServingCellConfigCommon_t
*
scc
)
{
/**
* Allocate memory and initialize ServingCellConfigCommon struct members
NR_FreqBandIndicatorNR_t
*
dl_frequencyBandList
,
*
ul_frequencyBandList
;
*/
struct
NR_SCS_SpecificCarrier
*
dl_scs_SpecificCarrierList
,
*
ul_scs_SpecificCarrierList
;
void
prepare_scc
(
NR_ServingCellConfigCommon_t
*
scc
)
{
scc
->
physCellId
=
CALLOC
(
1
,
sizeof
(
NR_PhysCellId_t
));
// NR_ServingCellConfigCommon
scc
->
downlinkConfigCommon
=
CALLOC
(
1
,
sizeof
(
struct
NR_DownlinkConfigCommon
));
scc
->
physCellId
=
calloc_or_fail
(
1
,
sizeof
(
*
scc
->
physCellId
));
scc
->
downlinkConfigCommon
->
frequencyInfoDL
=
CALLOC
(
1
,
sizeof
(
struct
NR_FrequencyInfoDL
));
scc
->
n_TimingAdvanceOffset
=
calloc_or_fail
(
1
,
sizeof
(
*
scc
->
n_TimingAdvanceOffset
));
scc
->
downlinkConfigCommon
->
initialDownlinkBWP
=
CALLOC
(
1
,
sizeof
(
struct
NR_BWP_DownlinkCommon
));
scc
->
ssb_PositionsInBurst
=
calloc_or_fail
(
1
,
sizeof
(
*
scc
->
ssb_PositionsInBurst
));
scc
->
uplinkConfigCommon
=
CALLOC
(
1
,
sizeof
(
struct
NR_UplinkConfigCommon
));
scc
->
ssb_periodicityServingCell
=
calloc_or_fail
(
1
,
sizeof
(
*
scc
->
ssb_periodicityServingCell
));
scc
->
uplinkConfigCommon
->
frequencyInfoUL
=
CALLOC
(
1
,
sizeof
(
struct
NR_FrequencyInfoUL
));
scc
->
ssbSubcarrierSpacing
=
calloc_or_fail
(
1
,
sizeof
(
*
scc
->
ssbSubcarrierSpacing
));
scc
->
uplinkConfigCommon
->
initialUplinkBWP
=
CALLOC
(
1
,
sizeof
(
struct
NR_BWP_UplinkCommon
));
scc
->
tdd_UL_DL_ConfigurationCommon
=
calloc_or_fail
(
1
,
sizeof
(
*
scc
->
tdd_UL_DL_ConfigurationCommon
));
scc
->
n_TimingAdvanceOffset
=
CALLOC
(
1
,
sizeof
(
long
));
scc
->
tdd_UL_DL_ConfigurationCommon
->
pattern2
=
calloc_or_fail
(
1
,
sizeof
(
*
scc
->
tdd_UL_DL_ConfigurationCommon
->
pattern2
));
scc
->
ssb_PositionsInBurst
=
CALLOC
(
1
,
sizeof
(
struct
NR_ServingCellConfigCommon__ssb_PositionsInBurst
));
scc
->
downlinkConfigCommon
=
calloc_or_fail
(
1
,
sizeof
(
*
scc
->
downlinkConfigCommon
));
scc
->
ssb_periodicityServingCell
=
CALLOC
(
1
,
sizeof
(
long
));
scc
->
downlinkConfigCommon
->
frequencyInfoDL
=
calloc_or_fail
(
1
,
sizeof
(
*
scc
->
downlinkConfigCommon
->
frequencyInfoDL
));
scc
->
ssbSubcarrierSpacing
=
CALLOC
(
1
,
sizeof
(
NR_SubcarrierSpacing_t
));
scc
->
downlinkConfigCommon
->
initialDownlinkBWP
=
calloc_or_fail
(
1
,
sizeof
(
*
scc
->
downlinkConfigCommon
->
initialDownlinkBWP
));
scc
->
tdd_UL_DL_ConfigurationCommon
=
CALLOC
(
1
,
sizeof
(
struct
NR_TDD_UL_DL_ConfigCommon
));
scc
->
tdd_UL_DL_ConfigurationCommon
->
pattern2
=
CALLOC
(
1
,
sizeof
(
struct
NR_TDD_UL_DL_Pattern
));
scc
->
downlinkConfigCommon
->
frequencyInfoDL
->
absoluteFrequencySSB
=
CALLOC
(
1
,
sizeof
(
NR_ARFCN_ValueNR_t
));
dl_frequencyBandList
=
CALLOC
(
1
,
sizeof
(
NR_FreqBandIndicatorNR_t
));
dl_scs_SpecificCarrierList
=
CALLOC
(
1
,
sizeof
(
struct
NR_SCS_SpecificCarrier
));
asn1cSeqAdd
(
&
scc
->
downlinkConfigCommon
->
frequencyInfoDL
->
frequencyBandList
.
list
,
dl_frequencyBandList
);
asn1cSeqAdd
(
&
scc
->
downlinkConfigCommon
->
frequencyInfoDL
->
scs_SpecificCarrierList
.
list
,
dl_scs_SpecificCarrierList
);
scc
->
downlinkConfigCommon
->
initialDownlinkBWP
->
pdcch_ConfigCommon
=
CALLOC
(
1
,
sizeof
(
struct
NR_SetupRelease_PDCCH_ConfigCommon
));
scc
->
downlinkConfigCommon
->
initialDownlinkBWP
->
pdcch_ConfigCommon
->
present
=
NR_SetupRelease_PDCCH_ConfigCommon_PR_setup
;
scc
->
downlinkConfigCommon
->
initialDownlinkBWP
->
pdcch_ConfigCommon
->
choice
.
setup
=
CALLOC
(
1
,
sizeof
(
struct
NR_PDCCH_ConfigCommon
));
scc
->
downlinkConfigCommon
->
initialDownlinkBWP
->
pdcch_ConfigCommon
->
choice
.
setup
->
controlResourceSetZero
=
CALLOC
(
1
,
sizeof
(
long
));
scc
->
downlinkConfigCommon
->
initialDownlinkBWP
->
pdcch_ConfigCommon
->
choice
.
setup
->
searchSpaceZero
=
CALLOC
(
1
,
sizeof
(
long
));
scc
->
downlinkConfigCommon
->
initialDownlinkBWP
->
pdcch_ConfigCommon
->
choice
.
setup
->
commonControlResourceSet
=
NULL
;
scc
->
downlinkConfigCommon
->
initialDownlinkBWP
->
pdsch_ConfigCommon
=
CALLOC
(
1
,
sizeof
(
struct
NR_SetupRelease_PDSCH_ConfigCommon
));
scc
->
downlinkConfigCommon
->
initialDownlinkBWP
->
pdsch_ConfigCommon
->
present
=
NR_SetupRelease_PDSCH_ConfigCommon_PR_setup
;
scc
->
downlinkConfigCommon
->
initialDownlinkBWP
->
pdsch_ConfigCommon
->
choice
.
setup
=
CALLOC
(
1
,
sizeof
(
struct
NR_PDSCH_ConfigCommon
));
scc
->
downlinkConfigCommon
->
initialDownlinkBWP
->
pdsch_ConfigCommon
->
choice
.
setup
->
pdsch_TimeDomainAllocationList
=
CALLOC
(
1
,
sizeof
(
struct
NR_PDSCH_TimeDomainResourceAllocationList
));
ul_frequencyBandList
=
CALLOC
(
1
,
sizeof
(
NR_FreqBandIndicatorNR_t
));
scc
->
uplinkConfigCommon
->
frequencyInfoUL
->
frequencyBandList
=
CALLOC
(
1
,
sizeof
(
struct
NR_MultiFrequencyBandListNR
));
asn1cSeqAdd
(
&
scc
->
uplinkConfigCommon
->
frequencyInfoUL
->
frequencyBandList
->
list
,
ul_frequencyBandList
);
scc
->
uplinkConfigCommon
->
frequencyInfoUL
->
absoluteFrequencyPointA
=
CALLOC
(
1
,
sizeof
(
NR_ARFCN_ValueNR_t
));
scc
->
uplinkConfigCommon
->
frequencyInfoUL
->
p_Max
=
CALLOC
(
1
,
sizeof
(
NR_P_Max_t
));
scc
->
uplinkConfigCommon
->
initialUplinkBWP
->
rach_ConfigCommon
=
CALLOC
(
1
,
sizeof
(
NR_SetupRelease_RACH_ConfigCommon_t
));
scc
->
uplinkConfigCommon
->
initialUplinkBWP
->
rach_ConfigCommon
->
present
=
NR_SetupRelease_RACH_ConfigCommon_PR_setup
;
scc
->
uplinkConfigCommon
->
initialUplinkBWP
->
rach_ConfigCommon
->
choice
.
setup
=
CALLOC
(
1
,
sizeof
(
struct
NR_RACH_ConfigCommon
));
scc
->
uplinkConfigCommon
->
initialUplinkBWP
->
rach_ConfigCommon
->
choice
.
setup
->
ssb_perRACH_OccasionAndCB_PreamblesPerSSB
=
CALLOC
(
1
,
sizeof
(
struct
NR_RACH_ConfigCommon__ssb_perRACH_OccasionAndCB_PreamblesPerSSB
));
scc
->
uplinkConfigCommon
->
initialUplinkBWP
->
rach_ConfigCommon
->
choice
.
setup
->
rsrp_ThresholdSSB
=
CALLOC
(
1
,
sizeof
(
NR_RSRP_Range_t
));
scc
->
uplinkConfigCommon
->
initialUplinkBWP
->
rach_ConfigCommon
->
choice
.
setup
->
msg1_SubcarrierSpacing
=
CALLOC
(
1
,
sizeof
(
NR_SubcarrierSpacing_t
));
scc
->
uplinkConfigCommon
->
initialUplinkBWP
->
rach_ConfigCommon
->
choice
.
setup
->
msg3_transformPrecoder
=
CALLOC
(
1
,
sizeof
(
long
));
*
scc
->
uplinkConfigCommon
->
initialUplinkBWP
->
rach_ConfigCommon
->
choice
.
setup
->
msg3_transformPrecoder
=
NR_PUSCH_Config__transformPrecoder_disabled
;
scc
->
uplinkConfigCommon
->
initialUplinkBWP
->
pusch_ConfigCommon
=
CALLOC
(
1
,
sizeof
(
NR_SetupRelease_PUSCH_ConfigCommon_t
));
scc
->
uplinkConfigCommon
->
initialUplinkBWP
->
pusch_ConfigCommon
->
present
=
NR_SetupRelease_PUSCH_ConfigCommon_PR_setup
;
scc
->
uplinkConfigCommon
->
initialUplinkBWP
->
pusch_ConfigCommon
->
choice
.
setup
=
CALLOC
(
1
,
sizeof
(
struct
NR_PUSCH_ConfigCommon
));
scc
->
uplinkConfigCommon
->
initialUplinkBWP
->
pusch_ConfigCommon
->
choice
.
setup
->
groupHoppingEnabledTransformPrecoding
=
NULL
;
scc
->
uplinkConfigCommon
->
initialUplinkBWP
->
pusch_ConfigCommon
->
choice
.
setup
->
pusch_TimeDomainAllocationList
=
CALLOC
(
1
,
sizeof
(
struct
NR_PUSCH_TimeDomainResourceAllocationList
));
scc
->
uplinkConfigCommon
->
initialUplinkBWP
->
pusch_ConfigCommon
->
choice
.
setup
->
msg3_DeltaPreamble
=
CALLOC
(
1
,
sizeof
(
long
));
scc
->
uplinkConfigCommon
->
initialUplinkBWP
->
pusch_ConfigCommon
->
choice
.
setup
->
p0_NominalWithGrant
=
CALLOC
(
1
,
sizeof
(
long
));
scc
->
uplinkConfigCommon
->
initialUplinkBWP
->
pucch_ConfigCommon
=
CALLOC
(
1
,
sizeof
(
struct
NR_SetupRelease_PUCCH_ConfigCommon
));
scc
->
uplinkConfigCommon
->
initialUplinkBWP
->
pucch_ConfigCommon
->
present
=
NR_SetupRelease_PUCCH_ConfigCommon_PR_setup
;
scc
->
uplinkConfigCommon
->
initialUplinkBWP
->
pucch_ConfigCommon
->
choice
.
setup
=
CALLOC
(
1
,
sizeof
(
struct
NR_PUCCH_ConfigCommon
));
scc
->
uplinkConfigCommon
->
initialUplinkBWP
->
pucch_ConfigCommon
->
choice
.
setup
->
p0_nominal
=
CALLOC
(
1
,
sizeof
(
long
));
scc
->
uplinkConfigCommon
->
initialUplinkBWP
->
pucch_ConfigCommon
->
choice
.
setup
->
pucch_ResourceCommon
=
CALLOC
(
1
,
sizeof
(
long
));
scc
->
uplinkConfigCommon
->
initialUplinkBWP
->
pucch_ConfigCommon
->
choice
.
setup
->
hoppingId
=
CALLOC
(
1
,
sizeof
(
long
));
ul_scs_SpecificCarrierList
=
CALLOC
(
1
,
sizeof
(
struct
NR_SCS_SpecificCarrier
));
asn1cSeqAdd
(
&
scc
->
uplinkConfigCommon
->
frequencyInfoUL
->
scs_SpecificCarrierList
.
list
,
ul_scs_SpecificCarrierList
);
scc
->
ext2
=
CALLOC
(
1
,
sizeof
(
*
scc
->
ext2
));
scc
->
ext2
->
ntn_Config_r17
=
CALLOC
(
1
,
sizeof
(
*
scc
->
ext2
->
ntn_Config_r17
));
scc
->
ext2
->
ntn_Config_r17
->
cellSpecificKoffset_r17
=
CALLOC
(
1
,
sizeof
(
*
scc
->
ext2
->
ntn_Config_r17
->
cellSpecificKoffset_r17
));
scc
->
ext2
->
ntn_Config_r17
->
ephemerisInfo_r17
=
CALLOC
(
1
,
sizeof
(
*
scc
->
ext2
->
ntn_Config_r17
->
ephemerisInfo_r17
));
NR_FrequencyInfoDL_t
*
frequencyInfoDL
=
scc
->
downlinkConfigCommon
->
frequencyInfoDL
;
scc
->
ext2
->
ntn_Config_r17
->
ta_Info_r17
=
CALLOC
(
1
,
sizeof
(
*
scc
->
ext2
->
ntn_Config_r17
->
ta_Info_r17
));
frequencyInfoDL
->
absoluteFrequencySSB
=
calloc_or_fail
(
1
,
sizeof
(
*
frequencyInfoDL
->
absoluteFrequencySSB
));
NR_FreqBandIndicatorNR_t
*
dl_frequencyBandList
=
calloc_or_fail
(
1
,
sizeof
(
*
dl_frequencyBandList
));
asn1cSeqAdd
(
&
frequencyInfoDL
->
frequencyBandList
.
list
,
dl_frequencyBandList
);
struct
NR_SCS_SpecificCarrier
*
dl_scs_SpecificCarrierList
=
calloc_or_fail
(
1
,
sizeof
(
*
dl_scs_SpecificCarrierList
));
asn1cSeqAdd
(
&
frequencyInfoDL
->
scs_SpecificCarrierList
.
list
,
dl_scs_SpecificCarrierList
);
INIT_SETUP_RELEASE
(
PDCCH_ConfigCommon
,
scc
->
downlinkConfigCommon
->
initialDownlinkBWP
->
pdcch_ConfigCommon
);
NR_SetupRelease_PDCCH_ConfigCommon_t
*
pdcch_ConfigCommon
=
scc
->
downlinkConfigCommon
->
initialDownlinkBWP
->
pdcch_ConfigCommon
;
struct
NR_PDCCH_ConfigCommon
*
pdcchCCSetup
=
pdcch_ConfigCommon
->
choice
.
setup
;
pdcchCCSetup
->
controlResourceSetZero
=
calloc_or_fail
(
1
,
sizeof
(
*
pdcchCCSetup
->
controlResourceSetZero
));
pdcchCCSetup
->
searchSpaceZero
=
calloc_or_fail
(
1
,
sizeof
(
*
pdcchCCSetup
->
searchSpaceZero
));
pdcchCCSetup
->
commonControlResourceSet
=
NULL
;
INIT_SETUP_RELEASE
(
PDSCH_ConfigCommon
,
scc
->
downlinkConfigCommon
->
initialDownlinkBWP
->
pdsch_ConfigCommon
);
NR_SetupRelease_PDSCH_ConfigCommon_t
*
pdsch_ConfigCommon
=
scc
->
downlinkConfigCommon
->
initialDownlinkBWP
->
pdsch_ConfigCommon
;
pdsch_ConfigCommon
->
choice
.
setup
->
pdsch_TimeDomainAllocationList
=
calloc_or_fail
(
1
,
sizeof
(
*
pdsch_ConfigCommon
->
choice
.
setup
->
pdsch_TimeDomainAllocationList
));
scc
->
uplinkConfigCommon
=
calloc_or_fail
(
1
,
sizeof
(
*
scc
->
uplinkConfigCommon
));
scc
->
uplinkConfigCommon
->
frequencyInfoUL
=
calloc_or_fail
(
1
,
sizeof
(
*
scc
->
uplinkConfigCommon
->
frequencyInfoUL
));
scc
->
uplinkConfigCommon
->
initialUplinkBWP
=
calloc_or_fail
(
1
,
sizeof
(
*
scc
->
uplinkConfigCommon
->
initialUplinkBWP
));
NR_FrequencyInfoUL_t
*
frequencyInfoUL
=
scc
->
uplinkConfigCommon
->
frequencyInfoUL
;
NR_FreqBandIndicatorNR_t
*
ul_frequencyBandList
=
calloc_or_fail
(
1
,
sizeof
(
*
ul_frequencyBandList
));
frequencyInfoUL
->
frequencyBandList
=
calloc_or_fail
(
1
,
sizeof
(
*
frequencyInfoUL
->
frequencyBandList
));
asn1cSeqAdd
(
&
frequencyInfoUL
->
frequencyBandList
->
list
,
ul_frequencyBandList
);
frequencyInfoUL
->
absoluteFrequencyPointA
=
calloc_or_fail
(
1
,
sizeof
(
*
frequencyInfoUL
->
absoluteFrequencyPointA
));
frequencyInfoUL
->
p_Max
=
calloc_or_fail
(
1
,
sizeof
(
*
frequencyInfoUL
->
p_Max
));
struct
NR_SCS_SpecificCarrier
*
ul_scs_SpecificCarrierList
=
calloc_or_fail
(
1
,
sizeof
(
*
ul_scs_SpecificCarrierList
));
asn1cSeqAdd
(
&
frequencyInfoUL
->
scs_SpecificCarrierList
.
list
,
ul_scs_SpecificCarrierList
);
INIT_SETUP_RELEASE
(
RACH_ConfigCommon
,
scc
->
uplinkConfigCommon
->
initialUplinkBWP
->
rach_ConfigCommon
);
NR_SetupRelease_RACH_ConfigCommon_t
*
rach_ConfigCommon
=
scc
->
uplinkConfigCommon
->
initialUplinkBWP
->
rach_ConfigCommon
;
struct
NR_RACH_ConfigCommon
*
rachCCSetup
=
rach_ConfigCommon
->
choice
.
setup
;
rachCCSetup
->
ssb_perRACH_OccasionAndCB_PreamblesPerSSB
=
calloc_or_fail
(
1
,
sizeof
(
*
rachCCSetup
->
ssb_perRACH_OccasionAndCB_PreamblesPerSSB
));
rachCCSetup
->
rsrp_ThresholdSSB
=
calloc_or_fail
(
1
,
sizeof
(
*
rachCCSetup
->
rsrp_ThresholdSSB
));
rachCCSetup
->
msg1_SubcarrierSpacing
=
calloc_or_fail
(
1
,
sizeof
(
*
rachCCSetup
->
msg1_SubcarrierSpacing
));
rachCCSetup
->
msg3_transformPrecoder
=
calloc_or_fail
(
1
,
sizeof
(
*
rachCCSetup
->
msg3_transformPrecoder
));
*
rachCCSetup
->
msg3_transformPrecoder
=
NR_PUSCH_Config__transformPrecoder_disabled
;
INIT_SETUP_RELEASE
(
PUSCH_ConfigCommon
,
scc
->
uplinkConfigCommon
->
initialUplinkBWP
->
pusch_ConfigCommon
);
NR_SetupRelease_PUSCH_ConfigCommon_t
*
pusch_ConfigCommon
=
scc
->
uplinkConfigCommon
->
initialUplinkBWP
->
pusch_ConfigCommon
;
struct
NR_PUSCH_ConfigCommon
*
puschCCSetup
=
pusch_ConfigCommon
->
choice
.
setup
;
puschCCSetup
->
groupHoppingEnabledTransformPrecoding
=
NULL
;
puschCCSetup
->
pusch_TimeDomainAllocationList
=
calloc_or_fail
(
1
,
sizeof
(
*
puschCCSetup
->
pusch_TimeDomainAllocationList
));
puschCCSetup
->
msg3_DeltaPreamble
=
calloc_or_fail
(
1
,
sizeof
(
*
puschCCSetup
->
msg3_DeltaPreamble
));
puschCCSetup
->
p0_NominalWithGrant
=
calloc_or_fail
(
1
,
sizeof
(
*
puschCCSetup
->
p0_NominalWithGrant
));
INIT_SETUP_RELEASE
(
PUCCH_ConfigCommon
,
scc
->
uplinkConfigCommon
->
initialUplinkBWP
->
pucch_ConfigCommon
);
NR_SetupRelease_PUCCH_ConfigCommon_t
*
pucch_ConfigCommon
=
scc
->
uplinkConfigCommon
->
initialUplinkBWP
->
pucch_ConfigCommon
;
struct
NR_PUCCH_ConfigCommon
*
pucchCCSetup
=
pucch_ConfigCommon
->
choice
.
setup
;
pucchCCSetup
->
p0_nominal
=
calloc_or_fail
(
1
,
sizeof
(
*
pucchCCSetup
->
p0_nominal
));
pucchCCSetup
->
pucch_ResourceCommon
=
calloc_or_fail
(
1
,
sizeof
(
*
pucchCCSetup
->
pucch_ResourceCommon
));
pucchCCSetup
->
hoppingId
=
calloc_or_fail
(
1
,
sizeof
(
*
pucchCCSetup
->
hoppingId
));
scc
->
ext2
=
calloc_or_fail
(
1
,
sizeof
(
*
scc
->
ext2
));
scc
->
ext2
->
ntn_Config_r17
=
calloc_or_fail
(
1
,
sizeof
(
*
scc
->
ext2
->
ntn_Config_r17
));
scc
->
ext2
->
ntn_Config_r17
->
cellSpecificKoffset_r17
=
calloc_or_fail
(
1
,
sizeof
(
*
scc
->
ext2
->
ntn_Config_r17
->
cellSpecificKoffset_r17
));
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
->
ephemerisInfo_r17
->
present
=
NR_EphemerisInfo_r17_PR_positionVelocity_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
=
scc
->
ext2
->
ntn_Config_r17
->
ephemerisInfo_r17
->
choice
.
positionVelocity_r17
=
CALLOC
(
1
,
sizeof
(
*
scc
->
ext2
->
ntn_Config_r17
->
ephemerisInfo_r17
->
choice
.
positionVelocity_r17
));
calloc_or_fail
(
1
,
sizeof
(
*
scc
->
ext2
->
ntn_Config_r17
->
ephemerisInfo_r17
->
choice
.
positionVelocity_r17
));
}
}
// Section 4.1 in 38.213
// Section 4.1 in 38.213
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment