Home
last modified time | relevance | path

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

12

/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.c906 tLLCP_CONNECTION_PARAMS *p_params) in LLCP_ConnectReq() argument
922 if (!p_params) in LLCP_ConnectReq()
927 p_params = &params; in LLCP_ConnectReq()
948 if (strlen (p_params->sn) > LLCP_MAX_SN_LEN) in LLCP_ConnectReq()
951 strlen (p_params->sn)); in LLCP_ConnectReq()
956 if ((p_params) && (p_params->miu > llcp_cb.lcb.local_link_miu)) in LLCP_ConnectReq()
978 status = llcp_dlsm_execute (p_dlcb, LLCP_DLC_EVENT_API_CONNECT_REQ, p_params); in LLCP_ConnectReq()
1007 tLLCP_CONNECTION_PARAMS *p_params) in LLCP_ConnectCfm() argument
1016 if (!p_params) in LLCP_ConnectCfm()
1021 p_params = &params; in LLCP_ConnectCfm()
[all …]
/external/bluetooth/bluedroid/stack/btm/
Dbtm_ble_multi_adv.c96 void btm_ble_multi_adv_vsc_cmpl_cback (tBTM_VSC_CMPL *p_params) in btm_ble_multi_adv_vsc_cmpl_cback() argument
99 UINT8 *p = p_params->p_param_buf, inst_id; in btm_ble_multi_adv_vsc_cmpl_cback()
100 UINT16 len = p_params->param_len; in btm_ble_multi_adv_vsc_cmpl_cback()
237 tBTM_BLE_ADV_PARAMS *p_params, in btm_ble_multi_adv_set_params() argument
249 UINT16_TO_STREAM (pp, p_params->adv_int_min); in btm_ble_multi_adv_set_params()
250 UINT16_TO_STREAM (pp, p_params->adv_int_max); in btm_ble_multi_adv_set_params()
251 UINT8_TO_STREAM (pp, p_params->adv_type); in btm_ble_multi_adv_set_params()
267 p_params->adv_int_min,p_params->adv_int_max,p_params->adv_type); in btm_ble_multi_adv_set_params()
272 if (p_params->channel_map == 0 || p_params->channel_map > BTM_BLE_DEFAULT_ADV_CHNL_MAP) in btm_ble_multi_adv_set_params()
273 p_params->channel_map = BTM_BLE_DEFAULT_ADV_CHNL_MAP; in btm_ble_multi_adv_set_params()
[all …]
Dbtm_ble_cont_energy.c44 void btm_ble_cont_energy_cmpl_cback (tBTM_VSC_CMPL *p_params) in btm_ble_cont_energy_cmpl_cback() argument
46 UINT8 *p = p_params->p_param_buf; in btm_ble_cont_energy_cmpl_cback()
47 UINT16 len = p_params->param_len; in btm_ble_cont_energy_cmpl_cback()
Dbtm_ble_batchscan.c50 void btm_ble_batchscan_vsc_cmpl_cback (tBTM_VSC_CMPL *p_params);
316 void btm_ble_batchscan_vsc_cmpl_cback (tBTM_VSC_CMPL *p_params) in btm_ble_batchscan_vsc_cmpl_cback() argument
318 UINT8 *p = p_params->p_param_buf; in btm_ble_batchscan_vsc_cmpl_cback()
319 UINT16 len = p_params->param_len; in btm_ble_batchscan_vsc_cmpl_cback()
409 p = (uint8_t *)(p_params->p_param_buf + 4); in btm_ble_batchscan_vsc_cmpl_cback()
Dbtm_ble_adv_filter.c243 void btm_ble_scan_pf_cmpl_cback(tBTM_VSC_CMPL *p_params) in btm_ble_scan_pf_cmpl_cback() argument
246 UINT8 *p = p_params->p_param_buf, op_subcode = 0, action = 0xff; in btm_ble_scan_pf_cmpl_cback()
247 UINT16 evt_len = p_params->param_len; in btm_ble_scan_pf_cmpl_cback()
/external/libnfc-nci/src/nfc/nfc/
Dnfc_main.c896 tNFC_DISCOVER_PARAMS *p_params, in NFC_DiscoveryStart() argument
920 memcpy (p, p_params, params_size); in NFC_DiscoveryStart()
1215 tNFC_STATUS NFC_UpdateRFCommParams (tNFC_RF_COMM_PARAMS *p_params) in NFC_UpdateRFCommParams() argument
1222 if (p_params->include_rf_tech_mode) in NFC_UpdateRFCommParams()
1226 UINT8_TO_STREAM (p, p_params->rf_tech_n_mode); in NFC_UpdateRFCommParams()
1230 if (p_params->include_tx_bit_rate) in NFC_UpdateRFCommParams()
1234 UINT8_TO_STREAM (p, p_params->tx_bit_rate); in NFC_UpdateRFCommParams()
1238 if (p_params->include_tx_bit_rate) in NFC_UpdateRFCommParams()
1242 UINT8_TO_STREAM (p, p_params->rx_bit_rate); in NFC_UpdateRFCommParams()
1246 if (p_params->include_nfc_b_config) in NFC_UpdateRFCommParams()
[all …]
/external/bluetooth/bluedroid/stack/avdt/
Davdt_msg.c1477 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
1496 (*avdt_msg_bld_cmd[sig_id - 1])(&p, p_params); in avdt_msg_send_cmd()
1546 void avdt_msg_send_rsp(tAVDT_CCB *p_ccb, UINT8 sig_id, tAVDT_MSG *p_params) in avdt_msg_send_rsp() argument
1561 (*avdt_msg_bld_rsp[sig_id - 1])(&p, p_params); in avdt_msg_send_rsp()
1568 AVDT_BLD_LAYERSPEC(p_buf->layer_specific, AVDT_MSG_TYPE_RSP, p_params->hdr.label); in avdt_msg_send_rsp()
1591 void avdt_msg_send_rej(tAVDT_CCB *p_ccb, UINT8 sig_id, tAVDT_MSG *p_params) in avdt_msg_send_rej() argument
1612 AVDT_MSG_BLD_PARAM(p, p_params->hdr.err_param); in avdt_msg_send_rej()
1617 AVDT_MSG_BLD_SEID(p, p_params->hdr.err_param); in avdt_msg_send_rej()
1621 AVDT_MSG_BLD_ERR(p, p_params->hdr.err_code); in avdt_msg_send_rej()
1630 AVDT_BLD_LAYERSPEC(p_buf->layer_specific, AVDT_MSG_TYPE_REJ, p_params->hdr.label); in avdt_msg_send_rej()
[all …]
Davdt_int.h680 extern void avdt_msg_send_cmd(tAVDT_CCB *p_ccb, void *p_scb, UINT8 sig_id, tAVDT_MSG *p_params);
681 extern void avdt_msg_send_rsp(tAVDT_CCB *p_ccb, UINT8 sig_id, tAVDT_MSG *p_params);
682 extern void avdt_msg_send_rej(tAVDT_CCB *p_ccb, UINT8 sig_id, tAVDT_MSG *p_params);
683 extern void avdt_msg_send_grej(tAVDT_CCB *p_ccb, UINT8 sig_id, tAVDT_MSG *p_params);
/external/libnfc-nci/src/nfc/int/
Dllcp_int.h324 tLLCP_STATUS llcp_util_send_connect (tLLCP_DLCB *p_dlcb, tLLCP_CONNECTION_PARAMS *p_params);
325 …_STATUS llcp_util_parse_connect (UINT8 *p_bytes, UINT16 length, tLLCP_CONNECTION_PARAMS *p_params);
326 tLLCP_STATUS llcp_util_send_cc (tLLCP_DLCB *p_dlcb, tLLCP_CONNECTION_PARAMS *p_params);
/external/libnfc-nci/src/nfa/ce/
Dnfa_ce_act.c291 UINT8 tlv[32], *p_params; in nfc_ce_t3t_set_listen_params() local
297 p_params = tlv; in nfc_ce_t3t_set_listen_params()
306 UINT8_TO_STREAM (p_params, NFC_PMID_LF_T3T_ID1+t3t_idx); /* type */ in nfc_ce_t3t_set_listen_params()
307 UINT8_TO_STREAM (p_params, NCI_PARAM_LEN_LF_T3T_ID); /* length */ in nfc_ce_t3t_set_listen_params()
308 … UINT16_TO_BE_STREAM (p_params, p_cb->listen_info[i].t3t_system_code); /* System Code */ in nfc_ce_t3t_set_listen_params()
309 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()
320 UINT8_TO_STREAM (p_params, NFC_PMID_LF_T3T_FLAGS2); /* type */ in nfc_ce_t3t_set_listen_params()
321 UINT8_TO_STREAM (p_params, NCI_PARAM_LEN_LF_T3T_FLAGS2); /* length */ in nfc_ce_t3t_set_listen_params()
322 UINT16_TO_STREAM (p_params, t3t_flags2_mask); /* Mask of IDs to disable listening */ in nfc_ce_t3t_set_listen_params()
324 tlv_size = (UINT8) (p_params-tlv); in nfc_ce_t3t_set_listen_params()
/external/libnfc-nci/src/nfc/include/
Dllcp_api.h452 tLLCP_CONNECTION_PARAMS *p_params);
467 tLLCP_CONNECTION_PARAMS *p_params);
Dnfc_api.h999 tNFC_DISCOVER_PARAMS *p_params,
1155 NFC_API extern tNFC_STATUS NFC_UpdateRFCommParams (tNFC_RF_COMM_PARAMS *p_params);
/external/bluetooth/bluedroid/bta/dm/
Dbta_dm_api.c2018 void BTA_BleEnableAdvInstance (tBTA_BLE_ADV_PARAMS *p_params, in BTA_BleEnableAdvInstance() argument
2033 if (p_params != NULL) in BTA_BleEnableAdvInstance()
2035 p_msg->p_params = (void *)(p_msg + 1); in BTA_BleEnableAdvInstance()
2036 memcpy(p_msg->p_params, p_params, sizeof(tBTA_BLE_ADV_PARAMS)); in BTA_BleEnableAdvInstance()
2057 void BTA_BleUpdateAdvInstParam (UINT8 inst_id, tBTA_BLE_ADV_PARAMS *p_params) in BTA_BleUpdateAdvInstParam() argument
2068 p_msg->p_params = (void *)(p_msg + 1); in BTA_BleUpdateAdvInstParam()
2069 memcpy(p_msg->p_params, p_params, sizeof(tBTA_BLE_ADV_PARAMS)); in BTA_BleUpdateAdvInstParam()
Dbta_dm_int.h567 tBTA_BLE_ADV_PARAMS *p_params; member
574 tBTA_BLE_ADV_PARAMS *p_params; member
/external/bluetooth/bluedroid/vnd/ble/
Dvendor_ble.c275 void btm_ble_vendor_irk_vsc_op_cmpl (tBTM_VSC_CMPL *p_params) in btm_ble_vendor_irk_vsc_op_cmpl() argument
278 UINT8 *p = p_params->p_param_buf, op_subcode; in btm_ble_vendor_irk_vsc_op_cmpl()
279 UINT16 evt_len = p_params->param_len; in btm_ble_vendor_irk_vsc_op_cmpl()
/external/bluetooth/bluedroid/btif/include/
Dbtif_common.h176 bt_status_t btif_transfer_context (tBTIF_CBACK *p_cback, UINT16 event, char* p_params,
/external/bluetooth/bluedroid/btif/src/
Dbtif_core.c201 bt_status_t btif_transfer_context (tBTIF_CBACK *p_cback, UINT16 event, char* p_params, int param_le… in btif_transfer_context() argument
218 p_copy_cback(event, p_msg->p_param, p_params); in btif_transfer_context()
220 else if (p_params) in btif_transfer_context()
222 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.c775 tNFA_STATUS NFA_UpdateRFCommParams (tNFA_RF_COMM_PARAMS *p_params) in NFA_UpdateRFCommParams() argument
784 memcpy (&p_msg->params, p_params, sizeof (tNFA_RF_COMM_PARAMS)); in NFA_UpdateRFCommParams()
Dnfa_dm_act.c1739 void nfa_dm_notify_activation_status (tNFA_STATUS status, tNFA_TAG_PARAMS *p_params) in nfa_dm_notify_activation_status() argument
1763 if (p_params) in nfa_dm_notify_activation_status()
1766 p_params, in nfa_dm_notify_activation_status()
/external/bluetooth/bluedroid/stack/include/
Dbtm_ble_api.h1564 BTM_API extern tBTM_STATUS BTM_BleEnableAdvInstance (tBTM_BLE_ADV_PARAMS *p_params,
1581 BTM_API extern tBTM_STATUS BTM_BleUpdateAdvInstParam (UINT8 inst_id, tBTM_BLE_ADV_PARAMS *p_params);
/external/libnfc-nci/src/nfa/int/
Dnfa_dm_int.h522 void nfa_dm_notify_activation_status (tNFA_STATUS status, tNFA_TAG_PARAMS *p_params);
/external/libnfc-nci/src/nfa/include/
Dnfa_api.h1051 NFC_API extern tNFA_STATUS NFA_UpdateRFCommParams (tNFA_RF_COMM_PARAMS *p_params);
/external/bluetooth/bluedroid/bta/include/
Dbta_api.h2375 BTA_API extern void BTA_BleEnableAdvInstance (tBTA_BLE_ADV_PARAMS *p_params,
2391 tBTA_BLE_ADV_PARAMS *p_params);

12