315 lines
12 KiB
Plaintext
315 lines
12 KiB
Plaintext
|
###################################################################################
|
||
|
#
|
||
|
# R E L E A S E H I S T O R Y
|
||
|
#
|
||
|
# RF parameter config (Crownqlte)
|
||
|
# PN80T --> eSE Enabled, UICC Disabled
|
||
|
# 20180417 : Applied FW11.01.18 features.
|
||
|
# 20171218 : Applied FW11.01.16 features.
|
||
|
# 20170904 : Applied FW11.01.14 features.
|
||
|
# 20170804 : Applied FW11.01.13 features.
|
||
|
|
||
|
###################################################################################
|
||
|
# This file is used by NFC NXP NCI HAL(external/libnfc-nci/halimpl/pn547)
|
||
|
## and NFC Service Java Native Interface Extensions (packages/apps/Nfc/nci/jni/extns/pn547)
|
||
|
|
||
|
###############################################################################
|
||
|
# Application options
|
||
|
# Logging Levels
|
||
|
# NXPLOG_DEFAULT_LOGLEVEL 0x01
|
||
|
# ANDROID_LOG_DEBUG 0x03
|
||
|
# ANDROID_LOG_WARN 0x02
|
||
|
# ANDROID_LOG_ERROR 0x01
|
||
|
# ANDROID_LOG_SILENT 0x00
|
||
|
#
|
||
|
NXPLOG_EXTNS_LOGLEVEL=0x03
|
||
|
NXPLOG_NCIHAL_LOGLEVEL=0x03
|
||
|
NXPLOG_NCIX_LOGLEVEL=0x03
|
||
|
NXPLOG_NCIR_LOGLEVEL=0x03
|
||
|
NXPLOG_FWDNLD_LOGLEVEL=0x03
|
||
|
NXPLOG_TML_LOGLEVEL=0x03
|
||
|
|
||
|
###############################################################################
|
||
|
# Nfc Device Node name
|
||
|
NXP_NFC_DEV_NODE="/dev/pn547"
|
||
|
|
||
|
###############################################################################
|
||
|
# Extension for Mifare reader enable
|
||
|
# 0x00 - Disabled
|
||
|
# 0x01 - Enabled
|
||
|
MIFARE_READER_ENABLE=0x01
|
||
|
|
||
|
###############################################################################
|
||
|
# File location for Firmware
|
||
|
FW_STORAGE="/vendor/firmware/nfc"
|
||
|
###############################################################################
|
||
|
# File location for RF configurations
|
||
|
RF_STORAGE="/vendor/etc/nfc"
|
||
|
|
||
|
# System clock source selection configuration
|
||
|
# CLK_SRC_XTAL - 0x01
|
||
|
# CLK_SRC_PLL - 0x02
|
||
|
NXP_SYS_CLK_SRC_SEL=0x02
|
||
|
|
||
|
###############################################################################
|
||
|
# System clock frequency selection configuration for PLL
|
||
|
# CLK_FREQ_13MHZ - 0x01
|
||
|
# CLK_FREQ_19_2MHZ - 0x02
|
||
|
# CLK_FREQ_24MHZ - 0x03
|
||
|
# CLK_FREQ_26MHZ - 0x04
|
||
|
# CLK_FREQ_38_4MHZ - 0x05
|
||
|
# CLK_FREQ_52MHZ - 0x06
|
||
|
NXP_SYS_CLK_FREQ_SEL=0x04
|
||
|
|
||
|
###############################################################################
|
||
|
# The timeout value to be used for clock request acknowledgment
|
||
|
# min value = 0x01 to 6 = 0x06 (bSystemClockToCfg*330us+900us)
|
||
|
NXP_SYS_CLOCK_TO_CFG=0x06
|
||
|
|
||
|
###############################################################################
|
||
|
# NXP proprietary settings
|
||
|
NXP_ACT_PROP_EXTN={2F, 02, 00}
|
||
|
|
||
|
###############################################################################
|
||
|
# NFC forum profile settings
|
||
|
NXP_NFC_PROFILE_EXTN={20, 02, 05, 01, A0, 44, 01, 00}
|
||
|
|
||
|
###############################################################################
|
||
|
# Standby enable settings
|
||
|
# 0x00 - Disabled
|
||
|
# 0x01 - Enabled
|
||
|
NXP_CORE_STANDBY={2F, 00, 01, 01}
|
||
|
|
||
|
|
||
|
###############################################################################
|
||
|
# Mifare Classic Key settings
|
||
|
NXP_CORE_MFCKEY_SETTING={20, 02, 25,04, A0, 4D, 06, A0, A1, A2, A3, A4, A5,
|
||
|
A0, 4E, 06, D3, F7, D3, F7, D3, F7,
|
||
|
A0, 4F, 06, FF, FF, FF, FF, FF, FF,
|
||
|
A0, 50, 06, 00, 00, 00, 00, 00, 00}
|
||
|
|
||
|
###############################################################################
|
||
|
# Default SE Options
|
||
|
# No secure element 0x00
|
||
|
# eSE 0x01
|
||
|
# UICC 0x02
|
||
|
# MULTI_SE 0x03
|
||
|
#NXP_DEFAULT_SE=0x02
|
||
|
|
||
|
###############################################################################
|
||
|
#Enable SWP full power mode when phone is power off
|
||
|
NXP_SWP_FULL_PWR_ON=0x00
|
||
|
|
||
|
###############################################################################
|
||
|
# CE when Screen state is locked
|
||
|
# Disable 0x00
|
||
|
# Enable 0x01
|
||
|
# used only in case NXP_FWD_FUNCTIONALITY_ENABLE is enabled.
|
||
|
#NXP_CE_ROUTE_STRICT_DISABLE=0x00
|
||
|
|
||
|
###############################################################################
|
||
|
|
||
|
#Timeout in secs to get NFCEE Discover notification
|
||
|
NXP_DEFAULT_NFCEE_DISC_TIMEOUT=2
|
||
|
|
||
|
NXP_DEFAULT_NFCEE_TIMEOUT=0x06
|
||
|
|
||
|
#Timeout in secs
|
||
|
NXP_SWP_RD_START_TIMEOUT=0x0A
|
||
|
|
||
|
#Timeout in secs
|
||
|
NXP_SWP_RD_TAG_OP_TIMEOUT=0x01
|
||
|
|
||
|
###############################################################################
|
||
|
#Set the default AID route Location :
|
||
|
#This settings will be used when application does not set this parameter
|
||
|
# host 0x00
|
||
|
# eSE 0x01
|
||
|
# UICC 0x02
|
||
|
# DEFAULT_AID_ROUTE=0x02
|
||
|
|
||
|
###############################################################################
|
||
|
#Set the Mifare Desfire route Location :
|
||
|
#This settings will be used when application does not set this parameter
|
||
|
# host 0x00
|
||
|
# eSE 0x01
|
||
|
# UICC 0x02
|
||
|
#DEFAULT_DESFIRE_ROUTE=0x02
|
||
|
|
||
|
###############################################################################
|
||
|
#Set the Mifare CLT route Location :
|
||
|
#This settings will be used when application does not set this parameter
|
||
|
# host 0x00
|
||
|
# eSE 0x01
|
||
|
# UICC 0x02
|
||
|
#DEFAULT_MIFARE_CLT_ROUTE=0x02
|
||
|
|
||
|
###############################################################################
|
||
|
#Set the T4T NDEFEE 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 6 = Screen Lock
|
||
|
# bit pos 7 = Screen Off
|
||
|
NXP_NDEFEE_AID_POWER_STATE=0xC3
|
||
|
|
||
|
#############################################################################
|
||
|
#T4T_NDEF_NFCC_ENABLE_DISABLE
|
||
|
#Enable 0x01
|
||
|
#Disable 0x00
|
||
|
NXP_T4T_NDEFEE_ENABLE=0x00
|
||
|
|
||
|
###############################################################################
|
||
|
# AID Matching platform options
|
||
|
# AID_MATCHING_L 0x01
|
||
|
# AID_MATCHING_K 0x02
|
||
|
AID_MATCHING_PLATFORM=0x01
|
||
|
|
||
|
###############################################################################
|
||
|
#SWP_SWITCH_TIMEOUT_SETTING
|
||
|
# Allowed range of swp timeout setting is 0x00 to 0x3C [0 - 60].
|
||
|
# Timeout in milliseconds, for example
|
||
|
# No Timeout 0x00
|
||
|
# 10 millisecond timeout 0x0A
|
||
|
NXP_SWP_SWITCH_TIMEOUT=0x0A
|
||
|
|
||
|
###############################################################################
|
||
|
# Flashing Options Configurations
|
||
|
# FLASH_UPPER_VERSION 0x01
|
||
|
# FLASH_DIFFERENT_VERSION 0x02
|
||
|
# FLASH_ALWAYS 0x03
|
||
|
NXP_FLASH_CONFIG=0x02
|
||
|
|
||
|
###############################################################################
|
||
|
# File Version Information
|
||
|
NXP_CORE_FILE_VERSION_INFO={01, 00}
|
||
|
|
||
|
###############################################################################
|
||
|
#Timeout value in milliseconds for NFCC standby mode.The range is between 5000 msec to 20000 msec and zero is to disable.
|
||
|
NXP_NFCC_STANDBY_TIMEOUT=20000
|
||
|
|
||
|
###############################################################################
|
||
|
#Dynamic RSSI feature enable
|
||
|
# Disable 0x00
|
||
|
# Enable 0x01
|
||
|
NXP_AGC_DEBUG_ENABLE=0x00
|
||
|
###############################################################################
|
||
|
# JCOP CP TIMEOUT
|
||
|
NXP_CP_TIMEOUT={00, 77}
|
||
|
|
||
|
###############################################################################
|
||
|
# Time Interval in milliseconds to Poll for External filed detection when S-Tag in use
|
||
|
# No delay 0x00
|
||
|
# 10 millisecond delay 0x0A
|
||
|
NXP_POLL_FOR_EFD_TIMEDELAY=0x57
|
||
|
|
||
|
###############################################################################
|
||
|
NXP_PROP_BLACKLIST_ROUTING=0x01
|
||
|
|
||
|
NXP_PROP_CE_ACTION_NTF=0x01
|
||
|
|
||
|
################################################################################
|
||
|
#Enable Passive Listen Timeout
|
||
|
# Maximum retry three times, Timeout in millisec
|
||
|
NXP_NFCC_PASSIVE_LISTEN_TIMEOUT=5000
|
||
|
###############################################################################
|
||
|
# Control Enable or Disable NCI logs during S-TAG mode
|
||
|
# Enable/Disable 0x01
|
||
|
# Default 0x00
|
||
|
NXP_ENABLE_DISABLE_LOGS=0x01
|
||
|
###############################################################################
|
||
|
# Wired mode resume timeout vaule in wired mode resume feature enable
|
||
|
# DWP resume time out in ms( 4 bytes hex value and LSB first)
|
||
|
#example 1000 = 0x03E8
|
||
|
#exmaple 2000 = 0x07D0
|
||
|
#example 500 = 0x01F4
|
||
|
NXP_WIREDMODE_RESUME_TIMEOUT={E8,03,00,00}
|
||
|
###############################################################################
|
||
|
# Power to eSE is controlled by DH or PMU depending on following configurations
|
||
|
#define DH_PWR_CONTROL 1
|
||
|
#define PMU_PWR_CONTROL 2
|
||
|
NXP_ESE_POWER_DH_CONTROL=1
|
||
|
###############################################################################
|
||
|
# NXP PMU Support configuration is sent if PMU_PWR_CONTROL is configured
|
||
|
# External PMU available in phone ON and phone OFF case if NXP_ESE_POWER_EXT_PMU=1
|
||
|
# External PMU available only in phone ON case if NXP_ESE_POWER_EXT_PMU=2
|
||
|
NXP_ESE_POWER_EXT_PMU=2
|
||
|
###############################################################################
|
||
|
# Whether to allow wired mode in desfire and mifare CLT
|
||
|
# Disable 0x00
|
||
|
# Enable 0x01
|
||
|
NXP_ALLOW_WIRED_IN_MIFARE_DESFIRE_CLT=0x00
|
||
|
|
||
|
###############################################################################
|
||
|
# Timeout value in milliseconds for wired mode resume after RF field event timeout
|
||
|
NXP_NFCC_RF_FIELD_EVENT_TIMEOUT=3000
|
||
|
|
||
|
###############################################################################
|
||
|
# STAG 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_STAG_TIMEOUT_CFG={03, 0A , 64 , 0F}
|
||
|
|
||
|
###############################################################################
|
||
|
# Send DWP interface reset command as part of SE open
|
||
|
# Disable 0x00
|
||
|
# Enable 0x01
|
||
|
NXP_DWP_INTF_RESET_ENABLE=0x00
|
||
|
|
||
|
###############################################################################
|
||
|
# Timeout value in milliseconds for JCOP OS download to complete
|
||
|
OS_DOWNLOAD_TIMEOUT_VALUE=60000
|
||
|
|
||
|
###############################################################################
|
||
|
# Add configurable option for MERGE_SAK feature by samsung request
|
||
|
+TGY_NXP_NFCC_MERGE_SAK_ENABLE=0
|
||
|
|
||
|
###############################################################################
|
||
|
# Maximum WTX requests entertained by MW
|
||
|
NXP_WM_MAX_WTX_COUNT=60
|
||
|
|
||
|
###############################################################################
|
||
|
#Set the Preferred Tech route Location :
|
||
|
#This settings will be used when conflict(TechA and TechF is set to different SE) tech route is set
|
||
|
# eSE 0x01
|
||
|
# UICC 0x02
|
||
|
# UICC2 0x04
|
||
|
NXP_PRFD_TECH_SE=0x01
|
||
|
|
||
|
###############################################################################
|
||
|
# Vendor Specific Proprietary Protocol & Discovery Configuration
|
||
|
# Set to 0xFF if unsupported
|
||
|
# byte[0] NCI_PROTOCOL_18092_ACTIVE
|
||
|
# byte[1] NCI_PROTOCOL_B_PRIME
|
||
|
# byte[2] NCI_PROTOCOL_DUAL
|
||
|
# byte[3] NCI_PROTOCOL_15693
|
||
|
# byte[4] NCI_PROTOCOL_KOVIO
|
||
|
# byte[5] NCI_PROTOCOL_MIFARE
|
||
|
# byte[6] NCI_DISCOVERY_TYPE_POLL_KOVIO
|
||
|
# byte[7] NCI_DISCOVERY_TYPE_POLL_B_PRIME
|
||
|
# byte[8] NCI_DISCOVERY_TYPE_LISTEN_B_PRIME
|
||
|
NFA_PROPRIETARY_CFG={05:FF:FF:06:81:80:70:FF:FF}
|
||
|
|
||
|
###############################################################################
|
||
|
#White list of Hosts
|
||
|
#This values will be the Hosts(NFCEEs) in the HCI Network.
|
||
|
DEVICE_HOST_WHITE_LIST={80:81:C0}
|
||
|
|
||
|
###############################################################################
|
||
|
# Choose the presence-check algorithm for type-4 tag. If not defined, the default value is 1.
|
||
|
# 0 NFA_RW_PRES_CHK_DEFAULT; Let stack selects an algorithm
|
||
|
# 1 NFA_RW_PRES_CHK_I_BLOCK; ISO-DEP protocol's empty I-block
|
||
|
# 2 NFA_RW_PRES_CHK_RESET; Deactivate to Sleep, then re-activate
|
||
|
# 3 NFA_RW_PRES_CHK_RB_CH0; Type-4 tag protocol's ReadBinary command on channel 0
|
||
|
# 4 NFA_RW_PRES_CHK_RB_CH3; Type-4 tag protocol's ReadBinary command on channel 3
|
||
|
PRESENCE_CHECK_ALGORITHM=1
|
||
|
|
||
|
###############################################################################
|
||
|
# Extended APDU length for ISO_DEP
|
||
|
ISO_DEP_MAX_TRANSCEIVE=0xFEFF
|
||
|
############### end of config ##############################
|