diff options
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2021-09-22 13:48:43 -0700 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2021-09-22 14:32:38 -0700 |
commit | 023492834dbefc23ddcbd93499556e19b2304271 (patch) | |
tree | 4fb59c271530bcd4c0b17065307ff068217ba0fe /lib | |
parent | c605e115dde4d682d279de245cdbac620c6beaad (diff) | |
download | bluez-023492834dbefc23ddcbd93499556e19b2304271.tar.gz |
lib: Fix HCI_MAX_ACL_SIZE
HCI_MAX_ACL_SIZE actually includes the maximum frames in AMP controller
so this changes it to properly define the max ACL frames on non-AMP
controllers and introduces a dedicated define for AMP controller as
HCI_MAX_AMP_SIZE.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/hci.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -21,10 +21,11 @@ extern "C" { #define HCI_MAX_DEV 16 -#define HCI_MAX_ACL_SIZE (1492 + 4) +#define HCI_MAX_AMP_SIZE (1492 + 4) +#define HCI_MAX_ACL_SIZE 1024 #define HCI_MAX_SCO_SIZE 255 #define HCI_MAX_EVENT_SIZE 260 -#define HCI_MAX_FRAME_SIZE (HCI_MAX_ACL_SIZE + 4) +#define HCI_MAX_FRAME_SIZE (HCI_MAX_AMP_SIZE + 4) /* HCI dev events */ #define HCI_DEV_REG 1 |