Mako: NFC: update config file for latest stack drop.

Change-Id: Iec4db4765381c84df57f82b5c851e085bb090ef1
diff --git a/nfc/libnfc-brcm.conf b/nfc/libnfc-brcm.conf
index 68dd8ba..abf995f 100644
--- a/nfc/libnfc-brcm.conf
+++ b/nfc/libnfc-brcm.conf
@@ -6,14 +6,6 @@
 PROTOCOL_TRACE_LEVEL=0x00000000
 
 ###############################################################################
-# JNI Version
-# This should match the version of Android you are using.  This allows the
-# JNI layer to dynamically support multiple versions of Android from one
-# binary. Valid values are (234, 235, 236, 237, 401 and 403).  Default is NFCA
-# native version.
-#JNI_VERSION=403
-
-###############################################################################
 # performance measurement
 # Change this setting to control how often USERIAL log the performance (throughput)
 # data on read/write/poll
@@ -32,23 +24,53 @@
 NFA_STORAGE="/data/nfc"
 
 ###############################################################################
-# Sleep (a.k.a. Snooze) Mode
+# Snooze Mode Settings
 #
-#  By default sleep mode is enabled.  Set NFA_DM_ENABLE_SLEEP
-#  to 0 to disable.
+#  By default snooze mode is enabled.  Set SNOOZE_MODE_CFG byte[0] to 0
+#  to disable.
 #
-#  If NFA_DM_LP_CFG is not provided, stack default settings are
-#  used (see nfa_dm_brcm_cfg.c).  They are as follows:
-#       8             Sleep Mode (1=UART 8=SPI/I2C)
+#  If SNOOZE_MODE_CFG is not provided, the default settings are used:
+#  They are as follows:
+#       8             Sleep Mode (0=Disabled 1=UART 8=SPI/I2C)
+#       0             Idle Threshold Host
+#       0             Idle Threshold HC
 #       0             NFC Wake active mode (0=ActiveLow 1=ActiveHigh)
 #       1             Host Wake active mode (0=ActiveLow 1=ActiveHigh)
 #
-#NFA_DM_ENABLE_SLEEP=0
-#NFA_DM_LP_CFG={08:00:01}
+#SNOOZE_MODE_CFG={08:00:00:00:01}
+
+###############################################################################
+# Low Power Mode Settings
+#
+#  If NFA_DM_LP_CFG is not provided, stack default settings are
+#  used (see nfa_dm_brcm_cfg.c).  They are as follows:
+#       1             Power cycle to full power mode from CEx
+#       5             Parameter for low power mode command
+#       0             Primary Threshold for battery monitor
+#                       0-7 representing below voltages:
+#                         {2, 2.2, 2.7, 2.8, 2.9, 3, 3.1, 3.2}
+#       8             Secondary Threshold for battery monitor
+#                       0-15 representing below voltages:
+#                         {5.2, 4.87, 4.54, 4.22, 3.9, 3.73, 3.57, 3.4,
+#                          3.2, 3.1,  3.0,  2.9,  2.8, 2.7,  2.2,  2.0}
+#
+#NFA_DM_LP_CFG={01:05:00:08}
 
 ###############################################################################
 # Insert a delay in milliseconds after NFC_WAKE and before write to NFCC
 NFC_WAKE_DELAY=20
+###############################################################################
+# Various Delay settings (in ms) used in USERIAL
+#  POWER_ON_DELAY
+#    Delay after turning on chip, before writing to transport (default 300)
+#  PRE_POWER_OFF_DELAY
+#    Delay after deasserting NFC-Wake before turn off chip (default 100)
+#  POST_POWER_OFF_DELAY
+#    Delay after turning off chip, before USERIAL_close returns (default 0)
+#
+#POWER_ON_DELAY=300
+#PRE_POWER_OFF_DELAY=100
+#POST_POWER_OFF_DELAY=0
 
 ###############################################################################
 # Device Manager Config
@@ -60,7 +82,7 @@
 #       0 (FALSE)     Automatic NDEF detection when background polling
 #       0 (FALSE)     Automatic NDEF read when background polling
 #
-#NFA_DM_CFG={F401:E803:00:00}
+#NFA_DM_CFG={00:00}
 
 ###############################################################################
 # LPTD mode configuration (effective NFCA 403.10.0.34)
@@ -83,7 +105,7 @@
 #   3 : UICCx supports both ISO_DEP and Mifare in low power mode.
 #
 #                                                                          AA BB
-NFA_DM_START_UP_CFG={1C:CB:01:01:A5:01:01:CA:14:00:00:00:00:02:E8:03:00:00:00:00:00:00:00:00:00:00:00:00:00}
+NFA_DM_START_UP_CFG={1C:CB:01:01:A5:01:01:CA:14:00:00:00:00:06:E8:03:00:00:00:00:00:00:00:00:00:00:00:00:00}
 
 ###############################################################################
 # Startup Vendor Specific Configuration (100 bytes maximum)
@@ -187,26 +209,8 @@
 # When screen is turned off, specify the desired power state of the controller.
 # 0: power-off-sleep state; DEFAULT
 # 1: full-power state
-# 2: screen-off card-emulation level-4 power state (CE4)
+# 2: screen-off card-emulation (CE4/CE3/CE1 modes are used)
 #SCREEN_OFF_POWER_STATE=0
-
-###############################################################################
-# Enable sendig VBAT_MONITOR_CMD to NFCC before entering CEx mode
-# 0: do not send VBAT_MONITOR_CMD
-# 1: send VBAT_MONITOR_CMD before entering CEx mode
-#SEND_VBAT_MONITOR_CMD=1
-
-###############################################################################
-# VBAT_MONITOR_CMD uses two threshold values Primary and secondary
-# First byte 0x05 set the primary threshold voltage to 3v
-# Second byte 0x08 set the secondary threshold voltage to 3.2v
-# Primary Threshold: 0 - 7 representing below voltages:
-#                   {2, 2.2, 2.7, 2.8, 2.9, 3, 3.1, 3.2}
-# Secondary Threshold: 0 - 15 representing below voltages:
-#                   {5.2, 4.87, 4.54, 4.22, 3.9, 3.73, 3.57, 3.4,
-#                    3.2, 3.1,  3.0,  2.9,  2.8, 2.7,  2.2,  2.0}
-#VBAT_MONITOR_THRESHOLD=0x0508
-
 ####################### End of libnfc-brcm-common.conf ########################
 
 ################### Start of libnfc-brcm-transport-i2c.conf ###################
@@ -217,8 +221,8 @@
 FW_PATCH="/vendor/firmware/bcm2079x_firmware.ncd"
 
 ###############################################################################
-# Firmware I2C Fix patch file (sent before the above patch file)
-#  If the value is not set then I2C Fix patch is not used.
+# Firmware pre-patch file (sent before the above patch file)
+#  If the value is not set then pre-patch is not used.
 FW_PRE_PATCH="/vendor/firmware/bcm2079x_pre_firmware.ncd"
 
 ###############################################################################