####################################
## SCFD file version: 0.6         ##
## PDDB version: FLF15A_1502_002   ##
####################################

#General checking for rule file execution
check_version minor FL16
check_version minor FLF16

# v0.5
check_version minor FLC16
# v0.5 end

check_param minor LNBTS actNwReqUeCapa

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

################################################################################################
# LTE2324-A CRL6456 Network requested UE radio capabilities - parent
################################################################################################

add_param minor LNBTS actNwReqUeCapa false

################################################################################################
# LTE2314	Configurable sequence of BCCH carriers within GERAN frequency layer list for CSFB based on UE Context Release
################################################################################################

array_to_list minor MODRED redirGeranArfcnValueL redirGeranArfcnValueL redirGeranArfcnValue
array_to_list minor MORED redirGeranArfcnValueL redirGeranArfcnValueL redirGeranArfcnValue
array_to_list minor REDRT redirGeranArfcnValueL redirGeranArfcnValueL redirGeranArfcnValue

################################################################################################
# PR 149976ESPE02: LTE1559 - Modification of SCTP parameter values and documentation in CFAM 
################################################################################################

del_param minor SCTP sctpPathMTUSize

################################################################################################
# PR 58844ESPE05: All boolean type parameters must be defined as mandatory parameters 
################################################################################################

add_param minor LNCEL actProactSchedBySrb true

#v0.6: Correction for pronto NA05829932 : CRL4329, OM_LTE_SFS_RNL.11532 / 11524
#If LNCEL - ilReacTimerUl value modulo 100 == 5 then LNCEL - actProactSchedBySrb = true ELSE LNCEL - actProactSchedBySrb = false

add_param minor LNCEL temp1Modulo false
add_param minor LNCEL temp2Modulo false
add_param minor LNCEL temp3Modulo false

dependence_mod_param_conditional_expression_relative minor PARAM MRBTS/LNBTS/LNCEL temp1Modulo = CONST "true" == CONST "true" ? PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL} ilReacTimerUl / CONST 100 :
dependence_mod_param_conditional_expression_relative minor PARAM MRBTS/LNBTS/LNCEL temp2Modulo = CONST "true" == CONST "true" ? PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL} temp1Modulo * CONST 100 :
dependence_mod_param_conditional_expression_relative minor PARAM MRBTS/LNBTS/LNCEL temp3Modulo = CONST "true" == CONST "true" ? PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL} ilReacTimerUl - PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL} temp2Modulo :

dependence_mod_param_conditional_expression_relative minor PARAM MRBTS/LNBTS/LNCEL actProactSchedBySrb = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL} temp3Modulo == CONST 5 ? CONST true : CONST false

del_param minor LNCEL temp1Modulo
del_param minor LNCEL temp2Modulo
del_param minor LNCEL temp3Modulo

#If the value of ilReacTimerUl in the previous release is '5', the value shall be changed to '0'.
dependence_mod_param_conditional_expression_relative minor PARAM MRBTS/LNBTS/LNCEL ilReacTimerUl = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL} ilReacTimerUl == CONST 5 ? CONST 0 :

#end of v0.6

################################################################################################
# LTE1030 Configurable Service Accounts 
################################################################################################

add_param minor SECADM actServiceAccountSsh false
add_param minor SECADM actServicePortState false
add_param minor SECADM sshClientAliveTimer 45
add_param minor SECADM sshSessionLoginDelayTimer 10

#v0.4 Workaround removed
#v0.2 Workaround for CRL5972 - not needed after PDDB TLF15A_1503_001
#del_list minor TRBLCADM remoteSyslogConfig
#del_param minor TRBLCADM remoteSyslogTransmissionStatus
#v0.2 END
#v0.4 Workaround removed END

########
# FDD: #
########

################################################################################################
# LTE825-A Uplink outer region scheduling - parent
# LTE825-A-a Uplink outer region scheduling - PUSCH Scheduling in Outer PUSCH Regin & PRACH in Outer Regin
# LTE825-A-b Uplink outer region scheduling - Automatic SRS configuration
################################################################################################

add_param minor LNCEL selectOuterPuschRegion "None"

#Migration of the LNCEL parameter srsConfiguration

add_param minor LNCEL srsActivation false
add_param minor LNCEL tempulsSchedMethod default
add_param minor LNCEL tempsrsConfiguration paramnotexists
add_param minor LNCEL tempsrsPwrOffset donotaddparam

#!! srsActivation = ulsSchedMethod == CONST "channel aware" && actPuschMask == CONST "false" ? CONST "true" :
dependence_mod_param_conditional_expression_relative minor PARAM MRBTS/LNBTS/LNCEL srsActivation = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL} ulsSchedMethod == CONST "channel aware" && PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL} actPuschMask == CONST "false" ? CONST "true" :
#!! tempulsSchedMethod = ulsSchedMethod == CONST "channel unaware" || ulsSchedMethod == CONST "interference aware" ? CONST "channel unaware or interference aware" :
#!! tempsrsConfiguration = srsConfiguration =! CONST 999 ? CONST "paramexists" :
#!! srsActivation = actPuschMask == CONST "false" && tempulsSchedMethod == CONST "channel unaware or interference aware" && actUlLnkAdp == CONST "fUlLa" && tempsrsConfiguration == CONST "paramexists" ? CONST "true" :
dependence_mod_param_conditional_expression_relative minor PARAM MRBTS/LNBTS/LNCEL tempulsSchedMethod = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL} ulsSchedMethod == CONST "channel unaware" || PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL} ulsSchedMethod == CONST "interference aware" ? CONST "channel unaware or interference aware" :
dependence_mod_param_conditional_expression_relative minor PARAM MRBTS/LNBTS/LNCEL tempsrsConfiguration = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL} srsConfiguration != CONST 999 ? CONST "paramexists" :
dependence_mod_param_conditional_expression_relative minor PARAM MRBTS/LNBTS/LNCEL srsActivation = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL} actPuschMask == CONST "false" && PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL} tempulsSchedMethod == CONST "channel unaware or interference aware" && PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL} actUlLnkAdp == CONST "fUlLa" && PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL} tempsrsConfiguration == CONST "paramexists" ? CONST "true" :
#!!
dependence_mod_param minor LNCEL ulChBw "1.4 MHz" srsActivation "false"
dependence_mod_param minor LNCEL ulChBw "3 MHz" srsActivation "false"
#!! srsActivation = tempulsSchedMethod == CONST "channel unaware or interference aware" && actUlLnkAdp != CONST "fUlLa" ? CONST "false" :
dependence_mod_param_conditional_expression_relative minor PARAM MRBTS/LNBTS/LNCEL srsActivation = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL} tempulsSchedMethod == CONST "channel unaware or interference aware" && PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL} actUlLnkAdp != CONST "fUlLa" ? CONST "false" :
#!! tempsrsPwrOffset = tempulsSchedMethod == CONST "channel unaware or interference aware" && actUlLnkAdp == CONST "fUlLa" && srsActivation == CONST "true" ? CONST "addparam" :
dependence_mod_param_conditional_expression_relative minor PARAM MRBTS/LNBTS/LNCEL tempsrsPwrOffset = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL} tempulsSchedMethod == CONST "channel unaware or interference aware" && PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL} actUlLnkAdp == CONST "fUlLa" && PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL} srsActivation == CONST "true" ? CONST "addparam" :
dependence_add_param minor LNCEL tempsrsPwrOffset addparam srsPwrOffset 7

#v0.3 - PR 154097ESPE02: FL15A_CM: srsConfiguration lost after upgrade from RL70
#del_param minor LNCEL srsConfiguration
#v0.3 end
del_param minor LNCEL tempulsSchedMethod
del_param minor LNCEL tempsrsConfiguration
del_param minor LNCEL tempsrsPwrOffset

################################################################################################
# LTE1900-A Dense RAN 20 MHz 
################################################################################################

add_param minor LNBTS actCRAN false

#version
#FZM Replace# set_version major FL15A
set_version major FLF15A

#history:
#FZM Replace# add_log minor "Conversion from FL15A FB15.01 (001) to FL15A FB15.02 (002)"
add_log minor "Conversion from FLF15A FB15.02 (001) to FLF15A FB15.02 (002)"