summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@google.com>2017-12-07 22:02:25 +0000
committerJeff Sharkey <jsharkey@google.com>2017-12-07 22:02:25 +0000
commita1a2b8827610d8819520299833f6f5ce669a2802 (patch)
tree7dad58daf63a47c5079e6931e2c82388d9957f4c
parent69781477056fd80c2329fb457c5b15a4e7aaa68f (diff)
downloadbullhead-a1a2b8827610d8819520299833f6f5ce669a2802.tar.gz
Revert "Rename libnfc-brcm.conf -> libnfc-nci.conf"
This reverts commit 69781477056fd80c2329fb457c5b15a4e7aaa68f. Reason for revert: broke aosp_bullhead-userdebug build Change-Id: I46c014e5d71bbffb0774addb23fb3d9dbebe1d66
-rw-r--r--nfc/libnfc-brcm.conf (renamed from nfc/libnfc-nci.conf)24
1 files changed, 23 insertions, 1 deletions
diff --git a/nfc/libnfc-nci.conf b/nfc/libnfc-brcm.conf
index c2c35c0..492e512 100644
--- a/nfc/libnfc-nci.conf
+++ b/nfc/libnfc-brcm.conf
@@ -2,7 +2,8 @@
###############################################################################
# Application options
-NFC_DEBUG_ENABLED=0
+APPL_TRACE_LEVEL=0x01
+PROTOCOL_TRACE_LEVEL=0x00000000
###############################################################################
# performance measurement
@@ -167,6 +168,12 @@ UICC_IDLE_TIMEOUT=0
# If specified, this AID will be substituted when an Empty SELECT command is
# detected. The first byte is the length of the AID. Maximum length is 16.
AID_FOR_EMPTY_SELECT={08:A0:00:00:01:51:00:00:00}
+###############################################################################
+# Maximum Number of Credits to be allowed by the NFCC
+# This value overrides what the NFCC specifices allowing the host to have
+# the control to work-around transport limitations. If this value does
+# not exist or is set to 0, the NFCC will provide the number of credits.
+MAX_RF_DATA_CREDITS=1
###############################################################################
# This setting allows you to disable registering the T4t Virtual SE that causes
@@ -283,6 +290,21 @@ MAX_RF_DATA_CREDITS=1
# Default poll duration (in ms)
# The defualt is 500ms if not set (see nfc_target.h)
#NFA_DM_DISC_DURATION_POLL=333
+###############################################################################
+# Antenna Configuration - This data is used when setting 0xC8 config item
+# at startup (before discovery is started). If not used, no value is sent.
+#
+# The settings for this value are documented here:
+# http://wcgbu.broadcom.com/wpan/PM/Project%20Document%20Library/bcm20791B0/
+# Design/Doc/PHY%20register%20settings/BCM20791-B2-1027-02_PHY_Recommended_Reg_Settings.xlsx
+# This document is maintained by Paul Forshaw.
+#
+# The values marked as ?? should be tweaked per antenna or customer/app:
+# {20:C8:1E:06:??:00:??:??:??:00:??:24:00:1C:00:75:00:77:00:76:00:1C:00:03:00:0A:00:??:01:00:00:40:04}
+# array[0] = 0x20 is length of the payload from array[1] to the end
+# array[1] = 0xC8 is PREINIT_DSP_CFG
+#PREINIT_DSP_CFG={20:C8:1E:06:1F:00:0F:03:3C:00:04:24:00:1C:00:75:00:77:00:76:00:1C:00:03:00:0A:00:48:01:00:00:40:04}
+
###############################################################################
# Choose the presence-check algorithm for type-4 tag. If not defined, the default value is 1.