####################################
## SCFD file version: 0.6         ##
## PDDB version: TLF16A_1511_004  ##
####################################

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

#v0.6 exit rule for 17SP
check_version minor TLF17SP
check_version minor TLC17SP
#v0.6 end


check_param minor LNBTS actA3ScellSelect


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

################################################################################################
# LTE2276 Measurement based SCell selection [Standard]
################################################################################################
# OM_LTE_SFS_RNL.14839, OM_LTE_SFS_RNL.15108

add_param minor CADPR a3MeasQuantity RSRP
#v0.5 PR114462 a3Offset default value from 10 to -30 as changed by NIDD xL16S4_1512_003
add_param minor CADPR a3Offset -30
add_param minor CADPR a3TimeToTrigger ms320
add_param minor CADPR enableA3Event true
add_param minor CADPR hysA3Offset 10
#v0.5 PR114462 scellMeasThreshRsrp default value from -100 to -110 as changed by NIDD xL16S4_1512_003
add_param minor CADPR scellMeasThreshRsrp -110
add_param minor CADPR scellMeasThreshRsrq -120
#v0.3 Own finding, CAGENB need to be added conditionally, OM_LTE_SFS_RNL.15584
#MOC CAGENB addition
#If actDLCAggr is configured to 'true' in the SCF to be migrated to FL16A/TL16A, all of the following migration tasks are to be done
#the class CAGENB shall be added with the instance ID "0"
#CAGENB-a3ScellDiscoveryTime shall be added with its default value.
#v0.4 PR104399: [FL16A] SCFC migration to Trunk - CAGENB - incorrect MOC placement
add_cls minor LNBTS/CAGENB-0
set_operation minor CAGENB create
dependence_del_target_relative minor MOC MRBTS/LNBTS/CAGENB ? PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} actDLCAggr != CONST "true"
#v0.4 end
#v0.3 end
add_param minor CAGENB a3ScellDiscoveryTimer 3000
#Macro specific
#add_param minor CAPR a3MeasQuantity RSRP
#v0.5 PR114462 a3Offset default value from 10 to -30 as changed by NIDD xL16S4_1512_003
#add_param minor CAPR a3Offset -30
#add_param minor CAPR a3TimeToTrigger ms320
#add_param minor CAPR enableA3Event true
#add_param minor CAPR hysA3Offset 10
#v0.5 PR114462 scellMeasThreshRsrp default value from -100 to -110 as changed by NIDD xL16S4_1512_003
#add_param minor CAPR scellMeasThreshRsrp -110
#add_param minor CAPR scellMeasThreshRsrq -120
add_param minor LNBTS actA3ScellSelect false

################################################################################################
# LTE2532 TDD downlink carrier aggregation with 4 layers MIMO"
################################################################################################
# OM_LTE_SFS_RNL.14855, maxNumOfSuppMimoLayer - macro specific

#add_param minor CAREL maxNumOfSuppMimoLayer "2-layer"
del_param minor LNCEL pref4LayerMimoVsCAggr

################################################################################################
# LTE2645 GNSS Manual Location Entry for Macro BTS
################################################################################################
# OM_GEN_SFS_TNL.873

#Macro specific
#add_param minor GNSSE locationMode automatic
mod_param minor GNSSI locationMode surveyed manual
mod_param minor GNSSI locationMode navigated automatic
#FZC specific
mod_param minor APMOD locationMode surveyed manual
mod_param minor APMOD locationMode navigated automatic

################################################################################################
# LTE2460 Automatic access class barring with PLMN disabling
################################################################################################
# OM_LTE_SFS_RNL.15186, OM_LTE_SFS_RNL.15187
#Migration of the legacy parameter 'autoACBarringStopTimer'

#During migration the existing parameter autoACBarringStopTimer shall be renamed to autoAcbPlmnRmvlStopTimer.
#That means a new SIB level parameter autoAcbPlmnRmvlStopTimer shall be created. It should have the same value as the legacy parameter autoACBarringStopTimer.
#autoACBarringStopTimer shall be deleted.

#Hint: LTE2828 is moving the parameter autoACBarringStopTimer from LNCEL to SIB. The above migration rule is based on the assumption, that LTE2828-A and its migration rules are already implemented.

#Migration of new parameters

#The following new mandatory parameters must be initialized with their default values:
#- LNBTS-actAutoPlmnRemoval 
#- SIB-autoPlmnRmvlStartTimer
#- LNCEL-furtherPlmnIdL-autoRemovalAllowed

add_param minor LNBTS actAutoPlmnRemoval false
rename_param minor LNCEL autoACBarringStopTimer autoAcbPlmnRmvlStopTimer
add_param minor LNCEL autoPlmnRmvlStartTimer 300
add_list_param minor LNCEL furtherPlmnIdL * autoRemovalAllowed false

################################################################################################
# LTE2766 Flexible QCI/ARP PM Counter Profiles
################################################################################################

mod_param minor PMRNL mtActUsersLatencyPMQAPProfile 15min disabled

################################################################################################
# LTE1723 S1 based handover towards Home eNode B
################################################################################################
# OM_LTE_SFS_RNL.15224

add_param minor LNBTS actHeNBS1Mobility false
add_param minor LNHENB enbIdSize 28
add_param minor PMRNL mtInterHomeeNBHo 0

################################################################################################
# LTE2559 ARP based partial admission control for handover
################################################################################################
# OM_LTE_SFS_RNL.15016

add_param minor LNBTS actPartialAcHo false

################################################################################################
# LTE2611-A: Introduction of public safety specific QCI bearers
################################################################################################

mod_list_param minor LNBTS qciTab65 qciSupp ENABLED ENABLE
mod_list_param minor LNBTS qciTab65 qciSupp DISABLED DISABLE
mod_list_param minor LNBTS qciTab66 qciSupp ENABLED ENABLE
mod_list_param minor LNBTS qciTab66 qciSupp DISABLED DISABLE
mod_list_param minor LNBTS qciTab69 qciSupp ENABLED ENABLE
mod_list_param minor LNBTS qciTab69 qciSupp DISABLED DISABLE
mod_list_param minor LNBTS qciTab70 qciSupp ENABLED ENABLE
mod_list_param minor LNBTS qciTab70 qciSupp DISABLED DISABLE

################################################################################################
# LTE2477 3GPP baseline R12 06/2015
################################################################################################

add_param minor PMRNL mtUEQuantity 0min


################################################################################################
# LTE2486 Security improvements
################################################################################################

add_param minor SECADM passwdHistoryLength 0


#FZM/FZC specific

########################################################################################################
# LTE2063 : PR 155098ESPE02: Clean up LTE2063 PDDB due to LTE2063 scope changes in RL15A 
########################################################################################################

del_param minor MRBTS locationMode

################################################################################################
# PR084223: Misc PDDB cleanup for LTE2569-F &amp; K
################################################################################################
# holdOverModeUsed hidden at the GUI, set to false

mod_param minor BTSSCL holdOverModeUsed true false

################################################################################################
# LTE1997 Flexi Zone Zone-Based Self Configuration
################################################################################################
#FTM-2156

add_param minor LNBTS actZson false

################################################################################################
# PR099369: GNSSI parameters are visible in BTSSM due to mistake in NIDD,addDefaultNoGuiSupport set to "true"
################################################################################################
# hidden at the GUI:

dependence_mod_param_if_key_parameter_value_matches minor UNIT unitTypeExpected FZC1100 GNSSI actGnssOutputLnaPowerSupply false
#dependence_mod_param_if_key_parameter_value_matches minor UNIT unitTypeExpected FZC1100 GNSSI gnssControlMode All-in-view
#dependence_mod_param_if_key_parameter_value_matches minor UNIT unitTypeExpected FZC1100 GNSSI locationMode automatic



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

################################################################################################
# X
################################################################################################

add_list_param minor LNBTS pdcpProf1 * snSize 12bit
add_list_param minor LNBTS pdcpProf2 * snSize 12bit
add_list_param minor LNBTS pdcpProf3 * snSize 12bit
add_list_param minor LNBTS pdcpProf4 * snSize 12bit
add_list_param minor LNBTS pdcpProf5 * snSize 12bit

################################################################################################
# LTE2361 Configurable BTS login banner
################################################################################################

del_param minor SECADM platLoginBannerText

#v0.2
# FZM/FZC specific
################################################################################################
# LTE2792 eMBMS with a centralized MCE (M2 interface)
################################################################################################
# no migration in CFAM

add_param minor LNBTS actMBMSCntr false
#v0.2 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 FB15.11 (002) to TL16A FB15.11 (004)"
add_log minor "Conversion from TLF16A FB15.11 (002) to TLF16A FB15.11 (004)"