###########################################
## SCFD file version: 0.3                ##
## Release: TLF/TLC18SP_1712_002         ##
## LTE version: TLF18SP_RADIO_1712_002   ##
## LTE version: TLC18SP_RADIO_1712_002   ##
###########################################



###########
# COMMON: #
###########

####################################################################################################################
# LTE4411 Cat-M1: Connected Mode Mobility Support (Phase-I; Intra-Freq Only)
####################################################################################################################
#OM_LTE_SFS_RNL.19755 Migration of the new mandatory LTE4411 parameters
#Generally mandatory parameter is initialized with its default value.
#If LTE3128/LTE3582/LTE3597 is enabled in the cell (actCatM is set to 'true' and catMProfId refer to one entry of MOC CATMPR), the following new mandatory parameters must be initialized with the default values:
#­	CATMCEL-actIntraFreqHoCatM
#­	CATMPR-t304IntraLteCatM
#­	CATMCEL-actIntraFreqHoCatM
#­	CATMCEL-threshold2IntraFreqCatM
#­	CATMCEL-hysThreshold2IntraFreqCatM
#­	CATMCEL-a2TimeToTriggerIntraFreqCatM
#If LNCEL-threshold2a is configured, CATMCEL-threshold2IntraFreqCatM must be less than or equal to threshold2a.

add_param minor CATMCEL a2TimeToTriggerIntraFreqCatM 480ms
add_param minor CATMCEL actIntraFreqHoCatM false
add_param minor CATMCEL hysThreshold2IntraFreqCatM 0
#add_param minor CATMCEL threshold2IntraFreqCatM 42
add_param minor CATMPR t304IntraLteCatM 2000ms

#v0.3 Add the relation check for threshold2IntraFreqCatM according to updated requirement.
function_relative minor PARAM MRBTS/LNBTS/LNCEL/CATMCEL threshold2IntraFreqCatM = min int ( CONST 42 PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL} threshold2a )
#v0.3 end





####################################################################################################################
# LTE4495 Cat-M1: eMBMS Coexistence Support
####################################################################################################################
#OM_LTE_SFS_RNL.20216 Migration of the LTE4495 parameters
#Creation/initialization of new parameters:
#Generally mandatory parameter is initialized with its default value.
#            - CATMCEL - mpdcchStartSfCssCatM
#            - CATMCEL - mpdcchStartSfUessCatM
#If LTE4495 is enabled in the cell (actCatM is set to 'true' and cactMBMS is set to 'true'), the following new mandatory parameter must be initialized with its default value:
#	- CATMCEL - actSf9InvalidLVRBCatM
#Migration of existing parameters/MOCs:
#If LNCEL_FDD - actCatM is set to 'true', SIB-modPeriodCoeff must be configured with (rf512/LNCEL-defPagCyc).

add_param minor CATMCEL actSf9InvalidLVRBCatM true
copy_param minor LNCEL LNCEL defPagCyc tempDefPagCyc
regex_replace minor PARAM MRBTS-*/LNBTS-*/LNCEL-* tempDefPagCyc REPLACE "rf" ALL ""
dependence_mod_param_conditional_expression_relative minor PARAM MRBTS/LNBTS/LNCEL/SIB modPeriodCoeff = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL}/LNCEL_FDD-0 actCatM == CONST "true" ? CONST 512 / PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL} tempDefPagCyc :
del_param minor LNCEL tempDefPagCyc
del_param minor CATMPR mpdcchStartSfCssCatM
del_param minor CATMPR mpdcchStartSfUessCatM





####################################################################################################################
# LTE3897 Flexible intra eNB UL CoMP/LTE3286 Flexible intra ABIA UL CoMP
####################################################################################################################
#OM_LTE_SFS_RNL.17695 During migration to release 18SP following tasks need to be done, no matter if the BTS serves FDD or TDD cells.
#(1) if a CoMP feature has been activated in the previous configuration
#(1.1) if intra-eNB UL CoMP has been activated, i.e. actUlCoMp is set to 'true' then in same Managed Object Instance MO (LNBTS) parameter actCoMp with value "fixedULCoMp" shall be added
#(1.2) if CRAN has been activated, i.e. actCRAN  is set to 'true' then in same Managed Object Instance (LNBTS) parameter actCoMp with value "CRAN" shall be added
#(2) if no CoMP feature has been activated in the previous configuration then in LNBTS parameter actCoMp with value "disabled" shall be added
#Parameter actUlCoMp and actCRAN shall be removed from the original configuration.
#The remodeling of the parameter will also impact the TDD functionality how the feature are being activated.

add_param minor LNBTS actCoMp disabled
del_param minor LNBTS actUlCoMp





####################################################################################################################
# LTE4063 NB-IoT: Online parameters and SIB modification
####################################################################################################################
#OM_LTE_SFS_RNL.19654 Migration of the new mandatory LTE4063 parameter
#Generally mandatory parameter is initialized with its default value.
#If LTE3071/LTE3543/LTE3509 is enabled in the cell (NBIoTProfId refer to one entry of MOC NBIOTPR), the following new mandatory parameter must be initialized with its default value:
#      -  NBIOTPR-tExtendedWaitNB

add_param minor NBIOTPR tExtendedWaitNB 600





#v0.2 Add the mandatory parameter LNCEL-actEDrxIdleCatM back which was removed in TLF18_RADIO_1711_005
####################################################################################################################
add_param minor LNCEL actEDrxIdleCatM "false"
#v0.2 end





###########
# TDD:    #
###########

#FZM specific
####################################################################################################################
# LTE3098-H B48 A-MPR support on the FZM eNB
####################################################################################################################
#OM_LTE_SFS_RNL.19972 Generally mandatory parameter is initialized with its default value.
#LNCEL_TDD::actUlPwrRestrScn
add_param minor LNCEL_TDD actUlPwrRestrScn none



#history:
add_log minor "Conversion from TLF/TLC18_RADIO_1711_002 to TLF/TLC18SP_RADIO_1712_002"