###########################################
## SCFD file version: 0.7                ##
## Release: FLF/FLC17ASP_1705_002        ##
## LTE version: FLF17ASP_RADIO_1705_002  ##
## LTE version: FLC17ASP_RADIO_1705_002  ##
###########################################



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

####################################################################################################################
# LTE3758 PLMN based pre-emption candidate selection
####################################################################################################################
#OM_LTE_SFS_RNL.18757
add_param minor LNBTS actPlmnBasedPreemption false


####################################################################################################################
# CRL13943 Advance to TL16A MP LTE3127 SRVCC to GSM measurement optimization
# LTE3127 SRVCC to GSM measurement optimization
####################################################################################################################
move_param minor LNCEL_FDD LNCEL actGsmSrvccMeasOpt
#v0.4 PR276078 - [FL00][FSMr3][PET] SW fallback when updated from FL17A to FL18 trunk
add_param minor LNCEL actGsmSrvccMeasOpt false
#v0.4 end
del_param minor LNCEL_FDD actGsmSrvccMeasOpt


####################################################################################################################
# LTE3757 SPID based offload UE candidate selection
####################################################################################################################
#OM_LTE_SFS_RNL.18777
add_param minor LNCEL actLBSpidUeSel false


####################################################################################################################
# PR223995: [LTE3701] Counter profiles update for QCI/ARP ranges and UE category - LTE3701-A-g
####################################################################################################################
mod_param minor PMQAP cfgUECategory "CatM2" "Cat1"


#v0.2
####################################################################################################################
# PR240819: [FL17SP][LTE2823][LTE1788] Consistency check missing; actAutoAcBarring and acbProfileId
####################################################################################################################
#actAutoAcBarring 
#After all cells are checked as described above, check if LNBTS parameter actAutoAcBarring is set to true. 
#(No action is needed it actAutoAcBarring is set to false.)
#If LNBTS parameter actAutoAcBarring is set to true then check that all LNCEL instances have an ACBPR linked to the cell (
#i.e. LNCEL-SIB-acbProfileId is configured to the same value as an existing LNBTS-ACBPR-acbPrId.)
#If LNCEL-SIB-acbProfileId is not configured in all cells then check if there is already a MO instance of ACBPR with no parameters configured in this ACBPR instance (besides the MO instance ID ACBPR-acbPrId) and use the instance ID of this ACBPR. 
#If there is no empty ACBPR instance then create a new MO instance ACBPR under LNBTS with no parameters configured in this ACBPR instance and use its instance ID. 
#Add the instance ID of the empty ACBPR instance to LNCEL-SIB-acbProfileId (i.e. LNCEL-SIB-acbProfileId shall be equal to LNBTS-ACBPR-acbPrId) in all cells where LNCEL-SIB-acbProfileId is not configured. With this the newly created ACBPR instance is linked to the cell. 
#With this last step it will be ensured that all cells have an ACBPR linked to the cell when actAutoAcBarring is set to true. [PR240819]

add_param minor SIB acbProfileId temp
#v0.7 PR397326: Number of configured ACBPR object increased after the upgrade from FL17A to FL18A
copy_param_relative minor MRBTS/LNBTS/LNCEL/SIB MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL}/SIB-${SIB} acbProfileId tempAcbPrId
dependence_del_target_relative minor PARAM MRBTS/LNBTS/LNCEL/SIB tempAcbPrId ? PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL}/SIB-${SIB} tempAcbPrId != CONST "temp"
copy_param_to_array_param_relative minor MRBTS/LNBTS/LNCEL/SIB tempAcbPrId MRBTS-${MRBTS} tempAcbPrIdList
#v0.7 end
add_param minor ACBPR tempEmpty temp

#Add empty ACBPR
#v0.7 PR397326: Number of configured ACBPR object increased after the upgrade from FL17A to FL18A
#add_param minor LNBTS tempKey temp
#dependence_mod_param_conditional_expression_relative minor PARAM MRBTS/LNBTS tempKey = CONST "1" == CONST "1" ? PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} actAutoAcBarring :
dependence_add_param minor LNBTS actAutoAcBarring true tempKey temp
dependence_mod_param_conditional_expression_relative minor PARAM MRBTS/LNBTS tempKey = LISTVALUE MRBTS-${MRBTS} tempAcbPrIdList 0 == CONST "temp" ? CONST "true" :
#v0.7 end
dependence_add_obj_with_next_free_instance minor p MRBTS/LNBTS MRBTS/LNBTS/ACBPR tempKey true - -
del_param minor LNBTS tempKey

#v0.5 CAS-115995-B8Q0 - Cell Configuration lost (RNW Object Incorrect) after FZM upgrade from FLF17A to FLF18
set_operation minor ACBPR create
set_adaptation minor ACBPR NOKLTE
#v0.5 end

add_param minor ACBPR tempEmpty true
dependence_add_param_based_on_string minor MRBTS/LNBTS/ACBPR tempEmpty true tempEmptyId temp
dependence_add_param_based_on_MOC_instance minor ACBPR id + 0
dependence_mod_param_conditional_expression_relative minor PARAM MRBTS/LNBTS/ACBPR tempEmptyId = CONST "1" == CONST "1" ? PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/ACBPR-${ACBPR} id :

copy_param_to_array_param_relative minor MRBTS/LNBTS/ACBPR tempEmptyId MRBTS-${MRBTS} tempEmptyIdList

dependence_mod_param_conditional_expression_relative minor PARAM MRBTS/LNBTS/LNCEL/SIB acbProfileId = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL}/SIB-${SIB} acbProfileId == CONST "temp" ? LISTVALUE MRBTS-${MRBTS} tempEmptyIdList 0 :

dependence_del_param minor SIB acbProfileId "temp" acbProfileId

del_list minor MRBTS tempEmptyIdList
#v0.7 PR397326: Number of configured ACBPR object increased after the upgrade from FL17A to FL18A
del_list minor MRBTS tempAcbPrIdList
del_param minor SIB tempAcbPrId
#v0.7 end
del_param minor ACBPR id
del_param minor ACBPR tempEmpty
del_param minor ACBPR tempEmptyId

#copy_param_to_array_param_relative minor MRBTS/LNBTS/ACBPR tempSMODID MRBTS-${MRBTS} tempSMODIDList

#v0.2 end


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

####################################################################################################################
# LTE3597 Cat-M1 15 &amp; 20MHz Support
####################################################################################################################
#OM_LTE_SFS_RNL.18710
add_param minor CATMPR actDlPciBasedNarBandCatM false
add_param minor CATMPR rrcGuardTimerCatM 10
add_param minor CATMPR srProhibitTimerCatM 1
add_param minor CATMPR tHalfRrcConCatM 3000
add_param minor CATMPR tL2AckRrcRelCatM 6000

#CATMCEL-catMCelId instance Id range shrink:[0,1] to [0]
dependence_add_param_based_on_MOC_instance minor CATMCEL tempCatmcelId + 0
add_param minor LNCEL tempId "temp"
#v0.3
dependence_mod_param_conditional_expression_relative minor PARAM MRBTS/LNBTS/LNCEL tempId = CONST "1" == CONST "1" ? PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL}/CATMCEL-0 tempCatmcelId :
dependence_mod_param_conditional_expression_relative minor PARAM MRBTS/LNBTS/LNCEL tempId = CONST "1" == CONST "1" ? PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL}/CATMCEL-1 tempCatmcelId :
#v0.3 end
dependence_add_obj_with_next_free_instance minor p MRBTS/LNBTS/LNCEL MRBTS/LNBTS/LNCEL/CATMCEL_NEW tempId "1" - -
dependence_add_obj_with_next_free_instance minor p MRBTS/LNBTS/LNCEL MRBTS/LNBTS/LNCEL/CATMCEL_NEW tempId "0" - -
#v0.6 PR333704: LTE4177 Feature activation parameter numCELevelCatM gets disabled after migrating to FL18 PT6.1 and PT5.6 loads
copy_param_relative minor MRBTS/LNBTS/LNCEL/CATMCEL MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL}/CATMCEL_NEW-* actConvVoiceCatM actConvVoiceCatM
copy_param_relative minor MRBTS/LNBTS/LNCEL/CATMCEL MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL}/CATMCEL_NEW-* numCELevelCatM numCELevelCatM
#v0.6 end
copy_param_relative minor MRBTS/LNBTS/LNCEL/CATMCEL MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL}/CATMCEL_NEW-* dFpucchF1CatM dFpucchF1CatM
copy_param_relative minor MRBTS/LNBTS/LNCEL/CATMCEL MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL}/CATMCEL_NEW-* deltaPreMsg3CatM deltaPreMsg3CatM
copy_param_relative minor MRBTS/LNBTS/LNCEL/CATMCEL MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL}/CATMCEL_NEW-* p0NomPucchCatM p0NomPucchCatM
copy_param_relative minor MRBTS/LNBTS/LNCEL/CATMCEL MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL}/CATMCEL_NEW-* p0NomPuschCatM p0NomPuschCatM
copy_param_relative minor MRBTS/LNBTS/LNCEL/CATMCEL MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL}/CATMCEL_NEW-* prachPwrRampCatM prachPwrRampCatM
copy_param_relative minor MRBTS/LNBTS/LNCEL/CATMCEL MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL}/CATMCEL_NEW-* prachRsrpThrCatM prachRsrpThrCatM
copy_param_relative minor MRBTS/LNBTS/LNCEL/CATMCEL MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL}/CATMCEL_NEW-* prachStartSFCatM prachStartSFCatM
copy_param_relative minor MRBTS/LNBTS/LNCEL/CATMCEL MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL}/CATMCEL_NEW-* qQualMinCeCatM qQualMinCeCatM
copy_param_relative minor MRBTS/LNBTS/LNCEL/CATMCEL MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL}/CATMCEL_NEW-* qQualMinIntraFCatM qQualMinIntraFCatM
copy_param_relative minor MRBTS/LNBTS/LNCEL/CATMCEL MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL}/CATMCEL_NEW-* qRxLevMinCeCatM qRxLevMinCeCatM
copy_param_relative minor MRBTS/LNBTS/LNCEL/CATMCEL MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL}/CATMCEL_NEW-* qRxLevMinIntraFCatM qRxLevMinIntraFCatM
copy_param_relative minor MRBTS/LNBTS/LNCEL/CATMCEL MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL}/CATMCEL_NEW-* tReselEutrCatM tReselEutrCatM
copy_param_relative minor MRBTS/LNBTS/LNCEL/CATMCEL MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL}/CATMCEL_NEW-* ulpcAlphaCatM ulpcAlphaCatM
copy_param_relative minor MRBTS/LNBTS/LNCEL/CATMCEL MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL}/CATMCEL_NEW-* ulpcIniPrePwrCatM ulpcIniPrePwrCatM
copy_param_relative minor MRBTS/LNBTS/LNCEL/CATMCEL MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL}/CATMCEL_NEW-* ulpcRarespTpcCatM ulpcRarespTpcCatM
del_cls minor CATMCEL
rename_cls minor CATMCEL_NEW CATMCEL
set_adaptation minor CATMCEL NOKLTE
set_operation minor CATMCEL create
del_param minor LNCEL tempId


####################################################################################################################
# PR231036: [SB FL17SP eNB JCST][LTE3128] eNB restarted after numRepSib1BRCatM parameter modification / 	PR238192: [FL17SP][Airscale][NPI][Verizon][IRVING_CST] Legacy UE attach fails when LTE-M is active SIB-2 not broadcasted
####################################################################################################################
mod_param minor CATMPR numRepSib1BRCatM 8 4
mod_param minor CATMPR numRepSib1BRCatM 16 4




#history:
add_log minor "Conversion from FLF/FLC17ASP_RADIO_1705_001 to FLF/FLC17ASP_RADIO_1705_002"
