Searched defs:aid_len (Results 1 - 10 of 10) sorted by relevance

/external/libnfc-nci/src/nfa/ce/
H A Dnfa_ce_api.c312 ** If no AID is specified (aid_len=0), then p_conn_cback will
325 UINT8 aid_len,
343 memcpy (p_msg->reg_listen.aid, aid, aid_len);
344 p_msg->reg_listen.aid_len = aid_len;
324 NFA_CeRegisterAidOnDH(UINT8 aid[NFC_MAX_AID_LEN], UINT8 aid_len, tNFA_CONN_CBACK *p_conn_cback) argument
/external/libnfc-nci/src/nfa/ee/
H A Dnfa_ee_api.c405 UINT8 aid_len,
411 UINT16 size = sizeof(tNFA_EE_API_ADD_AID) + aid_len;
419 if ((p_cb == NULL) || (aid_len == 0) || (p_aid == NULL) || (aid_len < NFA_MIN_AID_LEN) || (aid_len > NFA_MAX_AID_LEN))
421 NFA_TRACE_ERROR1 ("Bad ee_handle or AID (len=%d)", aid_len);
430 p_msg->aid_len = aid_len;
433 memcpy(p_msg->p_aid, p_aid, aid_len);
464 tNFA_STATUS NFA_EeRemoveAidRouting(UINT8 aid_len, argument
404 NFA_EeAddAidRouting(tNFA_HANDLE ee_handle, UINT8 aid_len, UINT8 *p_aid, tNFA_EE_PWR_STATE power_state) argument
[all...]
H A Dnfa_ee_act.c134 len += p_cb->aid_len[xx];
153 tNFA_EE_ECB * nfa_ee_find_aid_offset(UINT8 aid_len, UINT8 *p_aid, int *p_offset, int *p_entry) argument
167 if ( (p_ecb->aid_cfg[offset + aid_len_offset] == aid_len)
168 &&(memcmp(&p_ecb->aid_cfg[offset + aid_len_offset + 1], p_aid, aid_len) == 0) )
177 offset += p_ecb->aid_len[xx];
451 p_chk_cb = nfa_ee_find_aid_offset(p_add->aid_len, p_add->p_aid, &offset, &entry);
472 len_needed = p_add->aid_len + 2; /* tag/len */
486 *p++ = p_add->aid_len;
487 memcpy(p, p_add->p_aid, p_add->aid_len);
488 p += p_add->aid_len;
[all...]
/external/libnfc-nci/src/nfc/tags/
H A Dce_t4t.c456 if ( (ce_cb.mem.t4t.reg_aid[xx].aid_len > 0)
457 &&(ce_cb.mem.t4t.reg_aid[xx].aid_len == data_len)
940 ** aid_len: length of AID (up to NFC_MAX_AID_LEN)
948 tCE_T4T_AID_HANDLE CE_T4tRegisterAID (UINT8 aid_len, UINT8 *p_aid, tCE_CBACK *p_cback) argument
954 if (aid_len == 0)
972 *p_aid, *(p_aid+1), *(p_aid+2), *(p_aid+3), aid_len);
974 if (aid_len > NFC_MAX_AID_LEN)
988 if ( (p_t4t->reg_aid[xx].aid_len == aid_len)
989 &&(!(memcmp(p_t4t->reg_aid[xx].aid, p_aid, aid_len))) )
[all...]
/external/libnfc-nci/src/nfa/int/
H A Dnfa_ce_int.h99 UINT8 aid_len; /* AID length */ member in struct:__anon20005
H A Dnfa_ee_int.h138 /* Each AID entry has an ssociated aid_len, aid_pwr_cfg, aid_rt_info.
141 * the aid_len is the total length of all the TLVs associated with this AID entry
143 UINT8 aid_len[NFA_EE_MAX_AID_ENTRIES];/* the actual lengths in aid_cfg */ member in struct:__anon20069
221 UINT8 aid_len; member in struct:__anon20076
230 UINT8 aid_len; member in struct:__anon20077
455 tNFA_EE_ECB * nfa_ee_find_aid_offset(UINT8 aid_len, UINT8 *p_aid, int *p_offset, int *p_entry);
/external/libnfc-nci/src/nfc/int/
H A Dce_int.h85 UINT8 aid_len; member in struct:__anon20265
/external/wpa_supplicant_8/hostapd/src/utils/
H A Dpcsc_funcs.c396 unsigned char aid_len; member in struct:efdir
452 if (efdir->aid_len < 1 || efdir->aid_len > 16) {
454 efdir->aid_len);
459 efdir->rid, efdir->aid_len);
475 if (efdir->aid_len > maxlen) {
480 os_memcpy(aid, efdir->rid, efdir->aid_len);
482 return efdir->aid_len;
645 int aid_len; local
647 aid_len
[all...]
/external/wpa_supplicant_8/src/utils/
H A Dpcsc_funcs.c396 unsigned char aid_len; member in struct:efdir
452 if (efdir->aid_len < 1 || efdir->aid_len > 16) {
454 efdir->aid_len);
459 efdir->rid, efdir->aid_len);
475 if (efdir->aid_len > maxlen) {
480 os_memcpy(aid, efdir->rid, efdir->aid_len);
482 return efdir->aid_len;
645 int aid_len; local
647 aid_len
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/utils/
H A Dpcsc_funcs.c396 unsigned char aid_len; member in struct:efdir
452 if (efdir->aid_len < 1 || efdir->aid_len > 16) {
454 efdir->aid_len);
459 efdir->rid, efdir->aid_len);
475 if (efdir->aid_len > maxlen) {
480 os_memcpy(aid, efdir->rid, efdir->aid_len);
482 return efdir->aid_len;
645 int aid_len; local
647 aid_len
[all...]

Completed in 146 milliseconds