Home
last modified time | relevance | path

Searched refs:p_cfg (Results 1 – 25 of 35) sorted by relevance

12

/system/bt/stack/avdt/
Davdt_msg.c272 static void avdt_msg_bld_cfg(UINT8 **p, tAVDT_CFG *p_cfg) in avdt_msg_bld_cfg() argument
279 if (p_cfg->psc_mask & AVDT_PSC_TRANS) in avdt_msg_bld_cfg()
287 if (p_cfg->psc_mask & AVDT_PSC_REPORT) in avdt_msg_bld_cfg()
295 if (p_cfg->num_codec != 0) in avdt_msg_bld_cfg()
298 len = p_cfg->codec_info[0] + 1; in avdt_msg_bld_cfg()
302 memcpy(*p, p_cfg->codec_info, len); in avdt_msg_bld_cfg()
307 if (p_cfg->num_protect != 0) in avdt_msg_bld_cfg()
310 len = p_cfg->protect_info[0] + 1; in avdt_msg_bld_cfg()
314 memcpy(*p, p_cfg->protect_info, len); in avdt_msg_bld_cfg()
320 if (p_cfg->psc_mask & AVDT_PSC_MUX) in avdt_msg_bld_cfg()
[all …]
Davdt_l2c.c41 void avdt_l2c_config_cfm_cback(UINT16 lcid, tL2CAP_CFG_INFO *p_cfg);
42 void avdt_l2c_config_ind_cback(UINT16 lcid, tL2CAP_CFG_INFO *p_cfg);
370 void avdt_l2c_config_cfm_cback(UINT16 lcid, tL2CAP_CFG_INFO *p_cfg) in avdt_l2c_config_cfm_cback() argument
383 if (p_cfg->result == L2CAP_CONN_OK) in avdt_l2c_config_cfm_cback()
414 void avdt_l2c_config_ind_cback(UINT16 lcid, tL2CAP_CFG_INFO *p_cfg) in avdt_l2c_config_ind_cback() argument
422 if (p_cfg->mtu_present) in avdt_l2c_config_ind_cback()
424 p_tbl->peer_mtu = p_cfg->mtu; in avdt_l2c_config_ind_cback()
433 memset(p_cfg, 0, sizeof(tL2CAP_CFG_INFO)); in avdt_l2c_config_ind_cback()
434 p_cfg->result = L2CAP_CFG_OK; in avdt_l2c_config_ind_cback()
435 L2CA_ConfigRsp(lcid, p_cfg); in avdt_l2c_config_ind_cback()
Davdt_api.c419 UINT16 AVDT_GetCapReq(BD_ADDR bd_addr, UINT8 seid, tAVDT_CFG *p_cfg, tAVDT_CTRL_CBACK *p_cback) in AVDT_GetCapReq() argument
425 getcap.p_cfg = p_cfg; in AVDT_GetCapReq()
454 UINT16 AVDT_GetAllCapReq(BD_ADDR bd_addr, UINT8 seid, tAVDT_CFG *p_cfg, tAVDT_CTRL_CBACK *p_cback) in AVDT_GetAllCapReq() argument
460 getcap.p_cfg = p_cfg; in AVDT_GetAllCapReq()
511 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()
762 UINT16 AVDT_ReconfigReq(UINT8 handle, tAVDT_CFG *p_cfg) in AVDT_ReconfigReq() argument
777 p_cfg->psc_mask = 0; in AVDT_ReconfigReq()
779 evt.msg.reconfig_cmd.p_cfg = p_cfg; in AVDT_ReconfigReq()
Davdt_scb_act.c159 p_data->msg.svccap.p_cfg = &p_scb->curr_cfg; in avdt_scb_hdl_getconfig_cmd()
719 memcpy(&p_scb->req_cfg, p_data->msg.reconfig_cmd.p_cfg, sizeof(tAVDT_CFG)); in avdt_scb_hdl_reconfig_cmd()
756 p_data->msg.svccap.p_cfg = &p_scb->curr_cfg; in avdt_scb_hdl_reconfig_rsp()
826 tAVDT_CFG *p_cfg; in avdt_scb_hdl_setconfig_cmd() local
830 p_cfg = p_data->msg.config_cmd.p_cfg; in avdt_scb_hdl_setconfig_cmd()
831 … if(p_scb->cs.cfg.codec_info[AVDT_CODEC_TYPE_INDEX] == p_cfg->codec_info[AVDT_CODEC_TYPE_INDEX]) in avdt_scb_hdl_setconfig_cmd()
839 memcpy(&p_scb->req_cfg, p_cfg, sizeof(tAVDT_CFG)); in avdt_scb_hdl_setconfig_cmd()
1554 memcpy(&p_scb->req_cfg, p_data->msg.config_cmd.p_cfg, sizeof(tAVDT_CFG)); in avdt_scb_snd_reconfig_req()
1666 tAVDT_CFG *p_req, *p_cfg; in avdt_scb_snd_setconfig_req() local
1672 p_req = p_data->msg.config_cmd.p_cfg; in avdt_scb_snd_setconfig_req()
[all …]
/system/bt/stack/l2cap/
Dl2c_utils.c596 void l2cu_send_peer_config_req (tL2C_CCB *p_ccb, tL2CAP_CFG_INFO *p_cfg) in l2cu_send_peer_config_req() argument
608 if (p_cfg->mtu_present) in l2cu_send_peer_config_req()
610 if (p_cfg->flush_to_present) in l2cu_send_peer_config_req()
612 if (p_cfg->qos_present) in l2cu_send_peer_config_req()
614 if (p_cfg->fcr_present) in l2cu_send_peer_config_req()
616 if (p_cfg->fcs_present) in l2cu_send_peer_config_req()
618 if (p_cfg->ext_flow_spec_present) in l2cu_send_peer_config_req()
632 UINT16_TO_STREAM (p, p_cfg->flags); /* Flags (continuation) */ in l2cu_send_peer_config_req()
635 if (p_cfg->mtu_present) in l2cu_send_peer_config_req()
639 UINT16_TO_STREAM (p, p_cfg->mtu); in l2cu_send_peer_config_req()
[all …]
Dl2c_fcr.c1986 BOOLEAN l2c_fcr_adj_our_req_options (tL2C_CCB *p_ccb, tL2CAP_CFG_INFO *p_cfg) in l2c_fcr_adj_our_req_options() argument
1989 assert(p_cfg != NULL); in l2c_fcr_adj_our_req_options()
1991 tL2CAP_FCR_OPTS *p_fcr = &p_cfg->fcr; in l2c_fcr_adj_our_req_options()
2005 if (p_cfg->fcr_present && p_fcr->mode != L2CAP_FCR_BASIC_MODE) in l2c_fcr_adj_our_req_options()
2015 if (p_cfg->fcr_present && !(p_ccb->config_done & RECONFIG_FLAG)) in l2c_fcr_adj_our_req_options()
2029 p_cfg->fcr_present = FALSE; in l2c_fcr_adj_our_req_options()
2030 p_cfg->fcs_present = FALSE; /* Illegal to use FCS option in basic mode */ in l2c_fcr_adj_our_req_options()
2031p_cfg->ext_flow_spec_present = FALSE; /* Illegal to use extended flow spec in basic mode */ in l2c_fcr_adj_our_req_options()
2057 if ( (p_cfg->mtu_present) && (p_cfg->mtu > p_ccb->max_rx_mtu) ) in l2c_fcr_adj_our_req_options()
2059 … 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 …]
Dl2c_api.c467 UINT16 L2CA_ConnectLECocReq(UINT16 psm, BD_ADDR p_bd_addr, tL2CAP_LE_CFG_INFO *p_cfg) in L2CA_ConnectLECocReq() argument
515 if (p_cfg) in L2CA_ConnectLECocReq()
516 memcpy(&p_ccb->local_conn_cfg, p_cfg, sizeof(tL2CAP_LE_CFG_INFO)); in L2CA_ConnectLECocReq()
560 UINT16 status, tL2CAP_LE_CFG_INFO *p_cfg) in L2CA_ConnectLECocRsp() argument
591 if (p_cfg) in L2CA_ConnectLECocRsp()
592 memcpy(&p_ccb->local_conn_cfg, p_cfg, sizeof(tL2CAP_LE_CFG_INFO)); in L2CA_ConnectLECocRsp()
785 BOOLEAN L2CA_ConfigReq (UINT16 cid, tL2CAP_CFG_INFO *p_cfg) in L2CA_ConfigReq() argument
790 cid, p_cfg->fcr_present, p_cfg->fcr.mode, p_cfg->mtu_present, p_cfg->mtu); in L2CA_ConfigReq()
800 if (!l2c_fcr_adj_our_req_options(p_ccb, p_cfg)) in L2CA_ConfigReq()
804 if ((!p_cfg->fcr_present)||(p_cfg->fcr.mode == L2CAP_FCR_BASIC_MODE)) in L2CA_ConfigReq()
[all …]
Dl2c_csm.c822 tL2CAP_CFG_INFO *p_cfg = (tL2CAP_CFG_INFO *)p_data; in l2c_csm_config() local
843 if ((cfg_result = l2cu_process_peer_cfg_req (p_ccb, p_cfg)) == L2CAP_PEER_CFG_OK) in l2c_csm_config()
846 p_ccb->local_cid, (p_cfg->flags & L2CAP_CFG_FLAGS_MASK_CONT)); in l2c_csm_config()
847 (*p_ccb->p_rcb->api.pL2CA_ConfigInd_Cb)(p_ccb->local_cid, p_cfg); in l2c_csm_config()
858 l2cu_send_peer_config_rsp (p_ccb, p_cfg); in l2c_csm_config()
863 l2cu_process_peer_cfg_rsp (p_ccb, p_cfg); in l2c_csm_config()
865 if (p_cfg->result != L2CAP_CFG_PENDING) in l2c_csm_config()
917 (*p_ccb->p_rcb->api.pL2CA_ConfigCfm_Cb)(p_ccb->local_cid, p_cfg); in l2c_csm_config()
925 if (l2c_fcr_renegotiate_chan(p_ccb, p_cfg) == FALSE) in l2c_csm_config()
927 …API ("L2CAP - Calling Config_Rsp_Cb(), CID: 0x%04x, Failure: %d", p_ccb->local_cid, p_cfg->result); in l2c_csm_config()
[all …]
Dl2c_int.h612 extern void l2cu_send_peer_config_req (tL2C_CCB *p_ccb, tL2CAP_CFG_INFO *p_cfg);
613 extern void l2cu_send_peer_config_rsp (tL2C_CCB *p_ccb, tL2CAP_CFG_INFO *p_cfg);
674 extern UINT8 l2cu_process_peer_cfg_req (tL2C_CCB *p_ccb, tL2CAP_CFG_INFO *p_cfg);
675 extern void l2cu_process_peer_cfg_rsp (tL2C_CCB *p_ccb, tL2CAP_CFG_INFO *p_cfg);
676 extern void l2cu_process_our_cfg_req (tL2C_CCB *p_ccb, tL2CAP_CFG_INFO *p_cfg);
677 extern void l2cu_process_our_cfg_rsp (tL2C_CCB *p_ccb, tL2CAP_CFG_INFO *p_cfg);
752 extern BOOLEAN l2c_fcr_adj_our_req_options (tL2C_CCB *p_ccb, tL2CAP_CFG_INFO *p_cfg);
754 extern BOOLEAN l2c_fcr_renegotiate_chan(tL2C_CCB *p_ccb, tL2CAP_CFG_INFO *p_cfg);
755 extern UINT8 l2c_fcr_process_peer_cfg_req(tL2C_CCB *p_ccb, tL2CAP_CFG_INFO *p_cfg);
/system/bt/stack/sdp/
Dsdp_main.c60 static void sdp_config_ind (UINT16 l2cap_cid, tL2CAP_CFG_INFO *p_cfg);
61 static void sdp_config_cfm (UINT16 l2cap_cid, tL2CAP_CFG_INFO *p_cfg);
310 static void sdp_config_ind (UINT16 l2cap_cid, tL2CAP_CFG_INFO *p_cfg) in sdp_config_ind() argument
322 if (!p_cfg->mtu_present) in sdp_config_ind()
329 if (p_cfg->mtu > SDP_MTU_SIZE) in sdp_config_ind()
332 p_ccb->rem_mtu_size = p_cfg->mtu; in sdp_config_ind()
336 p_cfg->flush_to_present = FALSE; in sdp_config_ind()
337 p_cfg->mtu_present = FALSE; in sdp_config_ind()
338 p_cfg->result = L2CAP_CFG_OK; in sdp_config_ind()
341 if (p_cfg->fcr_present) in sdp_config_ind()
[all …]
/system/bt/stack/avct/
Davct_l2c.c41 void avct_l2c_config_cfm_cback(UINT16 lcid, tL2CAP_CFG_INFO *p_cfg);
42 void avct_l2c_config_ind_cback(UINT16 lcid, tL2CAP_CFG_INFO *p_cfg);
239 void avct_l2c_config_cfm_cback(UINT16 lcid, tL2CAP_CFG_INFO *p_cfg) in avct_l2c_config_cfm_cback() argument
247 lcid, p_lcb->ch_state, p_cfg->result); in avct_l2c_config_cfm_cback()
252 if (p_cfg->result == L2CAP_CFG_OK) in avct_l2c_config_cfm_cback()
269 p_lcb->ch_result = p_cfg->result; in avct_l2c_config_cfm_cback()
289 void avct_l2c_config_ind_cback(UINT16 lcid, tL2CAP_CFG_INFO *p_cfg) in avct_l2c_config_ind_cback() argument
298 if (p_cfg->mtu_present) in avct_l2c_config_ind_cback()
300 p_lcb->peer_mtu = p_cfg->mtu; in avct_l2c_config_ind_cback()
308 memset(p_cfg, 0, sizeof(tL2CAP_CFG_INFO)); in avct_l2c_config_ind_cback()
[all …]
/system/bt/stack/rfcomm/
Drfc_mx_fsm.c52 static void rfc_mx_conf_ind (tRFC_MCB *p_mcb, tL2CAP_CFG_INFO *p_cfg);
53 static void rfc_mx_conf_cnf (tRFC_MCB *p_mcb, tL2CAP_CFG_INFO *p_cfg);
602 static void rfc_mx_conf_cnf (tRFC_MCB *p_mcb, tL2CAP_CFG_INFO *p_cfg) in rfc_mx_conf_cnf() argument
604 RFCOMM_TRACE_EVENT ("rfc_mx_conf_cnf p_cfg:%08x res:%d ", p_cfg, (p_cfg) ? p_cfg->result : 0); in rfc_mx_conf_cnf()
606 if (p_cfg->result != L2CAP_CFG_OK) in rfc_mx_conf_cnf()
610 PORT_StartCnf (p_mcb, p_cfg->result); in rfc_mx_conf_cnf()
645 static void rfc_mx_conf_ind (tRFC_MCB *p_mcb, tL2CAP_CFG_INFO *p_cfg) in rfc_mx_conf_ind() argument
649 if (p_cfg->mtu_present) in rfc_mx_conf_ind()
650 p_mcb->peer_l2cap_mtu = p_cfg->mtu - RFCOMM_MIN_OFFSET - 1; in rfc_mx_conf_ind()
654 p_cfg->mtu_present = FALSE; in rfc_mx_conf_ind()
[all …]
Drfc_l2cap_if.c45 static void RFCOMM_ConfigInd (UINT16 lcid, tL2CAP_CFG_INFO *p_cfg);
46 static void RFCOMM_ConfigCnf (UINT16 lcid, tL2CAP_CFG_INFO *p_cfg);
218 void RFCOMM_ConfigInd (UINT16 lcid, tL2CAP_CFG_INFO *p_cfg) in RFCOMM_ConfigInd() argument
228 rfc_mx_sm_execute (p_mcb, RFC_MX_EVENT_CONF_IND, (void *)p_cfg); in RFCOMM_ConfigInd()
241 void RFCOMM_ConfigCnf (UINT16 lcid, tL2CAP_CFG_INFO *p_cfg) in RFCOMM_ConfigCnf() argument
251 rfc_mx_sm_execute (p_mcb, RFC_MX_EVENT_CONF_CNF, (void *)p_cfg); in RFCOMM_ConfigCnf()
/system/bt/stack/bnep/
Dbnep_main.c65 static void bnep_config_ind (UINT16 l2cap_cid, tL2CAP_CFG_INFO *p_cfg);
66 static void bnep_config_cfm (UINT16 l2cap_cid, tL2CAP_CFG_INFO *p_cfg);
222 static void bnep_config_ind (UINT16 l2cap_cid, tL2CAP_CFG_INFO *p_cfg) in bnep_config_ind() argument
237 if ((!p_cfg->mtu_present) || (p_cfg->mtu < BNEP_MIN_MTU_SIZE)) in bnep_config_ind()
239 mtu = p_cfg->mtu; in bnep_config_ind()
240 p_cfg->flush_to_present = FALSE; in bnep_config_ind()
241 p_cfg->mtu_present = TRUE; in bnep_config_ind()
242 p_cfg->mtu = BNEP_MIN_MTU_SIZE; in bnep_config_ind()
243 p_cfg->result = result = L2CAP_CFG_UNACCEPTABLE_PARAMS; in bnep_config_ind()
247 if (p_cfg->mtu > BNEP_MTU_SIZE) in bnep_config_ind()
[all …]
/system/bt/stack/gap/
Dgap_conn.c36 static void gap_config_ind (UINT16 l2cap_cid, tL2CAP_CFG_INFO *p_cfg);
37 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
167 if (p_cfg) in GAP_ConnOpen()
168 p_ccb->cfg = *p_cfg; in GAP_ConnOpen()
174 p_ccb->local_coc_cfg.mtu = p_cfg->mtu; in GAP_ConnOpen()
561 UINT16 GAP_ConnReconfig (UINT16 gap_handle, tL2CAP_CFG_INFO *p_cfg) in GAP_ConnReconfig() argument
568 p_ccb->cfg = *p_cfg; in GAP_ConnReconfig()
571 L2CA_CONFIG_REQ (p_ccb->connection_id, p_cfg); in GAP_ConnReconfig()
910 static void gap_config_ind (UINT16 l2cap_cid, tL2CAP_CFG_INFO *p_cfg) in gap_config_ind() argument
[all …]
/system/bt/stack/mcap/
Dmca_l2c.c366 void mca_l2c_config_cfm_cback(UINT16 lcid, tL2CAP_CFG_INFO *p_cfg) in mca_l2c_config_cfm_cback() argument
377 if (p_cfg->result == L2CAP_CONN_OK) in mca_l2c_config_cfm_cback()
408 void mca_l2c_config_ind_cback(UINT16 lcid, tL2CAP_CFG_INFO *p_cfg) in mca_l2c_config_ind_cback() argument
417 if (p_cfg->mtu_present) in mca_l2c_config_ind_cback()
419 p_tbl->peer_mtu = p_cfg->mtu; in mca_l2c_config_ind_cback()
429 …MCA_TRACE_DEBUG("peer_mtu: %d, lcid: x%x mtu_present:%d",p_tbl->peer_mtu, lcid, p_cfg->mtu_present… in mca_l2c_config_ind_cback()
432 memset(p_cfg, 0, sizeof(tL2CAP_CFG_INFO)); in mca_l2c_config_ind_cback()
433 p_cfg->result = result; in mca_l2c_config_ind_cback()
434 L2CA_ConfigRsp(lcid, p_cfg); in mca_l2c_config_ind_cback()
Dmca_main.c255 void mca_set_cfg_by_tbl(tL2CAP_CFG_INFO *p_cfg, tMCA_TC_TBL *p_tbl) in mca_set_cfg_by_tbl() argument
274 memset(p_cfg, 0, sizeof(tL2CAP_CFG_INFO)); in mca_set_cfg_by_tbl()
275 p_cfg->mtu_present = TRUE; in mca_set_cfg_by_tbl()
276 p_cfg->mtu = p_tbl->my_mtu; in mca_set_cfg_by_tbl()
277 p_cfg->fcr_present = TRUE; in mca_set_cfg_by_tbl()
278 memcpy(&p_cfg->fcr, p_opt, sizeof (tL2CAP_FCR_OPTS)); in mca_set_cfg_by_tbl()
281 p_cfg->fcs_present = TRUE; in mca_set_cfg_by_tbl()
282 p_cfg->fcs = (fcs & MCA_FCS_USE_MASK); in mca_set_cfg_by_tbl()
Dmca_int.h311 extern void mca_set_cfg_by_tbl(tL2CAP_CFG_INFO *p_cfg, tMCA_TC_TBL *p_tbl);
331 extern void mca_l2c_config_cfm_cback(UINT16 lcid, tL2CAP_CFG_INFO *p_cfg);
332 extern void mca_l2c_config_ind_cback(UINT16 lcid, tL2CAP_CFG_INFO *p_cfg);
/system/bt/stack/include/
Davdt_api.h288 tAVDT_CFG *p_cfg; /* Pointer to configuration for this SEP */ member
294 tAVDT_CFG *p_cfg; /* Pointer to configuration for this SEP */ member
383 typedef UINT16 (tAVDT_GETCAP_REQ) (BD_ADDR bd_addr, UINT8 seid, tAVDT_CFG *p_cfg, tAVDT_CTRL_CBACK …
579 extern UINT16 AVDT_GetCapReq(BD_ADDR bd_addr, UINT8 seid, tAVDT_CFG *p_cfg,
606 extern UINT16 AVDT_GetAllCapReq(BD_ADDR bd_addr, UINT8 seid, tAVDT_CFG *p_cfg,
636 tAVDT_CFG *p_cfg);
719 extern UINT16 AVDT_ReconfigReq(UINT8 handle, tAVDT_CFG *p_cfg);
Dgap_api.h148 BD_ADDR p_rem_bda, UINT16 psm, tL2CAP_CFG_INFO *p_cfg,
236 extern UINT16 GAP_ConnReconfig (UINT16 gap_handle, tL2CAP_CFG_INFO *p_cfg);
Dl2c_api.h479 extern UINT16 L2CA_ConnectLECocReq (UINT16 psm, BD_ADDR p_bd_addr, tL2CAP_LE_CFG_INFO *p_cfg);
493 UINT16 status, tL2CAP_LE_CFG_INFO *p_cfg);
538 extern BOOLEAN L2CA_ConfigReq (UINT16 cid, tL2CAP_CFG_INFO *p_cfg);
550 extern BOOLEAN L2CA_ConfigRsp (UINT16 cid, tL2CAP_CFG_INFO *p_cfg);
/system/bt/bta/include/
Dbta_av_sbc.h193 extern UINT8 bta_av_sbc_cfg_in_cap(UINT8 *p_cfg, tA2D_SBC_CIE *p_cap);
205 extern UINT8 bta_av_sbc_cfg_matches_cap(UINT8 *p_cfg, tA2D_SBC_CIE *p_cap);
/system/bt/stack/hid/
Dhidh_conn.c60 static void hidh_l2cif_config_ind (UINT16 l2cap_cid, tL2CAP_CFG_INFO *p_cfg);
61 static void hidh_l2cif_config_cfm (UINT16 l2cap_cid, tL2CAP_CFG_INFO *p_cfg);
468 static void hidh_l2cif_config_ind (UINT16 l2cap_cid, tL2CAP_CFG_INFO *p_cfg) in hidh_l2cif_config_ind() argument
489 if ((!p_cfg->mtu_present) || (p_cfg->mtu > HID_HOST_MTU)) in hidh_l2cif_config_ind()
492 p_hcon->rem_mtu_size = p_cfg->mtu; in hidh_l2cif_config_ind()
495 p_cfg->flush_to_present = FALSE; in hidh_l2cif_config_ind()
496 p_cfg->mtu_present = FALSE; in hidh_l2cif_config_ind()
497 p_cfg->result = L2CAP_CFG_OK; in hidh_l2cif_config_ind()
499 L2CA_ConfigRsp (l2cap_cid, p_cfg); in hidh_l2cif_config_ind()
552 static void hidh_l2cif_config_cfm (UINT16 l2cap_cid, tL2CAP_CFG_INFO *p_cfg) in hidh_l2cif_config_cfm() argument
[all …]
/system/bt/stack/gatt/
Dgatt_main.c55 static void gatt_l2cif_config_ind_cback (UINT16 l2cap_cid, tL2CAP_CFG_INFO *p_cfg);
56 static void gatt_l2cif_config_cfm_cback (UINT16 l2cap_cid, tL2CAP_CFG_INFO *p_cfg);
721 void gatt_l2cif_config_cfm_cback(UINT16 lcid, tL2CAP_CFG_INFO *p_cfg) in gatt_l2cif_config_cfm_cback() argument
733 if (p_cfg->result == L2CAP_CFG_OK) in gatt_l2cif_config_cfm_cback()
777 void gatt_l2cif_config_ind_cback(UINT16 lcid, tL2CAP_CFG_INFO *p_cfg) in gatt_l2cif_config_ind_cback() argument
785 if ( p_cfg->mtu_present && in gatt_l2cif_config_ind_cback()
786 (p_cfg->mtu >= GATT_MIN_BR_MTU_SIZE && p_cfg->mtu < L2CAP_DEFAULT_MTU)) in gatt_l2cif_config_ind_cback()
787 p_tcb->payload_size = p_cfg->mtu; in gatt_l2cif_config_ind_cback()
792 memset(p_cfg, 0, sizeof(tL2CAP_CFG_INFO)); in gatt_l2cif_config_ind_cback()
793 p_cfg->result = L2CAP_CFG_OK; in gatt_l2cif_config_ind_cback()
[all …]
/system/bt/bta/av/
Dbta_av_sbc.c522 UINT8 bta_av_sbc_cfg_matches_cap(UINT8 *p_cfg, tA2D_SBC_CIE *p_cap) in bta_av_sbc_cfg_matches_cap() argument
528 if ((status = A2D_ParsSbcInfo(&cfg_cie, p_cfg, TRUE)) != 0) in bta_av_sbc_cfg_matches_cap()
594 UINT8 bta_av_sbc_cfg_in_cap(UINT8 *p_cfg, tA2D_SBC_CIE *p_cap) in bta_av_sbc_cfg_in_cap() argument
600 if ((status = A2D_ParsSbcInfo(&cfg_cie, p_cfg, FALSE)) != 0) in bta_av_sbc_cfg_in_cap()

12