OSDN Git Service

Removed unused defines from bt_target.h
authorPavlin Radoslavov <pavlin@google.com>
Fri, 19 Feb 2016 04:51:58 +0000 (20:51 -0800)
committerPavlin Radoslavov <pavlin@google.com>
Fri, 19 Feb 2016 19:25:24 +0000 (11:25 -0800)
Removed unused conditional defines from bt_target.h that
are not needed anymore.

[Cherry-picked from AOSP/master]

Change-Id: Ic424f673332668b21db11d323b389f5a5f4fba81

include/bt_target.h

index ba5b023..30ec556 100644 (file)
 #define BTIF_A2DP_SRC_NUM_CHANNELS 2
 #endif
 
-/* This feature is used to eanble interleaved scan*/
+/* This feature is used to enable interleaved scan */
 #ifndef BTA_HOST_INTERLEAVE_SEARCH
 #define BTA_HOST_INTERLEAVE_SEARCH FALSE
 #endif
 #define GAP_DATA_BUF_SIZE               BT_DEFAULT_BUFFER_SIZE
 #endif
 
-#ifndef SPP_DB_SIZE
-#define SPP_DB_SIZE                     BT_DEFAULT_BUFFER_SIZE
-#endif
-
 /* BNEP data and protocol messages. */
 #ifndef BNEP_BUF_SIZE
 #define BNEP_BUF_SIZE                   BT_DEFAULT_BUFFER_SIZE
 #define AVRC_META_CMD_BUF_SIZE          BT_SMALL_BUFFER_SIZE
 #endif
 
-/* AVRCP buffer size for browsing channel messages */
-#ifndef AVRC_BROWSE_BUF_SIZE
-#define AVRC_BROWSE_BUF_SIZE            BT_DEFAULT_BUFFER_SIZE
-#endif
-
-#ifndef BTA_HL_USER_TX_BUF_SIZE
-#define BTA_HL_USER_TX_BUF_SIZE         BT_DEFAULT_BUFFER_SIZE
-#endif
-
 #ifndef BTA_HL_LRG_DATA_BUF_SIZE
 #define BTA_HL_LRG_DATA_BUF_SIZE        (10240 + 24)
 #endif
 #define BT_MAX_SERVICE_NAME_LEN     21
 #endif
 
-/* ACL buffer size in HCI Host Buffer Size command. */
-#ifndef BTM_ACL_BUF_SIZE
-#define BTM_ACL_BUF_SIZE            0
-#endif
-
 /* The maximum number of clients that can register with the power manager. */
 #ifndef BTM_MAX_PM_RECORDS
 #define BTM_MAX_PM_RECORDS          2
 #endif
 
 
-#ifndef BLE_BATCH_SCAN_INCLUDED
-#define BLE_BATCH_SCAN_INCLUDED  TRUE
-#endif
-
 /******************************************************************************
 **
 ** ATT/GATT Protocol/Profile Settings
 #define SMP_MAX_ENC_KEY_SIZE    16
 #endif
 
-#ifndef SMP_MIN_ENC_KEY_SIZE
-#define SMP_MIN_ENC_KEY_SIZE    7
-#endif
-
 /* minimum link timeout after SMP pairing is done, leave room for key exchange
    and racing condition for the following service connection.
    Prefer greater than 0 second, and no less than default inactivity link idle
 **
 ******************************************************************************/
 
-/* The maximum number of registered servers. */
-#ifndef OBX_NUM_SERVERS
-#define OBX_NUM_SERVERS             12
-#endif
-
-/* The maximum number of active clients. */
-#ifndef OBX_NUM_CLIENTS
-#define OBX_NUM_CLIENTS             8
-#endif
-
 /*
  * Buffer size to reassemble the SDU.
  * It will allow buffers to be used that are larger than the L2CAP_MAX_MTU.
 #define AVDT_NUM_SEPS               3
 #endif
 
-/* Number of transport channels setup per media stream(audio or video) */
-#ifndef AVDT_NUM_CHANNELS
-
-#if AVDT_REPORTING == TRUE
-/* signaling, media and reporting channels */
-#define AVDT_NUM_CHANNELS   3
-#else
-/* signaling and media channels */
-#define AVDT_NUM_CHANNELS   2
-#endif  // AVDT_REPORTING
-
-#endif  // AVDT_NUM_CHANNELS
-
-/* Number of transport channels setup by AVDT for all media streams
- * AVDT_NUM_CHANNELS * Number of simultaneous streams.
- */
+/* Number of transport channels setup by AVDT for all media streams */
 #ifndef AVDT_NUM_TC_TBL
 #define AVDT_NUM_TC_TBL             6
 #endif
 **
 ******************************************************************************/
 
-#ifndef HID_DEV_SUBCLASS
-#define HID_DEV_SUBCLASS            COD_MINOR_POINTING
-#endif
-
 #ifndef HID_CONTROL_BUF_SIZE
 #define HID_CONTROL_BUF_SIZE            BT_DEFAULT_BUFFER_SIZE
 #endif
@@ -1567,11 +1512,6 @@ The maximum number of payload octets that the local device can receive in a sing
 #define MCA_FCR_OPT_MPS_SIZE            1000
 #endif
 
-/* Shared transport */
-#ifndef NFC_SHARED_TRANSPORT_ENABLED
-#define NFC_SHARED_TRANSPORT_ENABLED    FALSE
-#endif
-
 /******************************************************************************
 **
 ** Sleep Mode (Low Power Mode)
@@ -1584,15 +1524,6 @@ The maximum number of payload octets that the local device can receive in a sing
 
 /******************************************************************************
 **
-** APPL - Application Task
-**
-******************************************************************************/
-
-#define L2CAP_FEATURE_REQ_ID      73
-#define L2CAP_FEATURE_RSP_ID     173
-
-/******************************************************************************
-**
 ** BTA
 **
 ******************************************************************************/