Home
last modified time | relevance | path

Searched refs:sco_data (Results 1 – 2 of 2) sorted by relevance

/hal_espressif-3.7.0/components/bt/host/bluedroid/bta/hf_client/
Dbta_hf_client_sco.c299 tBTM_ESCO_DATA sco_data; in bta_hf_client_sco_conn_cback() local
304 BTM_ReadEScoLinkParms (sco_idx, &sco_data); in bta_hf_client_sco_conn_cback()
309 bta_hf_client_cb.scb.link_type = sco_data.link_type; in bta_hf_client_sco_conn_cback()
310 bta_hf_client_cb.scb.tx_interval = sco_data.tx_interval; in bta_hf_client_sco_conn_cback()
311 bta_hf_client_cb.scb.retrans_window = sco_data.retrans_window; in bta_hf_client_sco_conn_cback()
312 bta_hf_client_cb.scb.air_mode = sco_data.air_mode; in bta_hf_client_sco_conn_cback()
313 if (sco_data.air_mode == BTM_SCO_AIR_MODE_CVSD) { in bta_hf_client_sco_conn_cback()
314 bta_hf_client_cb.scb.out_pkt_len = sco_data.tx_pkt_len * 2; in bta_hf_client_sco_conn_cback()
315 bta_hf_client_cb.scb.in_pkt_len = sco_data.rx_pkt_len * 2; in bta_hf_client_sco_conn_cback()
317 bta_hf_client_cb.scb.out_pkt_len = sco_data.tx_pkt_len; in bta_hf_client_sco_conn_cback()
[all …]
/hal_espressif-3.7.0/components/bt/host/bluedroid/bta/hf_ag/
Dbta_ag_sco.c183 tBTM_ESCO_DATA sco_data; in bta_ag_sco_conn_cback() local
204 BTM_ReadEScoLinkParms(sco_idx, &sco_data); in bta_ag_sco_conn_cback()
206 p_scb->link_type = sco_data.link_type; in bta_ag_sco_conn_cback()
207 p_scb->tx_interval = sco_data.tx_interval; in bta_ag_sco_conn_cback()
208 p_scb->retrans_window = sco_data.retrans_window; in bta_ag_sco_conn_cback()
209 p_scb->air_mode = sco_data.air_mode; in bta_ag_sco_conn_cback()
211 if (sco_data.air_mode == BTM_SCO_AIR_MODE_CVSD) in bta_ag_sco_conn_cback()
213 p_scb->out_pkt_len = sco_data.tx_pkt_len * 2; in bta_ag_sco_conn_cback()
214 p_scb->in_pkt_len = sco_data.rx_pkt_len * 2; in bta_ag_sco_conn_cback()
217 p_scb->out_pkt_len = sco_data.tx_pkt_len; in bta_ag_sco_conn_cback()
[all …]