###########################################
## SCFD file version: 0.3                ##
## Release: TLF/TLC18SP_1803_002         ##
## LTE version: TLF18SP_RADIO_1803_002   ##
## LTE version: TLC18SP_RADIO_1803_002   ##
###########################################



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

add_param minor PMRNL mtDacWordStatistics 15min
del_param minor LNBTS_FDD actDistributedSite
del_param minor LNBTS_TDD actDistributedSite



####################################################################################################################
# LBT5726 CRL22737 NB-IoT: Inter-frequency idle mode mobility with configuration
####################################################################################################################
#OM_LTE_SFS_RNL.20260
#No direct mandatory parameter. Related parameters are under optional MOC IRFIMNB, IAFIMNB, NBIOTPR, NBIOT_FDD.
#cellSelectionInfoV920 is mandatory required If LNCEL-cellTechnology is configured to 'NB-IoT-FDD'



####################################################################################################################
# [US KPI] CRL22458 CA Throttling for CPlane Overload
####################################################################################################################
#OM_LTE_SFS_RNL.20778
# If LNBTS-actCplaneOvlHandling is set to ‘true’ AND LNBTS-actDLCAggr is set to 'true' 
#   in case PLMN-ID belongs to VzW, i.e. in case 
#     - LNBTS-mcc is equal to 311 and LNBTS-mnc is equal to 480 and LNBTS-mncLength is '3' OR
#     - LNBTS-mcc is equal to 312 and LNBTS-mnc is equal to 770 and LNBTS-mncLength is '3'
#     add parameter LNBTS-caConfigRatioOvl1 with value 15
#   for all other PLMN-IDs
#     add parameter LNBTS-caConfigRatioOvl1 with value 100
# else
#   don't add LNBTS-caConfigRatioOvl1.

add_param minor LNBTS caConfigRatioOvl1 100
dependence_del_param minor LNBTS actCplaneOvlHandling false caConfigRatioOvl1
dependence_del_param minor LNBTS actDLCAggr false caConfigRatioOvl1
dependence_mod_param_conditional_expression_relative minor PARAM MRBTS/LNBTS caConfigRatioOvl1 = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} mcc == CONST 311 && PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} mnc == CONST 480 && PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} mncLength == CONST 3 ? CONST 15 :
dependence_mod_param_conditional_expression_relative minor PARAM MRBTS/LNBTS caConfigRatioOvl1 = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} mcc == CONST 312 && PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} mnc == CONST 770 && PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} mncLength == CONST 3 ? CONST 15 :



####################################################################################################################
# PR315009: [SRAN18] [LTE2601] Missing consistency check for loadSettings when actIdleLBCaAware is true
####################################################################################################################
# OM_LTE_SFS_RNL.20868
# if any of following parameters has set be 'true' in LNBTS :
#   - actIdleLB
#   - actIdleLBCaAware
#   - actLBPowerSaving
#   - actLBRTXPowerSaving
#   - actPcellSwap
#   - actUtranLoadBal
# and if the cellTechnology of the LNCEL instance is configured to 'NB-IoT-FDD' 
# and if LNCEL-loadSettings configured.
# then delete LNCEL-loadSettings instance.

add_param minor LNBTS tempCondition false
dependence_mod_param minor LNBTS actIdleLB true tempCondition true
dependence_mod_param minor LNBTS actIdleLBCaAware true tempCondition true
dependence_mod_param minor LNBTS actLBPowerSaving true tempCondition true
dependence_mod_param minor LNBTS actLBRTXPowerSaving true tempCondition true
dependence_mod_param minor LNBTS actPcellSwap true tempCondition true
dependence_mod_param minor LNBTS actUtranLoadBal true tempCondition true
add_param minor LNCEL tempCondition false
dependence_mod_param_conditional_expression_relative minor PARAM MRBTS/LNBTS/LNCEL tempCondition = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL} cellTechnology == CONST "NB-IoT-FDD" && LISTPARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL} loadSettings 0 cellCapClass != CONST "tempValue" ? CONST "true" :
dependence_del_target_relative minor LIST MRBTS/LNBTS/LNCEL loadSettings ? PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} tempCondition == CONST "true" && PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL} tempCondition == CONST "true"

del_param minor LNBTS tempCondition
del_param minor LNCEL tempCondition



#v0.3 PR364642: [FL18A][AirScale][ATT Manhattan Lab] During SW Update From FL18 (FL18_ENB_0000_001344_000000) to FL18A (FL18A_ENB_0000_000001_000014) dlCaMinPcellCqiQci1 changed from 15 to 14 
####################################################################################################################
# PR318319: [FL18][ATT Manhattan] Data ERAB Retainability degradation observed on FL18 PT4 with CRLs enabled
####################################################################################################################
#check_param_value minor LNCEL dlCaMinPcellCqiQci1 0 14
#v0.3 end





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

####################################################################################################################
# CAS-86487-K3S4: Verizon FL17A FOA - Increase in Intra-eNB Hand-Off failure rate in Manhattan
# LTE1534 Multiple Frequency Band Indicator
####################################################################################################################
#OM_LTE_SFS_RNL.20772
# In case PLMN-ID belongs to VzW, i.e. in case 
#   - LNBTS-mcc is equal to 311 and LNBTS-mnc is equal to 480 and LNBTS-mncLength is '3' OR
#   - LNBTS-mcc is equal to 312 and LNBTS-mnc is equal to 770 and LNBTS-mncLength is '3'
# then add LNBTS-actMappedBandIFMeas with following values:
#   - if LNBTS_FDD-actMFBI is set to 'true' AND there is at least one instance of MFBIPR that has freqBandIndPrio set to 'broadcasted' then add LNBTS-actMappedBandIFMeas with value 'true'
#   - in all other cases add LNBTS-actMappedBandIFMeas with value 'false'
# else i.e. for all other PLMN-IDs
#   add LNBTS-actMappedBandIFMeas with value 'false'.

add_param minor LNBTS actMappedBandIFMeas false
dependence_add_param minor MFBIPR freqBandIndPrio broadcasted tempCondition true
copy_param_relative minor MRBTS/LNBTS/MFBIPR MRBTS-${MRBTS}/LNBTS-${LNBTS} tempCondition tempCondition
dependence_mod_param_conditional_expression_relative minor PARAM MRBTS/LNBTS actMappedBandIFMeas = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} mcc == CONST 311 && PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} mnc == CONST 480 && PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} mncLength == CONST 3 && PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} tempCondition == CONST "true" && PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNBTS_TDD-0 actMFBI == CONST "true" ? CONST "true" :
dependence_mod_param_conditional_expression_relative minor PARAM MRBTS/LNBTS actMappedBandIFMeas = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} mcc == CONST 312 && PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} mnc == CONST 770 && PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} mncLength == CONST 3 && PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} tempCondition == CONST "true" && PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNBTS_TDD-0 actMFBI == CONST "true" ? CONST "true" :

del_param minor LNBTS tempCondition
del_param minor MFBIPR tempCondition



#v0.2 RIAPR MOC added due to updated OM_LTE_SFS_RNL.20796
####################################################################################################################
# LTE3544 TDD remote interference avoidance
####################################################################################################################
#OM_LTE_SFS_RNL.20796
#The new mandatory parameter LNCEL_TDD-actRIAoidance must be initialized with its default value.
#if  LNCEL_TDD-actRIMitigation is 'true' during migration, 
#	- riaProfId must be configured 
#	- a RIAPR managed object with naming attribute riaPrId equal to riaProfId must be created.
#	- for the following three parameters related LTE928 in MOC RIAPR:
#		>if LNCEL_TDD- lowerThresRIUpPts exists, 
#			RIAPR- lowerThresRIUpPts  must be equal to LNCEL_TDD- lowerThresRIUpPts 
#		>if LNCEL_TDD- numSfRIUpPts exists, 
#			RIAPR- numSfRIUpPts must be equal to LNCEL_TDD- numSfRIUpPts
#		>if LNCEL_TDD- upperThresRIUpPts exists, 
#			RIAPR- upperThresRIUpPts must be equal toLNCEL_TDD- upperThresRIUpPts
#	- all other mandatory parameters in MOC RIAPR must be initialized with their default values.

add_param minor LNCEL_TDD actRIAvoidance false

dependence_add_param minor LNCEL_TDD actRIMitigation true tempKey temp
dependence_mod_param_conditional_expression_relative minor PARAM MRBTS/LNBTS/LNCEL/LNCEL_TDD tempKey = CONST 0 == CONST 0 ? PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL}/LNCEL_TDD-${LNCEL_TDD} lowerThresRIUpPts JOIN CONST "/" JOIN PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL}/LNCEL_TDD-${LNCEL_TDD} numSfRIUpPts JOIN CONST "/" JOIN PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL}/LNCEL_TDD-${LNCEL_TDD} upperThresRIUpPts :
copy_param_to_array_param_relative minor MRBTS/LNBTS/LNCEL/LNCEL_TDD tempKey MRBTS-${MRBTS} tempKeyList
dependence_add_obj_with_next_free_instance minor scalarList MRBTS MRBTS/LNBTS/RIAPR tempKeyList - - -
set_operation minor RIAPR create
set_adaptation minor RIAPR NOKLTE
add_param minor RIAPR tempKey temp
dependence_mod_param_conditional_expression_relative minor PARAM MRBTS/LNBTS/RIAPR tempKey = CONST 0 == CONST 0 ? LISTVALUE MRBTS-${MRBTS} tempKeyList ${RIAPR} :
dependence_copy_param_value_based_on_relation_matching minor PARAM MRBTS/LNBTS/RIAPR tempKey PARAM MRBTS/LNBTS/LNCEL/LNCEL_TDD tempKey PARAM lowerThresRIUpPts
dependence_copy_param_value_based_on_relation_matching minor PARAM MRBTS/LNBTS/RIAPR tempKey PARAM MRBTS/LNBTS/LNCEL/LNCEL_TDD tempKey PARAM numSfRIUpPts
dependence_copy_param_value_based_on_relation_matching minor PARAM MRBTS/LNBTS/RIAPR tempKey PARAM MRBTS/LNBTS/LNCEL/LNCEL_TDD tempKey PARAM upperThresRIUpPts
add_param minor RIAPR allowRITest "false"
add_param minor RIAPR allowRollDwPts "false"
add_param minor RIAPR lowerThresRIUl "-115"
add_param minor RIAPR lowerThresRIUpPts "-110"
add_param minor RIAPR maxPowerDiffJointRISpecSeq "5"
add_param minor RIAPR numHfRIUl "10"
add_param minor RIAPR numMinuteRISpecSeqUl "30"
add_param minor RIAPR numSfRIUpPts "10"
add_param minor RIAPR numThresRIRecov "2"
add_param minor RIAPR numThresRIRoll "10"
add_param minor RIAPR numThresRISpecSeqSending "3"
add_param minor RIAPR upperThresRIUl "-110"
add_param minor RIAPR upperThresRIUpPts "-105"

dependence_add_param_based_on_MOC_instance minor RIAPR tempRIAPRid + 0
dependence_copy_param_value_based_on_relation_matching minor PARAM MRBTS/LNBTS/LNCEL/LNCEL_TDD tempKey PARAM MRBTS/LNBTS/RIAPR tempKey PARAM tempRIAPRid
rename_param minor LNCEL_TDD tempRIAPRid riaProfId

del_param minor LNCEL_TDD tempKey
del_list minor MRBTS tempKeyList
del_param minor RIAPR tempKey
del_param minor RIAPR tempRIAPRid
#v0.2 end



del_param minor LNCEL_TDD lowerThresRIUpPts
del_param minor LNCEL_TDD numSfRIUpPts
del_param minor LNCEL_TDD upperThresRIUpPts












#history:
add_log minor "Conversion from TLF/TLC18_RADIO_1803_001 to TLF/TLC18SP_RADIO_1803_002"