From: Andrei Emeltchenko <andrei.emeltchenko@xxxxxxxxx> 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 7eacca5..d424e80 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) -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html