summaryrefslogtreecommitdiffstats
path: root/stack/l2cap/l2c_utils.c
diff options
context:
space:
mode:
authorPriti Aghera <paghera@broadcom.com>2014-12-18 13:55:48 -0800
committerAndre Eisenbach <eisenbach@google.com>2015-04-15 23:25:17 -0700
commit636d6714a4c08dd99d2147dcce05dc3892e804b4 (patch)
tree1ae16fa567a6d95b8424bc1bbec3587412e7305a /stack/l2cap/l2c_utils.c
parent8a0b80ebad0cb187ff7856d14b83fa74aed51d98 (diff)
downloadandroid_system_bt-636d6714a4c08dd99d2147dcce05dc3892e804b4.tar.gz
android_system_bt-636d6714a4c08dd99d2147dcce05dc3892e804b4.tar.bz2
android_system_bt-636d6714a4c08dd99d2147dcce05dc3892e804b4.zip
LE Data Packet Extension support
Included support for LE data packet extension feature according to BT 4.2 spec. This patch checks if the controller supports LE packet extension and provides functions to set the PDU length. Bug: 20013956 Change-Id: I6a92970fede2f793ad48c9fa2e0247ad00297533
Diffstat (limited to 'stack/l2cap/l2c_utils.c')
-rw-r--r--stack/l2cap/l2c_utils.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/stack/l2cap/l2c_utils.c b/stack/l2cap/l2c_utils.c
index d3ee908f2..e80d16b0f 100644
--- a/stack/l2cap/l2c_utils.c
+++ b/stack/l2cap/l2c_utils.c
@@ -74,6 +74,7 @@ tL2C_LCB *l2cu_allocate_lcb (BD_ADDR p_bd_addr, BOOLEAN is_bonding, tBT_TRANSPOR
p_lcb->is_bonding = is_bonding;
#if (BLE_INCLUDED == TRUE)
p_lcb->transport = transport;
+ p_lcb->tx_data_len = controller_get_interface()->get_ble_default_data_packet_length();
if (transport == BT_TRANSPORT_LE)
{