Searched defs:p_cfg (Results 1 - 25 of 28) sorted by relevance

12

/external/bluetooth/bluedroid/stack/avct/
H A Davct_l2c.c40 void avct_l2c_config_cfm_cback(UINT16 lcid, tL2CAP_CFG_INFO *p_cfg);
41 void avct_l2c_config_ind_cback(UINT16 lcid, tL2CAP_CFG_INFO *p_cfg);
237 void avct_l2c_config_cfm_cback(UINT16 lcid, tL2CAP_CFG_INFO *p_cfg) argument
245 lcid, p_lcb->ch_state, p_cfg->result);
250 if (p_cfg->result == L2CAP_CFG_OK)
267 p_lcb->ch_result = p_cfg->result;
287 void avct_l2c_config_ind_cback(UINT16 lcid, tL2CAP_CFG_INFO *p_cfg) argument
296 if (p_cfg->mtu_present)
298 p_lcb->peer_mtu = p_cfg->mtu;
306 memset(p_cfg,
[all...]
/external/bluetooth/bluedroid/stack/avdt/
H A Davdt_l2c.c40 void avdt_l2c_config_cfm_cback(UINT16 lcid, tL2CAP_CFG_INFO *p_cfg);
41 void avdt_l2c_config_ind_cback(UINT16 lcid, tL2CAP_CFG_INFO *p_cfg);
346 void avdt_l2c_config_cfm_cback(UINT16 lcid, tL2CAP_CFG_INFO *p_cfg) argument
357 if (p_cfg->result == L2CAP_CONN_OK)
388 void avdt_l2c_config_ind_cback(UINT16 lcid, tL2CAP_CFG_INFO *p_cfg) argument
396 if (p_cfg->mtu_present)
398 p_tbl->peer_mtu = p_cfg->mtu;
407 memset(p_cfg, 0, sizeof(tL2CAP_CFG_INFO));
408 p_cfg->result = L2CAP_CFG_OK;
409 L2CA_ConfigRsp(lcid, p_cfg);
[all...]
H A Davdt_api.c376 ** The memory pointed to by p_cfg is allocated by the
385 UINT16 AVDT_GetCapReq(BD_ADDR bd_addr, UINT8 seid, tAVDT_CFG *p_cfg, tAVDT_CTRL_CBACK *p_cback) argument
393 getcap.p_cfg = p_cfg;
413 ** The memory pointed to by p_cfg is allocated by the
422 UINT16 AVDT_GetAllCapReq(BD_ADDR bd_addr, UINT8 seid, tAVDT_CFG *p_cfg, tAVDT_CTRL_CBACK *p_cback) argument
430 getcap.p_cfg = p_cfg;
483 UINT16 AVDT_OpenReq(UINT8 handle, BD_ADDR bd_addr, UINT8 seid, tAVDT_CFG *p_cfg) argument
519 evt.msg.config_cmd.p_cfg
745 AVDT_ReconfigReq(UINT8 handle, tAVDT_CFG *p_cfg) argument
[all...]
H A Davdt_msg.c269 static void avdt_msg_bld_cfg(UINT8 **p, tAVDT_CFG *p_cfg) argument
276 if (p_cfg->psc_mask & AVDT_PSC_TRANS)
284 if (p_cfg->psc_mask & AVDT_PSC_REPORT)
292 if (p_cfg->num_codec != 0)
295 len = p_cfg->codec_info[0] + 1;
299 memcpy(*p, p_cfg->codec_info, len);
304 if (p_cfg->num_protect != 0)
307 len = p_cfg->protect_info[0] + 1;
311 memcpy(*p, p_cfg->protect_info, len);
317 if (p_cfg
578 avdt_msg_prs_cfg(tAVDT_CFG *p_cfg, UINT8 *p, UINT16 len, UINT8* p_elem, UINT8 sig_id) argument
[all...]
H A Davdt_scb_act.c153 p_data->msg.svccap.p_cfg = &p_scb->curr_cfg;
698 memcpy(&p_scb->req_cfg, p_data->msg.reconfig_cmd.p_cfg, sizeof(tAVDT_CFG));
735 p_data->msg.svccap.p_cfg = &p_scb->curr_cfg;
805 tAVDT_CFG *p_cfg; local
809 p_cfg = p_data->msg.config_cmd.p_cfg;
810 if(p_scb->cs.cfg.codec_info[AVDT_CODEC_TYPE_INDEX] == p_cfg->codec_info[AVDT_CODEC_TYPE_INDEX])
818 memcpy(&p_scb->req_cfg, p_cfg, sizeof(tAVDT_CFG));
1529 memcpy(&p_scb->req_cfg, p_data->msg.config_cmd.p_cfg, sizeof(tAVDT_CFG));
1641 tAVDT_CFG *p_req, *p_cfg; local
[all...]
/external/bluetooth/bluedroid/stack/l2cap/
H A Dl2c_csm.c705 tL2CAP_CFG_INFO *p_cfg = (tL2CAP_CFG_INFO *)p_data; local
726 if ((cfg_result = l2cu_process_peer_cfg_req (p_ccb, p_cfg)) == L2CAP_PEER_CFG_OK)
729 p_ccb->local_cid, (p_cfg->flags & L2CAP_CFG_FLAGS_MASK_CONT));
730 (*p_ccb->p_rcb->api.pL2CA_ConfigInd_Cb)(p_ccb->local_cid, p_cfg);
741 l2cu_send_peer_config_rsp (p_ccb, p_cfg);
746 l2cu_process_peer_cfg_rsp (p_ccb, p_cfg);
748 if (p_cfg->result != L2CAP_CFG_PENDING)
800 (*p_ccb->p_rcb->api.pL2CA_ConfigCfm_Cb)(p_ccb->local_cid, p_cfg);
808 if (l2c_fcr_renegotiate_chan(p_ccb, p_cfg) == FALSE)
810 L2CAP_TRACE_API2 ("L2CAP - Calling Config_Rsp_Cb(), CID: 0x%04x, Failure: %d", p_ccb->local_cid, p_cfg
938 tL2CAP_CFG_INFO *p_cfg; local
[all...]
H A Dl2c_ucd.c172 static void l2c_ucd_config_ind_cback (UINT16 cid, tL2CAP_CFG_INFO *p_cfg) argument
186 static void l2c_ucd_config_cfm_cback (UINT16 cid, tL2CAP_CFG_INFO *p_cfg) argument
H A Dl2c_api.c430 ** Note: The FCR options of p_cfg are not used.
435 BOOLEAN L2CA_ConfigReq (UINT16 cid, tL2CAP_CFG_INFO *p_cfg) argument
440 cid, p_cfg->fcr_present, p_cfg->fcr.mode, p_cfg->mtu_present, p_cfg->mtu);
450 if (!l2c_fcr_adj_our_req_options(p_ccb, p_cfg))
454 if ((!p_cfg->fcr_present)||(p_cfg->fcr.mode == L2CAP_FCR_BASIC_MODE))
457 p_cfg
486 L2CA_ConfigRsp(UINT16 cid, tL2CAP_CFG_INFO *p_cfg) argument
[all...]
H A Dl2c_fcr.c1859 BOOLEAN l2c_fcr_adj_our_req_options (tL2C_CCB *p_ccb, tL2CAP_CFG_INFO *p_cfg) argument
1861 tL2CAP_FCR_OPTS *p_fcr = &p_cfg->fcr;
1875 if (p_cfg->fcr_present && p_fcr->mode != L2CAP_FCR_BASIC_MODE)
1885 if (p_cfg->fcr_present && !(p_ccb->config_done & RECONFIG_FLAG))
1899 p_cfg->fcr_present = FALSE;
1900 p_cfg->fcs_present = FALSE; /* Illegal to use FCS option in basic mode */
1901 p_cfg->ext_flow_spec_present = FALSE; /* Illegal to use extended flow spec in basic mode */
1927 if ( (p_cfg->mtu_present) && (p_cfg->mtu > p_ccb->max_rx_mtu) )
1929 L2CAP_TRACE_WARNING2 ("L2CAP - MTU: %u larger than buf size: %u", p_cfg
2012 l2c_fcr_adj_our_rsp_options(tL2C_CCB *p_ccb, tL2CAP_CFG_INFO *p_cfg) argument
2053 l2c_fcr_renegotiate_chan(tL2C_CCB *p_ccb, tL2CAP_CFG_INFO *p_cfg) argument
2157 l2c_fcr_process_peer_cfg_req(tL2C_CCB *p_ccb, tL2CAP_CFG_INFO *p_cfg) argument
2300 tL2C_FCR_TEST_CFG *p_cfg; local
[all...]
H A Dl2c_utils.c517 void l2cu_send_peer_config_req (tL2C_CCB *p_ccb, tL2CAP_CFG_INFO *p_cfg) argument
529 if (p_cfg->mtu_present)
531 if (p_cfg->flush_to_present)
533 if (p_cfg->qos_present)
535 if (p_cfg->fcr_present)
537 if (p_cfg->fcs_present)
539 if (p_cfg->ext_flow_spec_present)
553 UINT16_TO_STREAM (p, p_cfg->flags); /* Flags (continuation) */
556 if (p_cfg->mtu_present)
560 UINT16_TO_STREAM (p, p_cfg
624 l2cu_send_peer_config_rsp(tL2C_CCB *p_ccb, tL2CAP_CFG_INFO *p_cfg) argument
1791 l2cu_process_peer_cfg_req(tL2C_CCB *p_ccb, tL2CAP_CFG_INFO *p_cfg) argument
1924 l2cu_process_peer_cfg_rsp(tL2C_CCB *p_ccb, tL2CAP_CFG_INFO *p_cfg) argument
1961 l2cu_process_our_cfg_req(tL2C_CCB *p_ccb, tL2CAP_CFG_INFO *p_cfg) argument
2054 l2cu_process_our_cfg_rsp(tL2C_CCB *p_ccb, tL2CAP_CFG_INFO *p_cfg) argument
[all...]
/external/bluetooth/bluedroid/stack/rfcomm/
H A Drfc_l2cap_if.c41 static void RFCOMM_ConfigInd (UINT16 lcid, tL2CAP_CFG_INFO *p_cfg);
42 static void RFCOMM_ConfigCnf (UINT16 lcid, tL2CAP_CFG_INFO *p_cfg);
213 void RFCOMM_ConfigInd (UINT16 lcid, tL2CAP_CFG_INFO *p_cfg) argument
223 rfc_mx_sm_execute (p_mcb, RFC_MX_EVENT_CONF_IND, (void *)p_cfg);
236 void RFCOMM_ConfigCnf (UINT16 lcid, tL2CAP_CFG_INFO *p_cfg) argument
246 rfc_mx_sm_execute (p_mcb, RFC_MX_EVENT_CONF_CNF, (void *)p_cfg);
H A Drfc_mx_fsm.c51 static void rfc_mx_conf_ind (tRFC_MCB *p_mcb, tL2CAP_CFG_INFO *p_cfg);
52 static void rfc_mx_conf_cnf (tRFC_MCB *p_mcb, tL2CAP_CFG_INFO *p_cfg);
590 static void rfc_mx_conf_cnf (tRFC_MCB *p_mcb, tL2CAP_CFG_INFO *p_cfg) argument
592 RFCOMM_TRACE_EVENT2 ("rfc_mx_conf_cnf p_cfg:%08x res:%d ", p_cfg, (p_cfg) ? p_cfg->result : 0);
594 if (p_cfg->result != L2CAP_CFG_OK)
598 PORT_StartCnf (p_mcb, p_cfg->result);
631 static void rfc_mx_conf_ind (tRFC_MCB *p_mcb, tL2CAP_CFG_INFO *p_cfg) argument
[all...]
/external/bluetooth/bluedroid/stack/sdp/
H A Dsdp_main.c57 static void sdp_config_ind (UINT16 l2cap_cid, tL2CAP_CFG_INFO *p_cfg);
58 static void sdp_config_cfm (UINT16 l2cap_cid, tL2CAP_CFG_INFO *p_cfg);
306 static void sdp_config_ind (UINT16 l2cap_cid, tL2CAP_CFG_INFO *p_cfg) argument
318 if (!p_cfg->mtu_present)
325 if (p_cfg->mtu > SDP_MTU_SIZE)
328 p_ccb->rem_mtu_size = p_cfg->mtu;
332 p_cfg->flush_to_present = FALSE;
333 p_cfg->mtu_present = FALSE;
334 p_cfg->result = L2CAP_CFG_OK;
337 if (p_cfg
400 sdp_config_cfm(UINT16 l2cap_cid, tL2CAP_CFG_INFO *p_cfg) argument
[all...]
/external/bluetooth/bluedroid/stack/mcap/
H A Dmca_l2c.c361 void mca_l2c_config_cfm_cback(UINT16 lcid, tL2CAP_CFG_INFO *p_cfg) argument
372 if (p_cfg->result == L2CAP_CONN_OK)
403 void mca_l2c_config_ind_cback(UINT16 lcid, tL2CAP_CFG_INFO *p_cfg) argument
412 if (p_cfg->mtu_present)
414 p_tbl->peer_mtu = p_cfg->mtu;
424 MCA_TRACE_DEBUG3("peer_mtu: %d, lcid: x%x mtu_present:%d",p_tbl->peer_mtu, lcid, p_cfg->mtu_present);
427 memset(p_cfg, 0, sizeof(tL2CAP_CFG_INFO));
428 p_cfg->result = result;
429 L2CA_ConfigRsp(lcid, p_cfg);
H A Dmca_main.c255 void mca_set_cfg_by_tbl(tL2CAP_CFG_INFO *p_cfg, tMCA_TC_TBL *p_tbl) argument
271 memset(p_cfg, 0, sizeof(tL2CAP_CFG_INFO));
272 p_cfg->mtu_present = TRUE;
273 p_cfg->mtu = p_tbl->my_mtu;
274 p_cfg->fcr_present = TRUE;
275 memcpy(&p_cfg->fcr, p_opt, sizeof (tL2CAP_FCR_OPTS));
278 p_cfg->fcs_present = TRUE;
279 p_cfg->fcs = (fcs & MCA_FCS_USE_MASK);
/external/bluetooth/bluedroid/bta/av/
H A Dbta_av_sbc.c520 UINT8 bta_av_sbc_cfg_in_cap(UINT8 *p_cfg, tA2D_SBC_CIE *p_cap) argument
526 if ((status = A2D_ParsSbcInfo(&cfg_cie, p_cfg, FALSE)) != 0)
H A Dbta_av_aact.c421 (p_msg->msg.reconfig_cfm.p_cfg->codec_info[0]<<16)+(p_msg->msg.reconfig_cfm.p_cfg->codec_info[1]<<8)+p_msg->msg.reconfig_cfm.p_cfg->codec_info[2],
422 (p_msg->msg.reconfig_cfm.p_cfg->codec_info[3]<<16)+(p_msg->msg.reconfig_cfm.p_cfg->codec_info[4]<<8)+p_msg->msg.reconfig_cfm.p_cfg->codec_info[5],
423 (p_msg->msg.reconfig_cfm.p_cfg->codec_info[6]<<16)+(p_msg->msg.reconfig_cfm.p_cfg->codec_info[7]<<8)+p_msg->msg.reconfig_cfm.p_cfg->codec_info[8],
424 p_msg->msg.reconfig_cfm.p_cfg
1911 tAVDT_CFG *p_cfg; local
[all...]
/external/bluetooth/bluedroid/stack/bnep/
H A Dbnep_main.c60 static void bnep_config_ind (UINT16 l2cap_cid, tL2CAP_CFG_INFO *p_cfg);
61 static void bnep_config_cfm (UINT16 l2cap_cid, tL2CAP_CFG_INFO *p_cfg);
214 static void bnep_config_ind (UINT16 l2cap_cid, tL2CAP_CFG_INFO *p_cfg) argument
229 if ((!p_cfg->mtu_present) || (p_cfg->mtu < BNEP_MIN_MTU_SIZE))
231 mtu = p_cfg->mtu;
232 p_cfg->flush_to_present = FALSE;
233 p_cfg->mtu_present = TRUE;
234 p_cfg->mtu = BNEP_MIN_MTU_SIZE;
235 p_cfg
288 bnep_config_cfm(UINT16 l2cap_cid, tL2CAP_CFG_INFO *p_cfg) argument
[all...]
/external/bluetooth/bluedroid/stack/hid/
H A Dhidh_conn.c54 static void hidh_l2cif_config_ind (UINT16 l2cap_cid, tL2CAP_CFG_INFO *p_cfg);
55 static void hidh_l2cif_config_cfm (UINT16 l2cap_cid, tL2CAP_CFG_INFO *p_cfg);
458 static void hidh_l2cif_config_ind (UINT16 l2cap_cid, tL2CAP_CFG_INFO *p_cfg) argument
480 if ((!p_cfg->mtu_present) || (p_cfg->mtu > HID_HOST_MTU))
483 p_hcon->rem_mtu_size = p_cfg->mtu;
486 p_cfg->flush_to_present = FALSE;
487 p_cfg->mtu_present = FALSE;
488 p_cfg->result = L2CAP_CFG_OK;
490 L2CA_ConfigRsp (l2cap_cid, p_cfg);
519 hidh_l2cif_config_cfm(UINT16 l2cap_cid, tL2CAP_CFG_INFO *p_cfg) argument
[all...]
/external/bluetooth/bluedroid/stack/gap/
H A Dgap_conn.c34 static void gap_config_ind (UINT16 l2cap_cid, tL2CAP_CFG_INFO *p_cfg);
35 static void gap_config_cfm (UINT16 l2cap_cid, tL2CAP_CFG_INFO *p_cfg);
122 BD_ADDR p_rem_bda, UINT16 psm, tL2CAP_CFG_INFO *p_cfg,
159 if (p_cfg)
160 p_ccb->cfg = *p_cfg;
578 ** p_cfg - Pointer to new configuration
584 UINT16 GAP_ConnReconfig (UINT16 gap_handle, tL2CAP_CFG_INFO *p_cfg) argument
591 p_ccb->cfg = *p_cfg;
594 L2CA_CONFIG_REQ (p_ccb->connection_id, p_cfg);
877 static void gap_config_ind (UINT16 l2cap_cid, tL2CAP_CFG_INFO *p_cfg) argument
121 GAP_ConnOpen(char *p_serv_name, UINT8 service_id, BOOLEAN is_server, BD_ADDR p_rem_bda, UINT16 psm, tL2CAP_CFG_INFO *p_cfg, UINT16 security, UINT8 chan_mode_mask, tGAP_CONN_CALLBACK *p_cb) argument
927 gap_config_cfm(UINT16 l2cap_cid, tL2CAP_CFG_INFO *p_cfg) argument
[all...]
/external/bluetooth/bluedroid/stack/gatt/
H A Dgatt_main.c51 static void gatt_l2cif_config_ind_cback (UINT16 l2cap_cid, tL2CAP_CFG_INFO *p_cfg);
52 static void gatt_l2cif_config_cfm_cback (UINT16 l2cap_cid, tL2CAP_CFG_INFO *p_cfg);
610 void gatt_l2cif_config_cfm_cback(UINT16 lcid, tL2CAP_CFG_INFO *p_cfg) argument
622 if (p_cfg->result == L2CAP_CFG_OK)
666 void gatt_l2cif_config_ind_cback(UINT16 lcid, tL2CAP_CFG_INFO *p_cfg) argument
674 if ( p_cfg->mtu_present &&
675 (p_cfg->mtu >= GATT_MIN_BR_MTU_SIZE && p_cfg->mtu < L2CAP_DEFAULT_MTU))
676 p_tcb->payload_size = p_cfg->mtu;
681 memset(p_cfg,
[all...]
/external/libnfc-nci/src/nfa/dm/
H A Dnfa_dm_discover.c431 tNFA_LISTEN_CFG *p_cfg = &nfa_dm_cb.disc_cb.excl_listen_config; local
440 &&(p_cfg->la_enable) )
446 UINT8_TO_STREAM (p, p_cfg->la_bit_frame_sdd);
450 UINT8_TO_STREAM (p, p_cfg->la_platform_config);
454 UINT8_TO_STREAM (p, p_cfg->la_sel_info);
456 if (p_cfg->la_platform_config == NCI_PARAM_PLATFORM_T1T)
463 if (p_cfg->la_sel_info & NCI_PARAM_SEL_INFO_ISODEP)
468 if (p_cfg->la_sel_info & NCI_PARAM_SEL_INFO_NFCDEP)
481 UINT8_TO_STREAM (p, p_cfg->la_nfcid1_len);
482 ARRAY_TO_STREAM (p, p_cfg
[all...]
/external/bluetooth/bluedroid/bta/hl/
H A Dbta_hl_utils.c2680 BOOLEAN bta_hl_get_l2cap_cfg(tBTA_HL_MDL_HANDLE mdl_hnd, tBTA_HL_L2CAP_CFG_INFO *p_cfg) argument
2694 p_cfg->fcs = BTA_HL_MCA_NO_FCS;
2697 p_cfg->fcs |= p_our_cfg->fcs;
2701 p_cfg->fcs = BTA_HL_MCA_USE_FCS;
2704 if (p_cfg->fcs != BTA_HL_MCA_USE_FCS )
2708 p_cfg->fcs |= p_peer_cfg->fcs;
2712 p_cfg->fcs = BTA_HL_MCA_USE_FCS;
2716 p_cfg->mtu =0;
2719 p_cfg->mtu = p_peer_cfg->mtu;
2723 p_cfg
[all...]
/external/bluetooth/bluedroid/btif/src/
H A Dbtif_media_task.c997 tBTIF_AV_MEDIA_FEED_CFG *p_cfg; local
999 p_cfg = &btif_media_cb.media_feeding.cfg;
1006 (p_cfg->pcm.num_channel*p_cfg->pcm.sampling_freq*p_cfg->pcm.bit_per_sample/8);
/external/bluetooth/bluedroid/stack/include/
H A Davdt_api.h293 tAVDT_CFG *p_cfg; /* Pointer to configuration for this SEP */ member in struct:__anon1188
299 tAVDT_CFG *p_cfg; /* Pointer to configuration for this SEP */ member in struct:__anon1189
388 typedef UINT16 (tAVDT_GETCAP_REQ) (BD_ADDR bd_addr, UINT8 seid, tAVDT_CFG *p_cfg, tAVDT_CTRL_CBACK *p_cback);
534 ** The memory pointed to by p_cfg is allocated by the
543 AVDT_API extern UINT16 AVDT_GetCapReq(BD_ADDR bd_addr, UINT8 seid, tAVDT_CFG *p_cfg,
561 ** The memory pointed to by p_cfg is allocated by the
570 AVDT_API extern UINT16 AVDT_GetAllCapReq(BD_ADDR bd_addr, UINT8 seid, tAVDT_CFG *p_cfg,
600 tAVDT_CFG *p_cfg);
683 AVDT_API extern UINT16 AVDT_ReconfigReq(UINT8 handle, tAVDT_CFG *p_cfg);

Completed in 359 milliseconds

12