/external/wpa_supplicant_8/hostapd/ |
H A D | Android.mk | 414 OBJS += src/wps/ndef.c
|
H A D | Makefile | 400 OBJS += ../src/wps/ndef.o
|
H A D | ctrl_iface.c | 289 int ndef; local 294 ndef = 0; 296 ndef = 1; 300 buf = hostapd_wps_nfc_config_token(hapd, ndef); 317 int ndef) 322 buf = hostapd_wps_nfc_token_gen(hapd, ndef); 368 int ndef; local 376 ndef = 0; 378 ndef = 1; 383 buf = hostapd_wps_nfc_hs_cr(hapd, ndef); 315 hostapd_ctrl_iface_wps_nfc_token_gen(struct hostapd_data *hapd, char *reply, size_t max_len, int ndef) argument [all...] |
H A D | wps-ap-nfc.py | 15 import nfc.ndef namespace 120 response = nfc.ndef.Message("\xd1\x02\x01Hs\x12") 125 request = nfc.ndef.HandoverRequestMessage(request) 126 except nfc.ndef.DecodeError as e: 141 sel = nfc.ndef.HandoverSelectMessage(version="1.2") 158 message = nfc.ndef.Message(data); 175 if len(tag.ndef.message): 176 for record in tag.ndef.message: 180 success = wpas_tag_read(tag.ndef.message) 194 tag.ndef [all...] |
/external/wpa_supplicant_8/hostapd/src/ap/ |
H A D | wps_hostapd.c | 1740 int ndef) 1749 if (ndef && ret) { 1762 struct wpabuf * hostapd_wps_nfc_hs_cr(struct hostapd_data *hapd, int ndef) argument 1790 if (ndef && ret) { 1897 struct wpabuf * hostapd_wps_nfc_token_gen(struct hostapd_data *hapd, int ndef) argument 1900 return wps_nfc_token_build(ndef, 1906 return wps_nfc_token_gen(ndef, &hapd->conf->wps_nfc_dev_pw_id, 1739 hostapd_wps_nfc_config_token(struct hostapd_data *hapd, int ndef) argument
|
H A D | wps_hostapd.h | 38 int ndef); 39 struct wpabuf * hostapd_wps_nfc_hs_cr(struct hostapd_data *hapd, int ndef); 43 struct wpabuf * hostapd_wps_nfc_token_gen(struct hostapd_data *hapd, int ndef);
|
/external/wpa_supplicant_8/hostapd/src/wps/ |
H A D | wps.h | 869 struct wpabuf * wps_nfc_token_build(int ndef, int id, struct wpabuf *pubkey, 872 struct wpabuf * wps_nfc_token_gen(int ndef, int *id, struct wpabuf **pubkey, 887 /* ndef.c */
|
H A D | wps_common.c | 618 struct wpabuf * wps_nfc_token_build(int ndef, int id, struct wpabuf *pubkey, argument 627 if (ndef && ret) { 665 struct wpabuf * wps_nfc_token_gen(int ndef, int *id, struct wpabuf **pubkey, argument 692 return wps_nfc_token_build(ndef, *id, *pubkey, *dev_pw);
|
/external/wpa_supplicant_8/src/ap/ |
H A D | wps_hostapd.c | 1740 int ndef) 1749 if (ndef && ret) { 1762 struct wpabuf * hostapd_wps_nfc_hs_cr(struct hostapd_data *hapd, int ndef) argument 1790 if (ndef && ret) { 1897 struct wpabuf * hostapd_wps_nfc_token_gen(struct hostapd_data *hapd, int ndef) argument 1900 return wps_nfc_token_build(ndef, 1906 return wps_nfc_token_gen(ndef, &hapd->conf->wps_nfc_dev_pw_id, 1739 hostapd_wps_nfc_config_token(struct hostapd_data *hapd, int ndef) argument
|
H A D | wps_hostapd.h | 38 int ndef); 39 struct wpabuf * hostapd_wps_nfc_hs_cr(struct hostapd_data *hapd, int ndef); 43 struct wpabuf * hostapd_wps_nfc_token_gen(struct hostapd_data *hapd, int ndef);
|
/external/wpa_supplicant_8/src/wps/ |
H A D | wps.h | 869 struct wpabuf * wps_nfc_token_build(int ndef, int id, struct wpabuf *pubkey, 872 struct wpabuf * wps_nfc_token_gen(int ndef, int *id, struct wpabuf **pubkey, 887 /* ndef.c */
|
H A D | wps_common.c | 618 struct wpabuf * wps_nfc_token_build(int ndef, int id, struct wpabuf *pubkey, argument 627 if (ndef && ret) { 665 struct wpabuf * wps_nfc_token_gen(int ndef, int *id, struct wpabuf **pubkey, argument 692 return wps_nfc_token_build(ndef, *id, *pubkey, *dev_pw);
|
/external/wpa_supplicant_8/wpa_supplicant/ |
H A D | Makefile | 644 OBJS += ../src/wps/ndef.o
|
H A D | ap.c | 933 int ndef) 940 return hostapd_wps_nfc_config_token(hapd, ndef); 945 int ndef) 952 return hostapd_wps_nfc_hs_cr(hapd, ndef); 932 wpas_ap_wps_nfc_config_token(struct wpa_supplicant *wpa_s, int ndef) argument 944 wpas_ap_wps_nfc_handover_sel(struct wpa_supplicant *wpa_s, int ndef) argument
|
H A D | ap.h | 59 int ndef); 62 int ndef); 66 int ndef) 65 wpas_ap_wps_nfc_handover_sel(struct wpa_supplicant *wpa_s, int ndef) argument
|
H A D | ctrl_iface.c | 833 int ndef; local 842 ndef = 0; 844 ndef = 1; 848 buf = wpas_wps_nfc_config_token(wpa_s, ndef, pos); 866 int ndef; local 871 ndef = 0; 873 ndef = 1; 877 buf = wpas_wps_nfc_token(wpa_s, ndef); 930 int ndef) 935 buf = wpas_wps_nfc_handover_req(wpa_s, ndef); 928 wpas_ctrl_nfc_get_handover_req_wps(struct wpa_supplicant *wpa_s, char *reply, size_t max_len, int ndef) argument 951 wpas_ctrl_nfc_get_handover_req_p2p(struct wpa_supplicant *wpa_s, char *reply, size_t max_len, int ndef) argument 981 int ndef; local 1013 wpas_ctrl_nfc_get_handover_sel_wps(struct wpa_supplicant *wpa_s, char *reply, size_t max_len, int ndef, int cr, char *uuid) argument 1036 wpas_ctrl_nfc_get_handover_sel_p2p(struct wpa_supplicant *wpa_s, char *reply, size_t max_len, int ndef, int tag) argument 1064 int ndef; local 1426 int ndef; local [all...] |
H A D | nfc_pw_token.c | 41 struct wpabuf *buf = NULL, *ndef = NULL; local 57 ndef = ndef_build_wifi(buf); 58 if (ndef == NULL) 65 wpa_snprintf_hex_uppercase(txt, sizeof(txt), wpabuf_head(ndef), 66 wpabuf_len(ndef)); 76 wpabuf_free(ndef);
|
H A D | p2p_supplicant.c | 7291 static struct wpabuf * wpas_p2p_nfc_handover(int ndef, struct wpabuf *wsc, argument 7322 if (ndef && ret) { 7363 int ndef) 7391 return wpas_p2p_nfc_handover(ndef, wsc, p2p); 7396 int ndef, int tag) 7424 return wpas_p2p_nfc_handover(ndef, wsc, p2p); 7362 wpas_p2p_nfc_handover_req(struct wpa_supplicant *wpa_s, int ndef) argument 7395 wpas_p2p_nfc_handover_sel(struct wpa_supplicant *wpa_s, int ndef, int tag) argument
|
H A D | p2p_supplicant.h | 126 int ndef); 128 int ndef, int tag);
|
/external/wpa_supplicant_8/wpa_supplicant/examples/ |
H A D | p2p-nfc.py | 17 import nfc.ndef namespace 154 message = nfc.ndef.HandoverRequestMessage(version="1.2") 164 datamsg = nfc.ndef.Message(data) 178 datamsg = nfc.ndef.Message(data) 226 message = nfc.ndef.HandoverSelectMessage(message) 270 response = nfc.ndef.Message("\xd1\x02\x01Hs\x12") 275 request = nfc.ndef.HandoverRequestMessage(request) 276 except nfc.ndef.DecodeError as e: 292 sel = nfc.ndef.HandoverSelectMessage(version="1.2") 320 message = nfc.ndef [all...] |
H A D | wps-nfc.py | 17 import nfc.ndef namespace 149 response = nfc.ndef.Message("\xd1\x02\x01Hs\x12") 154 request = nfc.ndef.HandoverRequestMessage(request) 155 except nfc.ndef.DecodeError as e: 170 sel = nfc.ndef.HandoverSelectMessage(version="1.2") 188 message = nfc.ndef.Message(data); 212 message = nfc.ndef.HandoverRequestMessage(version="1.2") 214 datamsg = nfc.ndef.Message(data) 262 message = nfc.ndef.HandoverSelectMessage(message) 278 #wifi = nfc.ndef [all...] |
/external/wpa_supplicant_8/wpa_supplicant/src/ap/ |
H A D | wps_hostapd.c | 1740 int ndef) 1749 if (ndef && ret) { 1762 struct wpabuf * hostapd_wps_nfc_hs_cr(struct hostapd_data *hapd, int ndef) argument 1790 if (ndef && ret) { 1897 struct wpabuf * hostapd_wps_nfc_token_gen(struct hostapd_data *hapd, int ndef) argument 1900 return wps_nfc_token_build(ndef, 1906 return wps_nfc_token_gen(ndef, &hapd->conf->wps_nfc_dev_pw_id, 1739 hostapd_wps_nfc_config_token(struct hostapd_data *hapd, int ndef) argument
|
H A D | wps_hostapd.h | 38 int ndef); 39 struct wpabuf * hostapd_wps_nfc_hs_cr(struct hostapd_data *hapd, int ndef); 43 struct wpabuf * hostapd_wps_nfc_token_gen(struct hostapd_data *hapd, int ndef);
|
/external/wpa_supplicant_8/wpa_supplicant/src/wps/ |
H A D | wps.h | 869 struct wpabuf * wps_nfc_token_build(int ndef, int id, struct wpabuf *pubkey, 872 struct wpabuf * wps_nfc_token_gen(int ndef, int *id, struct wpabuf **pubkey, 887 /* ndef.c */
|
H A D | wps_common.c | 618 struct wpabuf * wps_nfc_token_build(int ndef, int id, struct wpabuf *pubkey, argument 627 if (ndef && ret) { 665 struct wpabuf * wps_nfc_token_gen(int ndef, int *id, struct wpabuf **pubkey, argument 692 return wps_nfc_token_build(ndef, *id, *pubkey, *dev_pw);
|