####################################
## SCFD file version: 0.3         ##
## PDDB version: TLF16A_1603_004  ##
####################################

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

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


#v0.3 LNBTS actRsrqMobilityThreshQci1 deleted in SCFDFB1606v00.txt, use ANR autoUtraNeighRemovalThres, which was added in SCFDFB1604v00.txt
#check_param minor LNBTS actRsrqMobilityThreshQci1
check_param minor ANR autoUtraNeighRemovalThres
#v0.3 end

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

###### version _003: 

#Macro specific
################################################################################################	
# CRL9930 Add fault 2004 to alToggSuppLis
################################################################################################
#Enum value extended.
# No impact to the migration

################################################################################################
# CRL11705 Descoping for LTE2276 in FL16A
################################################################################################
# Parameter moved to xL17 PREP module as optional: a3ScellDiscoveryTimer.
# https://jira3.int.net.nokia.com/browse/LTERLCR-11705
# No explisite migration requirements found!!! OM_LTE_SFS_RNL.15584 set as deleted but CAGENB MOC is still in NIDD!!

del_param minor CAGENB a3ScellDiscoveryTimer

#or alternatively:
#del_cls minor CAGENB


################################################################################################
# CRL11247 Remove LTE2494 Cell trace suspension at eNB overload and LTE2797 BiCD Rapid software download 
################################################################################################
#Parameter moved to xL17 PREP module as optional: cellTraceSuspOvl1Delay, cellTraceSuspOvl2Delay, actCellTraceOvlHandling, enableHardCellTraceSusp, enableSoftCellTraceSusp, cellTraceResumingDelay (FDD).
# https://jira3.int.net.nokia.com/browse/LTERLCR-11247
# No explisite migration requirements found!!! 
# Following parameters deleted and needs to be removed during migration to avoid problems:

del_param minor CTRLTS cellTraceResumingDelay
del_param minor CTRLTS cellTraceSuspOvl1Delay
del_param minor CTRLTS cellTraceSuspOvl2Delay

del_param minor LNBTS actCellTraceOvlHandling

del_list_param minor LNBTS cpovlha enableHardCellTraceSusp
del_list_param minor LNBTS cpovlha enableSoftCellTraceSusp
del_list_param minor LNBTS upovlha enableHardCellTraceSusp
del_list_param minor LNBTS upovlha enableSoftCellTraceSusp


################################################################################################
# LTE2714 Service based handover RSRQ thresholds
################################################################################################
#New parameter added: actRsrqMobilityThreshQci1, threshold2MobRsrqQci1, threshold2aRsrqQci1, b2Threshold1RsrqGERANQci1, b2Threshold1RsrqUtraQci1, threshold3RsrqInterFreqQci1, threshold3aRsrqInterFreqQci1. a3OffsetRsrqInterFreqQci1.
# OM_LTE_SFS_RNL.15621: The following new mandatory parameters must be initialized with their default values: LNBTS-actRsrqMobilityThreshQci1 ('false')

add_param minor LNBTS actRsrqMobilityThreshQci1 false


###### version _004:

## FDD and TDD ##

#Macro specific
################################################################################################
# LTE955  IPv6
#   sdlPrimaryDestIp supports IPv6
################################################################################################ 
# No migration impact


#FZC specific
################################################################################################
# LBT3800-B
################################################################################################
#no migration impact, no CFAM
 
 
#FZC specific
################################################################################################
# LBT2364-B late changes
################################################################################################
#if APL2SW vlanAwareSwitch = "false" value of APELNK-portDefaultPriority and APL2SW-portDefaultPriority
# must be set to 0 and cannot be changed. Otherwise operator can change this value

dependence_mod_param_conditional_expression_relative minor PARAM MRBTS/SMOD/APMOD/APELNK portDefaultPriority = PARAM MRBTS-${MRBTS}/SMOD-${SMOD}/APMOD-${APMOD}/APL2SW-1 vlanAwareSwitch == CONST "false" ? CONST "0" :
dependence_mod_param minor APL2SW vlanAwareSwitch false portDefaultPriority 0
del_param minor APFTM packetFwdPort


############
# Prontos: #
############
###### version _003: 

## FDD and TDD ##
################################################################################################
# PR130852: [LTE2645][Trunk]Manual GNSS location entry fields should be non configurable in automatic mode
################################################################################################
# No migration requirements => no migration done!! May cause issues in R&D test lines!!!

################################################################################################
# PR126815: FL16A [LTE2057]: Lack of consistency check when IFGPRs have identical 'groupPrio' parameter
################################################################################################
# No migration requirements => no migration done!! May cause issues in R&D test lines!!!

################################################################################################
# PR130786: [LTE2202][FL16A] Missing consistency check
################################################################################################
# No migration impact

#Macro specific
################################################################################################
# PR128864: [SB][FL16][LTE2060][JCST]actFlexScellSelect is defined as BTS restart needed
################################################################################################
# No migration impact

################################################################################################
# PR128741: [SB FL16 eNB JCST] [LTE1541] The counting of bad channel quality estimation should be increased every time the counting for undetected Scell is also incremented.
################################################################################################
# No migration impact

################################################################################################
# PR126292: REDRT: redirRat refers to the deleted parameter
################################################################################################
# No migration impact

#Macro specific
################################################################################################
# PR129774 : Problem responsibility transferred. (FL00,, C - Minor,[FL16A][LTE955][FSMr3][FSMr4]BTSSM commissioning do not support IPv6 for parameter sdlPrimaryDestIp)
################################################################################################
# TBD??

################################################################################################
# PR126926: [TL15A FISH][open cpri UZFA]The additional info is not complete in RF Dia
################################################################################################
# TBD??

################################################################################################
# PR128942: [FL16A][LTE678] Add consistency check
################################################################################################
# TBD??


###### version _004:

################################################################################################
# PR133776: iFLBHighLoadNonGBRDL in xL16 refers to deleted parameter
################################################################################################
# No migration impact

################################################################################################
# PR130695: [FL00] consistency check  maxNumActDrb
################################################################################################
# R&D issues may seen, No migration requirements => no migration done!!


################################################################################################
# PR130173: [TL16A][LTE2591] The definition of parameter "ueLevelMroOffset" is not correct
################################################################################################
# Range changed ==> R&D issues may seen, but no migration requirements => no migration!!!

#dependence_mod_param_conditional_expression_relative minor PARAM MRBTS/LNBTS/LNCEL ueLevelMroOffset = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL} ueLevelMroOffset == CONST 0 ? CONST -3 :
#dependence_mod_param_conditional_expression_relative minor PARAM MRBTS/LNBTS/LNCEL ueLevelMroOffset = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL} ueLevelMroOffset == CONST 1 ? CONST -2 :
#dependence_mod_param_conditional_expression_relative minor PARAM MRBTS/LNBTS/LNCEL ueLevelMroOffset = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL} ueLevelMroOffset == CONST 2 ? CONST -1 :
#dependence_mod_param_conditional_expression_relative minor PARAM MRBTS/LNBTS/LNCEL ueLevelMroOffset = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL} ueLevelMroOffset == CONST 3 ? CONST 0 :



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

## TDD only ##

#Macro specific
################################################################################################
# LTE2531 FDD downlink Carrier Aggregation 4CC/5CC
################################################################################################
# qciTab70 /rlcProfIdx4cc5cc deleted

del_list_param minor LNBTS qciTab70 rlcProfIdx4cc5cc



################################################################################################
# CRL11535 Move LTE2532 ('TDD downlink carrier aggregation with 4 layers MIMO') from TDD-LTE 16A to TDD-LTE 17
################################################################################################
#pref4LayerMimoVsCAggr must be configured if all of the following conditions are fulfilled:
#- LNCEL dlMimoMode is set to 'Closed Loop MIMO (4x4)' AND
#- LBNTS actDLCAggr is set to 'true

add_param minor LNCEL pref4LayerMimoVsCAggr priority_4layer_MIMO
dependence_del_target_relative minor PARAM MRBTS/LNBTS/LNCEL pref4LayerMimoVsCAggr ? PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL} dlMimoMode != CONST "Closed Loop MIMO (4x4)"
dependence_del_target_relative minor PARAM MRBTS/LNBTS/LNCEL pref4LayerMimoVsCAggr ? PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} actDLCAggr != CONST "true"

del_list_param minor LNBTS pdcpProf1 snSize
del_list_param minor LNBTS pdcpProf2 snSize
del_list_param minor LNBTS pdcpProf3 snSize
del_list_param minor LNBTS pdcpProf4 snSize
del_list_param minor LNBTS pdcpProf5 snSize



#FZM specific
################################################################################################
# LTE2959-A-b CRL10769 Flexi Zone Single Frequency Network Support - Standalone Pico TDD - Config 1 and 2 - FZM/AP/SFN ANT(Non-SFN release) conversion to SFN ANT
################################################################################################
#If operatingMode is set to Normal, then all LNCELs within the BTS must have actSuperCell set to false.
#If operatingMode is set to SFN, then all LNCELs within the BTS must have actSuperCell set to true

del_list_param minor LCELL resourceList subCellId



#FZC specific
################################################################################################
# LTE2959-C-b CRL10769 Flexi Zone Single Frequency Network Support - FZC TDD - Config 1 and 2 - FZM/AP/SFN ANT(Non-SFN release) conversion to SFN ANT
################################################################################################
#If sfnPort is set to a value not equal to none, then the daisyChainPort must be set to none.
#If sfnPort is set to a value not equal to 'none', then actWiFi must be set to 'false'.
#If sfnPort is set to a value not equal to 'none', then enableLayer2Switching must be set to 'false'.






############
# Prontos: #
############ 
## TDD only ##

###### version _003:

#Macro specific
################################################################################################ 
# PR122327: [LTE2586]BTSSM doesn't support to configure supercell and normal cell together - LTE2586 included
################################################################################################
# No migration impact


###### version _004:

################################################################################################
# PR127507: [PDDB][LTE2828] Parameters chBw and mbsfnDlChBw is missing inthe description of parameter relationships of drxProfile2-drxRetransT in TDD
################################################################################################
# No migration impact

#Macro specific
################################################################################################
#PR133469: [TL16 IODT]the parameter relationship between dlMimoMode and csiRepSubmode missed
################################################################################################
# No migration impact


####################
# review comments: #
####################
###### version _003:

## FDD and TDD ##
#Macro specific
################################################################################################
# bbPoolId
#   MO MinOccurs value changed from 1 to 0.
################################################################################################
# No impact to the migration

################################################################################################
# sgwIpAddressList, cPlaneIpAddr, ipAddrPrim, ipAddrSec
#   Feature name corrected.
################################################################################################
# No impact to the migration

################################################################################################
# mceId
#   Description changed.
################################################################################################
# No impact to the migration

################################################################################################
# pmRPQHId
#   Range changed to from 01 to 11
################################################################################################
# No impact to the migration but may cause issues in test lines!! No migration requirement => no migration

################################################################################################
# powerGroupId
#   MO MinOccurs value changed from 1 to 0.
################################################################################################
# No migration impact

################################################################################################
# iFLBHighLoadNonGBRDL
#   Relationships corrected.
################################################################################################
# No impact to the migration


## TDD only ##



#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.03 (002) to TL16A FB16.03 (004)"
add_log minor "Conversion from TLF16A FB16.03 (002) to TLF16A FB16.03 (004)"