summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorKausik Sinnaswamy <kausik@broadcom.com>2012-04-02 15:04:26 +0530
committerMatthew Xie <mattx@google.com>2012-07-14 11:19:14 -0700
commit84a000f59a48dac41d04da6bf9569258bc0e2cfc (patch)
tree7552daf852870cf54ce7d6d9e1ad8f1ca83231c5 /include
parentc01f69a35563261eca49bd2083afd7064790940d (diff)
downloadexternal_bluetooth_bluedroid-84a000f59a48dac41d04da6bf9569258bc0e2cfc.zip
external_bluetooth_bluedroid-84a000f59a48dac41d04da6bf9569258bc0e2cfc.tar.gz
external_bluetooth_bluedroid-84a000f59a48dac41d04da6bf9569258bc0e2cfc.tar.bz2
Consolidated patchset for
1) Run-time configuration: configure stack and vendor at run-time using bt_stack.conf and bt_vendor.conf in /etc/bluetooth/ 2) Build-time configuration: Auto-generate buildcfg.h header file from the target config bdroid_$(TARGET_DEVICE).txt file Change-Id: Ieebb71081b7de404eab37f9ff4596d3dc94547a7
Diffstat (limited to 'include')
-rw-r--r--include/bdroid_crespo.txt199
-rw-r--r--include/bdroid_maguro.txt197
-rw-r--r--include/bdroid_toro.txt197
-rw-r--r--include/bdroid_wingray.txt197
-rw-r--r--include/bt_trace.h12
-rw-r--r--include/buildcfg.h6
-rw-r--r--include/buildcfg.mk13
-rw-r--r--include/buildcfg_crespo.h237
-rw-r--r--include/buildcfg_maguro.h235
9 files changed, 806 insertions, 487 deletions
diff --git a/include/bdroid_crespo.txt b/include/bdroid_crespo.txt
new file mode 100644
index 0000000..acb411b
--- /dev/null
+++ b/include/bdroid_crespo.txt
@@ -0,0 +1,199 @@
+AVCT_INCLUDED = TRUE
+AVRC_INCLUDED = TRUE
+AVRC_METADATA_INCLUDED = FALSE
+AVRC_ADV_CTRL_INCLUDED = FALSE
+AVDT_INCLUDED = TRUE
+UNV_INCLUDED = FALSE
+A2D_INCLUDED = TRUE
+A2D_SBC_INCLUDED = TRUE
+A2D_M12_INCLUDED = FALSE
+A2D_M24_INCLUDED = FALSE
+VDP_INCLUDED = FALSE
+VDP_H263_INCLUDED = FALSE
+VDP_MPEG_INCLUDED = FALSE
+VDP_VEND_INCLUDED = FALSE
+BIP_INCLUDED = FALSE
+BIP_INITR_INCLUDED = FALSE
+BIP_RSPDR_INCLUDED = FALSE
+BIP_PUSH_INCLUDED = FALSE
+BIP_PULL_INCLUDED = FALSE
+BIP_PRINTING_INCLUDED = FALSE
+BIP_ARCHIVE_INCLUDED = FALSE
+BIP_CAMERA_INCLUDED = FALSE
+BIP_DISPLAY_INCLUDED = FALSE
+BPP_INCLUDED = FALSE
+BPP_SND_INCLUDED = FALSE
+DUN_INCLUDED = FALSE
+GAP_INCLUDED = FALSE
+GOEP_INCLUDED = FALSE
+GOEP_FS_INCLUDED = FALSE
+GATT_PTS = FALSE
+BTM_SEC_MAX_SERVICE_RECORDS = 32
+L2CAP_INCLUDED = TRUE
+L2CAP_LINK_INACTIVITY_TOUT = 4
+L2CAP_FCR_INCLUDED = TRUE
+L2CAP_EXTFEA_SUPPORTED_MASK = (L2CAP_EXTFEA_ENH_RETRANS | L2CAP_EXTFEA_STREAM_MODE | L2CAP_EXTFEA_NO_CRC | L2CAP_EXTFEA_FIXED_CHNLS)
+OBX_INCLUDED = TRUE
+OBX_SERVER_INCLUDED = TRUE
+OBX_CLIENT_INCLUDED = TRUE
+OBX_MD5_INCLUDED = FALSE
+OBX_MD5_TEST_INCLUDED = FALSE
+OBX_14_INCLUDED = FALSE
+BTUI_OPS_FORMATS = (BTA_OP_VCARD21_MASK | BTA_OP_VCAL_MASK | BTA_OP_VNOTE_MASK | BTA_OP_ANY_MASK)
+BTA_OPC_SENDING_ABORT = TRUE
+RFCOMM_INCLUDED = TRUE
+MAX_RFC_PORTS = 30
+MAX_BD_CONNECTIONS = 7
+BTA_RFC_MTU_SIZE = (L2CAP_MTU_SIZE-L2CAP_MIN_OFFSET-RFCOMM_DATA_OVERHEAD)
+PORT_TX_BUF_HIGH_WM = 10
+PORT_RX_BUF_HIGH_WM = 10
+PORT_RX_BUF_LOW_WM = 4
+PORT_RX_BUF_CRITICAL_WM = 15
+PORT_TX_BUF_CRITICAL_WM = 15
+PORT_RX_LOW_WM = (BTA_RFC_MTU_SIZE * PORT_RX_BUF_LOW_WM)
+PORT_RX_HIGH_WM = (BTA_RFC_MTU_SIZE * PORT_RX_BUF_HIGH_WM)
+PORT_RX_CRITICAL_WM = (BTA_RFC_MTU_SIZE * PORT_RX_BUF_CRITICAL_WM)
+PORT_TX_HIGH_WM = (BTA_RFC_MTU_SIZE * PORT_TX_BUF_HIGH_WM)
+PORT_TX_CRITICAL_WM = (BTA_RFC_MTU_SIZE * PORT_TX_BUF_CRITICAL_WM)
+BTA_DUN_MTU = BTA_RFC_MTU_SIZE
+BTA_SPP_MTU = BTA_RFC_MTU_SIZE
+BTA_FAX_MTU = BTA_RFC_MTU_SIZE
+SDP_DI_INCLUDED = TRUE
+SDP_RAW_DATA_INCLUDED = TRUE
+SDP_RAW_PDU_INCLUDED = TRUE
+SDP_POOL_ID = 3
+SDP_MAX_REC_ATTR = 25
+SDP_MAX_ATTR_LEN = 400
+SDP_MAX_PAD_LEN = 600
+BNEP_INCLUDED = FALSE
+PAN_INCLUDED = FALSE
+SAP_SERVER_INCLUDED = FALSE
+HID_DEV_INCLUDED = FALSE
+HID_HOST_INCLUDED = TRUE
+BLE_INCLUDED = FALSE
+BTM_BLE_CONFORMANCE_TESTING = FALSE
+ATT_INCLUDED = FALSE
+ATT_DEBUG = FALSE
+GATTS_APPU_USE_GATT_TRACE = FALSE
+GATT_CLIENT_ENABLED = FALSE
+GATT_SERVER_ENABLED = FALSE
+SMP_INCLUDED = FALSE
+SMP_HOST_ENCRYPT_INCLUDED = FALSE
+SER_INCLUDED = FALSE
+RPC_INCLUDED = FALSE
+MMI_INCLUDED = FALSE
+SAP_INCLUDED = FALSE
+SBC_NO_PCM_CPY_OPTION = FALSE
+SBC_IPAQ_OPT = FALSE
+SBC_IS_64_MULT_IN_QUANTIZER = FALSE
+BTE_HCIUTILS_HOOK_INCLUDED = FALSE
+BTA_INCLUDED = TRUE
+BTA_AG_INCLUDED = TRUE
+BTA_CT_INCLUDED = FALSE
+BTA_CG_INCLUDED = FALSE
+BTA_DG_INCLUDED = FALSE
+BTA_FT_INCLUDED = FALSE
+BTA_OP_INCLUDED = FALSE
+BTA_PR_INCLUDED = FALSE
+BTA_SS_INCLUDED = FALSE
+BTA_DM_INCLUDED = TRUE
+BTA_DI_INCLUDED = FALSE
+BTA_BI_INCLUDED = FALSE
+BTA_SC_INCLUDED = FALSE
+BTA_PAN_INCLUDED = FALSE
+BTA_FS_INCLUDED = TRUE
+BTA_AC_INCLUDED = FALSE
+BTA_HD_INCLUDED = FALSE
+BTA_HH_INCLUDED = TRUE
+HH_USE_BTHID = TRUE
+BTA_AR_INCLUDED = TRUE
+BTA_AV_INCLUDED = TRUE
+BTA_AV_VDP_INCLUDED = FALSE
+BTA_AVK_INCLUDED = FALSE
+BTA_PBS_INCLUDED = FALSE
+BTA_PBC_INCLUDED = FALSE
+BTA_FM_INCLUDED = FALSE
+BTA_FM_DEBUG = FALSE
+BTA_FMTX_INCLUDED = FALSE
+BTA_FMTX_DEBUG = FALSE
+BTA_FMTX_FMRX_SWITCH_WORKAROUND = FALSE
+BTA_FMTX_US_FCC_RULES = FALSE
+BTA_HS_INCLUDED = FALSE
+BTA_MSE_INCLUDED = FALSE
+BTA_MCE_INCLUDED = FALSE
+BTA_PLAYBACK_INCLUDED = FALSE
+BTA_SSR_INCLUDED = FALSE
+BTA_JV_INCLUDED = FALSE
+BTA_EIR_CANNED_UUID_LIST = FALSE
+BTA_GATT_INCLUDED = FALSE
+RSI_INCLUDED = TRUE
+RPC_TRACE_ONLY = FALSE
+ANDROID_APP_INCLUDED = TRUE
+ANDROID_USE_LOGCAT = TRUE
+LINUX_GKI_INCLUDED = TRUE
+TICKS_PER_SEC = 100
+QUICK_TIMER_TICKS_PER_SEC = 10
+BTA_SYS_TIMER_PERIOD = 100
+GKI_BUF1_SIZE = 288
+GKI_BUF3_MAX = 200
+GKI_BUF3_SIZE = (4096+16)
+GKI_BUF4_SIZE = (8080+26)
+GKI_SHUTDOWN_EVT = APPL_EVT_7
+GKI_PTHREAD_JOINABLE = TRUE
+LINUX_DRV_INCLUDED = TRUE
+LINUX_OS = TRUE
+BTU_TASK = 0
+BTIF_TASK = 1
+A2DP_MEDIA_TASK = 2
+GKI_MAX_TASKS = 3
+BTM_APP_DEV_INIT = bte_main_post_reset_init
+BTE_IDLE_TASK_INCLUDED = FALSE
+APPL_INCLUDED = TRUE
+BTU_BTA_INCLUDED = TRUE
+SBC_FOR_EMBEDDED_LINUX = TRUE
+BTA_DM_REMOTE_DEVICE_NAME_LENGTH = 248
+BTM_MAX_REM_BD_NAME_LEN = 248
+BTM_MAX_LOC_BD_NAME_LEN = 248
+BTM_USE_DEF_LOCAL_NAME = TRUE
+BTM_DEF_LOCAL_NAME = "Nexus S 2"
+BTM_INQ_DB_SIZE = 40
+BTM_SEC_MAX_DEVICE_RECORDS = 100
+BTM_SEC_FORCE_RNR_FOR_DBOND = FALSE
+BTM_AUTOMATIC_HCI_RESET = FALSE
+AVDT_VERSION = 0x0102
+BTA_AG_AT_MAX_LEN = 512
+BTA_AVRCP_FF_RW_SUPPORT = TRUE
+BTM_MAX_SCO_LINKS = 2
+BTA_AG_SCO_PKT_TYPES = (BTM_SCO_LINK_ONLY_MASK | BTM_SCO_PKT_TYPES_MASK_EV3 | BTM_SCO_PKT_TYPES_MASK_NO_3_EV3 | BTM_SCO_PKT_TYPES_MASK_NO_2_EV5 | BTM_SCO_PKT_TYPES_MASK_NO_3_EV5)
+BTAPP_AV_SECMASK = (BTA_SEC_AUTHENTICATE | BTA_SEC_AUTHORIZE)
+BTA_AV_MAX_A2DP_MTU = 668
+BTA_AV_RET_TOUT = 15
+PORCHE_PAIRING_CONFLICT = TRUE
+BTA_AV_CO_CP_SCMS_T = FALSE
+AVDT_CONNECT_CP_ONLY = FALSE
+BTL_CFG_USE_CONF_FILE = FALSE
+BTAPP_AHF_API_SUPPORT = TRUE
+HCILP_INCLUDED = TRUE
+HCISU_H4_INCLUDED = TRUE
+BT_TRACE_PROTOCOL = TRUE
+BT_USE_TRACES = TRUE
+BT_TRACE_BTIF = TRUE
+BTTRC_INCLUDED = FALSE
+BT_TRACE_VERBOSE = FALSE
+BTTRC_PARSER_INCLUDED = FALSE
+MAX_TRACE_RAM_SIZE = 10000
+OBX_INITIAL_TRACE_LEVEL = BT_TRACE_LEVEL_ERROR
+BTM_ALLOW_CONN_IF_NONDISCOVER = TRUE
+BTAPP_FM_USE_HW_POKE_VOLUME = FALSE
+BTAPP_FM_AUDIO_PATH = BTA_FM_AUDIO_DAC
+BTAPP_DM_SUPPORTED_SERVICES = (BTA_HSP_SERVICE_MASK | BTA_HFP_SERVICE_MASK | BTA_A2DP_SERVICE_MASK | BTA_HID_SERVICE_MASK | BTA_OPP_SERVICE_MASK | BTA_BPP_SERVICE_MASK | BTA_NAP_SERVICE_MASK | BTA_PANU_SERVICE_MASK | BTA_HL_SERVICE_MASK)
+PBAP_ZERO_VCARD_IN_DB = FALSE
+BTA_DM_SDP_DB_SIZE = 4096
+MAX_L2CAP_CLIENTS = 15
+FTS_REJECT_INVALID_OBEX_SET_PATH_REQ = TRUE
+HID_HOST_MAX_CONN_RETRY = (3)
+BTM_DISC_DURING_RS = TRUE
+BTM_WBS_INCLUDED = FALSE
+HL_INCLUDED = FALSE
+NO_GKI_RUN_RETURN = TRUE
+AG_VOICE_SETTINGS = HCI_DEFAULT_VOICE_SETTINGS
diff --git a/include/bdroid_maguro.txt b/include/bdroid_maguro.txt
new file mode 100644
index 0000000..0f300e5
--- /dev/null
+++ b/include/bdroid_maguro.txt
@@ -0,0 +1,197 @@
+AVCT_INCLUDED = TRUE
+AVRC_INCLUDED = TRUE
+AVRC_METADATA_INCLUDED = FALSE
+AVRC_ADV_CTRL_INCLUDED = FALSE
+AVDT_INCLUDED = TRUE
+UNV_INCLUDED = FALSE
+A2D_INCLUDED = TRUE
+A2D_SBC_INCLUDED = TRUE
+A2D_M12_INCLUDED = FALSE
+A2D_M24_INCLUDED = FALSE
+VDP_INCLUDED = FALSE
+VDP_H263_INCLUDED = FALSE
+VDP_MPEG_INCLUDED = FALSE
+VDP_VEND_INCLUDED = FALSE
+BIP_INCLUDED = FALSE
+BIP_INITR_INCLUDED = FALSE
+BIP_RSPDR_INCLUDED = FALSE
+BIP_PUSH_INCLUDED = FALSE
+BIP_PULL_INCLUDED = FALSE
+BIP_PRINTING_INCLUDED = FALSE
+BIP_ARCHIVE_INCLUDED = FALSE
+BIP_CAMERA_INCLUDED = FALSE
+BIP_DISPLAY_INCLUDED = FALSE
+BPP_INCLUDED = FALSE
+BPP_SND_INCLUDED = FALSE
+DUN_INCLUDED = FALSE
+GAP_INCLUDED = FALSE
+GOEP_INCLUDED = FALSE
+GOEP_FS_INCLUDED = FALSE
+GATT_PTS = FALSE
+BTM_SEC_MAX_SERVICE_RECORDS = 32
+L2CAP_INCLUDED = TRUE
+L2CAP_LINK_INACTIVITY_TOUT = 4
+L2CAP_FCR_INCLUDED = TRUE
+L2CAP_EXTFEA_SUPPORTED_MASK = (L2CAP_EXTFEA_ENH_RETRANS | L2CAP_EXTFEA_STREAM_MODE | L2CAP_EXTFEA_NO_CRC | L2CAP_EXTFEA_FIXED_CHNLS)
+OBX_INCLUDED = TRUE
+OBX_SERVER_INCLUDED = TRUE
+OBX_CLIENT_INCLUDED = TRUE
+OBX_MD5_INCLUDED = FALSE
+OBX_MD5_TEST_INCLUDED = FALSE
+OBX_14_INCLUDED = FALSE
+BTUI_OPS_FORMATS = (BTA_OP_VCARD21_MASK | BTA_OP_VCAL_MASK | BTA_OP_VNOTE_MASK | BTA_OP_ANY_MASK)
+BTA_OPC_SENDING_ABORT = TRUE
+RFCOMM_INCLUDED = TRUE
+MAX_RFC_PORTS = 30
+MAX_BD_CONNECTIONS = 7
+BTA_RFC_MTU_SIZE = (L2CAP_MTU_SIZE-L2CAP_MIN_OFFSET-RFCOMM_DATA_OVERHEAD)
+PORT_TX_BUF_HIGH_WM = 10
+PORT_RX_BUF_HIGH_WM = 10
+PORT_RX_BUF_LOW_WM = 4
+PORT_RX_BUF_CRITICAL_WM = 15
+PORT_TX_BUF_CRITICAL_WM = 15
+PORT_RX_LOW_WM = (BTA_RFC_MTU_SIZE * PORT_RX_BUF_LOW_WM)
+PORT_RX_HIGH_WM = (BTA_RFC_MTU_SIZE * PORT_RX_BUF_HIGH_WM)
+PORT_RX_CRITICAL_WM = (BTA_RFC_MTU_SIZE * PORT_RX_BUF_CRITICAL_WM)
+PORT_TX_HIGH_WM = (BTA_RFC_MTU_SIZE * PORT_TX_BUF_HIGH_WM)
+PORT_TX_CRITICAL_WM = (BTA_RFC_MTU_SIZE * PORT_TX_BUF_CRITICAL_WM)
+BTA_DUN_MTU = BTA_RFC_MTU_SIZE
+BTA_SPP_MTU = BTA_RFC_MTU_SIZE
+BTA_FAX_MTU = BTA_RFC_MTU_SIZE
+SDP_DI_INCLUDED = TRUE
+SDP_RAW_DATA_INCLUDED = TRUE
+SDP_RAW_PDU_INCLUDED = TRUE
+SDP_POOL_ID = 3
+SDP_MAX_REC_ATTR = 25
+SDP_MAX_ATTR_LEN = 400
+SDP_MAX_PAD_LEN = 600
+BNEP_INCLUDED = FALSE
+PAN_INCLUDED = FALSE
+SAP_SERVER_INCLUDED = FALSE
+HID_DEV_INCLUDED = FALSE
+HID_HOST_INCLUDED = TRUE
+BLE_INCLUDED = FALSE
+BTM_BLE_CONFORMANCE_TESTING = FALSE
+ATT_INCLUDED = FALSE
+ATT_DEBUG = FALSE
+GATTS_APPU_USE_GATT_TRACE = FALSE
+GATT_CLIENT_ENABLED = FALSE
+GATT_SERVER_ENABLED = FALSE
+SMP_INCLUDED = FALSE
+SMP_HOST_ENCRYPT_INCLUDED = FALSE
+SER_INCLUDED = FALSE
+RPC_INCLUDED = FALSE
+MMI_INCLUDED = FALSE
+SAP_INCLUDED = FALSE
+SBC_NO_PCM_CPY_OPTION = FALSE
+SBC_IPAQ_OPT = FALSE
+SBC_IS_64_MULT_IN_QUANTIZER = FALSE
+BTE_HCIUTILS_HOOK_INCLUDED = FALSE
+BTA_INCLUDED = TRUE
+BTA_AG_INCLUDED = TRUE
+BTA_CT_INCLUDED = FALSE
+BTA_CG_INCLUDED = FALSE
+BTA_DG_INCLUDED = FALSE
+BTA_FT_INCLUDED = FALSE
+BTA_OP_INCLUDED = FALSE
+BTA_PR_INCLUDED = FALSE
+BTA_SS_INCLUDED = FALSE
+BTA_DM_INCLUDED = TRUE
+BTA_DI_INCLUDED = FALSE
+BTA_BI_INCLUDED = FALSE
+BTA_SC_INCLUDED = FALSE
+BTA_PAN_INCLUDED = FALSE
+BTA_FS_INCLUDED = TRUE
+BTA_AC_INCLUDED = FALSE
+BTA_HD_INCLUDED = FALSE
+BTA_HH_INCLUDED = TRUE
+HH_USE_BTHID = TRUE
+BTA_AR_INCLUDED = TRUE
+BTA_AV_INCLUDED = TRUE
+BTA_AV_VDP_INCLUDED = FALSE
+BTA_AVK_INCLUDED = FALSE
+BTA_PBS_INCLUDED = FALSE
+BTA_PBC_INCLUDED = FALSE
+BTA_FM_INCLUDED = FALSE
+BTA_FM_DEBUG = FALSE
+BTA_FMTX_INCLUDED = FALSE
+BTA_FMTX_DEBUG = FALSE
+BTA_FMTX_FMRX_SWITCH_WORKAROUND = FALSE
+BTA_FMTX_US_FCC_RULES = FALSE
+BTA_HS_INCLUDED = FALSE
+BTA_MSE_INCLUDED = FALSE
+BTA_MCE_INCLUDED = FALSE
+BTA_PLAYBACK_INCLUDED = FALSE
+BTA_SSR_INCLUDED = FALSE
+BTA_JV_INCLUDED = FALSE
+BTA_EIR_CANNED_UUID_LIST = FALSE
+BTA_GATT_INCLUDED = FALSE
+RSI_INCLUDED = TRUE
+RPC_TRACE_ONLY = FALSE
+ANDROID_APP_INCLUDED = TRUE
+ANDROID_USE_LOGCAT = TRUE
+LINUX_GKI_INCLUDED = TRUE
+TICKS_PER_SEC = 100
+QUICK_TIMER_TICKS_PER_SEC = 10
+BTA_SYS_TIMER_PERIOD = 100
+GKI_BUF1_SIZE = 288
+GKI_BUF3_MAX = 200
+GKI_BUF3_SIZE = (4096+16)
+GKI_BUF4_SIZE = (8080+26)
+GKI_SHUTDOWN_EVT = APPL_EVT_7
+GKI_PTHREAD_JOINABLE = TRUE
+LINUX_DRV_INCLUDED = TRUE
+LINUX_OS = TRUE
+BTU_TASK = 0
+BTIF_TASK = 1
+A2DP_MEDIA_TASK = 2
+GKI_MAX_TASKS = 3
+BTM_APP_DEV_INIT = bte_main_post_reset_init
+BTE_IDLE_TASK_INCLUDED = FALSE
+APPL_INCLUDED = TRUE
+BTU_BTA_INCLUDED = TRUE
+SBC_FOR_EMBEDDED_LINUX = TRUE
+BTA_DM_REMOTE_DEVICE_NAME_LENGTH = 248
+BTM_MAX_REM_BD_NAME_LEN = 248
+BTM_MAX_LOC_BD_NAME_LEN = 248
+BTM_USE_DEF_LOCAL_NAME = TRUE
+BTM_DEF_LOCAL_NAME = "Galaxy Nexus 2"
+BTM_INQ_DB_SIZE = 40
+BTM_SEC_MAX_DEVICE_RECORDS = 100
+BTM_SEC_FORCE_RNR_FOR_DBOND = FALSE
+BTM_AUTOMATIC_HCI_RESET = FALSE
+AVDT_VERSION = 0x0102
+BTA_AG_AT_MAX_LEN = 512
+BTA_AVRCP_FF_RW_SUPPORT = TRUE
+BTM_MAX_SCO_LINKS = 2
+BTA_AG_SCO_PKT_TYPES = (BTM_SCO_LINK_ONLY_MASK | BTM_SCO_PKT_TYPES_MASK_EV3 | BTM_SCO_PKT_TYPES_MASK_NO_3_EV3 | BTM_SCO_PKT_TYPES_MASK_NO_2_EV5 | BTM_SCO_PKT_TYPES_MASK_NO_3_EV5)
+BTAPP_AV_SECMASK = (BTA_SEC_AUTHENTICATE | BTA_SEC_AUTHORIZE)
+BTA_AV_MAX_A2DP_MTU = 668
+BTA_AV_RET_TOUT = 15
+PORCHE_PAIRING_CONFLICT = TRUE
+BTA_AV_CO_CP_SCMS_T = FALSE
+AVDT_CONNECT_CP_ONLY = FALSE
+BTL_CFG_USE_CONF_FILE = FALSE
+BTAPP_AHF_API_SUPPORT = TRUE
+HCILP_INCLUDED = TRUE
+HCISU_H4_INCLUDED = TRUE
+BT_TRACE_PROTOCOL = TRUE
+BT_USE_TRACES = TRUE
+BT_TRACE_BTIF = TRUE
+BTTRC_INCLUDED = FALSE
+BT_TRACE_VERBOSE = FALSE
+BTTRC_PARSER_INCLUDED = FALSE
+MAX_TRACE_RAM_SIZE = 10000
+OBX_INITIAL_TRACE_LEVEL = BT_TRACE_LEVEL_ERROR
+BTM_ALLOW_CONN_IF_NONDISCOVER = TRUE
+BTAPP_DM_SUPPORTED_SERVICES = (BTA_HSP_SERVICE_MASK | BTA_HFP_SERVICE_MASK | BTA_A2DP_SERVICE_MASK | BTA_HID_SERVICE_MASK | BTA_OPP_SERVICE_MASK | BTA_BPP_SERVICE_MASK)
+PBAP_ZERO_VCARD_IN_DB = FALSE
+BTA_DM_SDP_DB_SIZE = 4096
+MAX_L2CAP_CLIENTS = 15
+FTS_REJECT_INVALID_OBEX_SET_PATH_REQ = TRUE
+HID_HOST_MAX_CONN_RETRY = (3)
+BTM_DISC_DURING_RS = TRUE
+BTM_WBS_INCLUDED = FALSE
+HL_INCLUDED = FALSE
+NO_GKI_RUN_RETURN = TRUE
+AG_VOICE_SETTINGS = HCI_DEFAULT_VOICE_SETTINGS
diff --git a/include/bdroid_toro.txt b/include/bdroid_toro.txt
new file mode 100644
index 0000000..be0d03c
--- /dev/null
+++ b/include/bdroid_toro.txt
@@ -0,0 +1,197 @@
+AVCT_INCLUDED = TRUE
+AVRC_INCLUDED = TRUE
+AVRC_METADATA_INCLUDED = FALSE
+AVRC_ADV_CTRL_INCLUDED = FALSE
+AVDT_INCLUDED = TRUE
+UNV_INCLUDED = FALSE
+A2D_INCLUDED = TRUE
+A2D_SBC_INCLUDED = TRUE
+A2D_M12_INCLUDED = FALSE
+A2D_M24_INCLUDED = FALSE
+VDP_INCLUDED = FALSE
+VDP_H263_INCLUDED = FALSE
+VDP_MPEG_INCLUDED = FALSE
+VDP_VEND_INCLUDED = FALSE
+BIP_INCLUDED = FALSE
+BIP_INITR_INCLUDED = FALSE
+BIP_RSPDR_INCLUDED = FALSE
+BIP_PUSH_INCLUDED = FALSE
+BIP_PULL_INCLUDED = FALSE
+BIP_PRINTING_INCLUDED = FALSE
+BIP_ARCHIVE_INCLUDED = FALSE
+BIP_CAMERA_INCLUDED = FALSE
+BIP_DISPLAY_INCLUDED = FALSE
+BPP_INCLUDED = FALSE
+BPP_SND_INCLUDED = FALSE
+DUN_INCLUDED = FALSE
+GAP_INCLUDED = FALSE
+GOEP_INCLUDED = FALSE
+GOEP_FS_INCLUDED = FALSE
+GATT_PTS = FALSE
+BTM_SEC_MAX_SERVICE_RECORDS = 32
+L2CAP_INCLUDED = TRUE
+L2CAP_LINK_INACTIVITY_TOUT = 4
+L2CAP_FCR_INCLUDED = TRUE
+L2CAP_EXTFEA_SUPPORTED_MASK = (L2CAP_EXTFEA_ENH_RETRANS | L2CAP_EXTFEA_STREAM_MODE | L2CAP_EXTFEA_NO_CRC | L2CAP_EXTFEA_FIXED_CHNLS)
+OBX_INCLUDED = TRUE
+OBX_SERVER_INCLUDED = TRUE
+OBX_CLIENT_INCLUDED = TRUE
+OBX_MD5_INCLUDED = FALSE
+OBX_MD5_TEST_INCLUDED = FALSE
+OBX_14_INCLUDED = FALSE
+BTUI_OPS_FORMATS = (BTA_OP_VCARD21_MASK | BTA_OP_VCAL_MASK | BTA_OP_VNOTE_MASK | BTA_OP_ANY_MASK)
+BTA_OPC_SENDING_ABORT = TRUE
+RFCOMM_INCLUDED = TRUE
+MAX_RFC_PORTS = 30
+MAX_BD_CONNECTIONS = 7
+BTA_RFC_MTU_SIZE = (L2CAP_MTU_SIZE-L2CAP_MIN_OFFSET-RFCOMM_DATA_OVERHEAD)
+PORT_TX_BUF_HIGH_WM = 10
+PORT_RX_BUF_HIGH_WM = 10
+PORT_RX_BUF_LOW_WM = 4
+PORT_RX_BUF_CRITICAL_WM = 15
+PORT_TX_BUF_CRITICAL_WM = 15
+PORT_RX_LOW_WM = (BTA_RFC_MTU_SIZE * PORT_RX_BUF_LOW_WM)
+PORT_RX_HIGH_WM = (BTA_RFC_MTU_SIZE * PORT_RX_BUF_HIGH_WM)
+PORT_RX_CRITICAL_WM = (BTA_RFC_MTU_SIZE * PORT_RX_BUF_CRITICAL_WM)
+PORT_TX_HIGH_WM = (BTA_RFC_MTU_SIZE * PORT_TX_BUF_HIGH_WM)
+PORT_TX_CRITICAL_WM = (BTA_RFC_MTU_SIZE * PORT_TX_BUF_CRITICAL_WM)
+BTA_DUN_MTU = BTA_RFC_MTU_SIZE
+BTA_SPP_MTU = BTA_RFC_MTU_SIZE
+BTA_FAX_MTU = BTA_RFC_MTU_SIZE
+SDP_DI_INCLUDED = TRUE
+SDP_RAW_DATA_INCLUDED = TRUE
+SDP_RAW_PDU_INCLUDED = TRUE
+SDP_POOL_ID = 3
+SDP_MAX_REC_ATTR = 25
+SDP_MAX_ATTR_LEN = 400
+SDP_MAX_PAD_LEN = 600
+BNEP_INCLUDED = FALSE
+PAN_INCLUDED = FALSE
+SAP_SERVER_INCLUDED = FALSE
+HID_DEV_INCLUDED = FALSE
+HID_HOST_INCLUDED = FALSE
+BLE_INCLUDED = FALSE
+BTM_BLE_CONFORMANCE_TESTING = FALSE
+ATT_INCLUDED = FALSE
+ATT_DEBUG = FALSE
+GATTS_APPU_USE_GATT_TRACE = FALSE
+GATT_CLIENT_ENABLED = FALSE
+GATT_SERVER_ENABLED = FALSE
+SMP_INCLUDED = FALSE
+SMP_HOST_ENCRYPT_INCLUDED = FALSE
+SER_INCLUDED = FALSE
+RPC_INCLUDED = FALSE
+MMI_INCLUDED = FALSE
+SAP_INCLUDED = FALSE
+SBC_NO_PCM_CPY_OPTION = FALSE
+SBC_IPAQ_OPT = FALSE
+SBC_IS_64_MULT_IN_QUANTIZER = FALSE
+BTE_HCIUTILS_HOOK_INCLUDED = FALSE
+BTA_INCLUDED = TRUE
+BTA_AG_INCLUDED = TRUE
+BTA_CT_INCLUDED = FALSE
+BTA_CG_INCLUDED = FALSE
+BTA_DG_INCLUDED = FALSE
+BTA_FT_INCLUDED = FALSE
+BTA_OP_INCLUDED = FALSE
+BTA_PR_INCLUDED = FALSE
+BTA_SS_INCLUDED = FALSE
+BTA_DM_INCLUDED = TRUE
+BTA_DI_INCLUDED = FALSE
+BTA_BI_INCLUDED = FALSE
+BTA_SC_INCLUDED = FALSE
+BTA_PAN_INCLUDED = FALSE
+BTA_FS_INCLUDED = TRUE
+BTA_AC_INCLUDED = FALSE
+BTA_HD_INCLUDED = FALSE
+BTA_HH_INCLUDED = FALSE
+HH_USE_BTHID = FALSE
+BTA_AR_INCLUDED = TRUE
+BTA_AV_INCLUDED = TRUE
+BTA_AV_VDP_INCLUDED = FALSE
+BTA_AVK_INCLUDED = FALSE
+BTA_PBS_INCLUDED = FALSE
+BTA_PBC_INCLUDED = FALSE
+BTA_FM_INCLUDED = FALSE
+BTA_FM_DEBUG = FALSE
+BTA_FMTX_INCLUDED = FALSE
+BTA_FMTX_DEBUG = FALSE
+BTA_FMTX_FMRX_SWITCH_WORKAROUND = FALSE
+BTA_FMTX_US_FCC_RULES = FALSE
+BTA_HS_INCLUDED = FALSE
+BTA_MSE_INCLUDED = FALSE
+BTA_MCE_INCLUDED = FALSE
+BTA_PLAYBACK_INCLUDED = FALSE
+BTA_SSR_INCLUDED = FALSE
+BTA_JV_INCLUDED = FALSE
+BTA_EIR_CANNED_UUID_LIST = FALSE
+BTA_GATT_INCLUDED = FALSE
+RSI_INCLUDED = TRUE
+RPC_TRACE_ONLY = FALSE
+ANDROID_APP_INCLUDED = TRUE
+ANDROID_USE_LOGCAT = TRUE
+LINUX_GKI_INCLUDED = TRUE
+TICKS_PER_SEC = 100
+QUICK_TIMER_TICKS_PER_SEC = 10
+BTA_SYS_TIMER_PERIOD = 100
+GKI_BUF1_SIZE = 288
+GKI_BUF3_MAX = 200
+GKI_BUF3_SIZE = (4096+16)
+GKI_BUF4_SIZE = (8080+26)
+GKI_SHUTDOWN_EVT = APPL_EVT_7
+GKI_PTHREAD_JOINABLE = TRUE
+LINUX_DRV_INCLUDED = TRUE
+LINUX_OS = TRUE
+BTU_TASK = 0
+BTIF_TASK = 1
+A2DP_MEDIA_TASK = 2
+GKI_MAX_TASKS = 3
+BTM_APP_DEV_INIT = bte_main_post_reset_init
+BTE_IDLE_TASK_INCLUDED = FALSE
+APPL_INCLUDED = TRUE
+BTU_BTA_INCLUDED = TRUE
+SBC_FOR_EMBEDDED_LINUX = TRUE
+BTA_DM_REMOTE_DEVICE_NAME_LENGTH = 248
+BTM_MAX_REM_BD_NAME_LEN = 248
+BTM_MAX_LOC_BD_NAME_LEN = 248
+BTM_USE_DEF_LOCAL_NAME = TRUE
+BTM_DEF_LOCAL_NAME = "Galaxy Nexus CDMA 2"
+BTM_INQ_DB_SIZE = 40
+BTM_SEC_MAX_DEVICE_RECORDS = 100
+BTM_SEC_FORCE_RNR_FOR_DBOND = FALSE
+BTM_AUTOMATIC_HCI_RESET = FALSE
+AVDT_VERSION = 0x0102
+BTA_AG_AT_MAX_LEN = 512
+BTA_AVRCP_FF_RW_SUPPORT = TRUE
+BTM_MAX_SCO_LINKS = 2
+BTA_AG_SCO_PKT_TYPES = (BTM_SCO_LINK_ONLY_MASK | BTM_SCO_PKT_TYPES_MASK_EV3 | BTM_SCO_PKT_TYPES_MASK_NO_3_EV3 | BTM_SCO_PKT_TYPES_MASK_NO_2_EV5 | BTM_SCO_PKT_TYPES_MASK_NO_3_EV5)
+BTAPP_AV_SECMASK = (BTA_SEC_AUTHENTICATE | BTA_SEC_AUTHORIZE)
+BTA_AV_MAX_A2DP_MTU = 668
+BTA_AV_RET_TOUT = 15
+PORCHE_PAIRING_CONFLICT = TRUE
+BTA_AV_CO_CP_SCMS_T = FALSE
+AVDT_CONNECT_CP_ONLY = FALSE
+BTL_CFG_USE_CONF_FILE = FALSE
+BTAPP_AHF_API_SUPPORT = TRUE
+HCILP_INCLUDED = TRUE
+HCISU_H4_INCLUDED = TRUE
+BT_TRACE_PROTOCOL = TRUE
+BT_USE_TRACES = TRUE
+BT_TRACE_BTIF = TRUE
+BTTRC_INCLUDED = FALSE
+BT_TRACE_VERBOSE = FALSE
+BTTRC_PARSER_INCLUDED = FALSE
+MAX_TRACE_RAM_SIZE = 10000
+OBX_INITIAL_TRACE_LEVEL = BT_TRACE_LEVEL_ERROR
+BTM_ALLOW_CONN_IF_NONDISCOVER = TRUE
+BTAPP_DM_SUPPORTED_SERVICES = (BTA_HSP_SERVICE_MASK | BTA_HFP_SERVICE_MASK | BTA_A2DP_SERVICE_MASK | BTA_HID_SERVICE_MASK | BTA_OPP_SERVICE_MASK | BTA_BPP_SERVICE_MASK)
+PBAP_ZERO_VCARD_IN_DB = FALSE
+BTA_DM_SDP_DB_SIZE = 4096
+MAX_L2CAP_CLIENTS = 15
+FTS_REJECT_INVALID_OBEX_SET_PATH_REQ = TRUE
+HID_HOST_MAX_CONN_RETRY = (3)
+BTM_DISC_DURING_RS = TRUE
+BTM_WBS_INCLUDED = FALSE
+HL_INCLUDED = FALSE
+NO_GKI_RUN_RETURN = TRUE
+AG_VOICE_SETTINGS = HCI_DEFAULT_VOICE_SETTINGS
diff --git a/include/bdroid_wingray.txt b/include/bdroid_wingray.txt
new file mode 100644
index 0000000..8a8b204
--- /dev/null
+++ b/include/bdroid_wingray.txt
@@ -0,0 +1,197 @@
+AVCT_INCLUDED = TRUE
+AVRC_INCLUDED = TRUE
+AVRC_METADATA_INCLUDED = FALSE
+AVRC_ADV_CTRL_INCLUDED = FALSE
+AVDT_INCLUDED = TRUE
+UNV_INCLUDED = FALSE
+A2D_INCLUDED = TRUE
+A2D_SBC_INCLUDED = TRUE
+A2D_M12_INCLUDED = FALSE
+A2D_M24_INCLUDED = FALSE
+VDP_INCLUDED = FALSE
+VDP_H263_INCLUDED = FALSE
+VDP_MPEG_INCLUDED = FALSE
+VDP_VEND_INCLUDED = FALSE
+BIP_INCLUDED = FALSE
+BIP_INITR_INCLUDED = FALSE
+BIP_RSPDR_INCLUDED = FALSE
+BIP_PUSH_INCLUDED = FALSE
+BIP_PULL_INCLUDED = FALSE
+BIP_PRINTING_INCLUDED = FALSE
+BIP_ARCHIVE_INCLUDED = FALSE
+BIP_CAMERA_INCLUDED = FALSE
+BIP_DISPLAY_INCLUDED = FALSE
+BPP_INCLUDED = FALSE
+BPP_SND_INCLUDED = FALSE
+DUN_INCLUDED = FALSE
+GAP_INCLUDED = FALSE
+GOEP_INCLUDED = FALSE
+GOEP_FS_INCLUDED = FALSE
+GATT_PTS = FALSE
+BTM_SEC_MAX_SERVICE_RECORDS = 32
+L2CAP_INCLUDED = TRUE
+L2CAP_LINK_INACTIVITY_TOUT = 4
+L2CAP_FCR_INCLUDED = TRUE
+L2CAP_EXTFEA_SUPPORTED_MASK = (L2CAP_EXTFEA_ENH_RETRANS | L2CAP_EXTFEA_STREAM_MODE | L2CAP_EXTFEA_NO_CRC | L2CAP_EXTFEA_FIXED_CHNLS)
+OBX_INCLUDED = TRUE
+OBX_SERVER_INCLUDED = TRUE
+OBX_CLIENT_INCLUDED = TRUE
+OBX_MD5_INCLUDED = FALSE
+OBX_MD5_TEST_INCLUDED = FALSE
+OBX_14_INCLUDED = FALSE
+BTUI_OPS_FORMATS = (BTA_OP_VCARD21_MASK | BTA_OP_VCAL_MASK | BTA_OP_VNOTE_MASK | BTA_OP_ANY_MASK)
+BTA_OPC_SENDING_ABORT = TRUE
+RFCOMM_INCLUDED = TRUE
+MAX_RFC_PORTS = 30
+MAX_BD_CONNECTIONS = 7
+BTA_RFC_MTU_SIZE = (L2CAP_MTU_SIZE-L2CAP_MIN_OFFSET-RFCOMM_DATA_OVERHEAD)
+PORT_TX_BUF_HIGH_WM = 10
+PORT_RX_BUF_HIGH_WM = 10
+PORT_RX_BUF_LOW_WM = 4
+PORT_RX_BUF_CRITICAL_WM = 15
+PORT_TX_BUF_CRITICAL_WM = 15
+PORT_RX_LOW_WM = (BTA_RFC_MTU_SIZE * PORT_RX_BUF_LOW_WM)
+PORT_RX_HIGH_WM = (BTA_RFC_MTU_SIZE * PORT_RX_BUF_HIGH_WM)
+PORT_RX_CRITICAL_WM = (BTA_RFC_MTU_SIZE * PORT_RX_BUF_CRITICAL_WM)
+PORT_TX_HIGH_WM = (BTA_RFC_MTU_SIZE * PORT_TX_BUF_HIGH_WM)
+PORT_TX_CRITICAL_WM = (BTA_RFC_MTU_SIZE * PORT_TX_BUF_CRITICAL_WM)
+BTA_DUN_MTU = BTA_RFC_MTU_SIZE
+BTA_SPP_MTU = BTA_RFC_MTU_SIZE
+BTA_FAX_MTU = BTA_RFC_MTU_SIZE
+SDP_DI_INCLUDED = TRUE
+SDP_RAW_DATA_INCLUDED = TRUE
+SDP_RAW_PDU_INCLUDED = TRUE
+SDP_POOL_ID = 3
+SDP_MAX_REC_ATTR = 25
+SDP_MAX_ATTR_LEN = 400
+SDP_MAX_PAD_LEN = 600
+BNEP_INCLUDED = FALSE
+PAN_INCLUDED = FALSE
+SAP_SERVER_INCLUDED = FALSE
+HID_DEV_INCLUDED = FALSE
+HID_HOST_INCLUDED = FALSE
+BLE_INCLUDED = FALSE
+BTM_BLE_CONFORMANCE_TESTING = FALSE
+ATT_INCLUDED = FALSE
+ATT_DEBUG = FALSE
+GATTS_APPU_USE_GATT_TRACE = FALSE
+GATT_CLIENT_ENABLED = FALSE
+GATT_SERVER_ENABLED = FALSE
+SMP_INCLUDED = FALSE
+SMP_HOST_ENCRYPT_INCLUDED = FALSE
+SER_INCLUDED = FALSE
+RPC_INCLUDED = FALSE
+MMI_INCLUDED = FALSE
+SAP_INCLUDED = FALSE
+SBC_NO_PCM_CPY_OPTION = FALSE
+SBC_IPAQ_OPT = FALSE
+SBC_IS_64_MULT_IN_QUANTIZER = FALSE
+BTE_HCIUTILS_HOOK_INCLUDED = FALSE
+BTA_INCLUDED = TRUE
+BTA_AG_INCLUDED = TRUE
+BTA_CT_INCLUDED = FALSE
+BTA_CG_INCLUDED = FALSE
+BTA_DG_INCLUDED = FALSE
+BTA_FT_INCLUDED = FALSE
+BTA_OP_INCLUDED = FALSE
+BTA_PR_INCLUDED = FALSE
+BTA_SS_INCLUDED = FALSE
+BTA_DM_INCLUDED = TRUE
+BTA_DI_INCLUDED = FALSE
+BTA_BI_INCLUDED = FALSE
+BTA_SC_INCLUDED = FALSE
+BTA_PAN_INCLUDED = FALSE
+BTA_FS_INCLUDED = TRUE
+BTA_AC_INCLUDED = FALSE
+BTA_HD_INCLUDED = FALSE
+BTA_HH_INCLUDED = FALSE
+HH_USE_BTHID = FALSE
+BTA_AR_INCLUDED = TRUE
+BTA_AV_INCLUDED = TRUE
+BTA_AV_VDP_INCLUDED = FALSE
+BTA_AVK_INCLUDED = FALSE
+BTA_PBS_INCLUDED = FALSE
+BTA_PBC_INCLUDED = FALSE
+BTA_FM_INCLUDED = FALSE
+BTA_FM_DEBUG = FALSE
+BTA_FMTX_INCLUDED = FALSE
+BTA_FMTX_DEBUG = FALSE
+BTA_FMTX_FMRX_SWITCH_WORKAROUND = FALSE
+BTA_FMTX_US_FCC_RULES = FALSE
+BTA_HS_INCLUDED = FALSE
+BTA_MSE_INCLUDED = FALSE
+BTA_MCE_INCLUDED = FALSE
+BTA_PLAYBACK_INCLUDED = FALSE
+BTA_SSR_INCLUDED = FALSE
+BTA_JV_INCLUDED = FALSE
+BTA_EIR_CANNED_UUID_LIST = FALSE
+BTA_GATT_INCLUDED = FALSE
+RSI_INCLUDED = TRUE
+RPC_TRACE_ONLY = FALSE
+ANDROID_APP_INCLUDED = TRUE
+ANDROID_USE_LOGCAT = TRUE
+LINUX_GKI_INCLUDED = TRUE
+TICKS_PER_SEC = 100
+QUICK_TIMER_TICKS_PER_SEC = 10
+BTA_SYS_TIMER_PERIOD = 100
+GKI_BUF1_SIZE = 288
+GKI_BUF3_MAX = 100
+GKI_BUF3_SIZE = (4096+16)
+GKI_BUF4_SIZE = (8080+26)
+GKI_SHUTDOWN_EVT = APPL_EVT_7
+GKI_PTHREAD_JOINABLE = TRUE
+LINUX_DRV_INCLUDED = TRUE
+LINUX_OS = TRUE
+BTU_TASK = 0
+BTIF_TASK = 1
+A2DP_MEDIA_TASK = 2
+GKI_MAX_TASKS = 3
+BTM_APP_DEV_INIT = bte_main_post_reset_init
+BTE_IDLE_TASK_INCLUDED = FALSE
+APPL_INCLUDED = TRUE
+BTU_BTA_INCLUDED = TRUE
+SBC_FOR_EMBEDDED_LINUX = TRUE
+BTA_DM_REMOTE_DEVICE_NAME_LENGTH = 248
+BTM_MAX_REM_BD_NAME_LEN = 248
+BTM_MAX_LOC_BD_NAME_LEN = 248
+BTM_USE_DEF_LOCAL_NAME = TRUE
+BTM_DEF_LOCAL_NAME = "Xoom 2"
+BTM_INQ_DB_SIZE = 40
+BTM_SEC_MAX_DEVICE_RECORDS = 100
+BTM_SEC_FORCE_RNR_FOR_DBOND = FALSE
+BTM_AUTOMATIC_HCI_RESET = FALSE
+AVDT_VERSION = 0x0102
+BTA_AG_AT_MAX_LEN = 512
+BTA_AVRCP_FF_RW_SUPPORT = TRUE
+BTM_MAX_SCO_LINKS = 2
+BTA_AG_SCO_PKT_TYPES = (BTM_SCO_LINK_ONLY_MASK | BTM_SCO_PKT_TYPES_MASK_EV3 | BTM_SCO_PKT_TYPES_MASK_NO_3_EV3 | BTM_SCO_PKT_TYPES_MASK_NO_2_EV5 | BTM_SCO_PKT_TYPES_MASK_NO_3_EV5)
+BTAPP_AV_SECMASK = (BTA_SEC_AUTHENTICATE | BTA_SEC_AUTHORIZE)
+BTA_AV_MAX_A2DP_MTU = 668
+BTA_AV_RET_TOUT = 15
+PORCHE_PAIRING_CONFLICT = TRUE
+BTA_AV_CO_CP_SCMS_T = FALSE
+AVDT_CONNECT_CP_ONLY = FALSE
+BTL_CFG_USE_CONF_FILE = FALSE
+BTAPP_AHF_API_SUPPORT = TRUE
+HCILP_INCLUDED = TRUE
+HCISU_H4_INCLUDED = TRUE
+BT_TRACE_PROTOCOL = TRUE
+BT_USE_TRACES = TRUE
+BT_TRACE_BTIF = TRUE
+BTTRC_INCLUDED = FALSE
+BT_TRACE_VERBOSE = FALSE
+BTTRC_PARSER_INCLUDED = FALSE
+MAX_TRACE_RAM_SIZE = 10000
+OBX_INITIAL_TRACE_LEVEL = BT_TRACE_LEVEL_ERROR
+BTM_ALLOW_CONN_IF_NONDISCOVER = TRUE
+BTAPP_DM_SUPPORTED_SERVICES = (BTA_HSP_SERVICE_MASK | BTA_HFP_SERVICE_MASK | BTA_A2DP_SERVICE_MASK | BTA_HID_SERVICE_MASK | BTA_OPP_SERVICE_MASK | BTA_BPP_SERVICE_MASK)
+PBAP_ZERO_VCARD_IN_DB = FALSE
+BTA_DM_SDP_DB_SIZE = 4096
+MAX_L2CAP_CLIENTS = 15
+FTS_REJECT_INVALID_OBEX_SET_PATH_REQ = TRUE
+HID_HOST_MAX_CONN_RETRY = (3)
+BTM_DISC_DURING_RS = TRUE
+BTM_WBS_INCLUDED = FALSE
+HL_INCLUDED = FALSE
+NO_GKI_RUN_RETURN = TRUE
+AG_VOICE_SETTINGS = HCI_DEFAULT_VOICE_SETTINGS
diff --git a/include/bt_trace.h b/include/bt_trace.h
index a5372d0..6ad87c8 100644
--- a/include/bt_trace.h
+++ b/include/bt_trace.h
@@ -157,21 +157,15 @@ typedef struct {
typedef UINT8 (tBTTRC_SET_TRACE_LEVEL)( UINT8 );
-/* potentially to save flash, you could compile this out. however some functions may need adjustments! */
-#ifndef USE_TEXT_ID
-#define USE_TEXT_ID TRUE
-#endif
-
typedef struct {
const tBTTRC_LAYER_ID layer_id_start;
const tBTTRC_LAYER_ID layer_id_end;
- const tBTTRC_SET_TRACE_LEVEL *p_f;
-#if (USE_TEXT_ID==TRUE)
+ tBTTRC_SET_TRACE_LEVEL *p_f;
const char *trc_name;
-#endif
+ UINT8 trace_level;
} tBTTRC_FUNC_MAP;
-extern const tBTTRC_FUNC_MAP bttrc_set_level_map[];
+extern tBTTRC_FUNC_MAP bttrc_set_level_map[];
extern const UINT16 bttrc_map_size;
extern BT_API tBTTRC_LEVEL * BTA_SysSetTraceLevel( tBTTRC_LEVEL * p_levels );
// btla-specific --
diff --git a/include/buildcfg.h b/include/buildcfg.h
deleted file mode 100644
index 773f0b3..0000000
--- a/include/buildcfg.h
+++ /dev/null
@@ -1,6 +0,0 @@
-//Based on the target variant one of these would be picked
-#ifdef TARGET_CRESPO
-#include "buildcfg_crespo.h"
-#else
-#include "buildcfg_maguro.h"
-#endif
diff --git a/include/buildcfg.mk b/include/buildcfg.mk
new file mode 100644
index 0000000..8d53748
--- /dev/null
+++ b/include/buildcfg.mk
@@ -0,0 +1,13 @@
+#bt_targetfile = $(TARGET_DEVICE_DIR)/$(addprefix bdroid_, $(addsuffix .txt,$(basename $(TARGET_DEVICE))))
+bt_targetfile = $(call my-dir)/$(addprefix bdroid_, $(addsuffix .txt,$(basename $(TARGET_DEVICE))))
+bt_cfgfile = $(call my-dir)/buildcfg.h
+
+bt_build_cfg = $(shell if [ -f $(bt_cfgfile) ] && [ `stat -c %Y $(bt_targetfile)` -lt `stat -c %Y $(bt_cfgfile)` ]; then echo 0; else echo 1; fi)
+
+ifeq ($(bt_build_cfg),1)
+$(info "Creating $(bt_cfgfile) from $(bt_targetfile)")
+$(shell echo "#ifndef BUILDCFG_H" > $(bt_cfgfile))
+$(shell echo "#define BUILDCFG_H" >> $(bt_cfgfile))
+$(shell sed -e '/^#/d' -e '/^$$/d' -e '/# Makefile only$$/d' -e 's/^/#define /' -e 's/=/ /' $(bt_targetfile) >> $(bt_cfgfile))
+$(shell echo "#endif" >> $(bt_cfgfile))
+endif
diff --git a/include/buildcfg_crespo.h b/include/buildcfg_crespo.h
deleted file mode 100644
index da4d475..0000000
--- a/include/buildcfg_crespo.h
+++ /dev/null
@@ -1,237 +0,0 @@
-#ifndef BUILDCFG_H
-#define BUILDCFG_H
-#define AVCT_INCLUDED TRUE
-#define AVRC_INCLUDED TRUE
-#define AVRC_METADATA_INCLUDED FALSE
-#define AVRC_ADV_CTRL_INCLUDED FALSE
-#define AVDT_INCLUDED TRUE
-#define AVDTC_INCLUDED FALSE # Makefile only
-#define AT91_MAIN_INCLUDED FALSE
-#define AT91_DRV_INCLUDED FALSE
-#define AT91_LIB_INCLUDED FALSE
-#define AT91_GKI_INCLUDED FALSE
-#define UNV_INCLUDED FALSE
-#define BBY_MAIN_INCLUDED FALSE
-#define A2D_INCLUDED TRUE
-#define A2D_SBC_INCLUDED TRUE
-#define A2D_M12_INCLUDED FALSE
-#define A2D_M24_INCLUDED FALSE
-#define VDP_H263_INCLUDED FALSE
-#define VDP_MPEG_INCLUDED FALSE
-#define VDP_VEND_INCLUDED FALSE
-#define BIP_INCLUDED FALSE
-#define BIP_INITR_INCLUDED FALSE
-#define BIP_RSPDR_INCLUDED FALSE
-#define BIP_PUSH_INCLUDED FALSE
-#define BIP_PULL_INCLUDED FALSE
-#define BIP_PRINTING_INCLUDED FALSE
-#define BIP_ARCHIVE_INCLUDED FALSE
-#define BIP_CAMERA_INCLUDED FALSE
-#define BIP_DISPLAY_INCLUDED FALSE
-#define BPP_INCLUDED FALSE
-#define BPP_SND_INCLUDED FALSE
-#define BTM_INCLUDED FALSE # Makefile only
-#define BTU_INCLUDED FALSE # Makefile only
-#define BTUTHIN_INCLUDED FALSE # Makefile only
-#define DUN_INCLUDED FALSE
-#define GAP_INCLUDED FALSE
-#define GOEP_INCLUDED FALSE
-#define GOEP_FS_INCLUDED FALSE
-#define GATT_PTS FALSE
-#define HCIC_INCLUDED TRUE # Makefile only
-#define HCITHIN_INCLUDED FALSE
-#define BTM_SEC_MAX_SERVICE_RECORDS 32
-#define L2CAP_INCLUDED TRUE
-#define L2CAP_LINK_INACTIVITY_TOUT 4
-#define L2CAP_FCR_INCLUDED TRUE
-#define L2CAP_EXTFEA_SUPPORTED_MASK (L2CAP_EXTFEA_ENH_RETRANS | L2CAP_EXTFEA_STREAM_MODE | L2CAP_EXTFEA_NO_CRC | L2CAP_EXTFEA_FIXED_CHNLS)
-#define OBX_INCLUDED TRUE
-#define OBX_SERVER_INCLUDED TRUE
-#define OBX_CLIENT_INCLUDED TRUE
-#define OBX_MD5_INCLUDED FALSE
-#define OBX_MD5_TEST_INCLUDED FALSE
-#define OBX_14_INCLUDED FALSE
-#define BTUI_OPS_FORMATS (BTA_OP_VCARD21_MASK | BTA_OP_VCAL_MASK | BTA_OP_VNOTE_MASK | BTA_OP_ANY_MASK)
-#define BTA_OPC_SENDING_ABORT TRUE
-#define RFCOMM_INCLUDED TRUE
-#define MAX_RFC_PORTS 30
-#define MAX_BD_CONNECTIONS 7
-#define BTA_RFC_MTU_SIZE (L2CAP_MTU_SIZE-L2CAP_MIN_OFFSET-RFCOMM_DATA_OVERHEAD)
-#define PORT_TX_BUF_HIGH_WM 10
-#define PORT_RX_BUF_HIGH_WM 10
-#define PORT_RX_BUF_LOW_WM 4
-#define PORT_RX_BUF_CRITICAL_WM 15
-#define PORT_TX_BUF_CRITICAL_WM 15
-#define PORT_RX_LOW_WM (BTA_RFC_MTU_SIZE * PORT_RX_BUF_LOW_WM)
-#define PORT_RX_HIGH_WM (BTA_RFC_MTU_SIZE * PORT_RX_BUF_HIGH_WM)
-#define PORT_RX_CRITICAL_WM (BTA_RFC_MTU_SIZE * PORT_RX_BUF_CRITICAL_WM)
-#define PORT_TX_HIGH_WM (BTA_RFC_MTU_SIZE * PORT_TX_BUF_HIGH_WM)
-#define PORT_TX_CRITICAL_WM (BTA_RFC_MTU_SIZE * PORT_TX_BUF_CRITICAL_WM)
-#define BTA_DUN_MTU BTA_RFC_MTU_SIZE
-#define BTA_SPP_MTU BTA_RFC_MTU_SIZE
-#define BTA_FAX_MTU BTA_RFC_MTU_SIZE
-#define SDP_INCLUDED TRUE # Makefile only
-#define SDP_DI_INCLUDED TRUE
-#define SDP_RAW_DATA_INCLUDED TRUE
-#define SDP_RAW_PDU_INCLUDED TRUE
-#define SDP_POOL_ID 3
-#define SDP_MAX_REC_ATTR 25
-#define SDP_MAX_ATTR_LEN 400
-#define SDP_MAX_PAD_LEN 600
-#define XML_INCLUDED TRUE # Makefile only
-#define BNEP_INCLUDED FALSE
-#define PAN_INCLUDED FALSE
-#define ANT_INCLUDED FALSE
-#define SAP_SERVER_INCLUDED FALSE
-#define HID_DEV_INCLUDED FALSE
-#define HID_HOST_INCLUDED FALSE
-#define BLE_INCLUDED FALSE
-#define BTM_BLE_CONFORMANCE_TESTING FALSE
-#define ATT_INCLUDED FALSE
-#define ATT_DEBUG FALSE
-#define GATTS_APPU_USE_GATT_TRACE FALSE
-#define GATT_CLIENT_ENABLED FALSE
-#define GATT_SERVER_ENABLED FALSE
-#define SMP_INCLUDED FALSE
-#define SMP_HOST_ENCRYPT_INCLUDED FALSE
-#define CE_TEST_INCLUDED FALSE
-#define FLASHEXE_INCLUDED TRUE # Makefile only
-#define SER_INCLUDED FALSE
-#define RPC_INCLUDED FALSE
-#define HSA_INCLUDED FALSE # Makefile only
-#define MMI_INCLUDED FALSE
-#define SAP_INCLUDED FALSE
-#define SBC_ENCODER_INCLUDED FALSE # Makefile only
-#define SBC_DECODER_INCLUDED FALSE # Makefile only
-#define SBC_NO_PCM_CPY_OPTION FALSE
-#define SBC_IPAQ_OPT FALSE
-#define SBC_IS_64_MULT_IN_QUANTIZER FALSE
-#define BTE_HCIUTILS_HOOK_INCLUDED FALSE
-#define BTA_INCLUDED TRUE
-#define BTA_AG_INCLUDED TRUE
-#define BTA_CT_INCLUDED FALSE
-#define BTA_CG_INCLUDED FALSE
-#define BTA_DG_INCLUDED FALSE
-#define BTA_FT_INCLUDED FALSE
-#define BTA_OP_INCLUDED FALSE
-#define BTA_PR_INCLUDED FALSE
-#define BTA_SS_INCLUDED FALSE
-#define BTA_DM_INCLUDED TRUE
-#define BTA_DI_INCLUDED FALSE
-#define BTA_BI_INCLUDED FALSE
-#define BTA_SC_INCLUDED FALSE
-#define BTA_PAN_INCLUDED FALSE
-#define BTA_FS_INCLUDED TRUE
-#define BTA_AC_INCLUDED FALSE
-#define BTA_HD_INCLUDED FALSE
-#define BTA_HH_INCLUDED FALSE
-#define HH_USE_BTHID FALSE
-#define BTA_AR_INCLUDED TRUE
-#define BTA_AV_INCLUDED TRUE
-#define BTA_PBS_INCLUDED FALSE
-#define BTA_PBC_INCLUDED FALSE
-#define BTA_FM_INCLUDED FALSE
-#define BTA_FM_DEBUG FALSE
-#define BTA_FMTX_INCLUDED FALSE
-#define BTA_FMTX_DEBUG FALSE
-#define BTA_FMTX_FMRX_SWITCH_WORKAROUND FALSE
-#define BTA_FMTX_US_FCC_RULES FALSE
-#define BTA_HS_INCLUDED FALSE
-#define BTA_MSE_INCLUDED FALSE
-#define BTA_MCE_INCLUDED FALSE
-#define BTA_PLAYBACK_INCLUDED FALSE
-#define BTA_SSR_INCLUDED FALSE
-#define BTA_JV_INCLUDED FALSE
-#define BTA_EIR_CANNED_UUID_LIST FALSE
-#define BTA_GATT_INCLUDED FALSE
-#define MMP_INCLUDED FALSE # Makefile only
-#define BTELIB_INCLUDED FALSE # Makefile only
-#define RSI_INCLUDED TRUE
-#define RPC_TRACE_ONLY FALSE
-#define ANDROID_APP_INCLUDED TRUE
-#define ANDROID_USE_LOGCAT TRUE
-#define LINUX_GKI_INCLUDED TRUE
-#define TICKS_PER_SEC 100
-#define QUICK_TIMER_TICKS_PER_SEC 10
-#define BTA_SYS_TIMER_PERIOD 100
-#define GKI_BUF1_SIZE 288
-#define GKI_BUF3_MAX 200
-#define GKI_BUF3_SIZE (4096+16)
-#define GKI_BUF4_SIZE (8080+26)
-#define GKI_SHUTDOWN_EVT APPL_EVT_7
-#define GKI_PTHREAD_JOINABLE TRUE
-#define LINUX_DRV_INCLUDED TRUE
-#define LINUX_OS TRUE
-#define BTU_TASK 0
-#define BTIF_TASK 1
-#define A2DP_MEDIA_TASK 2
-#define GKI_MAX_TASKS 3
-#define BTM_APP_DEV_INIT bte_main_post_reset_init
-#define BTE_IDLE_TASK_INCLUDED FALSE
-#define APPL_INCLUDED TRUE
-#define USE_UART_HCI TRUE
-#define BTU_BTA_INCLUDED TRUE
-#define BTUI_DEFAULT_LOCAL_NAME "BRCM Bluetooth"
-#define SBC_FOR_EMBEDDED_LINUX TRUE
-#define UPIO_INCLUDED TRUE
-#define BTA_DM_REMOTE_DEVICE_NAME_LENGTH 248
-#define BTM_MAX_REM_BD_NAME_LEN 248
-#define BTM_MAX_LOC_BD_NAME_LEN 248
-#define BTM_USE_DEF_LOCAL_NAME TRUE
-#define BTM_DEF_LOCAL_NAME "Galaxy Nexus BlueDroid"
-#define BTM_INQ_DB_SIZE 40
-#define BTM_SEC_MAX_DEVICE_RECORDS 100
-#define BTM_SEC_FORCE_RNR_FOR_DBOND FALSE
-#define BTM_AUTOMATIC_HCI_RESET FALSE
-#define AVDT_VERSION 0x0102
-#define BTA_SIMUL_AV_HFP_NOT_SUPPORTED TRUE
-#define BTA_AG_AT_MAX_LEN 512
-#define BTA_AVRCP_FF_RW_SUPPORT TRUE
-#define BTM_MAX_SCO_LINKS 2
-#define BTA_AG_SCO_PKT_TYPES (BTM_SCO_LINK_ONLY_MASK | BTM_SCO_PKT_TYPES_MASK_EV3 | BTM_SCO_PKT_TYPES_MASK_NO_3_EV3 | BTM_SCO_PKT_TYPES_MASK_NO_2_EV5 | BTM_SCO_PKT_TYPES_MASK_NO_3_EV5)
-#define BTAPP_AV_SECMASK (BTA_SEC_AUTHENTICATE | BTA_SEC_AUTHORIZE)
-#define BTA_AV_MAX_A2DP_MTU 668
-#define BTA_AV_RET_TOUT 15
-#define PORCHE_PAIRING_CONFLICT TRUE
-#define BTA_AV_CO_CP_SCMS_T FALSE
-#define AVDT_CONNECT_CP_ONLY FALSE
-#define BTL_CFG_USE_CONF_FILE FALSE
-#define BTAPP_AHF_API_SUPPORT TRUE
-#define BTAPP_TESTMODE_INCLUDED TRUE
-#define HCILP_INCLUDED TRUE
-#define HCISU_H4_INCLUDED TRUE
-#define BT_USE_TRACES TRUE
-#define BT_TRACE_BTIF TRUE
-#define BTTRC_INCLUDED FALSE
-#define BT_TRACE_VERBOSE FALSE
-#define BTTRC_PARSER_INCLUDED FALSE
-#define MAX_TRACE_RAM_SIZE 10000
-#define OBX_INITIAL_TRACE_LEVEL BT_TRACE_LEVEL_ERROR
-//#define LOG_NDEBUG 1
-//#define LOG_NDDEBUG 1
-//#define LOG_NIDEBUG 1
-#define BTSNOOPDISP_INCLUDED TRUE
-#define BTSNOOP_FILENAME "/data/misc/bluedroid/btsnoop_hci.log"
-#define SNOOP_CONFIG_PATH "/data/misc/bluedroid/btsnoop_enabled"
-#define BTM_ALLOW_CONN_IF_NONDISCOVER TRUE
-#define BTLA_REL_2_X TRUE
-#define BTAPP_FM_USE_HW_POKE_VOLUME FALSE
-#define BTAPP_FM_AUDIO_PATH BTA_FM_AUDIO_DAC
-#define BTAPP_DM_SUPPORTED_SERVICES (BTA_HSP_SERVICE_MASK | BTA_HFP_SERVICE_MASK | BTA_A2DP_SERVICE_MASK | BTA_HID_SERVICE_MASK | BTA_OPP_SERVICE_MASK | BTA_BPP_SERVICE_MASK | BTA_NAP_SERVICE_MASK | BTA_PANU_SERVICE_MASK | BTA_HL_SERVICE_MASK)
-#define PBAP_ZERO_VCARD_IN_DB FALSE
-#define BTA_DM_SDP_DB_SIZE 4096
-#define BTA_BUSAPP_INCLUDED TRUE
-#define MAX_L2CAP_CLIENTS 15
-#define FTS_REJECT_INVALID_OBEX_SET_PATH_REQ TRUE
-#define HID_HOST_MAX_CONN_RETRY (3)
-#define BTAPP_TEST_OOB_INCLUDED TRUE
-#define ENABLE_PCM_LOGGER FALSE
-#define BTM_DISC_DURING_RS TRUE
-#define BT_UART_PORT "/dev/s3c2410_serial0"
-#define BTM_WBS_INCLUDED FALSE
-#define HL_INCLUDED FALSE
-#define NO_GKI_RUN_RETURN TRUE
-#define BTE_MAIN_CFG_DEFAULT_PATCHFILE_NAME ("/vendor/firmware/bcm4329.hcd")
-#define AG_VOICE_SETTINGS HCI_DEFAULT_VOICE_SETTINGS
-#endif
-
diff --git a/include/buildcfg_maguro.h b/include/buildcfg_maguro.h
deleted file mode 100644
index 310af2d..0000000
--- a/include/buildcfg_maguro.h
+++ /dev/null
@@ -1,235 +0,0 @@
-#ifndef BUILDCFG_H
-#define BUILDCFG_H
-#define AVCT_INCLUDED TRUE
-#define AVRC_INCLUDED TRUE
-#define AVRC_METADATA_INCLUDED FALSE
-#define AVRC_ADV_CTRL_INCLUDED FALSE
-#define AVDT_INCLUDED TRUE
-#define AVDTC_INCLUDED FALSE # Makefile only
-#define AT91_MAIN_INCLUDED FALSE
-#define AT91_DRV_INCLUDED FALSE
-#define AT91_LIB_INCLUDED FALSE
-#define AT91_GKI_INCLUDED FALSE
-#define UNV_INCLUDED FALSE
-#define BBY_MAIN_INCLUDED FALSE
-#define A2D_INCLUDED TRUE
-#define A2D_SBC_INCLUDED TRUE
-#define A2D_M12_INCLUDED FALSE
-#define A2D_M24_INCLUDED FALSE
-#define VDP_H263_INCLUDED FALSE
-#define VDP_MPEG_INCLUDED FALSE
-#define VDP_VEND_INCLUDED FALSE
-#define BIP_INCLUDED FALSE
-#define BIP_INITR_INCLUDED FALSE
-#define BIP_RSPDR_INCLUDED FALSE
-#define BIP_PUSH_INCLUDED FALSE
-#define BIP_PULL_INCLUDED FALSE
-#define BIP_PRINTING_INCLUDED FALSE
-#define BIP_ARCHIVE_INCLUDED FALSE
-#define BIP_CAMERA_INCLUDED FALSE
-#define BIP_DISPLAY_INCLUDED FALSE
-#define BPP_INCLUDED FALSE
-#define BPP_SND_INCLUDED FALSE
-#define BTM_INCLUDED FALSE # Makefile only
-#define BTU_INCLUDED FALSE # Makefile only
-#define BTUTHIN_INCLUDED FALSE # Makefile only
-#define DUN_INCLUDED FALSE
-#define GAP_INCLUDED FALSE
-#define GOEP_INCLUDED FALSE
-#define GOEP_FS_INCLUDED FALSE
-#define GATT_PTS FALSE
-#define HCIC_INCLUDED TRUE # Makefile only
-#define HCITHIN_INCLUDED FALSE
-#define BTM_SEC_MAX_SERVICE_RECORDS 32
-#define L2CAP_INCLUDED TRUE
-#define L2CAP_LINK_INACTIVITY_TOUT 4
-#define L2CAP_FCR_INCLUDED TRUE
-#define L2CAP_EXTFEA_SUPPORTED_MASK (L2CAP_EXTFEA_ENH_RETRANS | L2CAP_EXTFEA_STREAM_MODE | L2CAP_EXTFEA_NO_CRC | L2CAP_EXTFEA_FIXED_CHNLS)
-#define OBX_INCLUDED TRUE
-#define OBX_SERVER_INCLUDED TRUE
-#define OBX_CLIENT_INCLUDED TRUE
-#define OBX_MD5_INCLUDED FALSE
-#define OBX_MD5_TEST_INCLUDED FALSE
-#define OBX_14_INCLUDED FALSE
-#define BTUI_OPS_FORMATS (BTA_OP_VCARD21_MASK | BTA_OP_VCAL_MASK | BTA_OP_VNOTE_MASK | BTA_OP_ANY_MASK)
-#define BTA_OPC_SENDING_ABORT TRUE
-#define RFCOMM_INCLUDED TRUE
-#define MAX_RFC_PORTS 30
-#define MAX_BD_CONNECTIONS 7
-#define BTA_RFC_MTU_SIZE (L2CAP_MTU_SIZE-L2CAP_MIN_OFFSET-RFCOMM_DATA_OVERHEAD)
-#define PORT_TX_BUF_HIGH_WM 10
-#define PORT_RX_BUF_HIGH_WM 10
-#define PORT_RX_BUF_LOW_WM 4
-#define PORT_RX_BUF_CRITICAL_WM 15
-#define PORT_TX_BUF_CRITICAL_WM 15
-#define PORT_RX_LOW_WM (BTA_RFC_MTU_SIZE * PORT_RX_BUF_LOW_WM)
-#define PORT_RX_HIGH_WM (BTA_RFC_MTU_SIZE * PORT_RX_BUF_HIGH_WM)
-#define PORT_RX_CRITICAL_WM (BTA_RFC_MTU_SIZE * PORT_RX_BUF_CRITICAL_WM)
-#define PORT_TX_HIGH_WM (BTA_RFC_MTU_SIZE * PORT_TX_BUF_HIGH_WM)
-#define PORT_TX_CRITICAL_WM (BTA_RFC_MTU_SIZE * PORT_TX_BUF_CRITICAL_WM)
-#define BTA_DUN_MTU BTA_RFC_MTU_SIZE
-#define BTA_SPP_MTU BTA_RFC_MTU_SIZE
-#define BTA_FAX_MTU BTA_RFC_MTU_SIZE
-#define SDP_INCLUDED TRUE # Makefile only
-#define SDP_DI_INCLUDED TRUE
-#define SDP_RAW_DATA_INCLUDED TRUE
-#define SDP_RAW_PDU_INCLUDED TRUE
-#define SDP_POOL_ID 3
-#define SDP_MAX_REC_ATTR 25
-#define SDP_MAX_ATTR_LEN 400
-#define SDP_MAX_PAD_LEN 600
-#define XML_INCLUDED TRUE # Makefile only
-#define BNEP_INCLUDED FALSE
-#define PAN_INCLUDED FALSE
-#define ANT_INCLUDED FALSE
-#define SAP_SERVER_INCLUDED FALSE
-#define HID_DEV_INCLUDED FALSE
-#define HID_HOST_INCLUDED TRUE
-#define BLE_INCLUDED FALSE
-#define BTM_BLE_CONFORMANCE_TESTING FALSE
-#define ATT_INCLUDED FALSE
-#define ATT_DEBUG FALSE
-#define GATTS_APPU_USE_GATT_TRACE FALSE
-#define GATT_CLIENT_ENABLED FALSE
-#define GATT_SERVER_ENABLED FALSE
-#define SMP_INCLUDED FALSE
-#define SMP_HOST_ENCRYPT_INCLUDED FALSE
-#define CE_TEST_INCLUDED FALSE
-#define FLASHEXE_INCLUDED TRUE # Makefile only
-#define SER_INCLUDED FALSE
-#define RPC_INCLUDED FALSE
-#define HSA_INCLUDED FALSE # Makefile only
-#define MMI_INCLUDED FALSE
-#define SAP_INCLUDED FALSE
-#define SBC_ENCODER_INCLUDED FALSE # Makefile only
-#define SBC_DECODER_INCLUDED FALSE # Makefile only
-#define SBC_NO_PCM_CPY_OPTION FALSE
-#define SBC_IPAQ_OPT FALSE
-#define SBC_IS_64_MULT_IN_QUANTIZER FALSE
-#define BTE_HCIUTILS_HOOK_INCLUDED FALSE
-#define BTA_INCLUDED TRUE
-#define BTA_AG_INCLUDED TRUE
-#define BTA_CT_INCLUDED FALSE
-#define BTA_CG_INCLUDED FALSE
-#define BTA_DG_INCLUDED FALSE
-#define BTA_FT_INCLUDED FALSE
-#define BTA_OP_INCLUDED FALSE
-#define BTA_PR_INCLUDED FALSE
-#define BTA_SS_INCLUDED FALSE
-#define BTA_DM_INCLUDED TRUE
-#define BTA_DI_INCLUDED FALSE
-#define BTA_BI_INCLUDED FALSE
-#define BTA_SC_INCLUDED FALSE
-#define BTA_PAN_INCLUDED FALSE
-#define BTA_FS_INCLUDED TRUE
-#define BTA_AC_INCLUDED FALSE
-#define BTA_HD_INCLUDED FALSE
-#define BTA_HH_INCLUDED TRUE
-#define HH_USE_BTHID TRUE
-#define BTA_AR_INCLUDED TRUE
-#define BTA_AV_INCLUDED TRUE
-#define BTA_PBS_INCLUDED FALSE
-#define BTA_PBC_INCLUDED FALSE
-#define BTA_FM_INCLUDED FALSE
-#define BTA_FM_DEBUG FALSE
-#define BTA_FMTX_INCLUDED FALSE
-#define BTA_FMTX_DEBUG FALSE
-#define BTA_FMTX_FMRX_SWITCH_WORKAROUND FALSE
-#define BTA_FMTX_US_FCC_RULES FALSE
-#define BTA_HS_INCLUDED FALSE
-#define BTA_MSE_INCLUDED FALSE
-#define BTA_MCE_INCLUDED FALSE
-#define BTA_PLAYBACK_INCLUDED FALSE
-#define BTA_SSR_INCLUDED FALSE
-#define BTA_JV_INCLUDED FALSE
-#define BTA_EIR_CANNED_UUID_LIST FALSE
-#define BTA_GATT_INCLUDED FALSE
-#define MMP_INCLUDED FALSE # Makefile only
-#define BTELIB_INCLUDED FALSE # Makefile only
-#define RSI_INCLUDED TRUE
-#define RPC_TRACE_ONLY FALSE
-#define ANDROID_APP_INCLUDED TRUE
-#define ANDROID_USE_LOGCAT TRUE
-#define LINUX_GKI_INCLUDED TRUE
-#define TICKS_PER_SEC 100
-#define QUICK_TIMER_TICKS_PER_SEC 10
-#define BTA_SYS_TIMER_PERIOD 100
-#define GKI_BUF1_SIZE 288
-#define GKI_BUF3_MAX 200
-#define GKI_BUF3_SIZE (4096+16)
-#define GKI_BUF4_SIZE (8080+26)
-#define GKI_SHUTDOWN_EVT APPL_EVT_7
-#define GKI_PTHREAD_JOINABLE TRUE
-#define LINUX_DRV_INCLUDED TRUE
-#define LINUX_OS TRUE
-#define BTU_TASK 0
-#define BTIF_TASK 1
-#define A2DP_MEDIA_TASK 2
-#define GKI_MAX_TASKS 3
-#define BTM_APP_DEV_INIT bte_main_post_reset_init
-#define BTE_IDLE_TASK_INCLUDED FALSE
-#define APPL_INCLUDED TRUE
-#define USE_UART_HCI TRUE
-#define BTU_BTA_INCLUDED TRUE
-#define BTUI_DEFAULT_LOCAL_NAME "BRCM Bluetooth"
-#define SBC_FOR_EMBEDDED_LINUX TRUE
-#define UPIO_INCLUDED TRUE
-#define BTA_DM_REMOTE_DEVICE_NAME_LENGTH 248
-#define BTM_MAX_REM_BD_NAME_LEN 248
-#define BTM_MAX_LOC_BD_NAME_LEN 248
-#define BTM_USE_DEF_LOCAL_NAME TRUE
-#define BTM_DEF_LOCAL_NAME "Galaxy Nexus BlueDroid"
-#define BTM_INQ_DB_SIZE 40
-#define BTM_SEC_MAX_DEVICE_RECORDS 100
-#define BTM_SEC_FORCE_RNR_FOR_DBOND FALSE
-#define BTM_AUTOMATIC_HCI_RESET FALSE
-#define AVDT_VERSION 0x0102
-#define BTA_SIMUL_AV_HFP_NOT_SUPPORTED TRUE
-#define BTA_AG_AT_MAX_LEN 512
-#define BTA_AVRCP_FF_RW_SUPPORT TRUE
-#define BTM_MAX_SCO_LINKS 2
-#define BTA_AG_SCO_PKT_TYPES (BTM_SCO_LINK_ONLY_MASK | BTM_SCO_PKT_TYPES_MASK_EV3 | BTM_SCO_PKT_TYPES_MASK_NO_3_EV3 | BTM_SCO_PKT_TYPES_MASK_NO_2_EV5 | BTM_SCO_PKT_TYPES_MASK_NO_3_EV5)
-#define BTAPP_AV_SECMASK (BTA_SEC_AUTHENTICATE | BTA_SEC_AUTHORIZE)
-#define BTA_AV_MAX_A2DP_MTU 668
-#define BTA_AV_RET_TOUT 15
-#define PORCHE_PAIRING_CONFLICT TRUE
-#define BTA_AV_CO_CP_SCMS_T FALSE
-#define AVDT_CONNECT_CP_ONLY FALSE
-#define BTL_CFG_USE_CONF_FILE FALSE
-#define BTAPP_AHF_API_SUPPORT TRUE
-#define BTAPP_TESTMODE_INCLUDED TRUE
-#define HCILP_INCLUDED TRUE
-#define HCISU_H4_INCLUDED TRUE
-#define BT_USE_TRACES TRUE
-#define BT_TRACE_BTIF TRUE
-#define BTTRC_INCLUDED FALSE
-#define BT_TRACE_VERBOSE FALSE
-#define BTTRC_PARSER_INCLUDED FALSE
-#define MAX_TRACE_RAM_SIZE 10000
-#define OBX_INITIAL_TRACE_LEVEL BT_TRACE_LEVEL_ERROR
-//#define LOG_NDEBUG 1
-//#define LOG_NDDEBUG 1
-//#define LOG_NIDEBUG 1
-#define BTSNOOPDISP_INCLUDED TRUE
-#define BTSNOOP_FILENAME "/data/misc/bluedroid/btsnoop_hci.log"
-#define SNOOP_CONFIG_PATH "/data/misc/bluedroid/btsnoop_enabled"
-#define BTM_ALLOW_CONN_IF_NONDISCOVER TRUE
-#define BTLA_REL_2_X TRUE
-#define BTAPP_DM_SUPPORTED_SERVICES (BTA_HSP_SERVICE_MASK | BTA_HFP_SERVICE_MASK | BTA_A2DP_SERVICE_MASK | BTA_HID_SERVICE_MASK | BTA_OPP_SERVICE_MASK | BTA_BPP_SERVICE_MASK)
-#define PBAP_ZERO_VCARD_IN_DB FALSE
-#define BTA_DM_SDP_DB_SIZE 4096
-#define BTA_BUSAPP_INCLUDED TRUE
-#define MAX_L2CAP_CLIENTS 15
-#define FTS_REJECT_INVALID_OBEX_SET_PATH_REQ TRUE
-#define HID_HOST_MAX_CONN_RETRY (3)
-#define BTAPP_TEST_OOB_INCLUDED TRUE
-#define ENABLE_PCM_LOGGER FALSE
-#define BTM_DISC_DURING_RS TRUE
-#define BT_UART_PORT "/dev/ttyO1"
-#define BTM_WBS_INCLUDED FALSE
-#define HL_INCLUDED FALSE
-#define NO_GKI_RUN_RETURN TRUE
-#define BTE_MAIN_CFG_DEFAULT_PATCHFILE_NAME ("/vendor/firmware/bcm4330.hcd")
-#define AG_VOICE_SETTINGS HCI_DEFAULT_VOICE_SETTINGS
-#endif
-