##########################################
## SCFD file version: 0.2               ##
## Release: FLF20B_2002_001             ##
## LTE version: FLF20B_RADIO_2002_001   ##
##########################################

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


####################################################################################################################
# LTE4016 - CMAS Operator Configurable Prioritization of Message IDs
####################################################################################################################
# OM_LTE_SFS_RNL.25048
# Migration of the new activation parameter
#The following new mandatory parameter must be initialized with its default value: 
#LNBTS-actCmasConfigurablePrio 

add_param minor LNBTS actCmasConfigurablePrio false

####################################################################################################################
# LTE2737 eNB System Load PM Counter
####################################################################################################################
# I check DOORS on 2020-01-20,  there is no migration rule
# some mandatory parameters are Hidden, so ignore them.


add_cls minor PMRNL/PMPLM-1
set_operation minor PMPLM create
set_adaptation minor PMPLM NOKLTE


add_param minor PMPLM loadOccurrencesLoad0a 5
add_param minor PMPLM loadOccurrencesLoad0b 10
add_param minor PMPLM loadOccurrencesLoad0c 15
add_param minor PMPLM loadOccurrencesLoad0d 20
add_param minor PMPLM loadOccurrencesLoad0e 25

add_param minor PMPLM loadThrLoad0a 15
add_param minor PMPLM loadThrLoad0b 30
add_param minor PMPLM loadThrLoad0c 45
add_param minor PMPLM loadThrLoad0d 60
add_param minor PMPLM loadThrLoad0e 75


add_param minor PMPLM uplaneLoadThreshold0a 35
add_param minor PMPLM uplaneLoadThreshold0b 40
add_param minor PMPLM uplaneLoadThreshold0c 45
add_param minor PMPLM uplaneLoadThreshold0d 50
add_param minor PMPLM uplaneLoadThreshold0e 55

#add_param minor PMPLM cfgmodeLoad0a "Load occurences with Delay threshold"
#add_param minor PMPLM cfgmodeLoad0b "Load occurences with Delay threshold"
#add_param minor PMPLM cfgmodeLoad0c "Load occurences with Delay threshold"
#add_param minor PMPLM cfgmodeLoad0d "Load occurences with Delay threshold"
#add_param minor PMPLM cfgmodeLoad0e "Load occurences with Delay threshold"
#
#add_param minor PMPLM loadThrPercentageLoad0a 20
#add_param minor PMPLM loadThrPercentageLoad0b 40
#add_param minor PMPLM loadThrPercentageLoad0c 60
#add_param minor PMPLM loadThrPercentageLoad0d 80
#add_param minor PMPLM loadThrPercentageLoad0e 100

####################################################################################################################
# CRL31761 Skipping periodic CQI reports and polling aperiodic CQI reports for LTE FDD mMIMO
####################################################################################################################
# This is for macro, not for micro
add_param minor LNCEL_FDD actAperPmiPolling false



####################################################################################################################
# LTE4652 - ANR for EN-DC: Automatic X2 setup
####################################################################################################################
# OM_LTE_SFS_RNL.24957
# Migration rules for LTE4652
# During migration to 20B following tasks need to be done, no matter if the BTS serves FDD or TDD cells.
# In MOC /MRBTS/LNBTS
# the parameter actEndcAutoX2Setup shall be added with the default value
# In MOC MRBTS/LNBTS/LNADJGNB
# the parameter cPlaneIpAddrCtrl shall be added with the default value
add_param minor LNBTS actEndcAutoX2Setup false
add_param minor LNADJGNB cPlaneIpAddrCtrl oamControlled

####################################################################################################################
# LTE4896 - Fast return to 5G Option 2 after VoLTE call release
####################################################################################################################
# OM_LTE_SFS_RNL.25169
# Migration rules for LTE4896
# During migration following tasks need to be done, no matter if the BTS serves FDD or TDD cells.
# In MOC /MRBTS/LNBTS 
# the parameter actReturnTo5GSA shall be added with the default value
add_param minor LNBTS actReturnTo5GSA disabled


####################################################################################################################
# LTE5433 - ANR for EN-DC: Resolution of Unknown cells
####################################################################################################################
# OM_LTE_SFS_RNL.24955
# Migration rules for LTE5433
# During migration following tasks need to be done, no matter if the BTS serves FDD or TDD cells.
# In MOC /MRBTS/LNBTS
# the parameter actUeBasedAnrNr shall be added with the default value
# In MOC /MRBTS/LNBTS/ANR
# the parameter anrNrB1NrTimer shall be added with the default value
# the parameter anrNrDefNbrRelRemHyst shall be added with the default value
# the parameter anrNrInactivityTimer shall be added with the default value
# In each existing MOC /MRBTS/LNBTS/LNCEL
# the structure drxProfile105 shall be added
# inside the structure drxProfile105
# the parameter drxInactivityT shall be added with the default value
# the parameter drxLongCycle shall be added with the default value
# the parameter drxOnDuratT shall be added with the default value
# the parameter drxProfileIndex shall be added with the default value
# the parameter drxProfilePriority shall be added with the default value
# the parameter drxRetransT shall be added with the default value
# In each existing MOC /MRBTS/LNBTS/LNCEL/LNRELGNBCELL
# the parameter removeAllowed shall be added with the default value
# In each existing MRBTS/LNBTS/NRDCDPR and MRBTS/LNBTS/NRDCPR
# in the structure nrDcMeasConfig the parameter nrPciNbrRelRemThresh shall be added with the default value

add_param minor LNBTS actUeBasedAnrNr false

add_param minor ANR anrNrB1NrTimer 2500
add_param minor ANR anrNrDefNbrRelRemHyst 9900
add_param minor ANR anrNrInactivityTimer 5

add_list minor LNCEL drxProfile105
add_list_item minor LNCEL drxProfile105
add_list_param minor LNCEL drxProfile105 * drxInactivityT 20
add_list_param minor LNCEL drxProfile105 * drxLongCycle 320ms
add_list_param minor LNCEL drxProfile105 * drxOnDuratT 10
add_list_param minor LNCEL drxProfile105 * drxProfileIndex 105
add_list_param minor LNCEL drxProfile105 * drxProfilePriority 30
add_list_param minor LNCEL drxProfile105 * drxRetransT 16

add_param minor LNRELGNBCELL removeAllowed true


add_list_param minor NRDCDPR nrDcMeasConfig * nrPciNbrRelRemThresh 10000
add_list_param minor NRDCPR  nrDcMeasConfig * nrPciNbrRelRemThresh 10000

####################################################################################################################
# LTE5574 - Enhancement of actual EIRP control for non-beamforming cells
####################################################################################################################
# OM_LTE_SFS_RNL.25055
# Migration of LTE5574 parameters:
# Creation/initialization of new parameters:
# If LNCEL-actEirpControl is not equal to 'disabled', the following new optional parameter must be configured and initialized with its default value:
#·  LNCEL- eirpMinPrbsForLte
# Migration of existing parameters:
# If LNCEL_FDD-actSdlc is 'true' and LNCEL_FDD-EarfcnDL in the same cell instance is from (Band 46 a or Band 46 d) as below then LNCEL-actEirpControl must be set to 'disabled'.
# Band 46 a: 47088 - 47092; 47288 - 47292; 47488 - 47492; 47688 - 47692 
# Band 46 d: 52738 - 52742; 52938 - 52942; 53138 - 53142; 53338 - 53342; 53538 - 53542
# Deletion of existing parameters:
# none

add_param minor LNCEL eirpMinPrbsForLte 6
dependence_del_param minor LNCEL actEirpControl "disabled" eirpMinPrbsForLte

add_param minor LNCEL_FDD tmpEarfcnDLFlag false
add_param minor LNCEL_FDD tmpEarfcnDLRange47088_47092 false
add_param minor LNCEL_FDD tmpEarfcnDLRange47288_47292 false
add_param minor LNCEL_FDD tmpEarfcnDLRange47488_47492 false
add_param minor LNCEL_FDD tmpEarfcnDLRange47688_47692 false
add_param minor LNCEL_FDD tmpEarfcnDLRange52738_52742 false
add_param minor LNCEL_FDD tmpEarfcnDLRange52938_52942 false
add_param minor LNCEL_FDD tmpEarfcnDLRange53138_53142 false
add_param minor LNCEL_FDD tmpEarfcnDLRange53338_53342 false
add_param minor LNCEL_FDD tmpEarfcnDLRange53538_53542 false

dependence_mod_param_conditional_expression_relative minor PARAM MRBTS/LNBTS/LNCEL/LNCEL_FDD tmpEarfcnDLRange47088_47092 = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL}/LNCEL_FDD-${LNCEL_FDD} earfcnDL >= CONST 47088 && PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL}/LNCEL_FDD-${LNCEL_FDD} earfcnDL <= CONST 47092 ? CONST "true" : 
dependence_mod_param_conditional_expression_relative minor PARAM MRBTS/LNBTS/LNCEL/LNCEL_FDD tmpEarfcnDLRange47288_47292 = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL}/LNCEL_FDD-${LNCEL_FDD} earfcnDL >= CONST 47288 && PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL}/LNCEL_FDD-${LNCEL_FDD} earfcnDL <= CONST 47292 ? CONST "true" : 
dependence_mod_param_conditional_expression_relative minor PARAM MRBTS/LNBTS/LNCEL/LNCEL_FDD tmpEarfcnDLRange47488_47492 = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL}/LNCEL_FDD-${LNCEL_FDD} earfcnDL >= CONST 47488 && PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL}/LNCEL_FDD-${LNCEL_FDD} earfcnDL <= CONST 47492 ? CONST "true" : 
dependence_mod_param_conditional_expression_relative minor PARAM MRBTS/LNBTS/LNCEL/LNCEL_FDD tmpEarfcnDLRange47688_47692 = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL}/LNCEL_FDD-${LNCEL_FDD} earfcnDL >= CONST 47688 && PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL}/LNCEL_FDD-${LNCEL_FDD} earfcnDL <= CONST 47692 ? CONST "true" : 
dependence_mod_param_conditional_expression_relative minor PARAM MRBTS/LNBTS/LNCEL/LNCEL_FDD tmpEarfcnDLRange52738_52742 = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL}/LNCEL_FDD-${LNCEL_FDD} earfcnDL >= CONST 52738 && PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL}/LNCEL_FDD-${LNCEL_FDD} earfcnDL <= CONST 52742 ? CONST "true" : 
dependence_mod_param_conditional_expression_relative minor PARAM MRBTS/LNBTS/LNCEL/LNCEL_FDD tmpEarfcnDLRange52938_52942 = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL}/LNCEL_FDD-${LNCEL_FDD} earfcnDL >= CONST 52938 && PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL}/LNCEL_FDD-${LNCEL_FDD} earfcnDL <= CONST 52942 ? CONST "true" : 
dependence_mod_param_conditional_expression_relative minor PARAM MRBTS/LNBTS/LNCEL/LNCEL_FDD tmpEarfcnDLRange53138_53142 = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL}/LNCEL_FDD-${LNCEL_FDD} earfcnDL >= CONST 53138 && PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL}/LNCEL_FDD-${LNCEL_FDD} earfcnDL <= CONST 53142 ? CONST "true" : 
dependence_mod_param_conditional_expression_relative minor PARAM MRBTS/LNBTS/LNCEL/LNCEL_FDD tmpEarfcnDLRange53338_53342 = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL}/LNCEL_FDD-${LNCEL_FDD} earfcnDL >= CONST 53338 && PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL}/LNCEL_FDD-${LNCEL_FDD} earfcnDL <= CONST 53342 ? CONST "true" : 
dependence_mod_param_conditional_expression_relative minor PARAM MRBTS/LNBTS/LNCEL/LNCEL_FDD tmpEarfcnDLRange53538_53542 = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL}/LNCEL_FDD-${LNCEL_FDD} earfcnDL >= CONST 53538 && PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL}/LNCEL_FDD-${LNCEL_FDD} earfcnDL <= CONST 53542 ? CONST "true" : 
dependence_mod_param_conditional_expression_relative minor PARAM MRBTS/LNBTS/LNCEL/LNCEL_FDD tmpEarfcnDLFlag = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL}/LNCEL_FDD-${LNCEL_FDD} tmpEarfcnDLRange47088_47092 == CONST "true" || PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL}/LNCEL_FDD-${LNCEL_FDD} tmpEarfcnDLRange47288_47292 == CONST "true" || PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL}/LNCEL_FDD-${LNCEL_FDD} tmpEarfcnDLRange47488_47492 == CONST "true" || PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL}/LNCEL_FDD-${LNCEL_FDD} tmpEarfcnDLRange47688_47692 == CONST "true" || PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL}/LNCEL_FDD-${LNCEL_FDD} tmpEarfcnDLRange52738_52742 == CONST "true" || PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL}/LNCEL_FDD-${LNCEL_FDD} tmpEarfcnDLRange52938_52942 == CONST "true" || PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL}/LNCEL_FDD-${LNCEL_FDD} tmpEarfcnDLRange53138_53142 == CONST "true" || PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL}/LNCEL_FDD-${LNCEL_FDD} tmpEarfcnDLRange53338_53342 == CONST "true" || PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL}/LNCEL_FDD-${LNCEL_FDD} tmpEarfcnDLRange53538_53542 == CONST "true" ? CONST "true" : 

#dependence_mod_param_conditional_expression_relative minor PARAM MRBTS/LNBTS/LNCEL actEirpControl = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL}/LNCEL_FDD-* actSdlc == CONST "true" && PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL}/LNCEL_FDD-* tmpEarfcnDLFlag == CONST "true" ? CONST "disabled" : 

del_param minor LNCEL_FDD tmpEarfcnDLFlag
del_param minor LNCEL_FDD tmpEarfcnDLRange47088_47092
del_param minor LNCEL_FDD tmpEarfcnDLRange47288_47292
del_param minor LNCEL_FDD tmpEarfcnDLRange47488_47492
del_param minor LNCEL_FDD tmpEarfcnDLRange47688_47692
del_param minor LNCEL_FDD tmpEarfcnDLRange52738_52742
del_param minor LNCEL_FDD tmpEarfcnDLRange52938_52942
del_param minor LNCEL_FDD tmpEarfcnDLRange53138_53142
del_param minor LNCEL_FDD tmpEarfcnDLRange53338_53342
del_param minor LNCEL_FDD tmpEarfcnDLRange53538_53542

####################################################################################################################
# LTE5626 - Serving radio link qualification with load balancing - I
####################################################################################################################
# OM_LTE_SFS_RNL.24970
# Migration of LTE5626 parameters:
# Creation/initialization of new parameters:
# The new optional parameter LNCEL-actServRlqInterFreqLB must be initialized and set to its default value according to NIDD in all instances of LNCEL, 
# where at least one of the parameters LNCEL-actInterFreqLB or LNCEL-actAmle is set to 'true'.
# Modification of existing parameters:
# none
# Removal of existing parameters:
# none

add_param minor LNCEL tmpActServRlqInterFreqLBFlag false
dependence_mod_param_conditional_expression_relative minor PARAM MRBTS/LNBTS/LNCEL tmpActServRlqInterFreqLBFlag = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL} actInterFreqLB == CONST "true" || PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL} actAmle == CONST "true" ? CONST "true" : 
dependence_add_param minor LNCEL tmpActServRlqInterFreqLBFlag true actServRlqInterFreqLB false
del_param minor LNCEL tmpActServRlqInterFreqLBFlag

####################################################################################################################
# LTE5654 - LAA prioritization over EN-DC
####################################################################################################################
# Migration rules for LTE5654
# During migration to 20B following tasks need to be done, no matter if the BTS serves FDD or TDD cells.
# In MOC /MRBTS/LNBTS 
# the parameter actLaaPrefOverEnDc shall be added with the default value
add_param minor LNBTS actLaaPrefOverEnDc false

#history:
add_log minor "Conversion from FLF20B_RADIO_2001_002 to FLF20B_RADIO_2002_001"
