HomeSort by relevance Sort by last modified time
    Searched refs:wps (Results 1 - 25 of 70) sorted by null

1 2 3

  /external/wpa_supplicant_8/src/wps/
wps_enrollee.c 19 static int wps_build_wps_state(struct wps_data *wps, struct wpabuf *msg)
22 if (wps->wps->ap)
23 state = wps->wps->wps_state;
26 wpa_printf(MSG_DEBUG, "WPS: * Wi-Fi Protected Setup State (%d)",
35 static int wps_build_e_hash(struct wps_data *wps, struct wpabuf *msg)
41 if (random_get_bytes(wps->snonce, 2 * WPS_SECRET_NONCE_LEN) < 0)
43 wpa_hexdump(MSG_DEBUG, "WPS: E-S1", wps->snonce, WPS_SECRET_NONCE_LEN)
    [all...]
wps_registrar.c 142 struct wps_context *wps; member in struct:wps_registrar
237 wpa_printf(MSG_DEBUG, "WPS: Add authorized MAC " MACSTR,
241 wpa_printf(MSG_DEBUG, "WPS: Authorized MAC was "
249 wpa_hexdump(MSG_DEBUG, "WPS: Authorized MACs",
258 wpa_printf(MSG_DEBUG, "WPS: Remove authorized MAC " MACSTR,
265 wpa_printf(MSG_DEBUG, "WPS: Authorized MAC was not in the "
274 wpa_hexdump(MSG_DEBUG, "WPS: Authorized MACs",
415 wpa_printf(MSG_DEBUG, "WPS: Removing PBC session for "
417 wpa_hexdump(MSG_DEBUG, "WPS: Removed UUID-E",
438 wpa_printf(MSG_DEBUG, "WPS: Checking active PBC sessions for overlap")
    [all...]
wps_attr_build.c 21 int wps_build_public_key(struct wps_data *wps, struct wpabuf *msg)
25 wpa_printf(MSG_DEBUG, "WPS: * Public Key");
26 wpabuf_clear_free(wps->dh_privkey);
27 wps->dh_privkey = NULL;
28 if (wps->dev_pw_id != DEV_PW_DEFAULT && wps->wps->dh_privkey &&
29 wps->wps->dh_ctx) {
30 wpa_printf(MSG_DEBUG, "WPS: Using pre-configured DH keys")
    [all...]
wps_i.h 12 #include "wps.h"
18 * struct wps_data - WPS registration protocol data
25 * wps - Pointer to long term WPS context
27 struct wps_context *wps; member in struct:wps_data
136 int wps_derive_keys(struct wps_data *wps);
137 int wps_derive_psk(struct wps_data *wps, const u8 *dev_passwd,
139 struct wpabuf * wps_decrypt_encr_settings(struct wps_data *wps, const u8 *encr,
141 void wps_fail_event(struct wps_context *wps, enum wps_msg_type msg,
143 void wps_success_event(struct wps_context *wps, const u8 *mac_addr)
    [all...]
wps_common.c 62 int wps_derive_keys(struct wps_data *wps)
70 if (wps->dh_privkey == NULL) {
71 wpa_printf(MSG_DEBUG, "WPS: Own DH private key not available");
75 pubkey = wps->registrar ? wps->dh_pubkey_e : wps->dh_pubkey_r;
77 wpa_printf(MSG_DEBUG, "WPS: Peer DH public key not available");
81 wpa_hexdump_buf_key(MSG_DEBUG, "WPS: DH Private Key", wps->dh_privkey);
82 wpa_hexdump_buf(MSG_DEBUG, "WPS: DH peer Public Key", pubkey)
    [all...]
wps_upnp.h 2 * UPnP WPS Device
22 struct wps_data *wps; member in struct:upnp_wps_peer
40 upnp_wps_device_init(struct upnp_wps_device_ctx *ctx, struct wps_context *wps,
wps_er.c 34 static void wps_er_sta_event(struct wps_context *wps, struct wps_er_sta *sta,
40 if (wps->event_cb == NULL)
55 wps->event_cb(wps->cb_ctx, event, &data);
76 wps_er_sta_event(sta->ap->er->wps, sta, WPS_EV_ER_ENROLLEE_REMOVE);
77 if (sta->wps)
78 wps_deinit(sta->wps);
127 static void wps_er_ap_event(struct wps_context *wps, struct wps_er_ap *ap,
133 if (wps->event_cb == NULL)
150 wps->event_cb(wps->cb_ctx, event, &data)
    [all...]
wps_upnp_web.c 2 * UPnP WPS Device - Web connections
42 * WFA WPS specifications. Extra white space has been removed to save space.
195 s = iface->wps->friendly_name;
196 s = ((s && *s) ? s : "WPS Access Point");
199 s = iface->wps->dev.manufacturer;
203 if (iface->wps->manufacturer_url)
205 iface->wps->manufacturer_url);
207 if (iface->wps->model_description)
209 iface->wps->model_description);
211 s = iface->wps->dev.model_name
    [all...]
wps_er.h 28 struct wps_data *wps; member in struct:wps_er_sta
40 struct wps_data *wps; member in struct:wps_er_ap
77 struct wps_context *wps; member in struct:wps_er
wps.c 30 * wps_init - Initialize WPS Registration protocol data
31 * @cfg: WPS configuration
34 * This function is used to initialize WPS data for a registration protocol
44 data->wps = cfg->wps;
47 os_memcpy(data->uuid_r, cfg->wps->uuid, WPS_UUID_LEN);
49 os_memcpy(data->mac_addr_e, cfg->wps->dev.mac_addr, ETH_ALEN);
50 os_memcpy(data->uuid_e, cfg->wps->uuid, WPS_UUID_LEN);
60 wpa_hexdump_key(MSG_DEBUG, "WPS: AP PIN dev_password",
69 if (cfg->wps->ap && !cfg->registrar && cfg->wps->ap_nfc_dev_pw_id)
    [all...]
wps_attr_process.c 16 int wps_process_authenticator(struct wps_data *wps, const u8 *authenticator,
24 wpa_printf(MSG_DEBUG, "WPS: No Authenticator attribute "
29 if (wps->last_msg == NULL) {
30 wpa_printf(MSG_DEBUG, "WPS: Last message not available for "
38 addr[0] = wpabuf_head(wps->last_msg);
39 len[0] = wpabuf_len(wps->last_msg);
42 hmac_sha256_vector(wps->authkey, WPS_AUTHKEY_LEN, 2, addr, len, hash);
45 wpa_printf(MSG_DEBUG, "WPS: Incorrect Authenticator");
53 int wps_process_key_wrap_auth(struct wps_data *wps, struct wpabuf *msg,
61 wpa_printf(MSG_DEBUG, "WPS: No KWA in decrypted attribute")
    [all...]
Makefile 24 wps.o \
  /external/wpa_supplicant_8/src/ap/
wps_hostapd.c 2 * hostapd / WPS integration
19 #include "wps/wps.h"
20 #include "wps/wps_defs.h"
21 #include "wps/wps_dev_attr.h"
22 #include "wps/wps_attr_parse.h"
32 #include "wps/wps_upnp.h"
34 struct wps_context *wps);
43 static void hostapd_wps_nfc_clear(struct wps_context *wps);
105 "Received new WPA/WPA2-PSK from WPS for STA " MACSTR
1014 struct wps_context *wps; local
1254 struct wps_context *wps = hapd->wps; local
1844 const struct wpabuf *wps = data; local
1898 struct wps_context *wps = hapd->wps; local
1935 struct wpabuf *wps; local
2043 struct wps_context *wps = hapd->wps; local
    [all...]
taxonomy.c 40 * WPS header, it will get mangled here. */
56 /* Inside the WPS IE are a series of attributes, using two byte IDs
100 char wps[WPS_NAME_LEN + 5 + 1]; /* room to prepend ",wps:" + trailing local
115 os_memset(wps, 0, sizeof(wps));
137 /* WPS */
145 os_snprintf(wps, sizeof(wps),
146 ",wps:%s", model_name)
    [all...]
  /external/wpa_supplicant_8/wpa_supplicant/
wps_supplicant.c 2 * wpa_supplicant / WPS integration
24 #include "wps/wps_attr_parse.h"
43 * The minimum time in seconds before trying to associate to a WPS PIN AP that
68 wpa_printf(MSG_DEBUG, "WPS: Continuing association after eapol_cb");
94 wpa_printf(MSG_DEBUG, "WPS: PIN registration with " MACSTR
121 wpa_printf(MSG_DEBUG, "WPS: Network configuration replaced - "
128 wpa_printf(MSG_DEBUG, "WPS: Current network is "
137 wpa_printf(MSG_DEBUG, "WPS: Checking whether fast association "
141 struct wpabuf *wps; local
144 wps = wpa_bss_get_vendor_ie_multi(bss
1545 struct wps_context *wps; local
1865 unsigned int pbc = 0, auth = 0, pin = 0, wps = 0; local
2187 struct wps_context *wps = wpa_s->wps; local
2316 struct wps_context *wps = wpa_s->wps; local
2463 const struct wpabuf *wps = data; local
2531 struct wps_context *wps = wpa_s->wps; local
2595 struct wpabuf *wps; local
2734 struct wpabuf *wps; local
2874 struct wpabuf *wps; local
    [all...]
  /external/wpa_supplicant_8/src/
Makefile 1 SUBDIRS=ap common crypto drivers eapol_auth eapol_supp eap_common eap_peer eap_server l2_packet p2p pae radius rsn_supp tls utils wps
  /external/wpa_supplicant_8/wpa_supplicant/examples/
wps-ap-cli 43 $CLI status wps
48 echo "WPS AP"
53 echo "0: Exit wps-ap-cli"
wpas-dbus-new-wps.py 14 WPAS_DBUS_WPS_INTERFACE = "fi.w1.wpa_supplicant1.Interface.WPS"
30 print("WPS event: %s" % (name))
34 print("WPS credentials: %s" % (cred))
73 wps = dbus.Interface(if_obj, WPAS_DBUS_WPS_INTERFACE)
74 wps.Start({'Role': 'enrollee', 'Type': 'pbc'})
  /external/wpa_supplicant_8/hs20/client/
Makefile 54 OBJS += ../../src/wps/httpread.o
55 OBJS += ../../src/wps/http_server.o
103 rm -f ../../src/wps/*.o
104 rm -f ../../src/wps/*.d
  /external/wpa_supplicant_8/src/radius/
radius_server.h 178 * wps - Wi-Fi Protected Setup context
180 * If WPS is used with an external RADIUS server (which is quite
181 * unlikely configuration), this is used to provide a pointer to WPS
184 struct wps_context *wps; member in struct:radius_server_conf
  /external/wpa_supplicant_8/src/eap_server/
eap_server_wsc.c 16 #include "wps/wps.h"
27 struct wps_data *wps; member in struct:eap_wsc_data
106 cfg.wps = sm->wps;
109 if (sm->wps == NULL || sm->wps->registrar == NULL) {
110 wpa_printf(MSG_INFO, "EAP-WSC: WPS Registrar not "
119 * Windows 7 uses Registrar mode to probe AP's WPS
142 data->wps = wps_init(&cfg)
    [all...]
  /external/wpa_supplicant_8/src/eap_peer/
eap_wsc.c 15 #include "wps/wps.h"
16 #include "wps/wps_defs.h"
27 struct wps_data *wps; member in struct:eap_wsc_data
147 struct wps_context *wps; local
153 wps = sm->wps;
154 if (wps == NULL) {
155 wpa_printf(MSG_ERROR, "EAP-WSC: WPS context not available");
178 data->wps_ctx = wps;
    [all...]
  /device/generic/goldfish/wifi/wpa_supplicant_8_lib/
Android.mk 42 $(WPA_SUPPL_DIR)/src/wps \
  /device/linaro/poplar/wifi/wpa_supplicant_8_lib/
Android.mk 34 $(WPA_SUPPL_DIR)/src/wps \
  /external/wpa_supplicant_8/hostapd/
Android.mk 504 OBJS += src/wps/wps.c
505 OBJS += src/wps/wps_common.c
506 OBJS += src/wps/wps_attr_parse.c
507 OBJS += src/wps/wps_attr_build.c
508 OBJS += src/wps/wps_attr_process.c
509 OBJS += src/wps/wps_dev_attr.c
510 OBJS += src/wps/wps_enrollee.c
511 OBJS += src/wps/wps_registrar.c
521 OBJS += src/wps/ndef.
    [all...]

Completed in 1012 milliseconds

1 2 3