diff options
author | Kausik Sinnaswamy <kausik@broadcom.com> | 2012-04-26 16:42:00 +0530 |
---|---|---|
committer | Matthew Xie <mattx@google.com> | 2012-07-14 11:19:18 -0700 |
commit | c6be83856892327f88002191b0c067e1e26d0d9e (patch) | |
tree | 882bb4e190d1e81aaf60426ba4e4e988f8bf7e68 /include/gki_target.h | |
parent | 7105408a110e1fa7bfa7b82637cd704a2c428f68 (diff) | |
download | external_bluetooth_bluedroid-c6be83856892327f88002191b0c067e1e26d0d9e.zip external_bluetooth_bluedroid-c6be83856892327f88002191b0c067e1e26d0d9e.tar.gz external_bluetooth_bluedroid-c6be83856892327f88002191b0c067e1e26d0d9e.tar.bz2 |
Increased the SDP DB size to 8K as there were devices whose number of
UUID attributes exceeded the current limit of 4K
Change-Id: I10dd833eb7ffcd42fb6ccb60318921296873be95
Diffstat (limited to 'include/gki_target.h')
-rw-r--r-- | include/gki_target.h | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/include/gki_target.h b/include/gki_target.h index 6430a81..d1541af 100644 --- a/include/gki_target.h +++ b/include/gki_target.h @@ -298,22 +298,19 @@ eL2CAP requires Pool ID 5 If BTM_SCO_HCI_INCLUDED is FALSE, Pool ID 6 is unnecessary, otherwise set to 7 If BTA_HL_INCLUDED is FALSE then Pool ID 7 is uncessary and set the following to 7, otherwise set to 8 If BLE_INCLUDED is FALSE then Pool ID 8 is uncessary and set the following to 8, otherwise set to 9 -If HCIUTILS_HOOK_INCLUDED is TRUE then Pool ID 9 is needed +POOL_ID 9 is a public pool meant for large buffer needs such as SDP_DB */ // btla-specific ++ #ifndef GKI_NUM_FIXED_BUF_POOLS -#if (defined(BTE_HCIUTILS_HOOK_INCLUDED) && (BTE_HCIUTILS_HOOK_INCLUDED == TRUE)) #define GKI_NUM_FIXED_BUF_POOLS 10 -#else -#define GKI_NUM_FIXED_BUF_POOLS 9 -#endif #endif -// btla-specific -- /* The buffer pool usage mask. */ #ifndef GKI_DEF_BUFPOOL_PERM_MASK -#define GKI_DEF_BUFPOOL_PERM_MASK 0xfff0 +/* Setting POOL_ID 9 as a public pool meant for large buffers such as SDP_DB */ +#define GKI_DEF_BUFPOOL_PERM_MASK 0xfdf0 #endif +// btla-specific -- /* The number of fixed and dynamic buffer pools */ #ifndef GKI_NUM_TOTAL_BUF_POOLS @@ -441,17 +438,17 @@ over HCI data and intentionally kept out of order */ #endif // btla-specific ++ -/* The following pool is a dedicated pool for HCIUTILS */ +/* The following pool is meant for large allocations such as SDP_DB */ #ifndef GKI_POOL_ID_9 #define GKI_POOL_ID_9 9 #endif #ifndef GKI_BUF9_SIZE -#define GKI_BUF9_SIZE 256 +#define GKI_BUF9_SIZE 8192 #endif #ifndef GKI_BUF9_MAX -#define GKI_BUF9_MAX 250 +#define GKI_BUF9_MAX 5 #endif // btla-specific -- |