Home
last modified time | relevance | path

Searched refs:pkt_size (Results 1 – 5 of 5) sorted by relevance

/hal_espressif-3.4.0/components/bt/host/bluedroid/btc/profile/std/hf_client/
Dbta_hf_client_co.c462 UINT8 pkt_size = 0; in bta_hf_client_sco_co_in_data() local
465 STREAM_TO_UINT8 (pkt_size, p); in bta_hf_client_sco_co_in_data()
472 btc_hf_client_incoming_data_cb_to_app(p, pkt_size); in bta_hf_client_sco_co_in_data()
477 if (pkt_size != hf_inout_pkt_size) { in bta_hf_client_sco_co_in_data()
486 memcpy(bta_hf_client_co_cb.decode_msbc_data, p, pkt_size); in bta_hf_client_sco_co_in_data()
490 … memcpy(bta_hf_client_co_cb.decode_msbc_data + BTM_MSBC_FRAME_SIZE / 2, p, pkt_size); in bta_hf_client_sco_co_in_data()
494 bta_hf_client_decode_msbc_frame(&data, &pkt_size, bta_hf_client_co_cb.is_bad_frame); in bta_hf_client_sco_co_in_data()
501 bta_hf_client_decode_msbc_frame(&data, &pkt_size, bta_hf_client_co_cb.is_bad_frame); in bta_hf_client_sco_co_in_data()
/hal_espressif-3.4.0/components/bt/host/bluedroid/btc/profile/std/hf_ag/
Dbta_ag_co.c545 UINT8 pkt_size = 0; in bta_ag_sco_co_in_data() local
547 STREAM_TO_UINT8(pkt_size, p); in bta_ag_sco_co_in_data()
554 btc_hf_incoming_data_cb_to_app(p, pkt_size); in bta_ag_sco_co_in_data()
558 if (pkt_size != hf_inout_pkt_size) { in bta_ag_sco_co_in_data()
567 memcpy(bta_ag_co_cb.decode_msbc_data, p, pkt_size); in bta_ag_sco_co_in_data()
571 memcpy(bta_ag_co_cb.decode_msbc_data + BTM_MSBC_FRAME_SIZE / 2, p, pkt_size); in bta_ag_sco_co_in_data()
574 bta_ag_decode_msbc_frame(&data, &pkt_size, bta_ag_co_cb.is_bad_frame); in bta_ag_sco_co_in_data()
580 bta_ag_decode_msbc_frame(&data, &pkt_size, bta_ag_co_cb.is_bad_frame); in bta_ag_sco_co_in_data()
/hal_espressif-3.4.0/components/bt/host/bluedroid/hci/
Dhci_hal_h4.c320 size_t pkt_size; in host_recv_pkt_cb() local
326 pkt_size = BT_HDR_SIZE + len; in host_recv_pkt_cb()
327 pkt = (BT_HDR *) osi_calloc(pkt_size); in host_recv_pkt_cb()
/hal_espressif-3.4.0/components/bt/host/bluedroid/stack/btm/
Dbtm_acl.c1667 UINT16 pkt_size = 0; in btm_get_max_packet_size() local
1680 pkt_size = HCI_EDR3_DH5_PACKET_SIZE; in btm_get_max_packet_size()
1682 pkt_size = HCI_EDR2_DH5_PACKET_SIZE; in btm_get_max_packet_size()
1684 pkt_size = HCI_EDR3_DH3_PACKET_SIZE; in btm_get_max_packet_size()
1686 pkt_size = HCI_DH5_PACKET_SIZE; in btm_get_max_packet_size()
1688 pkt_size = HCI_EDR2_DH3_PACKET_SIZE; in btm_get_max_packet_size()
1690 pkt_size = HCI_DM5_PACKET_SIZE; in btm_get_max_packet_size()
1692 pkt_size = HCI_DH3_PACKET_SIZE; in btm_get_max_packet_size()
1694 pkt_size = HCI_DM3_PACKET_SIZE; in btm_get_max_packet_size()
1696 pkt_size = HCI_EDR3_DH1_PACKET_SIZE; in btm_get_max_packet_size()
[all …]
Dbtm_sco.c360 UINT8 pkt_size = 0; in btm_route_sco_data() local
368 STREAM_TO_UINT8 (pkt_size, p); in btm_route_sco_data()
369 UNUSED(pkt_size); in btm_route_sco_data()
382 BTM_TRACE_DEBUG ("SCO: hdl %x, len %d, pkt_sz %d\n", handle, p_msg->len, pkt_size); in btm_route_sco_data()