/hal_espressif-latest/components/bt/host/bluedroid/stack/avdt/ |
D | avdt_msg.c | 271 static void avdt_msg_bld_cfg(UINT8 **p, tAVDT_CFG *p_cfg) in avdt_msg_bld_cfg() argument 278 if (p_cfg->psc_mask & AVDT_PSC_TRANS) { in avdt_msg_bld_cfg() 285 if (p_cfg->psc_mask & AVDT_PSC_REPORT) { in avdt_msg_bld_cfg() 292 if (p_cfg->num_codec != 0) { in avdt_msg_bld_cfg() 294 len = p_cfg->codec_info[0] + 1; in avdt_msg_bld_cfg() 299 memcpy(*p, p_cfg->codec_info, len); in avdt_msg_bld_cfg() 304 if (p_cfg->num_protect != 0) { in avdt_msg_bld_cfg() 306 len = p_cfg->protect_info[0] + 1; in avdt_msg_bld_cfg() 311 memcpy(*p, p_cfg->protect_info, len); in avdt_msg_bld_cfg() 317 if (p_cfg->psc_mask & AVDT_PSC_MUX) { in avdt_msg_bld_cfg() [all …]
|
D | avdt_l2c.c | 43 void avdt_l2c_config_cfm_cback(UINT16 lcid, tL2CAP_CFG_INFO *p_cfg); 44 void avdt_l2c_config_ind_cback(UINT16 lcid, tL2CAP_CFG_INFO *p_cfg); 330 void avdt_l2c_config_cfm_cback(UINT16 lcid, tL2CAP_CFG_INFO *p_cfg) in avdt_l2c_config_cfm_cback() argument 341 if (p_cfg->result == L2CAP_CONN_OK) { in avdt_l2c_config_cfm_cback() 369 void avdt_l2c_config_ind_cback(UINT16 lcid, tL2CAP_CFG_INFO *p_cfg) in avdt_l2c_config_ind_cback() argument 376 if (p_cfg->mtu_present) { in avdt_l2c_config_ind_cback() 377 p_tbl->peer_mtu = p_cfg->mtu; in avdt_l2c_config_ind_cback() 384 memset(p_cfg, 0, sizeof(tL2CAP_CFG_INFO)); in avdt_l2c_config_ind_cback() 385 p_cfg->result = L2CAP_CFG_OK; in avdt_l2c_config_ind_cback() 386 L2CA_ConfigRsp(lcid, p_cfg); in avdt_l2c_config_ind_cback()
|
D | avdt_api.c | 418 UINT16 AVDT_GetCapReq(BD_ADDR bd_addr, UINT8 seid, tAVDT_CFG *p_cfg, tAVDT_CTRL_CBACK *p_cback) in AVDT_GetCapReq() argument 424 getcap.p_cfg = p_cfg; in AVDT_GetCapReq() 453 UINT16 AVDT_GetAllCapReq(BD_ADDR bd_addr, UINT8 seid, tAVDT_CFG *p_cfg, tAVDT_CTRL_CBACK *p_cback) in AVDT_GetAllCapReq() argument 459 getcap.p_cfg = p_cfg; in AVDT_GetAllCapReq() 516 UINT16 AVDT_OpenReq(UINT8 handle, BD_ADDR bd_addr, UINT8 seid, tAVDT_CFG *p_cfg) in AVDT_OpenReq() argument 544 evt.msg.config_cmd.p_cfg = p_cfg; in AVDT_OpenReq() 736 UINT16 AVDT_ReconfigReq(UINT8 handle, tAVDT_CFG *p_cfg) in AVDT_ReconfigReq() argument 749 p_cfg->psc_mask = 0; in AVDT_ReconfigReq() 751 evt.msg.reconfig_cmd.p_cfg = p_cfg; in AVDT_ReconfigReq()
|
D | avdt_scb_act.c | 158 p_data->msg.svccap.p_cfg = &p_scb->curr_cfg; in avdt_scb_hdl_getconfig_cmd() 686 memcpy(&p_scb->req_cfg, p_data->msg.reconfig_cmd.p_cfg, sizeof(tAVDT_CFG)); in avdt_scb_hdl_reconfig_cmd() 720 p_data->msg.svccap.p_cfg = &p_scb->curr_cfg; in avdt_scb_hdl_reconfig_rsp() 787 tAVDT_CFG *p_cfg; in avdt_scb_hdl_setconfig_cmd() local 790 p_cfg = p_data->msg.config_cmd.p_cfg; in avdt_scb_hdl_setconfig_cmd() 797 memcpy(&p_scb->req_cfg, p_cfg, sizeof(tAVDT_CFG)); in avdt_scb_hdl_setconfig_cmd() 1596 memcpy(&p_scb->req_cfg, p_data->msg.config_cmd.p_cfg, sizeof(tAVDT_CFG)); in avdt_scb_snd_reconfig_req() 1699 tAVDT_CFG *p_req, *p_cfg; in avdt_scb_snd_setconfig_req() local 1705 p_req = p_data->msg.config_cmd.p_cfg; in avdt_scb_snd_setconfig_req() 1706 p_cfg = &p_scb->cs.cfg; in avdt_scb_snd_setconfig_req() [all …]
|
D | avdt_ccb_act.c | 225 p_data->msg.svccap.p_cfg = &p_scb->cs.cfg; in avdt_ccb_hdl_getcap_cmd() 450 p_ccb->p_proc_data = p_data->getcap.p_cfg; in avdt_ccb_snd_getcap_cmd()
|
/hal_espressif-latest/components/bt/host/bluedroid/stack/l2cap/ |
D | l2c_utils.c | 653 void l2cu_send_peer_config_req (tL2C_CCB *p_ccb, tL2CAP_CFG_INFO *p_cfg) in l2cu_send_peer_config_req() argument 665 if (p_cfg->mtu_present) { in l2cu_send_peer_config_req() 668 if (p_cfg->flush_to_present) { in l2cu_send_peer_config_req() 671 if (p_cfg->qos_present) { in l2cu_send_peer_config_req() 674 if (p_cfg->fcr_present) { in l2cu_send_peer_config_req() 677 if (p_cfg->fcs_present) { in l2cu_send_peer_config_req() 680 if (p_cfg->ext_flow_spec_present) { in l2cu_send_peer_config_req() 694 UINT16_TO_STREAM (p, p_cfg->flags); /* Flags (continuation) */ in l2cu_send_peer_config_req() 697 if (p_cfg->mtu_present) { in l2cu_send_peer_config_req() 700 UINT16_TO_STREAM (p, p_cfg->mtu); in l2cu_send_peer_config_req() [all …]
|
D | l2c_fcr.c | 1732 BOOLEAN l2c_fcr_adj_our_req_options (tL2C_CCB *p_ccb, tL2CAP_CFG_INFO *p_cfg) in l2c_fcr_adj_our_req_options() argument 1735 assert(p_cfg != NULL); in l2c_fcr_adj_our_req_options() 1737 tL2CAP_FCR_OPTS *p_fcr = &p_cfg->fcr; in l2c_fcr_adj_our_req_options() 1749 if (p_cfg->fcr_present && p_fcr->mode != L2CAP_FCR_BASIC_MODE) { in l2c_fcr_adj_our_req_options() 1758 if (p_cfg->fcr_present && !(p_ccb->config_done & RECONFIG_FLAG)) { in l2c_fcr_adj_our_req_options() 1769 p_cfg->fcr_present = FALSE; in l2c_fcr_adj_our_req_options() 1770 p_cfg->fcs_present = FALSE; /* Illegal to use FCS option in basic mode */ in l2c_fcr_adj_our_req_options() 1771 … p_cfg->ext_flow_spec_present = FALSE; /* Illegal to use extended flow spec in basic mode */ in l2c_fcr_adj_our_req_options() 1793 if ( (p_cfg->mtu_present) && (p_cfg->mtu > p_ccb->max_rx_mtu) ) { in l2c_fcr_adj_our_req_options() 1794 … L2CAP_TRACE_WARNING ("L2CAP - MTU: %u larger than buf size: %u", p_cfg->mtu, p_ccb->max_rx_mtu); in l2c_fcr_adj_our_req_options() [all …]
|
D | l2c_api.c | 471 BOOLEAN L2CA_ConfigReq (UINT16 cid, tL2CAP_CFG_INFO *p_cfg) in L2CA_ConfigReq() argument 477 cid, p_cfg->fcr_present, p_cfg->fcr.mode, p_cfg->mtu_present, p_cfg->mtu); in L2CA_ConfigReq() 486 if (!l2c_fcr_adj_our_req_options(p_ccb, p_cfg)) { in L2CA_ConfigReq() 491 if ((!p_cfg->fcr_present) || (p_cfg->fcr.mode == L2CAP_FCR_BASIC_MODE)) { in L2CA_ConfigReq() 493 p_cfg->fcs_present = FALSE; in L2CA_ConfigReq() 494 p_cfg->ext_flow_spec_present = FALSE; in L2CA_ConfigReq() 496 if ( (p_cfg->mtu_present) && (p_cfg->mtu > L2CAP_MTU_SIZE) ) { in L2CA_ConfigReq() 497 L2CAP_TRACE_WARNING ("L2CAP - adjust MTU: %u too large", p_cfg->mtu); in L2CA_ConfigReq() 498 p_cfg->mtu = L2CAP_MTU_SIZE; in L2CA_ConfigReq() 503 p_ccb->our_cfg = *p_cfg; in L2CA_ConfigReq() [all …]
|
D | l2c_csm.c | 660 tL2CAP_CFG_INFO *p_cfg = (tL2CAP_CFG_INFO *)p_data; in l2c_csm_config() local 680 if ((cfg_result = l2cu_process_peer_cfg_req (p_ccb, p_cfg)) == L2CAP_PEER_CFG_OK) { in l2c_csm_config() 682 p_ccb->local_cid, (p_cfg->flags & L2CAP_CFG_FLAGS_MASK_CONT)); in l2c_csm_config() 683 (*p_ccb->p_rcb->api.pL2CA_ConfigInd_Cb)(p_ccb->local_cid, p_cfg); in l2c_csm_config() 690 l2cu_send_peer_config_rsp (p_ccb, p_cfg); in l2c_csm_config() 695 l2cu_process_peer_cfg_rsp (p_ccb, p_cfg); in l2c_csm_config() 697 if (p_cfg->result != L2CAP_CFG_PENDING) { in l2c_csm_config() 745 (*p_ccb->p_rcb->api.pL2CA_ConfigCfm_Cb)(p_ccb->local_cid, p_cfg); in l2c_csm_config() 753 if (l2c_fcr_renegotiate_chan(p_ccb, p_cfg) == FALSE) { in l2c_csm_config() 754 …API ("L2CAP - Calling Config_Rsp_Cb(), CID: 0x%04x, Failure: %d", p_ccb->local_cid, p_cfg->result); in l2c_csm_config() [all …]
|
/hal_espressif-latest/components/bt/host/bluedroid/stack/sdp/ |
D | sdp_main.c | 61 static void sdp_config_ind (UINT16 l2cap_cid, tL2CAP_CFG_INFO *p_cfg); 62 static void sdp_config_cfm (UINT16 l2cap_cid, tL2CAP_CFG_INFO *p_cfg); 379 static void sdp_config_ind (UINT16 l2cap_cid, tL2CAP_CFG_INFO *p_cfg) in sdp_config_ind() argument 390 if (!p_cfg->mtu_present) { in sdp_config_ind() 394 if (p_cfg->mtu > SDP_MTU_SIZE) { in sdp_config_ind() 397 p_ccb->rem_mtu_size = p_cfg->mtu; in sdp_config_ind() 402 p_cfg->flush_to_present = FALSE; in sdp_config_ind() 403 p_cfg->mtu_present = FALSE; in sdp_config_ind() 404 p_cfg->result = L2CAP_CFG_OK; in sdp_config_ind() 407 if (p_cfg->fcr_present) { in sdp_config_ind() [all …]
|
/hal_espressif-latest/components/bt/host/bluedroid/stack/avct/ |
D | avct_l2c.c | 44 void avct_l2c_config_cfm_cback(UINT16 lcid, tL2CAP_CFG_INFO *p_cfg); 45 void avct_l2c_config_ind_cback(UINT16 lcid, tL2CAP_CFG_INFO *p_cfg); 226 void avct_l2c_config_cfm_cback(UINT16 lcid, tL2CAP_CFG_INFO *p_cfg) in avct_l2c_config_cfm_cback() argument 233 lcid, p_lcb->ch_state, p_cfg->result); in avct_l2c_config_cfm_cback() 237 if (p_cfg->result == L2CAP_CFG_OK) { in avct_l2c_config_cfm_cback() 251 p_lcb->ch_result = p_cfg->result; in avct_l2c_config_cfm_cback() 271 void avct_l2c_config_ind_cback(UINT16 lcid, tL2CAP_CFG_INFO *p_cfg) in avct_l2c_config_ind_cback() argument 279 if (p_cfg->mtu_present) { in avct_l2c_config_ind_cback() 280 p_lcb->peer_mtu = p_cfg->mtu; in avct_l2c_config_ind_cback() 286 memset(p_cfg, 0, sizeof(tL2CAP_CFG_INFO)); in avct_l2c_config_ind_cback() [all …]
|
/hal_espressif-latest/components/bt/host/bluedroid/stack/rfcomm/ |
D | rfc_mx_fsm.c | 74 static void rfc_mx_conf_ind (tRFC_MCB *p_mcb, tL2CAP_CFG_INFO *p_cfg); 75 static void rfc_mx_conf_cnf (tRFC_MCB *p_mcb, tL2CAP_CFG_INFO *p_cfg); 613 static void rfc_mx_conf_cnf (tRFC_MCB *p_mcb, tL2CAP_CFG_INFO *p_cfg) in rfc_mx_conf_cnf() argument 617 if (p_cfg->result != L2CAP_CFG_OK) { in rfc_mx_conf_cnf() 619 PORT_StartCnf (p_mcb, p_cfg->result); in rfc_mx_conf_cnf() 650 static void rfc_mx_conf_ind (tRFC_MCB *p_mcb, tL2CAP_CFG_INFO *p_cfg) in rfc_mx_conf_ind() argument 654 if (p_cfg->mtu_present) { in rfc_mx_conf_ind() 655 p_mcb->peer_l2cap_mtu = p_cfg->mtu - RFCOMM_MIN_OFFSET - 1; in rfc_mx_conf_ind() 660 p_cfg->mtu_present = FALSE; in rfc_mx_conf_ind() 661 p_cfg->flush_to_present = FALSE; in rfc_mx_conf_ind() [all …]
|
D | rfc_l2cap_if.c | 55 static void RFCOMM_ConfigInd (UINT16 lcid, tL2CAP_CFG_INFO *p_cfg); 56 static void RFCOMM_ConfigCnf (UINT16 lcid, tL2CAP_CFG_INFO *p_cfg); 216 void RFCOMM_ConfigInd (UINT16 lcid, tL2CAP_CFG_INFO *p_cfg) in RFCOMM_ConfigInd() argument 225 rfc_mx_sm_execute (p_mcb, RFC_MX_EVENT_CONF_IND, (void *)p_cfg); in RFCOMM_ConfigInd() 238 void RFCOMM_ConfigCnf (UINT16 lcid, tL2CAP_CFG_INFO *p_cfg) in RFCOMM_ConfigCnf() argument 247 rfc_mx_sm_execute (p_mcb, RFC_MX_EVENT_CONF_CNF, (void *)p_cfg); in RFCOMM_ConfigCnf()
|
/hal_espressif-latest/components/bt/host/bluedroid/stack/hid/ |
D | hidd_conn.c | 43 static void hidd_l2cif_config_ind(uint16_t cid, tL2CAP_CFG_INFO *p_cfg); 44 static void hidd_l2cif_config_cfm(uint16_t cid, tL2CAP_CFG_INFO *p_cfg); 277 static void hidd_l2cif_config_ind(uint16_t cid, tL2CAP_CFG_INFO *p_cfg) in hidd_l2cif_config_ind() argument 286 if ((!p_cfg->mtu_present) || (p_cfg->mtu > HID_DEV_MTU_SIZE)) in hidd_l2cif_config_ind() 289 p_hcon->rem_mtu_size = p_cfg->mtu; in hidd_l2cif_config_ind() 291 p_cfg->flush_to_present = FALSE; in hidd_l2cif_config_ind() 292 p_cfg->mtu_present = FALSE; in hidd_l2cif_config_ind() 293 p_cfg->result = L2CAP_CFG_OK; in hidd_l2cif_config_ind() 294 if (cid == p_hcon->intr_cid && hd_cb.use_in_qos && !p_cfg->qos_present) { in hidd_l2cif_config_ind() 295 p_cfg->qos_present = TRUE; in hidd_l2cif_config_ind() [all …]
|
D | hidh_conn.c | 58 static void hidh_l2cif_config_ind (UINT16 l2cap_cid, tL2CAP_CFG_INFO *p_cfg); 59 static void hidh_l2cif_config_cfm (UINT16 l2cap_cid, tL2CAP_CFG_INFO *p_cfg); 426 static void hidh_l2cif_config_ind (UINT16 l2cap_cid, tL2CAP_CFG_INFO *p_cfg) in hidh_l2cif_config_ind() argument 445 if ((!p_cfg->mtu_present) || (p_cfg->mtu > HID_HOST_MTU)) { in hidh_l2cif_config_ind() 448 p_hcon->rem_mtu_size = p_cfg->mtu; in hidh_l2cif_config_ind() 452 p_cfg->flush_to_present = FALSE; in hidh_l2cif_config_ind() 453 p_cfg->mtu_present = FALSE; in hidh_l2cif_config_ind() 454 p_cfg->result = L2CAP_CFG_OK; in hidh_l2cif_config_ind() 456 L2CA_ConfigRsp (l2cap_cid, p_cfg); in hidh_l2cif_config_ind() 503 static void hidh_l2cif_config_cfm (UINT16 l2cap_cid, tL2CAP_CFG_INFO *p_cfg) in hidh_l2cif_config_cfm() argument [all …]
|
/hal_espressif-latest/components/bt/host/bluedroid/stack/gap/ |
D | gap_conn.c | 38 static void gap_config_ind (UINT16 l2cap_cid, tL2CAP_CFG_INFO *p_cfg); 39 static void gap_config_cfm (UINT16 l2cap_cid, tL2CAP_CFG_INFO *p_cfg); 127 BD_ADDR p_rem_bda, UINT16 psm, tL2CAP_CFG_INFO *p_cfg, in GAP_ConnOpen() argument 163 if (p_cfg) { in GAP_ConnOpen() 164 p_ccb->cfg = *p_cfg; in GAP_ConnOpen() 574 UINT16 GAP_ConnReconfig (UINT16 gap_handle, tL2CAP_CFG_INFO *p_cfg) in GAP_ConnReconfig() argument 582 p_ccb->cfg = *p_cfg; in GAP_ConnReconfig() 585 L2CA_CONFIG_REQ (p_ccb->connection_id, p_cfg); in GAP_ConnReconfig() 866 static void gap_config_ind (UINT16 l2cap_cid, tL2CAP_CFG_INFO *p_cfg) in gap_config_ind() argument 885 if ((!p_cfg->mtu_present) || (p_cfg->mtu > local_mtu_size)) { in gap_config_ind() [all …]
|
/hal_espressif-latest/components/bt/host/bluedroid/stack/include/stack/ |
D | avdt_api.h | 299 tAVDT_CFG *p_cfg; /* Pointer to configuration for this SEP */ member 305 tAVDT_CFG *p_cfg; /* Pointer to configuration for this SEP */ member 394 typedef UINT16 (tAVDT_GETCAP_REQ) (BD_ADDR bd_addr, UINT8 seid, tAVDT_CFG *p_cfg, tAVDT_CTRL_CBACK … 590 extern UINT16 AVDT_GetCapReq(BD_ADDR bd_addr, UINT8 seid, tAVDT_CFG *p_cfg, 617 extern UINT16 AVDT_GetAllCapReq(BD_ADDR bd_addr, UINT8 seid, tAVDT_CFG *p_cfg, 647 tAVDT_CFG *p_cfg); 730 extern UINT16 AVDT_ReconfigReq(UINT8 handle, tAVDT_CFG *p_cfg);
|
D | gap_api.h | 144 BD_ADDR p_rem_bda, UINT16 psm, tL2CAP_CFG_INFO *p_cfg, 245 extern UINT16 GAP_ConnReconfig (UINT16 gap_handle, tL2CAP_CFG_INFO *p_cfg);
|
D | l2c_api.h | 466 extern BOOLEAN L2CA_ConfigReq (UINT16 cid, tL2CAP_CFG_INFO *p_cfg); 478 extern BOOLEAN L2CA_ConfigRsp (UINT16 cid, tL2CAP_CFG_INFO *p_cfg); 545 extern UINT16 L2CA_ConnectLECocReq (UINT16 psm, BD_ADDR p_bd_addr, tL2CAP_LE_CFG_INFO *p_cfg); 559 UINT16 status, tL2CAP_LE_CFG_INFO *p_cfg);
|
D | avdtc_api.h | 135 extern void AVDTC_GetConfigRsp(UINT8 handle, UINT8 label, tAVDT_CFG *p_cfg);
|
/hal_espressif-latest/components/bt/host/bluedroid/bta/include/bta/ |
D | bta_av_sbc.h | 195 extern UINT8 bta_av_sbc_cfg_in_cap(UINT8 *p_cfg, tA2D_SBC_CIE *p_cap); 207 extern UINT8 bta_av_sbc_cfg_matches_cap(UINT8 *p_cfg, tA2D_SBC_CIE *p_cap);
|
/hal_espressif-latest/components/bt/host/bluedroid/stack/gatt/ |
D | gatt_main.c | 54 static void gatt_l2cif_config_ind_cback (UINT16 l2cap_cid, tL2CAP_CFG_INFO *p_cfg); 55 static void gatt_l2cif_config_cfm_cback (UINT16 l2cap_cid, tL2CAP_CFG_INFO *p_cfg); 707 void gatt_l2cif_config_cfm_cback(UINT16 lcid, tL2CAP_CFG_INFO *p_cfg) in gatt_l2cif_config_cfm_cback() argument 717 if (p_cfg->result == L2CAP_CFG_OK) { in gatt_l2cif_config_cfm_cback() 758 void gatt_l2cif_config_ind_cback(UINT16 lcid, tL2CAP_CFG_INFO *p_cfg) in gatt_l2cif_config_ind_cback() argument 765 if ( p_cfg->mtu_present && in gatt_l2cif_config_ind_cback() 766 (p_cfg->mtu >= GATT_MIN_BR_MTU_SIZE && p_cfg->mtu < L2CAP_DEFAULT_MTU)) { in gatt_l2cif_config_ind_cback() 767 p_tcb->payload_size = p_cfg->mtu; in gatt_l2cif_config_ind_cback() 773 memset(p_cfg, 0, sizeof(tL2CAP_CFG_INFO)); in gatt_l2cif_config_ind_cback() 774 p_cfg->result = L2CAP_CFG_OK; in gatt_l2cif_config_ind_cback() [all …]
|
/hal_espressif-latest/components/bt/host/bluedroid/stack/l2cap/include/ |
D | l2c_int.h | 624 extern void l2cu_send_peer_config_req (tL2C_CCB *p_ccb, tL2CAP_CFG_INFO *p_cfg); 625 extern void l2cu_send_peer_config_rsp (tL2C_CCB *p_ccb, tL2CAP_CFG_INFO *p_cfg); 698 extern UINT8 l2cu_process_peer_cfg_req (tL2C_CCB *p_ccb, tL2CAP_CFG_INFO *p_cfg); 699 extern void l2cu_process_peer_cfg_rsp (tL2C_CCB *p_ccb, tL2CAP_CFG_INFO *p_cfg); 700 extern void l2cu_process_our_cfg_req (tL2C_CCB *p_ccb, tL2CAP_CFG_INFO *p_cfg); 701 extern void l2cu_process_our_cfg_rsp (tL2C_CCB *p_ccb, tL2CAP_CFG_INFO *p_cfg); 775 extern BOOLEAN l2c_fcr_adj_our_req_options (tL2C_CCB *p_ccb, tL2CAP_CFG_INFO *p_cfg); 777 extern BOOLEAN l2c_fcr_renegotiate_chan(tL2C_CCB *p_ccb, tL2CAP_CFG_INFO *p_cfg); 778 extern UINT8 l2c_fcr_process_peer_cfg_req(tL2C_CCB *p_ccb, tL2CAP_CFG_INFO *p_cfg);
|
/hal_espressif-latest/components/bt/host/bluedroid/bta/av/ |
D | bta_av_sbc.c | 475 UINT8 bta_av_sbc_cfg_matches_cap(UINT8 *p_cfg, tA2D_SBC_CIE *p_cap) in bta_av_sbc_cfg_matches_cap() argument 481 if ((status = A2D_ParsSbcInfo(&cfg_cie, p_cfg, TRUE)) != 0) { in bta_av_sbc_cfg_matches_cap() 539 UINT8 bta_av_sbc_cfg_in_cap(UINT8 *p_cfg, tA2D_SBC_CIE *p_cap) in bta_av_sbc_cfg_in_cap() argument 545 if ((status = A2D_ParsSbcInfo(&cfg_cie, p_cfg, FALSE)) != 0) { in bta_av_sbc_cfg_in_cap()
|
D | bta_av_aact.c | 456 …g->msg.reconfig_cfm.p_cfg->codec_info[0] << 16) + (p_msg->msg.reconfig_cfm.p_cfg->codec_info[1] <<… in bta_av_proc_stream_evt() 457 …g->msg.reconfig_cfm.p_cfg->codec_info[3] << 16) + (p_msg->msg.reconfig_cfm.p_cfg->codec_info[4] <<… in bta_av_proc_stream_evt() 458 …g->msg.reconfig_cfm.p_cfg->codec_info[6] << 16) + (p_msg->msg.reconfig_cfm.p_cfg->codec_info[7] <<… in bta_av_proc_stream_evt() 459 p_msg->msg.reconfig_cfm.p_cfg->codec_info[9]); in bta_av_proc_stream_evt() 487 memcpy(&p_msg->cfg, p_data->config_ind.p_cfg, sizeof(tAVDT_CFG)); in bta_av_proc_stream_evt() 2121 tAVDT_CFG *p_cfg; in bta_av_reconfig() local 2135 if ((p_cfg = p_scb->p_cap) == NULL) { in bta_av_reconfig() 2151 memcpy(p_cfg, &p_scb->cfg, sizeof(tAVDT_CFG)); in bta_av_reconfig() 2152 p_cfg->num_protect = p_rcfg->num_protect; in bta_av_reconfig() 2153 memcpy(p_cfg->codec_info, p_rcfg->codec_info, AVDT_CODEC_SIZE); in bta_av_reconfig() [all …]
|