###########################################
## SCFD file version: 0.6                ##
## Release: FLF/FLC18_1711_001           ##
## LTE version: FLF18_RADIO_1711_001     ##
## LTE version: FLC18_RADIO_1711_001     ##
###########################################




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

####################################################################################################################
# LTE3349 Adaptation of License Management to new O&M architecture
####################################################################################################################
del_cls minor CAPLIML



####################################################################################################################
# CRL19653 UTRA Capability Handling
####################################################################################################################
add_param minor LNBTS actUtraCapabilityEnqRed false



####################################################################################################################
# CRL19093 Increased range of maxGBRDl/Ul for QCI1
####################################################################################################################
#OM_LTE_SFS_RNL.19802 Due to CRL20890, in previous release the LNBTS-qciTab1-maxGbrDl and LNBTS-qciTab1-maxGbrUl parameter  value is treated in a special way.
#When value 1 kbps is configured, then eNB-internally maps the value to 30720 kbps.
#This workaround was necessary, because of urgent customer request to support the value 30720 kbps, while NIDD was already frozen and could not be enhanced with additional value 30720 kbps.
#In LTE18, CRL19093 increases the value range of the parameters mentioned above with additional value 30720 kbps.
#Thus a migration from previous parameter setting to newly introduced parameter value is necessary.
#The following migration rule shall be implemented in LTE18:
#For both parameters LNBTS-qciTab1-maxGbrDl and LNBTS-qciTab1-maxGbrUl: if the parameter is configured to 1 kbps in previous release, then it must be changed to value 30720 kbps in LTE18.
dependence_mod_param_conditional_expression_relative minor LISTPARAM MRBTS/LNBTS qciTab1 * maxGbrDl = LISTPARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} qciTab1 ${qciTab1} maxGbrDl == CONST 1 ? CONST 30720 :
dependence_mod_param_conditional_expression_relative minor LISTPARAM MRBTS/LNBTS qciTab1 * maxGbrUl = LISTPARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} qciTab1 ${qciTab1} maxGbrUl == CONST 1 ? CONST 30720 :



#v0.3 PR311285: FL18 Need Migration rules for CRL-19680
####################################################################################################################
# CRL19680 TA timer failure handling
####################################################################################################################
# updated OM_LTE_SFS_RNL.19879
# In case PLMN-ID belongs to AT&T, i.e. in case
#   - LNBTS-mcc is equal to 310 and LNBTS-mnc is equal to 410 and LNBTS-mncLength is '3' OR
#   - LNBTS-mcc is equal to 313 and LNBTS-mnc is equal to 100 and LNBTS-mncLength is '3'
# then
#   configure pdcchOrderConfig as following in each FDD LNCEL instance (i.e. in each LNCEL that has LNCEL-cellTechnology configured to 'FDD'):
#     - if drxProfileIndex is configured to a value greater than or equal to '4' in any of LNBTS-qciTab5, LNBTS-qciTab6, LNBTS-qciTab7, LNBTS-qciTab70, LNBTS-qciTab8, LNBTS-qciTab9 or LNBTS-qciTabOperator OR LNCEL-DRX-applyOutOfSyncState is not set to 'extendedDrxOnly'
#       then set LNCEL-pdcchOrderConfig to value 'enabled'.
#     - in all other cases set LNCEL-pdcchOrderConfig to value 'disabled'.
# else (i.e. for all other PLMN-IDs)
#   for FDD LNCELs (i.e. for LNCELs which have LNCEL-cellTechnology configured to 'FDD'), if not yet configured, add parameter LNCEL-pdcchOrderConfig with default value 'enabled'.
#v0.5 PR315336: [SB FLF18OMS FZP JCST]Commissioning error after SW update
#Notes: In addition to the regular migration to release FL18 this migration rule shall also be applied from FL18 PT3 to FL18 PT4.
#For TDD or NB-IoT-FDD LNCELs, parameter LNCEL-pdcchOrderConfig cannot be configured and shall not be added during migration.
#v0.5 end
####################################################################################################################
add_param minor LNBTS tempATT "false"
dependence_mod_param_conditional_expression_relative minor PARAM MRBTS/LNBTS tempATT = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} mcc == CONST 310 && PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} mnc == CONST 410 && PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} mncLength == CONST 3 ? CONST "true" :
dependence_mod_param_conditional_expression_relative minor PARAM MRBTS/LNBTS tempATT = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} mcc == CONST 313 && PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} mnc == CONST 100 && PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} mncLength == CONST 3 ? CONST "true" :

function_relative minor PARAM MRBTS/LNBTS tempMaxDrxProfId = max int ( LISTPARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} qciTab5 * drxProfileIndex LISTPARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} qciTab6 * drxProfileIndex LISTPARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} qciTab7 * drxProfileIndex LISTPARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} qciTab70 * drxProfileIndex LISTPARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} qciTab8 * drxProfileIndex LISTPARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} qciTab9 * drxProfileIndex LISTPARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} qciTabOperator * drxProfileIndex )

add_param minor LNCEL pdcchOrderConfig enabled
dependence_mod_param_conditional_expression_relative minor PARAM MRBTS/LNBTS/LNCEL pdcchOrderConfig = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} tempATT == CONST "true" ? CONST "disabled" :
dependence_mod_param_conditional_expression_relative minor PARAM MRBTS/LNBTS/LNCEL pdcchOrderConfig = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} tempATT == CONST "true" && PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} tempMaxDrxProfId >= CONST 4 ? CONST "enabled" :
dependence_mod_param_conditional_expression_relative minor PARAM MRBTS/LNBTS/LNCEL pdcchOrderConfig = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} tempATT == CONST "true" && PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL}/DRX-0 applyOutOfSyncState != CONST "extendedDrxOnly" ? CONST "enabled" :

del_param minor LNBTS tempMaxDrxProfId

#v0.5 PR315336: [SB FLF18OMS FZP JCST]Commissioning error after SW update
dependence_del_target_relative minor PARAM MRBTS/LNBTS/LNCEL pdcchOrderConfig ? PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL} cellTechnology != CONST "FDD"
#v0.5 end



#v0.3 PR311288: FL18 Need Migration rules for CRL-19681
####################################################################################################################
# CRL19681 Configurable RLC tPollRetx for DRB
####################################################################################################################
# OM_LTE_SFS_RNL.20520
# In case PLMN-ID belongs to AT&T, i.e. in case
#   - LNBTS-mcc is equal to 310 and LNBTS-mnc is equal to 410 and LNBTS-mncLength is '3' OR
#   - LNBTS-mcc is equal to 313 and LNBTS-mnc is equal to 100 and LNBTS-mncLength is '3'
# then in each of the profiles LNBTS-rlcProf1, LNBTS-rlcProf2, LNBTS-rlcProf3, LNBTS-rlcProf4, LNBTS-rlcProf5, LNBTS-rlcProf6 and LNBTS-rlcProf7
#   - remove tPollRetr if configured and
#   - set tPollRetrDL to value ‘200ms’ and tPollRetrUL to value ‘60ms’ if they are already configured with different values.
#   - If they are not yet configured, add parameter tPollRetrDL with value ‘200ms’ and parameter tPollRetrUL with value ‘60ms’.
# else (i.e. for all other PLMN-IDs)
#   no migration is needed (i.e. do nothing).
####################################################################################################################

dependence_del_target_relative minor LISTPARAM MRBTS/LNBTS rlcProf1 * tPollRetr ? PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} tempATT == CONST "true"
dependence_del_target_relative minor LISTPARAM MRBTS/LNBTS rlcProf2 * tPollRetr ? PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} tempATT == CONST "true"
dependence_del_target_relative minor LISTPARAM MRBTS/LNBTS rlcProf3 * tPollRetr ? PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} tempATT == CONST "true"
dependence_del_target_relative minor LISTPARAM MRBTS/LNBTS rlcProf4 * tPollRetr ? PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} tempATT == CONST "true"
dependence_del_target_relative minor LISTPARAM MRBTS/LNBTS rlcProf5 * tPollRetr ? PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} tempATT == CONST "true"
dependence_del_target_relative minor LISTPARAM MRBTS/LNBTS rlcProf6 * tPollRetr ? PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} tempATT == CONST "true"
dependence_del_target_relative minor LISTPARAM MRBTS/LNBTS rlcProf7 * tPollRetr ? PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} tempATT == CONST "true"

add_list_param minor LNBTS rlcProf1 * tPollRetrDl temp
add_list_param minor LNBTS rlcProf2 * tPollRetrDl temp
add_list_param minor LNBTS rlcProf3 * tPollRetrDl temp
add_list_param minor LNBTS rlcProf4 * tPollRetrDl temp
add_list_param minor LNBTS rlcProf5 * tPollRetrDl temp
add_list_param minor LNBTS rlcProf6 * tPollRetrDl temp
add_list_param minor LNBTS rlcProf7 * tPollRetrDl temp
dependence_mod_param_conditional_expression_relative minor LISTPARAM MRBTS/LNBTS rlcProf1 * tPollRetrDl = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} tempATT == CONST "true" ? CONST "200ms" :
dependence_mod_param_conditional_expression_relative minor LISTPARAM MRBTS/LNBTS rlcProf2 * tPollRetrDl = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} tempATT == CONST "true" ? CONST "200ms" :
dependence_mod_param_conditional_expression_relative minor LISTPARAM MRBTS/LNBTS rlcProf3 * tPollRetrDl = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} tempATT == CONST "true" ? CONST "200ms" :
dependence_mod_param_conditional_expression_relative minor LISTPARAM MRBTS/LNBTS rlcProf4 * tPollRetrDl = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} tempATT == CONST "true" ? CONST "200ms" :
dependence_mod_param_conditional_expression_relative minor LISTPARAM MRBTS/LNBTS rlcProf5 * tPollRetrDl = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} tempATT == CONST "true" ? CONST "200ms" :
dependence_mod_param_conditional_expression_relative minor LISTPARAM MRBTS/LNBTS rlcProf6 * tPollRetrDl = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} tempATT == CONST "true" ? CONST "200ms" :
dependence_mod_param_conditional_expression_relative minor LISTPARAM MRBTS/LNBTS rlcProf7 * tPollRetrDl = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} tempATT == CONST "true" ? CONST "200ms" :
dependence_del_target_relative minor LISTPARAM MRBTS/LNBTS rlcProf1 * tPollRetrDl ? LISTPARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} rlcProf1 ${rlcProf1} tPollRetrDl == CONST "temp"
dependence_del_target_relative minor LISTPARAM MRBTS/LNBTS rlcProf2 * tPollRetrDl ? LISTPARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} rlcProf2 ${rlcProf2} tPollRetrDl == CONST "temp"
dependence_del_target_relative minor LISTPARAM MRBTS/LNBTS rlcProf3 * tPollRetrDl ? LISTPARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} rlcProf3 ${rlcProf3} tPollRetrDl == CONST "temp"
dependence_del_target_relative minor LISTPARAM MRBTS/LNBTS rlcProf4 * tPollRetrDl ? LISTPARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} rlcProf4 ${rlcProf4} tPollRetrDl == CONST "temp"
dependence_del_target_relative minor LISTPARAM MRBTS/LNBTS rlcProf5 * tPollRetrDl ? LISTPARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} rlcProf5 ${rlcProf5} tPollRetrDl == CONST "temp"
dependence_del_target_relative minor LISTPARAM MRBTS/LNBTS rlcProf6 * tPollRetrDl ? LISTPARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} rlcProf6 ${rlcProf6} tPollRetrDl == CONST "temp"
dependence_del_target_relative minor LISTPARAM MRBTS/LNBTS rlcProf7 * tPollRetrDl ? LISTPARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} rlcProf7 ${rlcProf7} tPollRetrDl == CONST "temp"

add_list_param minor LNBTS rlcProf1 * tPollRetrUl temp
add_list_param minor LNBTS rlcProf2 * tPollRetrUl temp
add_list_param minor LNBTS rlcProf3 * tPollRetrUl temp
add_list_param minor LNBTS rlcProf4 * tPollRetrUl temp
add_list_param minor LNBTS rlcProf5 * tPollRetrUl temp
add_list_param minor LNBTS rlcProf6 * tPollRetrUl temp
add_list_param minor LNBTS rlcProf7 * tPollRetrUl temp
dependence_mod_param_conditional_expression_relative minor LISTPARAM MRBTS/LNBTS rlcProf1 * tPollRetrUl = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} tempATT == CONST "true" ? CONST "60ms" :
dependence_mod_param_conditional_expression_relative minor LISTPARAM MRBTS/LNBTS rlcProf2 * tPollRetrUl = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} tempATT == CONST "true" ? CONST "60ms" :
dependence_mod_param_conditional_expression_relative minor LISTPARAM MRBTS/LNBTS rlcProf3 * tPollRetrUl = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} tempATT == CONST "true" ? CONST "60ms" :
dependence_mod_param_conditional_expression_relative minor LISTPARAM MRBTS/LNBTS rlcProf4 * tPollRetrUl = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} tempATT == CONST "true" ? CONST "60ms" :
dependence_mod_param_conditional_expression_relative minor LISTPARAM MRBTS/LNBTS rlcProf5 * tPollRetrUl = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} tempATT == CONST "true" ? CONST "60ms" :
dependence_mod_param_conditional_expression_relative minor LISTPARAM MRBTS/LNBTS rlcProf6 * tPollRetrUl = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} tempATT == CONST "true" ? CONST "60ms" :
dependence_mod_param_conditional_expression_relative minor LISTPARAM MRBTS/LNBTS rlcProf7 * tPollRetrUl = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} tempATT == CONST "true" ? CONST "60ms" :
dependence_del_target_relative minor LISTPARAM MRBTS/LNBTS rlcProf1 * tPollRetrUl ? LISTPARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} rlcProf1 ${rlcProf1} tPollRetrUl == CONST "temp"
dependence_del_target_relative minor LISTPARAM MRBTS/LNBTS rlcProf2 * tPollRetrUl ? LISTPARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} rlcProf2 ${rlcProf2} tPollRetrUl == CONST "temp"
dependence_del_target_relative minor LISTPARAM MRBTS/LNBTS rlcProf3 * tPollRetrUl ? LISTPARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} rlcProf3 ${rlcProf3} tPollRetrUl == CONST "temp"
dependence_del_target_relative minor LISTPARAM MRBTS/LNBTS rlcProf4 * tPollRetrUl ? LISTPARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} rlcProf4 ${rlcProf4} tPollRetrUl == CONST "temp"
dependence_del_target_relative minor LISTPARAM MRBTS/LNBTS rlcProf5 * tPollRetrUl ? LISTPARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} rlcProf5 ${rlcProf5} tPollRetrUl == CONST "temp"
dependence_del_target_relative minor LISTPARAM MRBTS/LNBTS rlcProf6 * tPollRetrUl ? LISTPARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} rlcProf6 ${rlcProf6} tPollRetrUl == CONST "temp"
dependence_del_target_relative minor LISTPARAM MRBTS/LNBTS rlcProf7 * tPollRetrUl ? LISTPARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} rlcProf7 ${rlcProf7} tPollRetrUl == CONST "temp"
#v0.4 not delete tempATT, as it is used below
#del_param minor LNBTS tempATT
#v0.4 end



#v0.6 PR338120: FL18 need to initialize parameter actDrxDuringTTIB to false for all customers, including VzW
#v0.3 PR311289: FL18 Need Migration rules for CRL-19754
####################################################################################################################
# CRL19754 Fake DRX
####################################################################################################################
# updated OM_LTE_SFS_RNL.19694
# 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
#v0.6
#   when upgrading from xL18 PT3 to xL18 PT4 [PR311289]:
#v0.6 end
#   set actDrxDuringTTIB in each LNCEL instance to following values:
#     - if actDrx ='true' then set actDrxDuringTTIB to value ‘true’ in the same LNCEL instance
#     - if actDrx ='false' then set actDrxDuringTTIB to value ‘false’ in the same LNCEL instance
#v0.6
#   when upgrading to xL18 later than PT4 [PR338120]
#   set actDrxDuringTTIB in each LNCEL instance to 'false'
#v0.6 end
# else (i.e. for all other PLMN-IDs)
#   in each LNCEL instance, if not yet configured, add the parameter actDrxDuringTTIB with value 'false'.
####################################################################################################################
add_param minor LNBTS tempVzW "false"
dependence_mod_param_conditional_expression_relative minor PARAM MRBTS/LNBTS tempVzW = 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 "true" :
dependence_mod_param_conditional_expression_relative minor PARAM MRBTS/LNBTS tempVzW = 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 "true" :
add_param minor LNCEL actDrxDuringTTIB false
#v0.6
#dependence_mod_param_conditional_expression_relative minor PARAM MRBTS/LNBTS/LNCEL actDrxDuringTTIB = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} tempVzW == CONST "true" ? PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL} actDrx :
#v0.6 end



#v0.3 PR311290: FL18 Need Migration rules for CRL-19919
####################################################################################################################
# CRL19919 PDCCH CCE Power Limiting
####################################################################################################################
# updated OM_LTE_SFS_RNL.19885
# 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
#   - in all FDD LNCEL instances (i.e. in LNCELs that have LNCEL-cellTechnology configured to 'FDD') set maxPdcchAggHighLoad to value ‘8’
#   - in all TDD LNCEL instances (i.e. in LNCELs that have LNCEL-cellTechnology configured to 'TDD') and in all NB-IoT LNCEL instances (i.e. in LNCELs that have LNCEL-cellTechnology configured to ‘NB-IoT-FDD’) set maxPdcchAggHighLoad to its default value ‘16’
#   - in all LNCEL instances, if maxPdcchCqiShift is already configured, keep its value unchanged
#   - in all LNCEL instances set maxPdcchAgg to its default value '16'.
#   - in all LNCEL instances set maxPhyCces to its default value '8'.
#   - in all FDD LNCEL instances (i.e. in LNCELs that have LNCEL-cellTechnology configured to 'FDD'), if actOlLaPdcch is configured to 'true' and pdcchCqiShift is configured to a value greater than or equal to ‘-5.0’ then set minPdcchCqiShift to ‘-5.0’
# else (i.e. for all other PLMN-IDs)
#   - in all LNCEL instances, if not yet configured, initialize maxPdcchAgg with its default value '16'.
#   - in all LNCEL instances, if not yet configured, initialize maxPdcchAggHighLoad with its default value '16'.
#   - in all LNCEL instances, if not yet configured, initialize maxPhyCces with its default value '8'.
#
# In case PLMN-ID belongs to AT&T, i.e. in case
#   - LNBTS-mcc is equal to 310 and LNBTS-mnc is equal to 410 and LNBTS-mncLength is '3' OR
#   - LNBTS-mcc is equal to 313 and LNBTS-mnc is equal to 100 and LNBTS-mncLength is '3'
# then check the parameter pdcchCqiShift in each LNCEL instance.
#   If pdcchCqiShift is configured and is set to ‘-5.1’ and
#   maxPdcchCqiShift is not configured or is set to a value greater than or equal to ‘-5.0’
#   then set pdcchCqiShift to ‘-5.0’
# else no further migration is needed (i.e. do nothing).
####################################################################################################################
add_param minor LNCEL maxPdcchAgg 16
add_param minor LNCEL maxPdcchAggHighLoad 16
add_param minor LNCEL maxPhyCces 8
dependence_mod_param_conditional_expression_relative minor PARAM MRBTS/LNBTS/LNCEL maxPdcchAggHighLoad = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} tempVzW == CONST "true" && PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL} cellTechnology == CONST "FDD" ? CONST 8 :
dependence_mod_param_conditional_expression_relative minor PARAM MRBTS/LNBTS/LNCEL maxPdcchAgg = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} tempVzW == CONST "true" ? CONST 16 :
dependence_mod_param_conditional_expression_relative minor PARAM MRBTS/LNBTS/LNCEL maxPhyCces = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} tempVzW == CONST "true" ? CONST 8 :

add_param minor LNCEL minPdcchCqiShift temp
dependence_mod_param_conditional_expression_relative minor PARAM MRBTS/LNBTS/LNCEL minPdcchCqiShift = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} tempVzW == CONST "true" && PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL} cellTechnology == CONST "FDD" && PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL} actOlLaPdcch == CONST "true" && PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL} pdcchCqiShift >= CONST -50 ? CONST -50 :
dependence_del_param minor LNCEL minPdcchCqiShift temp minPdcchCqiShift

add_param minor LNCEL tempMaxPdcchCqiShift "true"
dependence_mod_param_conditional_expression_relative minor PARAM MRBTS/LNBTS/LNCEL tempMaxPdcchCqiShift = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL} maxPdcchCqiShift < CONST -50 ? CONST "false" :
dependence_mod_param_conditional_expression_relative minor PARAM MRBTS/LNBTS/LNCEL pdcchCqiShift = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS} tempATT == CONST "true" && PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL} pdcchCqiShift == CONST -51 && PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL} tempMaxPdcchCqiShift == CONST "true" ? CONST -50 :
del_param minor LNCEL tempMaxPdcchCqiShift

del_param minor LNBTS tempATT
del_param minor LNBTS tempVzW
#v0.3 end



####################################################################################################################
# CRL15393 Introduce configurable congestion triggered depriorization for NBR
####################################################################################################################
#OM_LTE_SFS_RNL.19800 Migration of new configurable LNCEL parameters
#For each LNCEL instance with actNbrForNonGbrBearers equal to 'true' do
#·	If nbrCongHandling is set to ‘true’ then the following parameters shall be added to the LNCEL instance with value 'true':
#	dlsPdschNbrCongDetAct
#	ulsPuschNbrCongDetAct
#	pdcchCongDetActDl
#	pdcchCongDetActUl
#·	If nbrCongHandling is set to ‘false’ then the following parameters shall be added to the LNCEL instance with value 'false':
#	dlsPdschNbrCongDetAct
#	ulsPuschNbrCongDetAct
#	pdcchCongDetActDl
#	pdcchCongDetActUl

dependence_add_param minor LNCEL actNbrForNonGbrBearers true dlsPdschNbrCongDetAct false
dependence_add_param minor LNCEL actNbrForNonGbrBearers true pdcchCongDetActDl false
dependence_add_param minor LNCEL actNbrForNonGbrBearers true pdcchCongDetActUl false
dependence_add_param minor LNCEL actNbrForNonGbrBearers true ulsPuschNbrCongDetAct false
dependence_mod_param_conditional_expression_relative minor PARAM MRBTS/LNBTS/LNCEL dlsPdschNbrCongDetAct = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL} nbrCongHandling == CONST "true" ? CONST "true" :
dependence_mod_param_conditional_expression_relative minor PARAM MRBTS/LNBTS/LNCEL pdcchCongDetActDl = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL} nbrCongHandling == CONST "true" ? CONST "true" :
dependence_mod_param_conditional_expression_relative minor PARAM MRBTS/LNBTS/LNCEL pdcchCongDetActUl = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL} nbrCongHandling == CONST "true" ? CONST "true" :
dependence_mod_param_conditional_expression_relative minor PARAM MRBTS/LNBTS/LNCEL ulsPuschNbrCongDetAct = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL} nbrCongHandling == CONST "true" ? CONST "true" :





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

####################################################################################################################
# CRL20622 Cat-M1: Semi-Static Repetition LTE4177 descoping from FL17A SP1
####################################################################################################################
#OM_LTE_SFS_RNL.19811 New migration rule for CRL20622 - support MPUCCH per CE level
#If LTE3128/LTE3582/LTE3597/LTE4177 are enabled in the cell (actCatM is set to 'true' and catMProfId refer to one entry of MOC CATMPR, one instance CATMCEL is created),
#if CATMCEL-numCELevelCatM is set to '2' and structure catMCELevel1 is created in CATMPR, the following new mandatory parameter must be initialized with its default value:
#      -  CATMPR-catMCELevel1-pucchF1NumRepModeACatM
#      -  CATMPR-catMCELevel1-pucchNumRepMsg4ModeACatM

add_list_param minor CATMPR catMCELevel1 * pucchF1NumRepModeACatM r2
add_list_param minor CATMPR catMCELevel1 * pucchNumRepMsg4ModeACatM n2





#history:
add_log minor "Conversion from FLF/FLC18_RADIO_1710_003 to FLF/FLC18_RADIO_1711_001"