Searched refs:ndef (Results 1 - 25 of 37) sorted by last modified time

12

/external/wpa_supplicant_8/hostapd/
H A DAndroid.mk414 OBJS += src/wps/ndef.c
H A DMakefile400 OBJS += ../src/wps/ndef.o
H A Dctrl_iface.c289 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 Dwps-ap-nfc.py15 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 Dwps_hostapd.c1740 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 Dwps_hostapd.h38 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 Dwps.h869 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 Dwps_common.c618 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 Dwps_hostapd.c1740 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 Dwps_hostapd.h38 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 Dwps.h869 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 Dwps_common.c618 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 DMakefile644 OBJS += ../src/wps/ndef.o
H A Dap.c933 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 Dap.h59 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 Dctrl_iface.c833 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 Dnfc_pw_token.c41 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 Dp2p_supplicant.c7291 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 Dp2p_supplicant.h126 int ndef);
128 int ndef, int tag);
/external/wpa_supplicant_8/wpa_supplicant/examples/
H A Dp2p-nfc.py17 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 Dwps-nfc.py17 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 Dwps_hostapd.c1740 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 Dwps_hostapd.h38 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 Dwps.h869 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 Dwps_common.c618 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);

Completed in 456 milliseconds

12