1 /* 2 * SPDX-FileCopyrightText: 2024 Espressif Systems (Shanghai) CO LTD 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 #ifndef _H_HCI_DRIVER_MEM_ 7 #define _H_HCI_DRIVER_MEM_ 8 #include <stdint.h> 9 #include "os/os_mbuf.h" 10 11 void *hci_driver_mem_cmd_alloc(void); 12 13 void *hci_driver_mem_evt_alloc(int discardable); 14 15 struct os_mbuf *hci_driver_mem_acl_alloc(void); 16 17 struct os_mbuf *hci_driver_mem_acl_len_alloc(uint32_t len); 18 19 struct os_mbuf *hci_driver_mem_iso_alloc(void); 20 21 struct os_mbuf *hci_driver_mem_iso_len_alloc(uint32_t len); 22 23 extern const struct hci_h4_allocators s_hci_driver_mem_alloc; 24 25 #endif // _H_HCI_DRIVER_MEM_ 26