rodin: Sync with device tree changes
Change-Id: I6eadb0df9be66c549ba98ddb6f0324467bf94122 Signed-off-by: Ido <dev.xyzuniverse@gmail.com>
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
# Apr.21, 2022 - Merged from MW 13.03.00 by Jian
|
||||
# Mar.16, 2023 - SN220x MW 14.04.00 by Jian
|
||||
# July.12, 2024 - SN220x V5 MW 15.04.00 by Jian
|
||||
# Apr.10, 2025 - Android16 bringup
|
||||
###############################################################################
|
||||
# Application options
|
||||
# Logging Levels
|
||||
@@ -35,12 +36,6 @@ ENABLE_VEN_TOGGLE=0x00
|
||||
# Extension for Mifare reader enable
|
||||
MIFARE_READER_ENABLE=0x01
|
||||
|
||||
###############################################################################
|
||||
# Mifare Reader implementation
|
||||
# 0: General implementation
|
||||
# 1: Legacy implementation
|
||||
LEGACY_MIFARE_READER=0
|
||||
|
||||
###############################################################################
|
||||
# File name for Firmware
|
||||
NXP_FW_NAME="libsn220u_fw.so"
|
||||
@@ -95,129 +90,48 @@ NXP_GUARD_TIMER_VALUE=0x0F
|
||||
# UICC2 0x03
|
||||
#NXP_DEFAULT_UICC2_SELECT=0x03
|
||||
|
||||
###############################################################################
|
||||
# CE when Screen state is locked
|
||||
# This setting is for DEFAULT_ROUTE,
|
||||
# DEFAULT_DESFIRE_ROUTE and DEFAULT_MIFARE_CLT_ROUTE
|
||||
# Disable 0x00
|
||||
# Enable 0x01
|
||||
NXP_CE_ROUTE_STRICT_DISABLE=0x01
|
||||
|
||||
###############################################################################
|
||||
#SCR Read Tag Operation Timeout in secs
|
||||
NXP_SWP_RD_TAG_OP_TIMEOUT=20
|
||||
|
||||
###############################################################################
|
||||
#Set the default AID route Location :
|
||||
#This settings will be used when application does not set this parameter
|
||||
# host 0x00
|
||||
# eSE 0x01
|
||||
# UICC 0x02
|
||||
# UICC2 0x03
|
||||
# eUICC 0x05
|
||||
# eUICC2 0x06
|
||||
DEFAULT_ROUTE=0x01
|
||||
# eSE 0xC0
|
||||
# UICC 0x80
|
||||
# UICC2 0x81
|
||||
DEFAULT_ROUTE=0xC0
|
||||
|
||||
###############################################################################
|
||||
#Set the ISODEP (Mifare Desfire) route Location :
|
||||
#This settings will be used when application does not set this parameter
|
||||
# host 0x00
|
||||
# eSE 0x01
|
||||
# UICC 0x02
|
||||
# UICC2 0x03
|
||||
# eUICC 0x05
|
||||
# eUICC2 0x06
|
||||
DEFAULT_ISODEP_ROUTE=0x01
|
||||
# eSE 0xC0
|
||||
# UICC 0x80
|
||||
# UICC2 0x81
|
||||
DEFAULT_ISODEP_ROUTE=0xC0
|
||||
|
||||
###############################################################################
|
||||
#Set the Mifare CLT route Location :
|
||||
#Set the Default Off Host route Location :
|
||||
#This settings will be used when application does not set this parameter
|
||||
# host 0x00
|
||||
# eSE 0x01
|
||||
# UICC 0x02
|
||||
# UICC2 0x03
|
||||
# eUICC 0x05
|
||||
# eUICC2 0x06
|
||||
DEFAULT_MIFARE_CLT_ROUTE=0x01
|
||||
# eSE 0xC0
|
||||
# UICC 0x80
|
||||
# UICC2 0x81
|
||||
DEFAULT_OFFHOST_ROUTE=0xC0
|
||||
|
||||
###############################################################################
|
||||
#Set the Felica CLT route Location :
|
||||
#This settings will be used when application does not set this parameter
|
||||
# eSE 0x01
|
||||
# UICC 0x02
|
||||
# UICC2 0x03
|
||||
DEFAULT_FELICA_CLT_ROUTE=0x01
|
||||
|
||||
###############################################################################
|
||||
#Set the default AID Power state :
|
||||
#This settings will be used when application does not set this parameter
|
||||
# bit pos 0 = Switch On
|
||||
# bit pos 1 = Switch Off
|
||||
# bit pos 2 = Battery Off
|
||||
# bit pos 3 = Screen off unlock
|
||||
# bit pos 4 = Screen On lock
|
||||
# bit pos 5 = Screen Off lock
|
||||
DEFAULT_AID_PWR_STATE=0x3B
|
||||
|
||||
###############################################################################
|
||||
#Set the Mifare Desfire Power state :
|
||||
#This settings will be used when application does not set this parameter
|
||||
# bit pos 0 = Switch On
|
||||
# bit pos 1 = Switch Off
|
||||
# bit pos 2 = Battery Off
|
||||
# bit pos 3 = Screen off unlock
|
||||
# bit pos 4 = Screen On lock
|
||||
# bit pos 5 = Screen Off lock
|
||||
DEFAULT_DESFIRE_PWR_STATE=0x3B
|
||||
|
||||
###############################################################################
|
||||
#Set the Mifare CLT Power state :
|
||||
#This settings will be used when application does not set this parameter
|
||||
# bit pos 0 = Switch On
|
||||
# bit pos 1 = Switch Off
|
||||
# bit pos 2 = Battery Off
|
||||
# bit pos 3 = Screen off unlock
|
||||
# bit pos 4 = Screen On lock
|
||||
# bit pos 5 = Screen Off lock
|
||||
DEFAULT_MIFARE_CLT_PWR_STATE=0x3B
|
||||
|
||||
###############################################################################
|
||||
#Set the Felica CLT Power state :
|
||||
#This settings will be used when application does not set this parameter
|
||||
# bit pos 0 = Switch On
|
||||
# bit pos 1 = Switch Off
|
||||
# bit pos 2 = Battery Off
|
||||
# bit pos 3 = Screen off unlock
|
||||
# bit pos 4 = Screen On lock
|
||||
# bit pos 5 = Screen Off lock
|
||||
DEFAULT_FELICA_CLT_PWR_STATE=0x3B
|
||||
|
||||
###############################################################################
|
||||
#Set the T4TNfcee AID Power state :
|
||||
#This settings will be used when application does not set this parameter
|
||||
# bit pos 0 = Switch On
|
||||
# bit pos 1 = Switch Off
|
||||
# bit pos 2 = Battery Off
|
||||
# bit pos 3 = Screen off unlock
|
||||
# bit pos 4 = Screen On lock
|
||||
# bit pos 5 = Screen Off lock
|
||||
DEFAULT_T4TNFCEE_AID_POWER_STATE=0x3B
|
||||
# eSE 0xC0
|
||||
# UICC 0x80
|
||||
DEFAULT_NFCF_ROUTE=0xC0
|
||||
|
||||
###############################################################################
|
||||
#Set the default Felica T3T System Code OffHost route Location :
|
||||
#This settings will be used when application does not set this parameter
|
||||
# host 0x00
|
||||
# eSE 0x01
|
||||
# UICC 0x02
|
||||
# UICC2 0x03
|
||||
DEFAULT_SYS_CODE_ROUTE=0x01
|
||||
|
||||
###############################################################################
|
||||
# AID Matching platform options
|
||||
# AID_MATCHING_L 0x01
|
||||
# AID_MATCHING_K 0x02
|
||||
#AID_MATCHING_PLATFORM=0x01
|
||||
|
||||
# eSE 0xC0
|
||||
# UICC 0x80
|
||||
# UICC2 0x81
|
||||
DEFAULT_SYS_CODE_ROUTE=0xC0
|
||||
|
||||
###############################################################################
|
||||
#CHINA_TIANJIN_RF_SETTING
|
||||
@@ -246,13 +160,12 @@ NXP_FLASH_CONFIG=0x02
|
||||
|
||||
# Bail out mode
|
||||
# If set to 1, NFCC is using bail out mode for either Type A or Type B poll.
|
||||
# Set this parameter value to 1 if Android Beam is enabled, else set to 0.
|
||||
NFA_POLL_BAIL_OUT_MODE=0x01
|
||||
|
||||
###############################################################################
|
||||
# White list of Hosts
|
||||
# Allow list of Hosts
|
||||
# This values will be the Hosts(NFCEEs) in the HCI Network.
|
||||
DEVICE_HOST_ALLOW_LIST={02,80,C0,C1,C2}
|
||||
DEVICE_HOST_ALLOW_LIST={02, 80, 81, C0}
|
||||
|
||||
###############################################################################
|
||||
# Choose the presence-check algorithm for type-4 tag. If not defined, the default value is 1.
|
||||
@@ -261,13 +174,6 @@ DEVICE_HOST_ALLOW_LIST={02,80,C0,C1,C2}
|
||||
# 2 NFA_RW_PRES_CHK_ISO_DEP_NAK; Type - 4 tag protocol iso-dep nak presence check
|
||||
# command is sent waiting for rsp and ntf.
|
||||
PRESENCE_CHECK_ALGORITHM=2
|
||||
|
||||
###############################################################################
|
||||
# Options to Fallback to alternative route
|
||||
# DH 0x01
|
||||
# ESE 0x02
|
||||
NXP_CHECK_DEFAULT_PROTO_SE_ID=0x01
|
||||
|
||||
###############################################################################
|
||||
# Vendor Specific Proprietary Protocol & Discovery Configuration
|
||||
# Set to 0xFF if unsupported
|
||||
@@ -280,6 +186,8 @@ NXP_CHECK_DEFAULT_PROTO_SE_ID=0x01
|
||||
# byte[6] NCI_DISCOVERY_TYPE_POLL_KOVIO
|
||||
# byte[7] NCI_DISCOVERY_TYPE_POLL_B_PRIME
|
||||
# byte[8] NCI_DISCOVERY_TYPE_LISTEN_B_PRIME
|
||||
# byte[9] CHINESE_TAG_ID
|
||||
#NFA_PROPRIETARY_CFG={05, FF, FF, 06, 81, 80, 70, FF, FF, 8B}
|
||||
NFA_PROPRIETARY_CFG={05, FF, FF, 06, 81, 80, FF, FF, FF}
|
||||
|
||||
###############################################################################
|
||||
@@ -288,6 +196,7 @@ NFA_PROPRIETARY_CFG={05, FF, FF, 06, 81, 80, FF, FF, FF}
|
||||
#Enable 0x01
|
||||
#Disable 0x00
|
||||
#NXP_CN_TRANSIT_BLK_NUM_CHECK_ENABLE=0x01
|
||||
|
||||
###############################################################################
|
||||
#NXP_MIFARE_MUTE_TO_RATS_ENABLE
|
||||
#Enable/Disable Mute To RATS
|
||||
@@ -322,58 +231,27 @@ NFA_PROPRIETARY_CFG={05, FF, FF, 06, 81, 80, FF, FF, FF}
|
||||
NXP_CORE_PROP_SYSTEM_DEBUG=0x0000
|
||||
|
||||
###############################################################################
|
||||
#Enable NXP NCI runtime parser library
|
||||
#Enable 0x01
|
||||
#Disable 0x00
|
||||
NXP_NCI_PARSER_LIBRARY=0x00
|
||||
|
||||
###############################################################################
|
||||
# Timeout value in milliseconds for JCOP OS download to complete
|
||||
OS_DOWNLOAD_TIMEOUT_VALUE=60000
|
||||
|
||||
###############################################################################
|
||||
# Forcing HOST to listen for a selected protocol
|
||||
# 0x00 : Disable Host Listen
|
||||
# 0x01 : Enable Host to Listen (A) for ISO-DEP tech A
|
||||
# 0x02 : Enable Host to Listen (B) for ISO-DEP tech B
|
||||
# 0x04 : Enable Host to Listen (F) for T3T Tag Type Protocol tech F
|
||||
# 0x07 : Enable Host to Listen (ABF)for ISO-DEP tech AB & T3T Tag Type Protocol tech F
|
||||
HOST_LISTEN_TECH_MASK=0x07
|
||||
|
||||
###############################################################################
|
||||
# Enable forward functionality
|
||||
# Disable 0x00
|
||||
# Enable 0x01 //Any positive value as per below bit configuration
|
||||
# HOST power states when type A/B only UICC present
|
||||
# bit pos 0 = Switch On
|
||||
# bit pos 1 = Switch Off
|
||||
# bit pos 2 = Battery Off
|
||||
# bit pos 3 = Screen off unlock
|
||||
# bit pos 4 = Screen On lock
|
||||
# bit pos 5 = Screen Off lock
|
||||
FORWARD_FUNCTIONALITY_ENABLE=0x01
|
||||
# Configure the NFC Extras to open and use a static pipe. If the value is
|
||||
# not set or set to 0, then the default is use a dynamic pipe based on a
|
||||
# destination gate (see NFA_HCI_DEFAULT_DEST_GATE). Note there is a value
|
||||
# for each EE.
|
||||
OFF_HOST_ESE_PIPE_ID=0x16
|
||||
|
||||
###############################################################################
|
||||
# Configure the NFC Extras to open and use a static pipe. If the value is
|
||||
# not set or set to 0, then the default is use a dynamic pipe based on a
|
||||
# destination gate (see NFA_HCI_DEFAULT_DEST_GATE). Note there is a value
|
||||
# for each EE (ESE/SIM1/SIM2/ESIM)
|
||||
OFF_HOST_ESE_PIPE_ID=0x16
|
||||
# for each SIM1, SIM2 etc based on the number of SIM's supported.
|
||||
OFF_HOST_SIM_PIPE_ID=0x0A
|
||||
OFF_HOST_SIM2_PIPE_ID=0x23
|
||||
OFF_HOST_ESIM_PIPE_ID=0x2B
|
||||
OFF_HOST_ESIM2_PIPE_ID=0x2F
|
||||
|
||||
###############################################################################
|
||||
#Set the Felica T3T System Code Power state :
|
||||
#This settings will be used when application does not set this parameter
|
||||
#Update Power state as per NCI2.0
|
||||
#Note 0x00 set as per AndroidOne config value
|
||||
DEFAULT_SYS_CODE_PWR_STATE=0x00
|
||||
|
||||
###############################################################################
|
||||
#Default Secure Element route id
|
||||
DEFAULT_OFFHOST_ROUTE=0x02
|
||||
|
||||
###############################################################################
|
||||
#Maximum SMB transceive wait for response
|
||||
NXP_SMB_TRANSCEIVE_TIMEOUT=2000
|
||||
@@ -425,23 +303,21 @@ NXP_SET_CONFIG_ALWAYS=0x01
|
||||
|
||||
###############################################################################
|
||||
#OffHost ESE route location for MultiSE
|
||||
#ESE = 01
|
||||
OFFHOST_ROUTE_ESE={01}
|
||||
#ESE = C0
|
||||
OFFHOST_ROUTE_ESE={C0}
|
||||
|
||||
###############################################################################
|
||||
#OffHost UICC route location for MultiSE
|
||||
#UICC1 = 02
|
||||
#UICC2 = 03
|
||||
#EUICC = 05
|
||||
#EUICC2 = 06
|
||||
OFFHOST_ROUTE_UICC={02:03:05:06}
|
||||
#UICC1 = 80
|
||||
#UICC2 = 81
|
||||
OFFHOST_ROUTE_UICC={80:81}
|
||||
|
||||
###############################################################################
|
||||
#T4T NFCEE ENABLE
|
||||
#To enable/disable T4T NDEF NFCEE feature
|
||||
#bit pos 0 = T4T NFCEE Enable
|
||||
#bit pos 6 = T4T NFCEE Contactless write enable
|
||||
#bit pos 7 = Proprietary file enable
|
||||
NXP_T4T_NFCEE_ENABLE=0x01
|
||||
T4T_NFCEE_ENABLE=0x00
|
||||
|
||||
###############################################################################
|
||||
#WLC mode
|
||||
@@ -450,16 +326,8 @@ NXP_T4T_NFCEE_ENABLE=0x01
|
||||
NXP_WLC_MODE=0x01
|
||||
|
||||
###############################################################################
|
||||
#CORE_SET_CONF_CMD to reset Prop Emvco Flag
|
||||
NXP_PROP_RESET_EMVCO_CMD={20, 02, 05, 01, A0, 44, 01, 00}
|
||||
|
||||
###############################################################################
|
||||
#Guard time in ms for the mPOS/SCR module to process the reader start/stop req
|
||||
NXP_RDR_REQ_GUARD_TIME=0
|
||||
|
||||
###############################################################################
|
||||
# MW workaround to enable LPCD when EMVCO polling mode starts and disable
|
||||
# while switching back to NFC Forum mode
|
||||
#MW workaround to enable LPCD when EMVCO polling mode starts and disable
|
||||
#while switching back to NFC Forum mode
|
||||
# 0 --> Disable MW workaround
|
||||
# 1 --> Enable MW workaround
|
||||
# 2 --> Use this option only for FW versions below 1.10.52
|
||||
@@ -474,29 +342,12 @@ NXP_RDR_DISABLE_ENABLE_LPCD=1
|
||||
# 7 -> EMVCO Polling, DISC_IDLE = POWER_OFF, DISC DEACTIVATE = POWER_OFF
|
||||
NFA_CONFIG_FORMAT=1
|
||||
|
||||
################################################################################
|
||||
# This will enable power state required for GSMA testing.
|
||||
# When this is enabled , then default AID route power state is added with this power state
|
||||
# If any aid with power state 0 is added, then this power state is used.
|
||||
# bit pos 0 = Switch On
|
||||
# bit pos 1 = Switch Off
|
||||
# bit pos 2 = Battery Off
|
||||
# bit pos 3 = Screen off unlock
|
||||
# bit pos 4 = Screen On lock
|
||||
# bit pos 5 = Screen Off lock
|
||||
DEFUALT_GSMA_PWR_STATE=0x3B
|
||||
|
||||
#################################################################################
|
||||
# Enable disconnect tag in screen off
|
||||
# Disable 0x00
|
||||
# Enable 0x01
|
||||
NXP_DISCONNECT_TAG_IN_SCRN_OFF=0x01
|
||||
|
||||
#################################################################################
|
||||
# Enable wait/delay if RF session is active.
|
||||
# Disable 0x00
|
||||
# Enable 0x01
|
||||
NXP_CE_PRIORITY_ENABLED=0x00
|
||||
#################################################################################
|
||||
# Core configuration extensions
|
||||
# It includes
|
||||
@@ -514,7 +365,7 @@ NXP_CE_PRIORITY_ENABLED=0x00
|
||||
# SWP1A interface A0D4
|
||||
# DWP intf behavior config, SVDD Load activated by default if set to 0x31 A037
|
||||
# Delay between EVT_END_OF_OPERATION and SE Deactivation set to 0x32(5ms) A113
|
||||
NXP_CORE_CONF_EXTN={ 20, 02, 51, 0F,
|
||||
NXP_CORE_CONF_EXTN={ 20, 02, 55, 10,
|
||||
A0, EC, 01, 01,
|
||||
A0, ED, 01, 01,
|
||||
A0, 8E, 01, 01,
|
||||
@@ -528,8 +379,9 @@ NXP_CORE_CONF_EXTN={ 20, 02, 51, 0F,
|
||||
A1, 1C, 01, 00,
|
||||
A1, 34, 01, 04,
|
||||
A0, B8, 01, 00,
|
||||
A0, 0A, 01, 20,
|
||||
A0, 80, 02, C2, 01
|
||||
A0, 0A, 01, 50,
|
||||
A0, 80, 02, C2, 01,
|
||||
A1, 9F, 01, 01
|
||||
}
|
||||
|
||||
###############################################################################
|
||||
@@ -602,12 +454,6 @@ NXP_UICC_ETSI_SUPPORT=0
|
||||
# Enable RF Restart for NFCEE recovery 1
|
||||
NXP_RESTART_RF_FOR_NFCEE_RECOVERY=1
|
||||
|
||||
#################################################################################
|
||||
# Enable or Disable the minimal FW recovery support.
|
||||
# This logic will get enabled on early NFC hal boot.
|
||||
# Disable NFCC RECOVERY support 0x00
|
||||
# Enable NFCC RECOVERY support 0x01
|
||||
NXP_NFCC_RECOVERY_SUPPORT=0x00
|
||||
|
||||
#################################################################################
|
||||
# Secure Remote Digitization - Timeout of the FW tunneling in second
|
||||
@@ -615,19 +461,6 @@ NXP_NFCC_RECOVERY_SUPPORT=0x00
|
||||
# {2C, 01} 300s (5 min) max value
|
||||
NXP_SRD_TIMEOUT={2C:01}
|
||||
|
||||
#################################################################################
|
||||
# Power data refresh duration in seconds.
|
||||
# If this is configured, then power data will be refreshed from NFCC with
|
||||
# configured duration.
|
||||
# Power tracker feature will be disabled at run time if it is not configured
|
||||
# or configured with value of zero.
|
||||
#NXP_SYSTEM_POWER_TRACE_POLL_DURATION_SEC=30
|
||||
#################################################################################
|
||||
# Enable or Disable ULPDET support
|
||||
# Enable 0x01
|
||||
# Disable 0x00
|
||||
#NXP_DEFAULT_ULPDET_MODE=0x01
|
||||
###############################################################################
|
||||
# Extended Field Detect Mode
|
||||
# Enable with CMA Events 0x03
|
||||
# Enable without CMA events 0x01
|
||||
@@ -636,9 +469,53 @@ NXP_SRD_TIMEOUT={2C:01}
|
||||
# It will lead to mismatch of event's for profiles
|
||||
NXP_EXTENDED_FIELD_DETECT_MODE=0x03
|
||||
###############################################################################
|
||||
# Forcing HOST to listen for a selected protocol
|
||||
# 0x00 : Disable Host Listen
|
||||
# 0x01 : Enable Host to Listen (A) for ISO-DEP tech A
|
||||
# 0x02 : Enable Host to Listen (B) for ISO-DEP tech B
|
||||
# 0x04 : Enable Host to Listen (F) for T3T Tag Type Protocol tech F
|
||||
# 0x07 : Enable Host to Listen (ABF)for ISO-DEP tech AB & T3T Tag Type Protocol tech F
|
||||
HOST_LISTEN_TECH_MASK=0x07
|
||||
|
||||
###############################################################################
|
||||
# Deactivate notification wait time out in seconds used in ETSI Reader mode
|
||||
# 0 - Infinite wait
|
||||
NXP_DM_DISC_NTF_TIMEOUT=0
|
||||
|
||||
###############################################################################
|
||||
#SCR Read Tag Operation Timeout in secs
|
||||
NXP_SWP_RD_TAG_OP_TIMEOUT=20
|
||||
|
||||
###############################################################################
|
||||
#Guard time in ms for the mPOS/SCR module to process the reader start/stop req
|
||||
NXP_RDR_REQ_GUARD_TIME=20
|
||||
|
||||
###############################################################################
|
||||
#CORE_SET_CONF_CMD to reset Prop Emvco Flag
|
||||
NXP_PROP_RESET_EMVCO_CMD={20, 02, 05, 01, A0, 44, 01, 00}
|
||||
|
||||
###############################################################################
|
||||
# Auth cmd timeout in millisecond.
|
||||
# The timeout value are multiplied by 10ms and can be changed individually.
|
||||
# byte[0] START_AUTH_CMD timeout
|
||||
# byte[1] TRANSCEIVE_CMD1 timeout
|
||||
# byte[2] TRANSCEIVE_CMD2 timeout
|
||||
# byte[3] default CMD timeout
|
||||
NXP_AUTH_TIMEOUT_CFG={03, 0A , 64 , 03}
|
||||
|
||||
###############################################################################
|
||||
# Power data refresh duration in seconds.
|
||||
# If this is configured, then power data will be refreshed from NFCC with
|
||||
# configured duration.
|
||||
# Power tracker feature will be disabled at run time if it is not configured
|
||||
# or configured with value of zero.
|
||||
#NXP_SYSTEM_POWER_TRACE_POLL_DURATION_SEC=30
|
||||
|
||||
#################################################################################
|
||||
#################################################################################
|
||||
# Observe mode required notifications based on below type
|
||||
# All events CMA + Modulation Events 0x00
|
||||
# Only Modulation events 0x01
|
||||
# Only CMA Events 0x02
|
||||
NXP_OBSERVE_MODE_REQ_NOTIFICATION_TYPE=0x02
|
||||
###############################################################################
|
||||
#################################################################################
|
||||
|
||||
Reference in New Issue
Block a user