##########################################
## SCFD file version: 0.2               ##
## Release: FLF20C_2004_002             ##
## LTE version: FLF20C_RADIO_2004_002   ##
##########################################

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

####################################################################################################################
# LTE5226 - LTE5226 - Increased number of NR carriers
####################################################################################################################
# OM_LTE_SFS_RNL.25588
# Migration rules for LTE5226
# Migration rules for LTE5226
# 
# During migration following tasks need to be done, no matter if the BTS serves FDD or TDD cells.
# 
# In MOC NRDCDPR and in each existing MOC NRDCPR
# In each existing instance of nrDcMeasConfig
# The parameter b1NrReportAmount shall be added with the default value
# The parameter b1NrReportInterval shall be added with the default value
# 
# If in MOC /MRBTS/LNBTS the parameter mrWaitTimer is configured, then 
# In each existing MOC MRBTS/LNBTS/NRDCDPR the parameter mrWaitTimer shall be added with the value of LNBTS-mrWaitTimer
# In each existing MOC MRBTS/LNBTS/NRDCPR the parameter mrWaitTimer shall be added with the value of LNBTS-mrWaitTimer
# 
# If in MOC /MRBTS/LNBTS the parameter mrWaitTimer is configured, then
# In each existing NRDC(D)PR MO
# For each existing instance of nrDcMeasConfig
# Check nrDcMEasConfig- freqBandIndicatorNR
# If value is in range {257, 258, 260, 261} then nrCarPrio shall be added to this instance of nrDcMeasConfig and set to the value ‘8’    /* FR2 bands */
# If value is in range {35, 36, 38, 39, 40, 41, 42, 43, 44, 46, 47, 48, 49, 50, 52} then nrCarPrio shall be added to this instance of nrDcMeasConfig and set to the value ‘5’   /* FR1 TDD bands */
# Otherwise nrCarPrio shall be added to this instance of nrDcMeasConfig and set to the value ‘1’   /* remaining FR1 bands */
# 
# If in MOC /MRBTS/LNBTS the parameter mrWaitTimer is not configured, then
# In each existing NRDC(D)PR MO
# In each existing instance of nrDcMeasConfig
# the parameter nrCarPrio shall be added and set to the value ‘1’
# 
# As last step of migration, in MOC /MRBTS/LNBTS the parameter mrWaitTimer shall be removed.
add_list_param minor NRDCDPR nrDcMeasConfig * b1NrReportAmount r1
add_list_param minor NRDCDPR nrDcMeasConfig * b1NrReportInterval 6min
add_list_param minor NRDCDPR nrDcMeasConfig * nrCarPrio 1
add_list_param minor NRDCPR  nrDcMeasConfig * b1NrReportAmount r1
add_list_param minor NRDCPR  nrDcMeasConfig * b1NrReportInterval 6min
add_list_param minor NRDCPR  nrDcMeasConfig * nrCarPrio 1

add_param minor LNBTS existFlag_mrWaitTimer false
dependence_mod_param_conditional_expression_relative minor PARAM MRBTS/LNBTS existFlag_mrWaitTimer = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} mrWaitTimer > CONST 0 ? CONST "true" :

copy_param_relative minor MRBTS/LNBTS MRBTS-${MRBTS}/LNBTS-${LNBTS}/NRDCDPR-* mrWaitTimer mrWaitTimer
copy_param_relative minor MRBTS/LNBTS MRBTS-${MRBTS}/LNBTS-${LNBTS}/NRDCPR-*  mrWaitTimer mrWaitTimer

dependence_mod_param_conditional_expression_relative minor LISTPARAM MRBTS/LNBTS/NRDCDPR nrDcMeasConfig * nrCarPrio = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} existFlag_mrWaitTimer == CONST "true" && LISTPARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/NRDCDPR-${NRDCDPR}  nrDcMeasConfig ${nrDcMeasConfig} freqBandIndicatorNR == CONST 257 ? CONST 8 :
dependence_mod_param_conditional_expression_relative minor LISTPARAM MRBTS/LNBTS/NRDCDPR nrDcMeasConfig * nrCarPrio = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} existFlag_mrWaitTimer == CONST "true" && LISTPARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/NRDCDPR-${NRDCDPR}  nrDcMeasConfig ${nrDcMeasConfig} freqBandIndicatorNR == CONST 258 ? CONST 8 :
dependence_mod_param_conditional_expression_relative minor LISTPARAM MRBTS/LNBTS/NRDCDPR nrDcMeasConfig * nrCarPrio = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} existFlag_mrWaitTimer == CONST "true" && LISTPARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/NRDCDPR-${NRDCDPR}  nrDcMeasConfig ${nrDcMeasConfig} freqBandIndicatorNR == CONST 260 ? CONST 8 :
dependence_mod_param_conditional_expression_relative minor LISTPARAM MRBTS/LNBTS/NRDCDPR nrDcMeasConfig * nrCarPrio = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} existFlag_mrWaitTimer == CONST "true" && LISTPARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/NRDCDPR-${NRDCDPR}  nrDcMeasConfig ${nrDcMeasConfig} freqBandIndicatorNR == CONST 261 ? CONST 8 :
dependence_mod_param_conditional_expression_relative minor LISTPARAM MRBTS/LNBTS/NRDCDPR nrDcMeasConfig * nrCarPrio = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} existFlag_mrWaitTimer == CONST "true" && LISTPARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/NRDCDPR-${NRDCDPR}  nrDcMeasConfig ${nrDcMeasConfig} freqBandIndicatorNR == CONST 35 ? CONST 5 :
dependence_mod_param_conditional_expression_relative minor LISTPARAM MRBTS/LNBTS/NRDCDPR nrDcMeasConfig * nrCarPrio = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} existFlag_mrWaitTimer == CONST "true" && LISTPARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/NRDCDPR-${NRDCDPR}  nrDcMeasConfig ${nrDcMeasConfig} freqBandIndicatorNR == CONST 36 ? CONST 5 :
dependence_mod_param_conditional_expression_relative minor LISTPARAM MRBTS/LNBTS/NRDCDPR nrDcMeasConfig * nrCarPrio = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} existFlag_mrWaitTimer == CONST "true" && LISTPARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/NRDCDPR-${NRDCDPR}  nrDcMeasConfig ${nrDcMeasConfig} freqBandIndicatorNR == CONST 38 ? CONST 5 :
dependence_mod_param_conditional_expression_relative minor LISTPARAM MRBTS/LNBTS/NRDCDPR nrDcMeasConfig * nrCarPrio = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} existFlag_mrWaitTimer == CONST "true" && LISTPARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/NRDCDPR-${NRDCDPR}  nrDcMeasConfig ${nrDcMeasConfig} freqBandIndicatorNR == CONST 39 ? CONST 5 :
dependence_mod_param_conditional_expression_relative minor LISTPARAM MRBTS/LNBTS/NRDCDPR nrDcMeasConfig * nrCarPrio = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} existFlag_mrWaitTimer == CONST "true" && LISTPARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/NRDCDPR-${NRDCDPR}  nrDcMeasConfig ${nrDcMeasConfig} freqBandIndicatorNR == CONST 40 ? CONST 5 :
dependence_mod_param_conditional_expression_relative minor LISTPARAM MRBTS/LNBTS/NRDCDPR nrDcMeasConfig * nrCarPrio = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} existFlag_mrWaitTimer == CONST "true" && LISTPARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/NRDCDPR-${NRDCDPR}  nrDcMeasConfig ${nrDcMeasConfig} freqBandIndicatorNR == CONST 41 ? CONST 5 :
dependence_mod_param_conditional_expression_relative minor LISTPARAM MRBTS/LNBTS/NRDCDPR nrDcMeasConfig * nrCarPrio = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} existFlag_mrWaitTimer == CONST "true" && LISTPARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/NRDCDPR-${NRDCDPR}  nrDcMeasConfig ${nrDcMeasConfig} freqBandIndicatorNR == CONST 42 ? CONST 5 :
dependence_mod_param_conditional_expression_relative minor LISTPARAM MRBTS/LNBTS/NRDCDPR nrDcMeasConfig * nrCarPrio = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} existFlag_mrWaitTimer == CONST "true" && LISTPARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/NRDCDPR-${NRDCDPR}  nrDcMeasConfig ${nrDcMeasConfig} freqBandIndicatorNR == CONST 43 ? CONST 5 :
dependence_mod_param_conditional_expression_relative minor LISTPARAM MRBTS/LNBTS/NRDCDPR nrDcMeasConfig * nrCarPrio = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} existFlag_mrWaitTimer == CONST "true" && LISTPARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/NRDCDPR-${NRDCDPR}  nrDcMeasConfig ${nrDcMeasConfig} freqBandIndicatorNR == CONST 44 ? CONST 5 :
dependence_mod_param_conditional_expression_relative minor LISTPARAM MRBTS/LNBTS/NRDCDPR nrDcMeasConfig * nrCarPrio = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} existFlag_mrWaitTimer == CONST "true" && LISTPARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/NRDCDPR-${NRDCDPR}  nrDcMeasConfig ${nrDcMeasConfig} freqBandIndicatorNR == CONST 46 ? CONST 5 :
dependence_mod_param_conditional_expression_relative minor LISTPARAM MRBTS/LNBTS/NRDCDPR nrDcMeasConfig * nrCarPrio = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} existFlag_mrWaitTimer == CONST "true" && LISTPARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/NRDCDPR-${NRDCDPR}  nrDcMeasConfig ${nrDcMeasConfig} freqBandIndicatorNR == CONST 47 ? CONST 5 :
dependence_mod_param_conditional_expression_relative minor LISTPARAM MRBTS/LNBTS/NRDCDPR nrDcMeasConfig * nrCarPrio = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} existFlag_mrWaitTimer == CONST "true" && LISTPARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/NRDCDPR-${NRDCDPR}  nrDcMeasConfig ${nrDcMeasConfig} freqBandIndicatorNR == CONST 48 ? CONST 5 :
dependence_mod_param_conditional_expression_relative minor LISTPARAM MRBTS/LNBTS/NRDCDPR nrDcMeasConfig * nrCarPrio = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} existFlag_mrWaitTimer == CONST "true" && LISTPARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/NRDCDPR-${NRDCDPR}  nrDcMeasConfig ${nrDcMeasConfig} freqBandIndicatorNR == CONST 49 ? CONST 5 :
dependence_mod_param_conditional_expression_relative minor LISTPARAM MRBTS/LNBTS/NRDCDPR nrDcMeasConfig * nrCarPrio = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} existFlag_mrWaitTimer == CONST "true" && LISTPARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/NRDCDPR-${NRDCDPR}  nrDcMeasConfig ${nrDcMeasConfig} freqBandIndicatorNR == CONST 50 ? CONST 5 :
dependence_mod_param_conditional_expression_relative minor LISTPARAM MRBTS/LNBTS/NRDCDPR nrDcMeasConfig * nrCarPrio = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} existFlag_mrWaitTimer == CONST "true" && LISTPARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/NRDCDPR-${NRDCDPR}  nrDcMeasConfig ${nrDcMeasConfig} freqBandIndicatorNR == CONST 52 ? CONST 5 :

dependence_mod_param_conditional_expression_relative minor LISTPARAM MRBTS/LNBTS/NRDCPR nrDcMeasConfig * nrCarPrio = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} existFlag_mrWaitTimer == CONST "true" && LISTPARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/NRDCPR-${NRDCPR}  nrDcMeasConfig ${nrDcMeasConfig} freqBandIndicatorNR == CONST 257 ? CONST 8 :
dependence_mod_param_conditional_expression_relative minor LISTPARAM MRBTS/LNBTS/NRDCPR nrDcMeasConfig * nrCarPrio = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} existFlag_mrWaitTimer == CONST "true" && LISTPARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/NRDCPR-${NRDCPR}  nrDcMeasConfig ${nrDcMeasConfig} freqBandIndicatorNR == CONST 258 ? CONST 8 :
dependence_mod_param_conditional_expression_relative minor LISTPARAM MRBTS/LNBTS/NRDCPR nrDcMeasConfig * nrCarPrio = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} existFlag_mrWaitTimer == CONST "true" && LISTPARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/NRDCPR-${NRDCPR}  nrDcMeasConfig ${nrDcMeasConfig} freqBandIndicatorNR == CONST 260 ? CONST 8 :
dependence_mod_param_conditional_expression_relative minor LISTPARAM MRBTS/LNBTS/NRDCPR nrDcMeasConfig * nrCarPrio = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} existFlag_mrWaitTimer == CONST "true" && LISTPARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/NRDCPR-${NRDCPR}  nrDcMeasConfig ${nrDcMeasConfig} freqBandIndicatorNR == CONST 261 ? CONST 8 :
dependence_mod_param_conditional_expression_relative minor LISTPARAM MRBTS/LNBTS/NRDCPR nrDcMeasConfig * nrCarPrio = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} existFlag_mrWaitTimer == CONST "true" && LISTPARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/NRDCPR-${NRDCPR}  nrDcMeasConfig ${nrDcMeasConfig} freqBandIndicatorNR == CONST 35 ? CONST 5 :
dependence_mod_param_conditional_expression_relative minor LISTPARAM MRBTS/LNBTS/NRDCPR nrDcMeasConfig * nrCarPrio = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} existFlag_mrWaitTimer == CONST "true" && LISTPARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/NRDCPR-${NRDCPR}  nrDcMeasConfig ${nrDcMeasConfig} freqBandIndicatorNR == CONST 36 ? CONST 5 :
dependence_mod_param_conditional_expression_relative minor LISTPARAM MRBTS/LNBTS/NRDCPR nrDcMeasConfig * nrCarPrio = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} existFlag_mrWaitTimer == CONST "true" && LISTPARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/NRDCPR-${NRDCPR}  nrDcMeasConfig ${nrDcMeasConfig} freqBandIndicatorNR == CONST 38 ? CONST 5 :
dependence_mod_param_conditional_expression_relative minor LISTPARAM MRBTS/LNBTS/NRDCPR nrDcMeasConfig * nrCarPrio = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} existFlag_mrWaitTimer == CONST "true" && LISTPARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/NRDCPR-${NRDCPR}  nrDcMeasConfig ${nrDcMeasConfig} freqBandIndicatorNR == CONST 39 ? CONST 5 :
dependence_mod_param_conditional_expression_relative minor LISTPARAM MRBTS/LNBTS/NRDCPR nrDcMeasConfig * nrCarPrio = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} existFlag_mrWaitTimer == CONST "true" && LISTPARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/NRDCPR-${NRDCPR}  nrDcMeasConfig ${nrDcMeasConfig} freqBandIndicatorNR == CONST 40 ? CONST 5 :
dependence_mod_param_conditional_expression_relative minor LISTPARAM MRBTS/LNBTS/NRDCPR nrDcMeasConfig * nrCarPrio = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} existFlag_mrWaitTimer == CONST "true" && LISTPARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/NRDCPR-${NRDCPR}  nrDcMeasConfig ${nrDcMeasConfig} freqBandIndicatorNR == CONST 41 ? CONST 5 :
dependence_mod_param_conditional_expression_relative minor LISTPARAM MRBTS/LNBTS/NRDCPR nrDcMeasConfig * nrCarPrio = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} existFlag_mrWaitTimer == CONST "true" && LISTPARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/NRDCPR-${NRDCPR}  nrDcMeasConfig ${nrDcMeasConfig} freqBandIndicatorNR == CONST 42 ? CONST 5 :
dependence_mod_param_conditional_expression_relative minor LISTPARAM MRBTS/LNBTS/NRDCPR nrDcMeasConfig * nrCarPrio = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} existFlag_mrWaitTimer == CONST "true" && LISTPARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/NRDCPR-${NRDCPR}  nrDcMeasConfig ${nrDcMeasConfig} freqBandIndicatorNR == CONST 43 ? CONST 5 :
dependence_mod_param_conditional_expression_relative minor LISTPARAM MRBTS/LNBTS/NRDCPR nrDcMeasConfig * nrCarPrio = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} existFlag_mrWaitTimer == CONST "true" && LISTPARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/NRDCPR-${NRDCPR}  nrDcMeasConfig ${nrDcMeasConfig} freqBandIndicatorNR == CONST 44 ? CONST 5 :
dependence_mod_param_conditional_expression_relative minor LISTPARAM MRBTS/LNBTS/NRDCPR nrDcMeasConfig * nrCarPrio = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} existFlag_mrWaitTimer == CONST "true" && LISTPARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/NRDCPR-${NRDCPR}  nrDcMeasConfig ${nrDcMeasConfig} freqBandIndicatorNR == CONST 46 ? CONST 5 :
dependence_mod_param_conditional_expression_relative minor LISTPARAM MRBTS/LNBTS/NRDCPR nrDcMeasConfig * nrCarPrio = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} existFlag_mrWaitTimer == CONST "true" && LISTPARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/NRDCPR-${NRDCPR}  nrDcMeasConfig ${nrDcMeasConfig} freqBandIndicatorNR == CONST 47 ? CONST 5 :
dependence_mod_param_conditional_expression_relative minor LISTPARAM MRBTS/LNBTS/NRDCPR nrDcMeasConfig * nrCarPrio = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} existFlag_mrWaitTimer == CONST "true" && LISTPARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/NRDCPR-${NRDCPR}  nrDcMeasConfig ${nrDcMeasConfig} freqBandIndicatorNR == CONST 48 ? CONST 5 :
dependence_mod_param_conditional_expression_relative minor LISTPARAM MRBTS/LNBTS/NRDCPR nrDcMeasConfig * nrCarPrio = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} existFlag_mrWaitTimer == CONST "true" && LISTPARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/NRDCPR-${NRDCPR}  nrDcMeasConfig ${nrDcMeasConfig} freqBandIndicatorNR == CONST 49 ? CONST 5 :
dependence_mod_param_conditional_expression_relative minor LISTPARAM MRBTS/LNBTS/NRDCPR nrDcMeasConfig * nrCarPrio = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} existFlag_mrWaitTimer == CONST "true" && LISTPARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/NRDCPR-${NRDCPR}  nrDcMeasConfig ${nrDcMeasConfig} freqBandIndicatorNR == CONST 50 ? CONST 5 :
dependence_mod_param_conditional_expression_relative minor LISTPARAM MRBTS/LNBTS/NRDCPR nrDcMeasConfig * nrCarPrio = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} existFlag_mrWaitTimer == CONST "true" && LISTPARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/NRDCPR-${NRDCPR}  nrDcMeasConfig ${nrDcMeasConfig} freqBandIndicatorNR == CONST 52 ? CONST 5 :


del_param minor LNBTS mrWaitTimer
del_param minor LNBTS existFlag_mrWaitTimer

####################################################################################################################
# LTE5247 - UE CA capability signalling - different fallbacks
####################################################################################################################
# OM_LTE_SFS_RNL.23276
# Migration of LTE5247 parameters:
# Creation/initialization of new parameters:
# Following parameter must be initialized with its respective default value according to NIDD:
# Feature activation flag - LNCEL-actReqDiffFallbacks.
# 
# Migration of existing parameters:
# No existing parameter needs to be migrated.
# 
# Deletion of existing parameters:
# No existing parameter needs to be deleted.
add_param minor LNCEL actReqDiffFallbacks false

add_list_param minor LNBTS qciTab70 * includeInTacMeas false
add_list_param minor LNBTS qciTab69 * includeInTacMeas false

#history:
add_log minor "Conversion from FLF20C_RADIO_2004_001 to FLF20C_RADIO_2004_002"
