diff options
author | Ganesh Ganapathi Batta <ganeshg@broadcom.com> | 2012-07-09 10:06:23 -0700 |
---|---|---|
committer | Matthew Xie <mattx@google.com> | 2012-07-25 01:13:01 -0700 |
commit | 3ec3b30a9d39c24437f30b98539b542a24e6737d (patch) | |
tree | 08c04642e00907c5998a36746df78b7ad3c98224 /include | |
parent | fb8fb016214e6e454028ec4073085ad0eb599a10 (diff) | |
download | external_bluetooth_bluedroid-3ec3b30a9d39c24437f30b98539b542a24e6737d.zip external_bluetooth_bluedroid-3ec3b30a9d39c24437f30b98539b542a24e6737d.tar.gz external_bluetooth_bluedroid-3ec3b30a9d39c24437f30b98539b542a24e6737d.tar.bz2 |
Fix for CR BLTH01539543
Define max L2CAP channels to be 16 and combine MAX_L2CAP_LINKS and MAX_BD_CONNECTION into one definition
Change-Id: Ib5cb95f5829400b2182beb3c8409142a20b8fb95
Diffstat (limited to 'include')
-rwxr-xr-x | include/bdroid_crespo.txt | 4 | ||||
-rwxr-xr-x | include/bdroid_crespo4g.txt | 4 | ||||
-rwxr-xr-x | include/bdroid_maguro.txt | 4 | ||||
-rwxr-xr-x | include/bdroid_toro.txt | 4 | ||||
-rwxr-xr-x | include/bdroid_wingray.txt | 4 | ||||
-rwxr-xr-x | include/bt_target.h | 8 |
6 files changed, 16 insertions, 12 deletions
diff --git a/include/bdroid_crespo.txt b/include/bdroid_crespo.txt index e47625d..7301701 100755 --- a/include/bdroid_crespo.txt +++ b/include/bdroid_crespo.txt @@ -17,8 +17,8 @@ L2CAP_EXTFEA_SUPPORTED_MASK = (L2CAP_EXTFEA_ENH_RETRANS | L2CAP_EXTFEA_STREAM_MO BTUI_OPS_FORMATS = (BTA_OP_VCARD21_MASK | BTA_OP_VCAL_MASK | BTA_OP_VNOTE_MASK | BTA_OP_ANY_MASK) RFCOMM_INCLUDED = TRUE MAX_RFC_PORTS = 30 -MAX_BD_CONNECTIONS = 7 -MAX_L2CAP_LINKS = 7 +MAX_ACL_CONNECTIONS = 7 +MAX_L2CAP_CHANNELS = 16 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 diff --git a/include/bdroid_crespo4g.txt b/include/bdroid_crespo4g.txt index e47625d..7301701 100755 --- a/include/bdroid_crespo4g.txt +++ b/include/bdroid_crespo4g.txt @@ -17,8 +17,8 @@ L2CAP_EXTFEA_SUPPORTED_MASK = (L2CAP_EXTFEA_ENH_RETRANS | L2CAP_EXTFEA_STREAM_MO BTUI_OPS_FORMATS = (BTA_OP_VCARD21_MASK | BTA_OP_VCAL_MASK | BTA_OP_VNOTE_MASK | BTA_OP_ANY_MASK) RFCOMM_INCLUDED = TRUE MAX_RFC_PORTS = 30 -MAX_BD_CONNECTIONS = 7 -MAX_L2CAP_LINKS = 7 +MAX_ACL_CONNECTIONS = 7 +MAX_L2CAP_CHANNELS = 16 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 diff --git a/include/bdroid_maguro.txt b/include/bdroid_maguro.txt index d1c461a..ccb2d25 100755 --- a/include/bdroid_maguro.txt +++ b/include/bdroid_maguro.txt @@ -17,8 +17,8 @@ L2CAP_EXTFEA_SUPPORTED_MASK = (L2CAP_EXTFEA_ENH_RETRANS | L2CAP_EXTFEA_STREAM_MO BTUI_OPS_FORMATS = (BTA_OP_VCARD21_MASK | BTA_OP_VCAL_MASK | BTA_OP_VNOTE_MASK | BTA_OP_ANY_MASK) RFCOMM_INCLUDED = TRUE MAX_RFC_PORTS = 30 -MAX_BD_CONNECTIONS = 7 -MAX_L2CAP_LINKS = 7 +MAX_ACL_CONNECTIONS = 7 +MAX_L2CAP_CHANNELS = 16 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 diff --git a/include/bdroid_toro.txt b/include/bdroid_toro.txt index 4e563d0..2a39aa6 100755 --- a/include/bdroid_toro.txt +++ b/include/bdroid_toro.txt @@ -17,8 +17,8 @@ L2CAP_EXTFEA_SUPPORTED_MASK = (L2CAP_EXTFEA_ENH_RETRANS | L2CAP_EXTFEA_STREAM_MO BTUI_OPS_FORMATS = (BTA_OP_VCARD21_MASK | BTA_OP_VCAL_MASK | BTA_OP_VNOTE_MASK | BTA_OP_ANY_MASK) RFCOMM_INCLUDED = TRUE MAX_RFC_PORTS = 30 -MAX_BD_CONNECTIONS = 7 -MAX_L2CAP_LINKS = 7 +MAX_ACL_CONNECTIONS = 7 +MAX_L2CAP_CHANNELS = 16 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 diff --git a/include/bdroid_wingray.txt b/include/bdroid_wingray.txt index 997e609..3e63f69 100755 --- a/include/bdroid_wingray.txt +++ b/include/bdroid_wingray.txt @@ -17,8 +17,8 @@ L2CAP_EXTFEA_SUPPORTED_MASK = (L2CAP_EXTFEA_ENH_RETRANS | L2CAP_EXTFEA_STREAM_MO BTUI_OPS_FORMATS = (BTA_OP_VCARD21_MASK | BTA_OP_VCAL_MASK | BTA_OP_VNOTE_MASK | BTA_OP_ANY_MASK) RFCOMM_INCLUDED = TRUE MAX_RFC_PORTS = 30 -MAX_BD_CONNECTIONS = 7 -MAX_L2CAP_LINKS = 7 +MAX_ACL_CONNECTIONS = 7 +MAX_L2CAP_CHANNELS = 16 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 diff --git a/include/bt_target.h b/include/bt_target.h index 7e29052..5220134 100755 --- a/include/bt_target.h +++ b/include/bt_target.h @@ -844,8 +844,10 @@ and USER_HW_DISABLE_API macros */ #endif /* The maximum number of simultaneous links that L2CAP can support. */ -#ifndef MAX_L2CAP_LINKS +#ifndef MAX_ACL_CONNECTIONS #define MAX_L2CAP_LINKS 4 +#else +#define MAX_L2CAP_LINKS MAX_ACL_CONNECTIONS #endif /* The maximum number of simultaneous channels that L2CAP can support. */ @@ -1222,8 +1224,10 @@ and USER_HW_DISABLE_API macros */ #endif /* The maximum simultaneous links to different devices. */ -#ifndef MAX_BD_CONNECTIONS +#ifndef MAX_ACL_CONNECTIONS #define MAX_BD_CONNECTIONS 1 +#else +#define MAX_BD_CONNECTIONS MAX_ACL_CONNECTIONS #endif /* The port receive queue low watermark level, in bytes. */ |