Lines Matching refs:hci_rx_frame
353 struct hci_data hci_rx_frame; in bt_rx_thread() local
356 if (k_msgq_get(&rx_msgq, &hci_rx_frame, K_FOREVER) < 0) { in bt_rx_thread()
360 process_rx(hci_rx_frame.packetType, hci_rx_frame.data, hci_rx_frame.len); in bt_rx_thread()
361 k_free(hci_rx_frame.data); in bt_rx_thread()
370 struct hci_data hci_rx_frame; in hci_rx_cb() local
372 hci_rx_frame.packetType = packetType; in hci_rx_cb()
373 hci_rx_frame.data = k_malloc(len); in hci_rx_cb()
375 if (!hci_rx_frame.data) { in hci_rx_cb()
379 memcpy(hci_rx_frame.data, data, len); in hci_rx_cb()
380 hci_rx_frame.len = len; in hci_rx_cb()
382 if (k_msgq_put(&rx_msgq, &hci_rx_frame, K_NO_WAIT) < 0) { in hci_rx_cb()