/external/libnfc-nci/src/nfc/llcp/ |
D | llcp_util.c | 422 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 …]
|
D | llcp_dlc.c | 110 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 …]
|
D | llcp_api.c | 906 tLLCP_CONNECTION_PARAMS *p_params) in LLCP_ConnectReq() argument 922 if (!p_params) in LLCP_ConnectReq() 927 p_params = ¶ms; 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 = ¶ms; in LLCP_ConnectCfm() [all …]
|
/external/libnfc-nci/src/nfc/nfc/ |
D | nfc_main.c | 902 tNFC_DISCOVER_PARAMS *p_params, in NFC_DiscoveryStart() argument 926 memcpy (p, p_params, params_size); in NFC_DiscoveryStart() 1221 tNFC_STATUS NFC_UpdateRFCommParams (tNFC_RF_COMM_PARAMS *p_params) in NFC_UpdateRFCommParams() argument 1228 if (p_params->include_rf_tech_mode) in NFC_UpdateRFCommParams() 1232 UINT8_TO_STREAM (p, p_params->rf_tech_n_mode); in NFC_UpdateRFCommParams() 1236 if (p_params->include_tx_bit_rate) in NFC_UpdateRFCommParams() 1240 UINT8_TO_STREAM (p, p_params->tx_bit_rate); in NFC_UpdateRFCommParams() 1244 if (p_params->include_tx_bit_rate) in NFC_UpdateRFCommParams() 1248 UINT8_TO_STREAM (p, p_params->rx_bit_rate); in NFC_UpdateRFCommParams() 1252 if (p_params->include_nfc_b_config) in NFC_UpdateRFCommParams() [all …]
|
/external/libnfc-nci/src/nfa/ce/ |
D | nfa_ce_act.c | 291 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/int/ |
D | llcp_int.h | 324 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/nfc/include/ |
D | llcp_api.h | 452 tLLCP_CONNECTION_PARAMS *p_params); 467 tLLCP_CONNECTION_PARAMS *p_params);
|
D | nfc_api.h | 1004 tNFC_DISCOVER_PARAMS *p_params, 1160 NFC_API extern tNFC_STATUS NFC_UpdateRFCommParams (tNFC_RF_COMM_PARAMS *p_params);
|
/external/libnfc-nci/src/nfa/dm/ |
D | nfa_dm_act.c | 1758 void nfa_dm_notify_activation_status (tNFA_STATUS status, tNFA_TAG_PARAMS *p_params) in nfa_dm_notify_activation_status() argument 1782 if (p_params) in nfa_dm_notify_activation_status() 1785 p_params, in nfa_dm_notify_activation_status() 1792 if ((p_tech_params->param.pa.nfcid1_len == 0) && (p_params != NULL)) in nfa_dm_notify_activation_status() 1794 nfcid_len = sizeof(p_params->t1t.uid); in nfa_dm_notify_activation_status() 1795 p_nfcid = p_params->t1t.uid; in nfa_dm_notify_activation_status()
|
D | nfa_dm_api.c | 775 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()
|
/external/libnfc-nci/src/nfa/int/ |
D | nfa_dm_int.h | 524 void nfa_dm_notify_activation_status (tNFA_STATUS status, tNFA_TAG_PARAMS *p_params);
|
/external/libnfc-nci/src/nfa/include/ |
D | nfa_api.h | 1054 NFC_API extern tNFA_STATUS NFA_UpdateRFCommParams (tNFA_RF_COMM_PARAMS *p_params);
|