####################################
## SCFD file version: 0.3         ##
## PDDB version: TLF16S4_1510_002 ##
####################################

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

#v0.3
# LTE2658-A-c System upgrade to TD-LTE 16A - parameter conversion for FB15.12 TDD
# LNBTS-actUeBasedAnrRtt renamed in 15.12 as actAnrRtt, new check parameter (ANR-actAutoRttNeighRemoval) shall be taken into use here.
#check_param minor LNBTS actUeBasedAnrRtt
check_param minor ANR actAutoRttNeighRemoval
#v0.3 end

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

################################################################################################
# LTE2562 ANR InterRat 1xRTT - O&M assisted
################################################################################################

add_param minor LNBTS actUeBasedAnrRtt false


#v0.2, ANR object incoorectly created with default instance id 1, added specific id 0
add_cls minor MRBTS/LNBTS/ANR-0
#v0.2 end
set_operation minor ANR create

add_param minor ANR actAutoRttNeighRemoval false

add_param minor ANR anrRttTRSCFS 5000ms
add_param minor ANR idleTimeThresRttNR 24

add_param minor ANR minNotActivatedRttRSCFS 5

add_param minor ANR minNumThresRttNR 16

add_param minor ANR samNumThresRttNR 50

add_param minor ANR tTmpBlacklistRttANR 1440


add_param minor LNRELX removeAllowed false

# Migration of LNRELX: Inhibit autonomous removal of 1xRTT neighbor relations with non default blacklisting configuration
# The following migration rule shall avoid autonomous removal of a LNRELX instance if the operator configured a value deviating from the default value in the previous release.
# For all LNRELX instances of all LNCEL instances the following migration shall be performed:
##  If ( e1xCsfbAllowed equals allowed) OR ( srvccAllowed equals forbidden) then
##  removedAllowed shall be set to false otherwise  removedAllowed shall be set to true

dependence_mod_param_conditional_expression_relative minor PARAM MRBTS/LNBTS/LNCEL/LNRELX removeAllowed = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL}/LNRELX-${LNRELX} e1xCsfbAllowed == CONST "allowed" || PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL}/LNRELX-${LNRELX} srvccAllowed == CONST "forbidden" ? CONST "false" : CONST "true"

#For each LNADJX instance the parameter sourceOfData shall be set to OM.

dependence_mod_param_conditional_expression_relative minor PARAM MRBTS/LNBTS/LNCEL/LNADJX sourceOfData = CONST "true" == CONST "true" ? CONST "OM" :

################################################################################################
# LTE2494 Cell trace suspension at eNB overload
################################################################################################

add_param minor CTRLTS cellTraceResumingDelay 30

add_param minor CTRLTS cellTraceSuspOvl1Delay 5

add_param minor CTRLTS cellTraceSuspOvl2Delay 5

add_param minor LNBTS actCellTraceOvlHandling false


add_list_param minor LNBTS cpovlha * enableHardCellTraceSusp none

add_list_param minor LNBTS cpovlha * enableSoftCellTraceSusp none

add_list_param minor LNBTS upovlha * enableHardCellTraceSusp none

add_list_param minor LNBTS upovlha * enableSoftCellTraceSusp none



################################################################################################
# PR083222: LTE2598 - correction in BTSSM - TDD & FDD
################################################################################################
# no req for migration..
#LNBTS	actNonGbrServiceDiff	Descr:
#If actNonGbrServiceDiff is set to 'true' AND in addition actArpBasedQosProfiling is set to 'true', arpBasedPara must be configured in each LNCEL with specified schedulingWeightSF"	
#LNCEL	arpBasedPara.




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



#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 TL16 FB15.10 (001) to TL16A FB15.10 (002)"
add_log minor "Conversion from TLF16 FB15.10 (001) to TLF16A FB15.10 (002)"