Home
last modified time | relevance | path

Searched refs:p_params (Results 1 – 17 of 17) sorted by relevance

/external/libnfc-nci/src/nfc/llcp/
Dllcp_util.c422 tLLCP_STATUS llcp_util_send_connect (tLLCP_DLCB *p_dlcb, tLLCP_CONNECTION_PARAMS *p_params) in llcp_util_send_connect() argument
428 if (p_params->miu != LLCP_DEFAULT_MIU) in llcp_util_send_connect()
432 if (p_params->rw != LLCP_DEFAULT_RW) in llcp_util_send_connect()
435 p_params->rw &= 0x0F; /* only 4 bits */ in llcp_util_send_connect()
437 if ((strlen (p_params->sn)) && (p_dlcb->remote_sap == LLCP_SAP_SDP)) in llcp_util_send_connect()
439 sn_len = (UINT16) (2 + strlen (p_params->sn)); /* TYPE, LEN, SN */ in llcp_util_send_connect()
457 UINT16_TO_BE_STREAM (p, p_params->miu - LLCP_DEFAULT_MIU); in llcp_util_send_connect()
464 UINT8_TO_BE_STREAM (p, p_params->rw); in llcp_util_send_connect()
471 memcpy (p, p_params->sn, sn_len - 2); in llcp_util_send_connect()
492 …_STATUS llcp_util_parse_connect (UINT8 *p_bytes, UINT16 length, tLLCP_CONNECTION_PARAMS *p_params) in llcp_util_parse_connect() argument
[all …]
Dllcp_dlc.c110 tLLCP_CONNECTION_PARAMS *p_params; in llcp_dlsm_idle() local
117 p_params = (tLLCP_CONNECTION_PARAMS *)p_data; in llcp_dlsm_idle()
119 status = llcp_util_send_connect (p_dlcb, p_params); in llcp_dlsm_idle()
123 p_dlcb->local_miu = p_params->miu; in llcp_dlsm_idle()
124 p_dlcb->local_rw = p_params->rw; in llcp_dlsm_idle()
137 p_params = (tLLCP_CONNECTION_PARAMS *) p_data; in llcp_dlsm_idle()
139 if (p_params->miu > llcp_cb.lcb.peer_miu) in llcp_dlsm_idle()
142 p_params->miu = llcp_cb.lcb.peer_miu; in llcp_dlsm_idle()
148 data.connect_ind.miu = p_params->miu; in llcp_dlsm_idle()
149 data.connect_ind.rw = p_params->rw; in llcp_dlsm_idle()
[all …]
Dllcp_api.c923 tLLCP_CONNECTION_PARAMS *p_params) in LLCP_ConnectReq() argument
956 if (strlen (p_params->sn) > LLCP_MAX_SN_LEN) in LLCP_ConnectReq()
959 strlen (p_params->sn)); in LLCP_ConnectReq()
964 if ((p_params) && (p_params->miu > llcp_cb.lcb.local_link_miu)) in LLCP_ConnectReq()
986 status = llcp_dlsm_execute (p_dlcb, LLCP_DLC_EVENT_API_CONNECT_REQ, p_params); in LLCP_ConnectReq()
1015 tLLCP_CONNECTION_PARAMS *p_params) in LLCP_ConnectCfm() argument
1023 if (!p_params) in LLCP_ConnectCfm()
1028 else if (p_params->miu > llcp_cb.lcb.local_link_miu) in LLCP_ConnectCfm()
1038 status = llcp_dlsm_execute (p_dlcb, LLCP_DLC_EVENT_API_CONNECT_CFM, p_params); in LLCP_ConnectCfm()
/external/libnfc-nci/src/nfc/nfc/
Dnfc_main.c894 tNFC_DISCOVER_PARAMS *p_params, in NFC_DiscoveryStart() argument
918 memcpy (p, p_params, params_size); in NFC_DiscoveryStart()
1186 tNFC_STATUS NFC_UpdateRFCommParams (tNFC_RF_COMM_PARAMS *p_params) in NFC_UpdateRFCommParams() argument
1193 if (p_params->include_rf_tech_mode) in NFC_UpdateRFCommParams()
1197 UINT8_TO_STREAM (p, p_params->rf_tech_n_mode); in NFC_UpdateRFCommParams()
1201 if (p_params->include_tx_bit_rate) in NFC_UpdateRFCommParams()
1205 UINT8_TO_STREAM (p, p_params->tx_bit_rate); in NFC_UpdateRFCommParams()
1209 if (p_params->include_tx_bit_rate) in NFC_UpdateRFCommParams()
1213 UINT8_TO_STREAM (p, p_params->rx_bit_rate); in NFC_UpdateRFCommParams()
1217 if (p_params->include_nfc_b_config) in NFC_UpdateRFCommParams()
[all …]
/external/bluetooth/bluedroid/stack/avdt/
Davdt_msg.c1467 void avdt_msg_send_cmd(tAVDT_CCB *p_ccb, void *p_scb, UINT8 sig_id, tAVDT_MSG *p_params) in avdt_msg_send_cmd() argument
1486 (*avdt_msg_bld_cmd[sig_id - 1])(&p, p_params); in avdt_msg_send_cmd()
1536 void avdt_msg_send_rsp(tAVDT_CCB *p_ccb, UINT8 sig_id, tAVDT_MSG *p_params) in avdt_msg_send_rsp() argument
1551 (*avdt_msg_bld_rsp[sig_id - 1])(&p, p_params); in avdt_msg_send_rsp()
1558 AVDT_BLD_LAYERSPEC(p_buf->layer_specific, AVDT_MSG_TYPE_RSP, p_params->hdr.label); in avdt_msg_send_rsp()
1581 void avdt_msg_send_rej(tAVDT_CCB *p_ccb, UINT8 sig_id, tAVDT_MSG *p_params) in avdt_msg_send_rej() argument
1602 AVDT_MSG_BLD_PARAM(p, p_params->hdr.err_param); in avdt_msg_send_rej()
1607 AVDT_MSG_BLD_SEID(p, p_params->hdr.err_param); in avdt_msg_send_rej()
1611 AVDT_MSG_BLD_ERR(p, p_params->hdr.err_code); in avdt_msg_send_rej()
1620 AVDT_BLD_LAYERSPEC(p_buf->layer_specific, AVDT_MSG_TYPE_REJ, p_params->hdr.label); in avdt_msg_send_rej()
[all …]
Davdt_int.h679 extern void avdt_msg_send_cmd(tAVDT_CCB *p_ccb, void *p_scb, UINT8 sig_id, tAVDT_MSG *p_params);
680 extern void avdt_msg_send_rsp(tAVDT_CCB *p_ccb, UINT8 sig_id, tAVDT_MSG *p_params);
681 extern void avdt_msg_send_rej(tAVDT_CCB *p_ccb, UINT8 sig_id, tAVDT_MSG *p_params);
682 extern void avdt_msg_send_grej(tAVDT_CCB *p_ccb, UINT8 sig_id, tAVDT_MSG *p_params);
/external/libnfc-nci/src/nfa/ce/
Dnfa_ce_act.c288 UINT8 tlv[32], *p_params; in nfc_ce_t3t_set_listen_params() local
294 p_params = tlv; in nfc_ce_t3t_set_listen_params()
303 UINT8_TO_STREAM (p_params, NFC_PMID_LF_T3T_ID1+t3t_idx); /* type */ in nfc_ce_t3t_set_listen_params()
304 UINT8_TO_STREAM (p_params, NCI_PARAM_LEN_LF_T3T_ID); /* length */ in nfc_ce_t3t_set_listen_params()
305 … UINT16_TO_BE_STREAM (p_params, p_cb->listen_info[i].t3t_system_code); /* System Code */ in nfc_ce_t3t_set_listen_params()
306 ARRAY_TO_BE_STREAM (p_params, p_cb->listen_info[i].t3t_nfcid2, NCI_RF_F_UID_LEN); in nfc_ce_t3t_set_listen_params()
317 UINT8_TO_STREAM (p_params, NFC_PMID_LF_T3T_FLAGS2); /* type */ in nfc_ce_t3t_set_listen_params()
318 UINT8_TO_STREAM (p_params, NCI_PARAM_LEN_LF_T3T_FLAGS2); /* length */ in nfc_ce_t3t_set_listen_params()
319 UINT16_TO_STREAM (p_params, t3t_flags2_mask); /* Mask of IDs to disable listening */ in nfc_ce_t3t_set_listen_params()
321 tlv_size = (UINT8) (p_params-tlv); in nfc_ce_t3t_set_listen_params()
/external/libnfc-nci/src/nfc/int/
Dllcp_int.h325 tLLCP_STATUS llcp_util_send_connect (tLLCP_DLCB *p_dlcb, tLLCP_CONNECTION_PARAMS *p_params);
326 …_STATUS llcp_util_parse_connect (UINT8 *p_bytes, UINT16 length, tLLCP_CONNECTION_PARAMS *p_params);
327 tLLCP_STATUS llcp_util_send_cc (tLLCP_DLCB *p_dlcb, tLLCP_CONNECTION_PARAMS *p_params);
/external/libnfc-nci/src/nfc/include/
Dllcp_api.h452 tLLCP_CONNECTION_PARAMS *p_params);
467 tLLCP_CONNECTION_PARAMS *p_params);
Dnfc_api.h998 tNFC_DISCOVER_PARAMS *p_params,
1135 NFC_API extern tNFC_STATUS NFC_UpdateRFCommParams (tNFC_RF_COMM_PARAMS *p_params);
/external/bluetooth/bluedroid/btif/include/
Dbtif_common.h171 bt_status_t btif_transfer_context (tBTIF_CBACK *p_cback, UINT16 event, char* p_params,
/external/bluetooth/bluedroid/btif/src/
Dbtif_core.c197 bt_status_t btif_transfer_context (tBTIF_CBACK *p_cback, UINT16 event, char* p_params, int param_le… in btif_transfer_context() argument
214 p_copy_cback(event, p_msg->p_param, p_params); in btif_transfer_context()
216 else if (p_params) in btif_transfer_context()
218 memcpy(p_msg->p_param, p_params, param_len); /* callback parameter data */ in btif_transfer_context()
/external/libnfc-nci/src/nfa/dm/
Dnfa_dm_api.c629 tNFA_STATUS NFA_UpdateRFCommParams (tNFA_RF_COMM_PARAMS *p_params) in NFA_UpdateRFCommParams() argument
638 memcpy (&p_msg->params, p_params, sizeof (tNFA_RF_COMM_PARAMS)); in NFA_UpdateRFCommParams()
Dnfa_dm_act.c1588 void nfa_dm_notify_activation_status (tNFA_STATUS status, tNFA_TAG_PARAMS *p_params) in nfa_dm_notify_activation_status() argument
1611 if (p_params) in nfa_dm_notify_activation_status()
1614 p_params, in nfa_dm_notify_activation_status()
/external/libnfc-nci/src/nfa/int/
Dnfa_dm_int.h498 void nfa_dm_notify_activation_status (tNFA_STATUS status, tNFA_TAG_PARAMS *p_params);
/external/libnfc-nci/src/nfa/include/
Dnfa_api.h946 NFC_API extern tNFA_STATUS NFA_UpdateRFCommParams (tNFA_RF_COMM_PARAMS *p_params);
/external/bluetooth/bluedroid/stack/include/
Dobx_api.h529 OBX_API extern tOBX_STATUS OBX_StartServer(tOBX_StartParams *p_params, tOBX_HANDLE *p_handle);