####################################
## SCFD file version: 0.3         ##
## PDDB version: TLF16A_1602_002  ##
####################################

#General checking for rule file execution
check_version minor TL17
check_version minor TLF17
check_version minor TLC17


check_param minor LNCEL actModulationSchemeDl


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

#Macro specific
################################################################################################
# LTE3086-A CRL11140 Legacy ALD management protocol for Open CPRI
################################################################################################
# No CFAM migr. req.


################################################################################################
# LTE2754 Frequency bands priority change in mFBI
################################################################################################
# OM_LTE_SFS_RNL.15590
# Migration of LTE2754 parameters:

# The following new mandatory parameters must be initialized with their default values:
# - In each existing instance of MFBIPR, the parameter MFBIPR-freqBandIndPrio shall be initialized with its default value ('not-broadcasted').

add_param minor MFBIPR freqBandIndPrio not-broadcasted


#Macro specific
################################################################################################
# LTE2335-A CRL8003 The inline GNSS receiver module (GNSS dongle)
################################################################################################
# CFAM
# GNSS Receiver Control Mode parameter in the GNSSE and GNSSI object
# The GNSS Receiver Mode parameter has been introduced with the feature LTE2438.
# With the feature LTE2335 the value range has been enhanced and one value has been removed.
# This results in the need to migrate the configuration data according to the rule below.

# The value 0: All-in-view" shall be migrated to the value 1: GPS-GLONASS.

#!! What parameter value shall be migrated?? Not stated in CFAM migr. req!
#!! From NIDD "Enum: 7, GPS-GLONASS" for
#!! GNSSEgnssConstellationMode
#!! GNSSEgnssControlMode
#!! GNSSIgnssConstellationMode
#!! GNSSIgnssControlMode

#dependence_mod_param minor GNSSE gnssControlMode "All-in-view" gnssControlMode "GPS-GLONASS"
#dependence_mod_param minor GNSSI gnssControlMode "All-in-view" gnssControlMode "GPS-GLONASS"


################################################################################################
# LTE2479-A-a CRL10579 256 QAM in DL -- Initial Context Setup for the default bearer
################################################################################################
#OM_LTE_SFS_RNL.14821
# Migration of LNCEL parameters enableDl16Qam and dl64QamEnable 

# The existing LNCEL parameters for activation of the DL modulation scheme, enableDl16Qam and dl64QamEnable, are no longer supported and therefore removed. The DL modulation scheme is now configured with a single, new parameter actModulationSchemeDl.

#The following migration is necessary:

#For all LNCEL instances do:
# if enableDL16Qam == 'false' then actModulationSchemeDl = 'QPSK'
# if enableDL16Qam == 'true' and dl64QamEnable == 'false' then actModulationSchemeDl = '16QAM'
# if enableDL16Qam == 'true' and dl64QamEnable == 'true' then actModulationSchemeDl = '64QAM'

# Chapter 4
# The existing LNCEL parameters for activation of the DL modulation scheme, enableDl16Qam and dl64QamEnable, are no longer supported and therefore removed. The DL modulation scheme is now configured with a single, new parameter actModulationSchemeDl.

# enableDl16Qam is mapped to value 16QAM
# dl64QamEnable is mapped to value 64QAM

add_param minor LNCEL actModulationSchemeDl QPSK
#v0.2 - typo corrected enableDL16Qam --> enableDl16Qam
dependence_mod_param_conditional_expression_relative minor PARAM MRBTS/LNBTS/LNCEL actModulationSchemeDl = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL} enableDl16Qam == CONST "true" && PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL} dl64QamEnable == CONST "false" ? CONST "16QAM" :
dependence_mod_param_conditional_expression_relative minor PARAM MRBTS/LNBTS/LNCEL actModulationSchemeDl = PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL} enableDl16Qam == CONST "true" && PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/LNCEL-${LNCEL} dl64QamEnable == CONST "true" ? CONST "64QAM" :
#v0.2 end

#! deletion moved to 1603
#del_param minor LNCEL enableDl16Qam
#del_param minor LNCEL dl64QamEnable


################################################################################################
# LTE2493-B Enhanced VoLTE Performance Monitoring  VoLTE DL delay and BLER histogram counters
################################################################################################
#!! No req. in CFAM but there is a new mandatory param based on CCPM.
# Parameter Name: LTE VoLTE BLER Histogram
# Abbreviated Name: mtVoLTEBLERHist
#!! Not yet added in 1602.


################################################################################################
# CRL10221 Functional Grouping of Object Model Parameters  partially available
################################################################################################
#!! No migration requirements, No changes


################################################################################################
# PR119476: [Trunk][FSMF][FXFC]Cells are faulty with fault 6253
################################################################################################
#PMQAP/cfgARP Default value and special value = 99 deleted, can be set to 1-15
mod_param minor PMQAP cfgARP 99 1


################################################################################################
# PR120585: [LTE2804] Structure pmRSRPRSRQHist and its parameters should be moved out of PMRNL MOC
################################################################################################
#!! LTE2804 RSRP and RSRQ histograms
#!! found in compare and RN
#!! No migration requirements in SFS PMO_LTE_SFS_RAN_Measure
#!! PMRNLpmRSRPRSRQHist. list removed and optional PMRPQH MOC added!
#!! Should we move old values to new values
#!! pmRSRPRSRQHist is new in 1601. This is only R&D case.

del_list minor PMRNL pmRSRPRSRQHist


################################################################################################
# PR119633: Migration Rules for lbpsISONCtlEnabled (=xL16) to lbpsCSONCtlEnabled (=xL16A)
################################################################################################
# LTE3051 Eden-NET replacing iSON as centralized SON solution
#!! Pronto number found in RN
#!! There is no modification for SFS change in pronto!! Link fould from change module!
# Migration of the legacy parameter 'lbpsISONCtlEnabled'

# During migration the existing parameter lbpsISONCtlEnabled shall be renamed to lbpsCSONCtlEnabled.
# That means a new PSGRP parameter lbpsCSONCtlEnabled shall be created. It should have the same value as the legacy PSGRP parameter lbpsISONCtlEnabled.
# lbpsISONCtlEnabled shall be deleted.

# Hint: LTE3051-G is renaming the parameter to a more generic name as the iSON Manager is being replaced by Eden-NET.

rename_param minor PSGRP lbpsISONCtlEnabled lbpsCSONCtlEnabled


#FZC specific
#Sync with TRS PDDB
#v0.3 - MOC name corrected APL2SW --> APWIFI
#rename_param minor APL2SW actWifi actWiFi
rename_param minor APWIFI actWifi actWiFi
#v0.3 end

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

#FZM specific
#apModId made optional in FZM - added in SCFDFB1602v00.txt, to be cancelled there
# RMOD/connectionList/apModId	Changed to optional - until next LTE2959 changes



#version
#FZM Replace# set_version major TL16A
dependence_set_version major PARAM MRBTS-${MRBTS}/LNBTS-${LNBTS}/FTM-${FTM}/UNIT-${UNIT} unitTypeExpected == CONST "FZC1100" ? CONST "TLC16A" : CONST "TLF16A"

#history:
#FZM Replace# add_log minor "Conversion from TL16A FB16.02 (001) to TL16A FB16.02 (002)"
add_log minor "Conversion from TLF16A FB16.02 (001) to TLF16A FB16.02 (002)"