Searched refs:linked_pkt (Results 1 – 8 of 8) sorted by relevance
/hal_espressif-latest/components/bt/host/bluedroid/hci/ |
D | hci_hal_h4.c | 92 static void hci_hal_h4_hdl_rx_adv_rpt(pkt_linked_item_t *linked_pkt); 98 static void hci_adv_flow_cmd_free_cb(pkt_linked_item_t *linked_pkt); 243 pkt_linked_item_t *linked_pkt = pkt_queue_dequeue(adv_rpt_q); in hci_upstream_data_handler() local 244 if (linked_pkt != NULL) { in hci_upstream_data_handler() 245 hci_hal_h4_hdl_rx_adv_rpt(linked_pkt); in hci_upstream_data_handler() 352 static void hci_adv_flow_cmd_free_cb(pkt_linked_item_t *linked_pkt) in hci_adv_flow_cmd_free_cb() argument 478 static void hci_hal_h4_hdl_rx_adv_rpt(pkt_linked_item_t *linked_pkt) in hci_hal_h4_hdl_rx_adv_rpt() argument 485 if (!linked_pkt) { in hci_hal_h4_hdl_rx_adv_rpt() 489 BT_HDR* packet = (BT_HDR *)linked_pkt->data; in hci_hal_h4_hdl_rx_adv_rpt() 521 hci_hal_env.callbacks->adv_rpt_ready(linked_pkt); in hci_hal_h4_hdl_rx_adv_rpt() [all …]
|
D | hci_layer.c | 99 static void dispatch_adv_report(pkt_linked_item_t *linked_pkt); 257 pkt_linked_item_t *linked_pkt = HCI_GET_CMD_LINKED_STRUCT(metadata); in transmit_command() local 269 fixed_pkt_queue_enqueue(hci_host_env.command_queue, linked_pkt, FIXED_PKT_QUEUE_MAX_TIMEOUT); in transmit_command() 277 pkt_linked_item_t *linked_pkt = HCI_GET_CMD_LINKED_STRUCT(metadata); in transmit_command_futured() local 290 fixed_pkt_queue_enqueue(hci_host_env.command_queue, linked_pkt, FIXED_PKT_QUEUE_MAX_TIMEOUT); in transmit_command_futured() 426 static void hal_says_adv_rpt_ready(pkt_linked_item_t *linked_pkt) in hal_says_adv_rpt_ready() argument 428 dispatch_adv_report(linked_pkt); in hal_says_adv_rpt_ready() 530 static void dispatch_adv_report(pkt_linked_item_t *linked_pkt) in dispatch_adv_report() argument 534 if (btu_task_post(SIG_BTU_HCI_ADV_RPT_MSG, linked_pkt, OSI_THREAD_MAX_TIMEOUT) == false) { in dispatch_adv_report() 535 osi_free(linked_pkt); in dispatch_adv_report()
|
/hal_espressif-latest/components/bt/common/osi/ |
D | fixed_pkt_queue.c | 95 bool fixed_pkt_queue_enqueue(fixed_pkt_queue_t *queue, pkt_linked_item_t *linked_pkt, uint32_t time… in fixed_pkt_queue_enqueue() argument 100 assert(linked_pkt != NULL); in fixed_pkt_queue_enqueue() 106 ret = pkt_queue_enqueue(queue->pkt_list, linked_pkt); in fixed_pkt_queue_enqueue()
|
/hal_espressif-latest/components/bt/host/bluedroid/hci/include/hci/ |
D | hci_hal.h | 37 typedef void (*adv_rpt_ready_cb)(pkt_linked_item_t *linked_pkt);
|
/hal_espressif-latest/components/bt/common/osi/include/osi/ |
D | fixed_pkt_queue.h | 55 bool fixed_pkt_queue_enqueue(fixed_pkt_queue_t *queue, pkt_linked_item_t *linked_pkt, uint32_t time…
|
/hal_espressif-latest/components/bt/host/bluedroid/stack/include/stack/ |
D | hcimsgs.h | 35 typedef void (*hci_cmd_free_cb)(pkt_linked_item_t *linked_pkt); 58 pkt_linked_item_t *linked_pkt = osi_calloc(HCI_CMD_LINKED_BUF_SIZE(param_len)); in hci_get_cmd_buf() local 59 if (linked_pkt == NULL) { in hci_get_cmd_buf() 62 hci_cmd_metadata_t *metadata = (hci_cmd_metadata_t *)linked_pkt->data; in hci_get_cmd_buf() 76 pkt_linked_item_t *linked_pkt = HCI_GET_CMD_LINKED_STRUCT(metadata); in hci_free_cmd_buf() local 77 osi_free(linked_pkt); in hci_free_cmd_buf()
|
/hal_espressif-latest/components/bt/host/bluedroid/btc/profile/std/gap/ |
D | btc_gap_ble.c | 622 pkt_linked_item_t *linked_pkt = pkt_queue_dequeue(p_env->adv_rpt_queue); in btc_gap_ble_adv_pkt_handler() local 623 if (linked_pkt != NULL) { in btc_gap_ble_adv_pkt_handler() 624 esp_ble_gap_cb_param_t *param = (esp_ble_gap_cb_param_t *)(linked_pkt->data); in btc_gap_ble_adv_pkt_handler() 626 osi_free(linked_pkt); in btc_gap_ble_adv_pkt_handler() 657 …pkt_linked_item_t *linked_pkt = osi_calloc(BT_PKT_LINKED_HDR_SIZE + sizeof(esp_ble_gap_cb_param_t)… in btc_process_adv_rpt_pkt() local 658 if (linked_pkt == NULL) { in btc_process_adv_rpt_pkt() 662 … struct ble_scan_result_evt_param *scan_rst = (struct ble_scan_result_evt_param *)linked_pkt->data; in btc_process_adv_rpt_pkt() 678 pkt_queue_enqueue(p_env->adv_rpt_queue, linked_pkt); in btc_process_adv_rpt_pkt()
|
/hal_espressif-latest/components/bt/host/bluedroid/stack/btm/ |
D | btm_ble_gap.c | 3525 pkt_linked_item_t *linked_pkt = pkt_queue_dequeue(p_cb->adv_rpt_queue); in btm_adv_pkt_handler() local 3526 assert(linked_pkt != NULL); in btm_adv_pkt_handler() 3527 BT_HDR *packet = (BT_HDR *)linked_pkt->data; in btm_adv_pkt_handler() 3542 osi_free(linked_pkt); in btm_adv_pkt_handler()
|