####################################
## SCFD file version: 0.8         ##
## PDDB version: TLF16A_1604_013  ##
####################################

#General checking for rule file execution
check_version minor TL17
check_version minor TLF17
check_version minor TLC17

#v0.3 change for TLF16A_1604_005 NIDD
#check_param minor LNCEL dlDynPcRange
#v0.3 end


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

#v0.2 change for TLF16A_1604_005 NIDD
####################################################################################################################
# CRL12797 Postpone LTE2572 RSRQ based B2 from FL16A/TL16A to FL17/TL17
####################################################################################################################
#No clear migration requirements defined - to avoid prechecks and pronto cases deletion for all removed parameter added as follow:
#Parameter delteion: 
#LNBTS-actRsrqInterRatMobility
del_param minor LNBTS actRsrqInterRatMobility

# => There is needed also to change exit rule for  SCFDFB1601v00.txt!!! Needs to be used SCFDFB1601v00.txt parameter LNBTS actRSRPRSRQHist as an exit rule!

#LNHOX	rsrqB2RttMobilityParams.
#LNHOX	rsrqB2RttMobilityParams.b2Threshold1RsrqRtt
#LNHOX	rsrqB2RttMobilityParams.b2TimeToTriggerRsrqRttMeas
#LNHOX	rsrqB2RttMobilityParams.hysB2ThresholdRsrqRtt
#LNHOX	rsrqB2RttMobilityParams.reportIntervalRsrqRtt
del_list minor LNHOX rsrqB2RttMobilityParams


####################################################################################################################
# CRL12793 Remove LTE2714 Service based handover RSRQ thresholds from FL16A/TL16A
####################################################################################################################
#No clear migration requirements defined - to avoid prechecks and pronto cases deletion for all removed parameter added as follow:
#Parameter deletions: 
#LNBTS actRsrqMobilityThreshQci1
del_param minor LNBTS actRsrqMobilityThreshQci1

# => There is needed also to change exit rule for  SCFDFB1603v01.txt!!! Needs to be used SCFDFB1604v00.txt parameter exit rule!

#LNCEL	rsrqMobilityParams.threshold2MobRsrqQci1
#LNCEL	rsrqMobilityParams.threshold2aRsrqQci1
del_list_param minor LNCEL rsrqMobilityParams threshold2MobRsrqQci1
del_list_param minor LNCEL rsrqMobilityParams threshold2aRsrqQci1

#LNHOG	rsrqB2GERANMobilityParams.
#LNHOG	rsrqB2GERANMobilityParams.b2Threshold1RsrqGERAN
#LNHOG	rsrqB2GERANMobilityParams.b2Threshold1RsrqGERANQci1
#LNHOG	rsrqB2GERANMobilityParams.b2TimeToTriggerRsrqGERANMeas
#LNHOG	rsrqB2GERANMobilityParams.hysB2ThresholdRsrqGERAN
#LNHOG	rsrqB2GERANMobilityParams.reportIntervalRsrqGERAN
del_list minor LNHOG rsrqB2GERANMobilityParams

#LNHOH	rsrqB2HrpdMobilityParams.
#LNHOH	rsrqB2HrpdMobilityParams.b2Threshold1RsrqHrpd
#LNHOH	rsrqB2HrpdMobilityParams.b2TimeToTriggerRsrqHrpdMeas
#LNHOH	rsrqB2HrpdMobilityParams.hysB2ThresholdRsrqHrpd
#LNHOH	rsrqB2HrpdMobilityParams.reportIntervalRsrqHrpd
del_list minor LNHOH rsrqB2HrpdMobilityParams

#LNHOIF	a3OffsetRsrqInterFreqQci1
#LNHOIF	rsrqA5InterFreqMobilityParams.threshold3RsrqInterFreqQci1
#LNHOIF	rsrqA5InterFreqMobilityParams.threshold3aRsrqInterFreqQci1
del_param minor LNHOIF a3OffsetRsrqInterFreqQci1
del_list_param minor LNHOIF rsrqA5InterFreqMobilityParams threshold3RsrqInterFreqQci1
del_list_param minor LNHOIF rsrqA5InterFreqMobilityParams threshold3aRsrqInterFreqQci1

#LNHOW	rsrqB2UtraMobilityParams.
#LNHOW	rsrqB2UtraMobilityParams.b2Threshold1RsrqUtra
#LNHOW	rsrqB2UtraMobilityParams.b2Threshold1RsrqUtraQci1
#LNHOW	rsrqB2UtraMobilityParams.b2TimeToTriggerRsrqUtraMeas
#LNHOW	rsrqB2UtraMobilityParams.hysB2ThresholdRsrqUtra
#LNHOW	rsrqB2UtraMobilityParams.reportIntervalRsrqUtra
del_list minor LNHOW rsrqB2UtraMobilityParams


####################################################################################################################
# PR147390: inconsistent values: actGsmRedirWithSI (LNBTS) &amp; actRedirect (LNBTS)
####################################################################################################################
#No migration impact

####################################################################################################################
# PR152219: [FDLTE] Missing preconditions in the description of parameter relationship of cellResourceSharingMode and actUciOnlyGrants in relation to maxNumScells
####################################################################################################################
#No migration impact

####################################################################################################################
# PR153053: [NA16.5][CM Editor] Problem with remove parameters in new FL16A MOCs
####################################################################################################################
#No migration impact



#FZM specific
####################################################################################################################
# LTE2600 FWZx Flexi Zone Dual Band 2T/2R 1800/2600 BTS (CEPT LB)
####################################################################################################################
#No migration impact


#FZC specific
####################################################################################################################
# PR135326: [FLF16A] Configuration: Daisy Chain - None and QoS awaer Eth switching - enabled is allowed on FWGB (without WiFi)
####################################################################################################################
#No migration impact


####################################################################################################################
# PR152636: [FLC16A][TLC16A] Add APTAC::tacOverbookingLimit for support of LTE2832 on eNB Zone
####################################################################################################################
#No migration impact

#v0.2 end


#v0.4 change for TLF16A_1604_008 NIDD
####################################################################################################################
# LBT3994-A/LBT3994-B - ISHPR-prefAlignment=macroOnly renaming
####################################################################################################################
#OM_LTE_SFS_RNL.16794
#Migration of parameters ISHPR-prefAlignment
#If in configuration before FL16/TL16 MP and the following parameter are set as defined below:
#ISHPR-prefAlignment  is set to 'macroOnly'
#Following parameter migration is needed for each LNCEL instance if the above mentioned condition is satisfied:
#1) ISHPR-prefAlignment prefAlignment for all those cells shall be set to the default value "pciModBased".

dependence_mod_param_conditional_expression_relative minor PARAM MRBTS/LNBTS/ISHPR prefAlignment = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/ISHPR-${ISHPR} prefAlignment == CONST "macroOnly" ? CONST "pciModBased" :


#FZM/FZC specific
####################################################################################################################
# PR154478: [FLF16A] [FLC16A] remove FZM/FZC counters and MTs not supported in RL16A
####################################################################################################################
#PMRNL mtFZAPGNSS: FZM: parameter is not shown at the GUI and set to '15min'
dependence_mod_param_conditional_expression_relative minor PARAM MRBTS/LNBTS/PMRNL mtFZAPGNSS = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/FTM-1/UNIT-1 unitTypeExpected != CONST "FZC1100" && PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/PMRNL-${PMRNL} mtFZAPGNSS != CONST "15min" ? CONST "15min" :

#PMRNL mtGNSS: FZC: parameter is not shown at the GUI and set to '15min'
dependence_mod_param_conditional_expression_relative minor PARAM MRBTS/LNBTS/PMRNL mtGNSS = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/FTM-1/UNIT-1 unitTypeExpected == CONST "FZC1100" && PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/PMRNL-${PMRNL} mtGNSS != CONST "15min" ? CONST "15min" :

#v0.4 end


#v0.5 change for TLF16A_1604_010 NIDD
####################################################################################################################
# CRL13512 Change default value of parameter maxBitrateUl
####################################################################################################################
#LNCEL maxBitrateUl 60000-->75000


#FZM/FZC specific
####################################################################################################################
# PR158301: [FZC/FZM]RMOD:moduleLocation should be deleted or hidden from GUI
####################################################################################################################
#OM_LTE_SFS_RNL.16861 Migration rule for SMOD:ModuleLocation and RMOD:ModuleLocation
#1) If the RMOD:ModuleLocation is set and the SMOD:ModuleLocation is not set in FL16/TL16, set the SMOD:ModuleLocation to the value in RMOD:ModuleLocation. 
#2) Delete RMOD:ModuleLocation if it exists

#1.store SMOD moduleLocation if exists
copy_param minor SMOD SMOD moduleLocation tempModuleLocation

#2.copy RMOD moduleLocation if exists, overwrites SMOD moduleLocation
copy_param_relative minor MRBTS/RMOD MRBTS-${MRBTS}/SMOD-* moduleLocation moduleLocation

#3.restore old SMOD moduleLocation if existed
copy_param minor SMOD SMOD tempModuleLocation moduleLocation

#4.delete temp parameter
del_param minor SMOD tempModuleLocation

#5.delete RMOD moduleLocation
del_param minor RMOD moduleLocation


#FZC specific
####################################################################################################################
# PR121249: [LTE2895] S1 down after setting Traffic shaper
####################################################################################################################
check_param_value minor APIEIF sbs 4000 1000000
check_param_value minor APIEIF sbsTotal 4000 1000000

#v0.5 end


#v0.6 change for TLF16A_1604_010_0.1 NIDD
#FZC specific
####################################################################################################################
# CRL13750 - Hide actMBMS in the GUI
####################################################################################################################
#LNBTS actMBMS: FZC: This parameter is not shown at the GUI and set to 'false'
dependence_mod_param_conditional_expression_relative minor PARAM MRBTS/LNBTS actMBMS = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/FTM-1/UNIT-1 unitTypeExpected == CONST "FZC1100" && PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} actMBMS != CONST "false" ? CONST "false" :


#FZM/FZC specific
####################################################################################################################
# PR168766: 256QAM value of actModulationSchemeDl should be not allowed in FZM/FZC
####################################################################################################################
dependence_mod_param_conditional_expression_relative minor PARAM MRBTS/LNBTS/LNCEL actModulationSchemeDl = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL} actModulationSchemeDl == CONST "256QAM" ? CONST "64QAM" :

#v0.6 end


#v0.8 change for TLF16A_1604_013 NIDD
####################################################################################################################
# PR186237: [ATT][AirScale] Setting QRxLevMinOffset to 18 on cells resulted in Alarm 6253 and all cells went out of order
####################################################################################################################
# From: Basir, Adnan (Nokia - US/Irving) -> We can leave the qRxLevMinOffset value as blank and it will mean it is not being used

dependence_del_param minor SIB qRxLevMinOffset 18 qRxLevMinOffset

#v0.8 end


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

################################################################################################
# CRL11618 Crs de-boost for CMCC
################################################################################################

add_param minor LNCEL dlDynPcRange OFF


#v0.7 change for TLF16A_1604_011 NIDD
####################################################################################################################
# CRL13942 Advance to TL16A MP LTE3290 SRVCC trigger enhancement
####################################################################################################################
# OM_LTE_SFS_RNL.17214
#Migration of the new parameters for LTE3290
#		The mandatory LNBTS parameters srvccDelayTimer must be initialized with the default value

add_param minor LNBTS srvccDelayTimer 0

#v0.7 end





#version
#FZM Replace# set_version major TL16A
dependence_set_version major PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/FTM-${FTM}/UNIT-${UNIT} unitTypeExpected == CONST "FZC1100" ? CONST "TLC16A" : CONST "TLF16A"

#history:
#FZM Replace# add_log minor "Conversion from TL16A FB16.04 (003) to TL16A FB16.04 (013)"
add_log minor "Conversion from TLF16A FB16.04 (003) to TLF16A FB16.04 (013)"