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

1 2 3 4

  /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 140 struct wps_context *wps; member in struct:wps_registrar
202 wpa_printf(MSG_DEBUG, "WPS: Add authorized MAC " MACSTR,
206 wpa_printf(MSG_DEBUG, "WPS: Authorized MAC was "
214 wpa_hexdump(MSG_DEBUG, "WPS: Authorized MACs",
223 wpa_printf(MSG_DEBUG, "WPS: Remove authorized MAC " MACSTR,
230 wpa_printf(MSG_DEBUG, "WPS: Authorized MAC was not in the "
239 wpa_hexdump(MSG_DEBUG, "WPS: Authorized MACs",
384 wpa_printf(MSG_DEBUG, "WPS: Removing PBC session for "
386 wpa_hexdump(MSG_DEBUG, "WPS: Removed UUID-E",
407 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_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_common.c 59 int wps_derive_keys(struct wps_data *wps)
67 if (wps->dh_privkey == NULL) {
68 wpa_printf(MSG_DEBUG, "WPS: Own DH private key not available");
72 pubkey = wps->registrar ? wps->dh_pubkey_e : wps->dh_pubkey_r;
74 wpa_printf(MSG_DEBUG, "WPS: Peer DH public key not available");
78 wpa_hexdump_buf_key(MSG_DEBUG, "WPS: DH Private Key", wps->dh_privkey);
79 wpa_hexdump_buf(MSG_DEBUG, "WPS: DH peer Public Key", pubkey)
    [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
131 int wps_derive_keys(struct wps_data *wps);
132 void wps_derive_psk(struct wps_data *wps, const u8 *dev_passwd,
134 struct wpabuf * wps_decrypt_encr_settings(struct wps_data *wps, const u8 *encr,
136 void wps_fail_event(struct wps_context *wps, enum wps_msg_type msg,
138 void wps_success_event(struct wps_context *wps, const u8 *mac_addr)
    [all...]
wps_upnp.h 2 * UPnP WPS Device
19 struct wps_data *wps; member in struct:upnp_wps_peer
37 upnp_wps_device_init(struct upnp_wps_device_ctx *ctx, struct wps_context *wps,
wps.c 25 * wps_init - Initialize WPS Registration protocol data
26 * @cfg: WPS configuration
29 * This function is used to initialize WPS data for a registration protocol
39 data->wps = cfg->wps;
42 os_memcpy(data->uuid_r, cfg->wps->uuid, WPS_UUID_LEN);
44 os_memcpy(data->mac_addr_e, cfg->wps->dev.mac_addr, ETH_ALEN);
45 os_memcpy(data->uuid_e, cfg->wps->uuid, WPS_UUID_LEN);
56 wpa_hexdump_key(MSG_DEBUG, "WPS: AP PIN dev_password",
61 if (cfg->wps->ap && !cfg->registrar && cfg->wps->ap_nfc_dev_pw_id)
    [all...]
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.
198 s = iface->wps->friendly_name;
199 s = ((s && *s) ? s : "WPS Access Point");
202 s = iface->wps->dev.manufacturer;
206 if (iface->wps->manufacturer_url)
208 iface->wps->manufacturer_url);
210 if (iface->wps->model_description)
212 iface->wps->model_description);
214 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_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...]
wps.h 33 * struct wps_credential - WPS Credential
64 /* maximum number of advertised WPS vendor extension attributes */
66 /* maximum size of WPS Vendor extension attribute */
68 /* maximum number of parsed WPS vendor extension attributes */
72 * struct wps_device_data - WPS Device Data
107 * struct wps_config - WPS configuration for a single registration protocol run
111 * wps - Pointer to long term WPS context
113 struct wps_context *wps; member in struct:wps_config
136 * assoc_wps_ie: (Re)AssocReq WPS IE (in AP; %NULL if not AP
    [all...]
  /frameworks/base/wifi/java/android/net/wifi/p2p/
WifiP2pConfig.java 38 public WpsInfo wps; field in class:WifiP2pConfig
59 wps = new WpsInfo();
60 wps.setup = WpsInfo.PBC;
76 wps = new WpsInfo();
86 //Based on definitions in wps/wps_defs.h
90 wps.setup = WpsInfo.DISPLAY;
94 wps.setup = WpsInfo.PBC;
98 wps.setup = WpsInfo.KEYPAD;
101 wps.setup = WpsInfo.PBC;
110 sbuf.append("\n wps: ").append(wps)
    [all...]
  /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);
104 "Received new WPA/WPA2-PSK from WPS for STA " MACSTR,
108 "Received new WPA/WPA2-PSK from WPS for STA " MACST
977 struct wps_context *wps; local
1191 struct wps_context *wps = hapd->wps; local
1740 const struct wpabuf *wps = data; local
1813 struct wps_context *wps = hapd->wps; local
    [all...]
  /external/wpa_supplicant_8/wpa_supplicant/
wps_supplicant.c 2 * wpa_supplicant / WPS integration
24 #include "wps/wps_attr_parse.h"
64 wpa_printf(MSG_DEBUG, "WPS: PIN registration with " MACSTR
91 wpa_printf(MSG_DEBUG, "WPS: Network configuration replaced - "
97 wpa_printf(MSG_DEBUG, "WPS: Current network is "
106 wpa_printf(MSG_DEBUG, "WPS: Checking whether fast association "
110 struct wpabuf *wps; local
113 wps = wpa_bss_get_vendor_ie_multi(bss,
115 if (wps && wps_parse_msg(wps, &attr) == 0 &
1339 struct wps_context *wps; local
1639 unsigned int pbc = 0, auth = 0, pin = 0, wps = 0; local
1970 struct wps_context *wps = wpa_s->wps; local
2095 struct wps_context *wps = wpa_s->wps; local
2222 const struct wpabuf *wps = data; local
2320 struct wpabuf *wps; local
2399 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 radius rsn_supp tls utils wps
  /external/wpa_supplicant_8/wpa_supplicant/examples/
wps-ap-cli 41 $CLI status wps
46 echo "WPS AP"
51 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/src/radius/
radius_server.h 152 * wps - Wi-Fi Protected Setup context
154 * If WPS is used with an external RADIUS server (which is quite
155 * unlikely configuration), this is used to provide a pointer to WPS
158 struct wps_context *wps; member in struct:radius_server_conf
  /hardware/qcom/wlan/qcwcn/wpa_supplicant_8_lib/
Android.mk 34 $(WPA_SUPPL_DIR)/src/wps \
  /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
149 struct wps_context *wps; local
154 wps = sm->wps;
155 if (wps == NULL) {
156 wpa_printf(MSG_ERROR, "EAP-WSC: WPS context not available");
179 data->wps_ctx = wps;
    [all...]
  /hardware/broadcom/wlan/bcmdhd/wpa_supplicant_8_lib/
Android.mk 34 $(WPA_SUPPL_DIR)/src/wps \
  /external/wpa_supplicant_8/hostapd/
Android.mk 400 OBJS += src/wps/wps.c
401 OBJS += src/wps/wps_common.c
402 OBJS += src/wps/wps_attr_parse.c
403 OBJS += src/wps/wps_attr_build.c
404 OBJS += src/wps/wps_attr_process.c
405 OBJS += src/wps/wps_dev_attr.c
406 OBJS += src/wps/wps_enrollee.c
407 OBJS += src/wps/wps_registrar.c
417 OBJS += src/wps/ndef.
    [all...]
Makefile 356 OBJS += ../src/wps/wps.o
357 OBJS += ../src/wps/wps_common.o
358 OBJS += ../src/wps/wps_attr_parse.o
359 OBJS += ../src/wps/wps_attr_build.o
360 OBJS += ../src/wps/wps_attr_process.o
361 OBJS += ../src/wps/wps_dev_attr.o
362 OBJS += ../src/wps/wps_enrollee.o
363 OBJS += ../src/wps/wps_registrar.o
373 OBJS += ../src/wps/ndef.
    [all...]

Completed in 994 milliseconds

1 2 3 4