From 7062d75c840aae8b43bdcf4cda969110dba40efd Mon Sep 17 00:00:00 2001 From: Andrei Emeltchenko Date: Wed, 31 Oct 2012 15:16:41 +0200 Subject: [PATCH] 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. --- lib/hci.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.47.3