Commit 685dbe8f authored by Rajan Palaniya's avatar Rajan Palaniya 💬
Browse files

sm8150-common: libnfc*-conf: update

parent 90e37420
......@@ -8,13 +8,12 @@
# ANDROID_LOG_WARN 0x02
# ANDROID_LOG_ERROR 0x01
# ANDROID_LOG_SILENT 0x00
NXPLOG_EXTNS_LOGLEVEL=0x00
NXPLOG_NCIHAL_LOGLEVEL=0x00
NXPLOG_NCIX_LOGLEVEL=0x00
NXPLOG_NCIR_LOGLEVEL=0x00
NXPLOG_FWDNLD_LOGLEVEL=0x00
NXPLOG_TML_LOGLEVEL=0x00
NFC_DEBUG_ENABLED=0x01
NXPLOG_EXTNS_LOGLEVEL=0x02
NXPLOG_NCIHAL_LOGLEVEL=0x02
NXPLOG_NCIX_LOGLEVEL=0x03
NXPLOG_NCIR_LOGLEVEL=0x03
NXPLOG_FWDNLD_LOGLEVEL=0x02
NXPLOG_TML_LOGLEVEL=0x02
###############################################################################
# Nfc Device Node name
......@@ -62,10 +61,6 @@ 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
#NXP_CORE_STANDBY={2F, 00, 01, 01}
###############################################################################
# NXP TVDD configurations settings
# Allow NFCC to configure External TVDD, two configurations (1 and 2) supported,
......@@ -104,26 +99,6 @@ NXP_I2C_FRAGMENTATION_ENABLED=0x00
# A0, 53, 06, FF, FF, FF, FF, FF, FF,
# A0, 54, 06, 00, 00, 00, 00, 00, 00}
###############################################################################
# Default SE Options
# No secure element 0x00
# eSE 0x01
# UICC 0x02
# UICC2 0x04
NXP_DEFAULT_SE=0x07
###############################################################################
# Force ESE to only listen to the following technology(s).
# The bits are defined as tNFA_TECHNOLOGY_MASK in nfa_api.h.
# Default is NFA_TECHNOLOGY_MASK_A | NFA_TECHNOLOGY_MASK_B | NFA_TECHNOLOGY_MASK_F
NXP_ESE_LISTEN_TECH_MASK=0x07
###############################################################################
#set autonomous mode
# disable autonomous 0x00
# enable autonomous 0x01
NXP_CORE_SCRN_OFF_AUTONOMOUS_ENABLE=0x00
###############################################################################
#Enable SWP full power mode when phone is power off
NXP_SWP_FULL_PWR_ON=0x00
......@@ -157,7 +132,11 @@ NXP_DEFAULT_NFCEE_TIMEOUT=20
###############################################################################
#Timeout in secs
NXP_SWP_RD_TAG_OP_TIMEOUT=0x20
NXP_SWP_RD_START_TIMEOUT=0x0A
###############################################################################
#Timeout in secs
NXP_SWP_RD_TAG_OP_TIMEOUT=0x01
###############################################################################
#Set the default AID route Location :
......@@ -165,7 +144,7 @@ NXP_SWP_RD_TAG_OP_TIMEOUT=0x20
# host 0x00
# eSE 0x01
# UICC 0x02
DEFAULT_AID_ROUTE=0x01
DEFAULT_AID_ROUTE=0x02
###############################################################################
# Configure the default NfcA/IsoDep techology and protocol route. Can be
......@@ -173,7 +152,7 @@ DEFAULT_AID_ROUTE=0x01
# host 0x00
# eSE 0x01
# UICC 0x02
DEFAULT_ISODEP_ROUTE=0x01
DEFAULT_ISODEP_ROUTE=0x02
###############################################################################
# Configure the single default SE to use. The default is to use the first
......@@ -183,7 +162,7 @@ DEFAULT_ISODEP_ROUTE=0x01
# host 0x00
# eSE 0x01
# UICC 0x02
DEFAULT_OFFHOST_ROUTE=0x01
DEFAULT_OFFHOST_ROUTE=0x02
###############################################################################
# Configure the single default SE to use. The default is to use the first
......@@ -193,14 +172,14 @@ DEFAULT_OFFHOST_ROUTE=0x01
# host 0x00
# eSE 0x01
# UICC 0x02
DEFAULT_NFCF_ROUTE=0x01
DEFAULT_TECH_ABF_ROUTE=0x02
###############################################################################
#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
DEFAULT_SYS_CODE_ROUTE=0x01
DEFAULT_SYS_CODE_ROUTE=0x00
###############################################################################
#Set the default AID Power state :
......@@ -208,9 +187,10 @@ DEFAULT_SYS_CODE_ROUTE=0x01
# bit pos 0 = Switch On
# bit pos 1 = Switch Off
# bit pos 2 = Battery Off
# bit pos 3 = Screen Off
# bit pos 4 = Screen Lock
DEFAULT_AID_PWR_STATE=0x1B
# bit pos 3 = Screen On lock
# bit pos 4 = Screen off unlock
# bit pos 5 = Screen Off lock
DEFAULT_AID_PWR_STATE=0x3B
###############################################################################
#Set the Mifare Desfire Power state :
......@@ -218,9 +198,10 @@ DEFAULT_AID_PWR_STATE=0x1B
# bit pos 0 = Switch On
# bit pos 1 = Switch Off
# bit pos 2 = Battery Off
# bit pos 3 = Screen Off
# bit pos 4 = Screen Lock
DEFAULT_ROUTE_PWR_STATE=0x1B
# bit pos 3 = Switched On Sub-State 1 : Screen is off and device is unlocked
# bit pos 4 = Switched On Sub-State 2 : Screen is on and device is locked
# bit pos 5 = Switched On Sub-State 3 : Screen is off and device is locked
DEFAULT_ISODEP_PWR_STATE=0x3B
###############################################################################
#Set the Mifare CLT Power state :
......@@ -228,19 +209,21 @@ DEFAULT_ROUTE_PWR_STATE=0x1B
# bit pos 0 = Switch On
# bit pos 1 = Switch Off
# bit pos 2 = Battery Off
# bit pos 3 = Screen Off
# bit pos 4 = Screen Lock
DEFAULT_OFFHOST_PWR_STATE=0x1B
# bit pos 3 = Switched On Sub-State 1 : Screen is off and device is unlocked
# bit pos 4 = Switched On Sub-State 2 : Screen is on and device is locked
# bit pos 5 = Switched On Sub-State 3 : Screen is off and device is locked
DEFAULT_OFFHOST_PWR_STATE=0x3B
###############################################################################
#Set the Felica CLT Power state :
#Set Tech A,B,F 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
# bit pos 4 = Screen Lock
DEFAULT_FELICA_CLT_PWR_STATE=0x1B
# bit pos 3 = Switched On Sub-State 1 : Screen is off and device is unlocked
# bit pos 4 = Switched On Sub-State 2 : Screen is on and device is locked
# bit pos 5 = Switched On Sub-State 3 : Screen is off and device is locked
DEFAULT_TECH_ABF_PWR_STATE=0x3B
###############################################################################
#Set the SYS_CODE Power state :
......@@ -248,9 +231,10 @@ DEFAULT_FELICA_CLT_PWR_STATE=0x1B
# bit pos 0 = Switch On
# bit pos 1 = Switch Off
# bit pos 2 = Battery Off
# bit pos 3 = Screen Off
# bit pos 4 = Screen Lock
DEFAULT_SYS_CODE_PWR_STATE=0x1B
# bit pos 3 = Switched On Sub-State 1 : Screen is off and device is unlocked
# bit pos 4 = Switched On Sub-State 2 : Screen is on and device is locked
# bit pos 5 = Switched On Sub-State 3 : Screen is off and device is locked
DEFAULT_SYS_CODE_PWR_STATE=0x00
###############################################################################
# Configure the NFC Extras to open and use a static pipe. If the value is
......@@ -285,22 +269,6 @@ NXP_CHINA_TIANJIN_RF_ENABLED=0x01
# 10 millisecond timeout 0x0A
NXP_SWP_SWITCH_TIMEOUT=0x0A
###############################################################################
# interface options for JCOP Download
# Disabled 0x00
# NFC 0x01
# SPI 0x02
NXP_ESE_JCOP_DEFAULT_INTERFACE=0x00
###############################################################################
# Loader service version
# NFC service checks for LS version 2.0 or 2.1
# LS2.0 0x20
# LS2.1 0x21
# LS2.2 0x22
# AT NFC service intialization
NXP_LOADER_SERVICE_VERSION=0x22
###############################################################################
#Timeout value in milliseconds for NFCC standby mode.The range is between 5000
#msec to 20000 msec and zero is to disable.
......@@ -312,29 +280,6 @@ NXP_NFCC_STANDBY_TIMEOUT=20000
# Enable 0x01
NXP_AGC_DEBUG_ENABLE=0x00
###############################################################################
#Virtual Mode ESE and Wired Mode ongoing delay Wired Mode
# For Technology routing to ESE Technology Mask = 4
# For ISO-DEP Protocol routing to ESE Mask = 2
# It can also take TECH|PROTO = 6
# To ignore the delay set mask to = 0
NXP_ESE_WIRED_PRT_MASK=0x00
###############################################################################
#Virtual Mode UICC and Wired Mode ongoing delay Wired Mode
#For Technology routing to UICC Technology Mask = 4
#For ISO-DEP Protocol routing to UICC set Mask = 2
#For Select AID Routing to UICC set Mask = 1
#It can also take values TECH|PROTO|SELECT_AID = 7 , 6 , 5 ,3 .To ignore delay
#set mask = 0
NXP_UICC_WIRED_PRT_MASK=0x00
################################################################################
#RF field true delay Wired Mode
# delay wired mode = 1
# allow wired mode = 0
NXP_WIRED_MODE_RF_FIELD_ENABLE=0x00
###############################################################################
#Config to allow adding aids
#NFC on/off is required after this config
......@@ -343,14 +288,10 @@ NXP_WIRED_MODE_RF_FIELD_ENABLE=0x00
NXP_ENABLE_ADD_AID=0x01
###############################################################################
# JCOP-3.3 continuous process timeout in msec and value should be in Hexadecimal
# JCOP CP TIMEOUT
NXP_CP_TIMEOUT={00, 77}
###############################################################################
# SVDD sync off Delay in ms it can be max 20 ms
# If out of range timeout used, default delay of 10ms will be set
NXP_SVDD_SYNC_OFF_DELAY=10
# Enable/Disable checking default proto SE Id
# Disable 0x00
# Enable 0x01
NXP_CHECK_DEFAULT_PROTO_SE_ID=0x01
###############################################################################
#NXP_CN_TRANSIT_CMA_BYPASSMODE_ENABLE
......@@ -386,36 +327,6 @@ NXP_NCI_PARSER_LIBRARY=0x00
#L1 & L2 & Felica 0x05
#NXP_CORE_PROP_SYSTEM_DEBUG=0x00
###############################################################################
# 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
###############################################################################
# Timeout value in milliseconds for wired mode resume after RF field event timeout
NXP_NFCC_RF_FIELD_EVENT_TIMEOUT=3000
###############################################################################
# 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
###############################################################################
# Enable/Disable Block Route feature.
# Block Route will restrict routing to first matched rule
......@@ -423,24 +334,10 @@ NXP_ALLOW_WIRED_IN_MIFARE_DESFIRE_CLT=0x00
# Block Route disable 0x00
AID_BLOCK_ROUTE=0x00
###############################################################################
# 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
###############################################################################
##############################################################################
# Timeout value in milliseconds to send response for Felica command received
NXP_HCEF_CMD_RSP_TIMEOUT_VALUE=5000
###############################################################################
# Maximum WTX requests entertained by MW
NXP_WM_MAX_WTX_COUNT=240
###############################################################################
# HAL library path for selftest
NXP_HAL_PATH="/vendor/lib64/hw/nfc_nci.pn54x.so"
......@@ -468,7 +365,13 @@ 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={C0, 02}
DEVICE_HOST_WHITE_LIST={80:81}
###############################################################################
#OffHost UICC route location for MultiSE
#UICC1 = 02
#UICC2 = 03
OFFHOST_ROUTE_UICC={02}
###############################################################################
# Choose the presence-check algorithm for type-4 tag. If not defined, the default value is 1.
......@@ -481,21 +384,4 @@ PRESENCE_CHECK_ALGORITHM=2
# Extended APDU length for ISO_DEP
ISO_DEP_MAX_TRANSCEIVE=0xFEFF
###############################################################################
#OffHost ESE route location for MultiSE
#ESE = 01
OFFHOST_ROUTE_ESE={01}
###############################################################################
#OffHost UICC route location for MultiSE
#UICC1 = 02
#UICC2 = 03
OFFHOST_ROUTE_UICC={02}
###############################################################################
# Disable Mifare CLT for JCOP4.1
# Enable 0x01
# Disable 0x00
#NXP_MF_CLT_JCOP_CFG=0x01
###############################################################################
###############################################################################
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment