summaryrefslogtreecommitdiff
path: root/lib/hci.h
diff options
context:
space:
mode:
authorAndrei Emeltchenko <andrei.emeltchenko@intel.com>2012-10-31 15:16:41 +0200
committerJohan Hedberg <johan.hedberg@intel.com>2012-11-05 08:48:20 +0200
commit7062d75c840aae8b43bdcf4cda969110dba40efd (patch)
treea98bd04130a95a4541181abb6cc93814133edd31 /lib/hci.h
parentd67a5c26b16cb0ad7d036f74a021127856c3a899 (diff)
downloadbluez-7062d75c840aae8b43bdcf4cda969110dba40efd.tar.gz
lib: Change maximum pkt size for High Speed max pkt
For AMP, L2CAP packets might be of bigger size, up to 1492 bytes. Without the change hcidump cuts AMP data packets.
Diffstat (limited to 'lib/hci.h')
-rw-r--r--lib/hci.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hci.h b/lib/hci.h
index 0bca5fa6d..2f18ec815 100644
--- a/lib/hci.h
+++ b/lib/hci.h
@@ -34,7 +34,7 @@ extern "C" {
#define HCI_MAX_DEV 16
-#define HCI_MAX_ACL_SIZE 1024
+#define HCI_MAX_ACL_SIZE (1492 + 4)
#define HCI_MAX_SCO_SIZE 255
#define HCI_MAX_EVENT_SIZE 260
#define HCI_MAX_FRAME_SIZE (HCI_MAX_ACL_SIZE + 4)