###########################################
## SCFD file version: 0.4                ##
## Release: FLF/FLC18_1711_004           ##
## LTE version: FLF18_RADIO_1711_004     ##
## LTE version: FLC18_RADIO_1711_004     ##
###########################################



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

#v0.3 LNADJGNB back again in 1712_002
#del_cls minor LNADJGNB
#v0.3 end



###########
# FDD:    #
###########
################################################
# 02.12.2017 ML: CRL21353 Legacy UE is not able to attach on 5MHz cell with Cat-M enabled
# OM_LTE_SFS_RNL.20223
# If all of the following conditions are fulfilled for same LNCEL/LNCEL_FDD configuration
#   - LNCEL_FDD-ulChBw = '5 MHz'
#   - LNCEL_FDD-actCatM = 'true'
#   - LNCEL-actTtiBundling = 'true'
# then change for the LNCEL instance
#   - LNCEL-ttibMinUlPrb shall be set to fixed value of 2
################################################
dependence_mod_param_conditional_expression_relative minor PARAM MRBTS/LNBTS/LNCEL ttibMinUlPrb = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL} actTtiBundling == CONST "true" && PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL}/LNCEL_FDD-0 ulChBw == CONST "5 MHz" && PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL}/LNCEL_FDD-0 actCatM == CONST "true" ? CONST 2 :


#v0.4 PR311285: FL18 Need Migration rules for CRL-19680
#migration done in SCFDFB1711v01-radio.txt
################################################
# 29.11.2017 ML: PR300528: [Naperville CSV][FL18 Trunk]: CRL19680 [LBT5227-D] - pdcchOrderConfig must ALWAYS be set for FDD
# OM_LTE_SFS_RNL.19879
#   - For FDD LNCELs (i.e. for LNCELs which have LNCEL-cellTechnology configured to 'FDD'), parameter LNCEL-pdcchOrderConfig must be set to 'enabled'.
#   - For TDD or NB-IoT-FDD LNCELs, parameter LNCEL-pdcchOrderConfig cannot be configured and shall not be added during migration.
################################################
#dependence_mod_param minor LNCEL cellTechnology FDD pdcchOrderConfig enabled
#dependence_add_param minor LNCEL cellTechnology FDD pdcchOrderConfig enabled
#v0.4 end



#v0.2 Requirements added for CRL21576 PRS-14 Coexistence with Cat-M
##############################################
# OM_LTE_SFS_RNL.20409
# If all of the following conditions are fulfilled:
#   - LNBTS-mcc is set to '440'
#   - LNBTS-mnc is set to one of these values: '7-8, 50-56, 70-79, 80-86, 88-89'
#   - LNCEL_FDD-actCatM is set to 'true'
#   - LNCEL_FDD-prsConfigurationIndex is set to '151'
# then
#   - LNCEL_FDD-prsConfigurationIndex shall be updated to '14'
#############################################
add_param minor LNBTS tempMncMatch false
dependence_mod_param minor LNBTS mnc 7 tempMncMatch true
dependence_mod_param minor LNBTS mnc 8 tempMncMatch true
dependence_mod_param_conditional_expression_relative minor PARAM MRBTS/LNBTS tempMncMatch = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} mnc >= CONST 50 && PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} mnc <= CONST 56 ? CONST "true" :
dependence_mod_param_conditional_expression_relative minor PARAM MRBTS/LNBTS tempMncMatch = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} mnc >= CONST 70 && PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} mnc <= CONST 89 ? CONST "true" :
dependence_mod_param minor LNBTS mnc 87 tempMncMatch false
dependence_mod_param_conditional_expression_relative minor PARAM MRBTS/LNBTS/LNCEL/LNCEL_FDD prsConfigurationIndex = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} mcc == CONST 440 && PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} tempMncMatch == CONST "true" && PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL}/LNCEL_FDD-${LNCEL_FDD} actCatM == CONST "true" && PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL}/LNCEL_FDD-${LNCEL_FDD} prsConfigurationIndex == CONST 151 ? CONST 14 :
del_param minor LNBTS tempMncMatch
#v0.2 end





#history:
add_log minor "Conversion from FLF/FLC18_RADIO_1711_003 to FLF/FLC18_RADIO_1711_004"