mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-08-27 12:20:02 +00:00
nimble/host: Fix HCI fragmentation buffer size
This patch fixes a regression introduced in:4a894678nimble/hci: Modifying ACL Buf size based on BLE 5.1 Standard and is related to:2bd8de56nimble/host: Register a 1-elem mbuf pool for ACL After adding a dedicated mbuf pool for HCI fragmentation and changing the ACL buffer size, the fragmentation data buffer size was too small to hold full ACL buffer including HCI header.
This commit is contained in:
@@ -41,6 +41,7 @@ static uint8_t ble_hs_hci_version;
|
||||
|
||||
#define BLE_HS_HCI_FRAG_DATABUF_SIZE \
|
||||
(BLE_ACL_MAX_PKT_SIZE + \
|
||||
BLE_HCI_DATA_HDR_SZ + \
|
||||
sizeof (struct os_mbuf_pkthdr) + \
|
||||
sizeof (struct os_mbuf))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user