Files
vendor_samsung_a55x/proprietary/vendor/etc/libnfc-sec-vendor.conf
T
fiqys 46d4303054 a55x: Initial vendor import
Change-Id: Ie27bd6e2a7fa32e6835908c8475e0319ef5ce673
Signed-off-by: fiqys <elsifycritic@gmail.com>
2026-11-01 15:30:44 +03:00

162 lines
6.8 KiB
Plaintext

## --------------- Part-I : Configuration for Phone HW ----------------------------##
####################################################################################
# I-1) Clock Source Information (AP direct 26MHz)
####################################################################################
## Clock option for 19.2MHz PLL (0x10)
## Clock option for 24MHz PLL (0x11)
## Clock option for 26MHz PLL (0x12)
## Clock option for 27.12MHz PLL (0x13)
## Clock option for 38MHz PLL (0x14)
FW_CFG_CLK_SPEED=0x10
####################################################################################
## --------------- Part-II : Configuration for Chip / FW -------------------------##
####################################################################################
# II-1) FW base address :
####################################################################################
## FW Base Address for SEN6 (0x3000)
FW_BASE_ADDRESS=0x3000
####################################################################################
# II-2) Timing parameter
####################################################################################
# WAKEUP_DELAY for eSE Model
# (Old F/W) 20ms : UICC, 80ms : eSE
# (After Star Model) 20ms : UICC, 20ms : eSE
#WAKEUP_DELAY=20
####################################################################################
# II-3) Firmware path
####################################################################################
## F/W image for S3NSEN6
#FW_IMAGE="/vendor/firmware/nfc/sec_s3nsen6_firmware.bin"
# for single SKU
FW_DIR_PATH="/vendor/firmware/nfc/"
FW_FILE_NAME="sec_s3nsen6_firmware.bin"
####################################################################################
# II-4) RF Register path
####################################################################################
## RF Register for S3NSEN6
#RFREG_FILE="/vendor/etc/nfc/sec_s3nsen6_hwreg.bin"
RF_HW_DIR_PATH="/vendor/etc/nfc/"
RF_HW_FILE_NAME="sec_s3nsen6_hwreg.bin"
RF_SW_DIR_PATH="/vendor/etc/nfc/"
RF_SW_FILE_NAME="sec_s3nsen6_swreg.bin"
## --------------- Part-III : Configuration for MW --------------------------------##
####################################################################################
# III-1) Driver path
####################################################################################
## Power driver
POWER_DRIVER="/dev/sec-nfc"
## Transport driver
TRANS_DRIVER="/dev/sec-nfc"
####################################################################################
# III-2) Trace Level
####################################################################################
## TRACE_LEVEL (0: only err, 1: and debug, 2: trace also)
## DATA TRACE level (0: not display, 1: simply, 2: all of data trace)
TRACE_LEVEL=2
DATA_TRACE=2
####################################################################################
# III-3) NFC Sleep Timing
####################################################################################
# Set wait time to enter CLF sleep mode
SLEEP_TIMEOUT=1000
####################################################################################
# III-4) F/W Update Option
# F/W Update Option
# 0 : Download for different version
# 1 : Download for upper version
# 2 : Force Download
####################################################################################
# 0 : Default value is "Download for different version"
FW_UPDATE_MODE=0
####################################################################################
###############################################################################
# Configure the NFCEEIDs of offhost UICC.
# If you use NCI 1.0 mode, have to remove this parameter for VTS
# UICC 0x83 (UICC) for NCI v2.0
OFFHOST_ROUTE_UICC={83}
###############################################################################
# Configure the NFCEEIDs of offhost eSEs.
# If you use NCI 1.0 mode, have to remove this parameter for VTS
# eSE 0x82 (eSE) for NCI v2.0
OFFHOST_ROUTE_ESE={82}
###############################################################################
# Configure the default NfcA/IsoDep techology and protocol route. Can be
# either a secure element (e.g. 0x82) or the host (0x00)
DEFAULT_ROUTE=0x83
###############################################################################
# Configure the single default SE to use. The default is to use the first
# SE that is detected by the stack. This value might be used when the phone
# supports multiple SE but you want to force it to use one of them
DEFAULT_OFFHOST_ROUTE=0x82
###############################################################################
#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 0x82
# UICC 0x83 (UICC)
###############################################################################
DEFAULT_SYS_CODE_ROUTE=0x82
###############################################################################
# Choose the presence-check algorithm for type-4 tag. If not defined, the default value is 1.
# PRESENCE_CHECK_ALGORITHM=0 : [default] Automatic select for below 4 method.
# PRESENCE_CHECK_ALGORITHM=1 : Read Empty I block.
# PRESENCE_CHECK_ALGORITHM=2 : Sleep/Wakeup Command
# PRESENCE_CHECK_ALGORITHM=3 : Read binary for CH0(K version method)
# PRESENCE_CHECK_ALGORITHM=4 : Read binary for CH3
# PRESENCE_CHECK_ALGORITHM=5 : ACK/NACK
# Default : No use (AUTO)
# For China Region : Use Method 3
###############################################################################
PRESENCE_CHECK_ALGORITHM=5
###############################################################################
# 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 : (15693 : 0x80 (NCI 1.0) , T5T : 0x06 (NCI 2.0))
# byte[4] NCI_PROTOCOL_KOVIO
# byte[5] NCI_PROTOCOL_MIFARE : (LSI FW : 0x81 , GSI FW : 0x80)
# 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={00, 81, 82, 80, 8A, 81, 70, 74, F4}
NFA_PROPRIETARY_CFG={00, 81, 82, 80, 8A, 80, 70, 74, F4}
###############################################################################
# Extended APDU length for ISO_DEP. If not supported default length is 261
# CHECK in VTS Test case
ISO_DEP_MAX_TRANSCEIVE=0xFEFF
###############################################################################
# NEED TO SEN6 COLDRESET
# ESE_DELAY (ms) default(mw wakeup_Delay(20ms/80ms))
ESE_DELAY=0x7D0
# CP Trigger type default(1)
CP_TRIGGER_TYPE=1
# CP_DEFAULT_TYPE default(0)
CP_DEFAULT_TYPE=1
#coldreset support default(0)
COLDRESET_SUPPORT=1
############### end of config ##############################