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

1 2

  /external/wpa_supplicant_6/wpa_supplicant/src/wps/
wps_enrollee.c 23 static int wps_build_mac_addr(struct wps_data *wps, struct wpabuf *msg)
25 wpa_printf(MSG_DEBUG, "WPS: * MAC Address");
28 wpabuf_put_data(msg, wps->mac_addr_e, ETH_ALEN);
33 static int wps_build_wps_state(struct wps_data *wps, struct wpabuf *msg)
36 if (wps->wps->ap)
37 state = wps->wps->wps_state;
40 wpa_printf(MSG_DEBUG, "WPS: * Wi-Fi Protected Setup State (%d)",
49 static int wps_build_e_hash(struct wps_data *wps, struct wpabuf *msg
    [all...]
wps_registrar.c 82 struct wps_context *wps; member in struct:wps_registrar
215 static int wps_build_wps_state(struct wps_context *wps, struct wpabuf *msg)
217 wpa_printf(MSG_DEBUG, "WPS: * Wi-Fi Protected Setup State (%d)",
218 wps->wps_state);
221 wpabuf_put_u8(msg, wps->wps_state);
227 static void wps_registrar_free_pending_m2(struct wps_context *wps)
230 p = wps->upnp_msgs;
234 wps->upnp_msgs = p->next;
237 wpa_printf(MSG_DEBUG, "WPS UPnP: Drop pending M2/M2D");
251 static int wps_build_ap_setup_locked(struct wps_context *wps,
    [all...]
wps_common.c 64 int wps_derive_keys(struct wps_data *wps)
72 if (wps->dh_privkey == NULL) {
73 wpa_printf(MSG_DEBUG, "WPS: Own DH private key not available");
77 pubkey = wps->registrar ? wps->dh_pubkey_e : wps->dh_pubkey_r;
79 wpa_printf(MSG_DEBUG, "WPS: Peer DH public key not available");
83 dh_shared = dh_derive_shared(pubkey, wps->dh_privkey,
87 wpa_printf(MSG_DEBUG, "WPS: Failed to derive DH shared key");
92 wpabuf_free(wps->dh_privkey)
    [all...]
wps_i.h 18 #include "wps.h"
21 * struct wps_data - WPS registration protocol data
28 * wps - Pointer to long term WPS context
30 struct wps_context *wps; member in struct:wps_data
181 int wps_derive_keys(struct wps_data *wps);
182 void wps_derive_psk(struct wps_data *wps, const u8 *dev_passwd,
184 struct wpabuf * wps_decrypt_encr_settings(struct wps_data *wps, const u8 *encr,
186 void wps_fail_event(struct wps_context *wps, enum wps_msg_type msg);
187 void wps_success_event(struct wps_context *wps);
    [all...]
wps_attr_build.c 24 int wps_build_public_key(struct wps_data *wps, struct wpabuf *msg)
28 wpa_printf(MSG_DEBUG, "WPS: * Public Key");
29 pubkey = dh_init(dh_groups_get(WPS_DH_GROUP), &wps->dh_privkey);
32 wpa_printf(MSG_DEBUG, "WPS: Failed to initialize "
41 if (wps->registrar) {
42 wpabuf_free(wps->dh_pubkey_r);
43 wps->dh_pubkey_r = pubkey;
45 wpabuf_free(wps->dh_pubkey_e);
46 wps->dh_pubkey_e = pubkey;
55 wpa_printf(MSG_DEBUG, "WPS: * Request Type")
    [all...]
wps.c 24 * wps_init - Initialize WPS Registration protocol data
25 * @cfg: WPS configuration
28 * This function is used to initialize WPS data for a registration protocol
38 data->wps = cfg->wps;
41 os_memcpy(data->uuid_r, cfg->wps->uuid, WPS_UUID_LEN);
43 os_memcpy(data->mac_addr_e, cfg->wps->dev.mac_addr, ETH_ALEN);
44 os_memcpy(data->uuid_e, cfg->wps->uuid, WPS_UUID_LEN);
75 wpa_hexdump_buf(MSG_DEBUG, "WPS: WPS IE from (Re)AssocReq"
    [all...]
wps_upnp.h 2 * UPnP WPS Device
19 struct wps_data *wps; member in struct:upnp_wps_peer
54 upnp_wps_device_init(struct upnp_wps_device_ctx *ctx, struct wps_context *wps,
wps_attr_process.c 22 int wps_process_authenticator(struct wps_data *wps, const u8 *authenticator,
30 wpa_printf(MSG_DEBUG, "WPS: No Authenticator attribute "
35 if (wps->last_msg == NULL) {
36 wpa_printf(MSG_DEBUG, "WPS: Last message not available for "
44 addr[0] = wpabuf_head(wps->last_msg);
45 len[0] = wpabuf_len(wps->last_msg);
48 hmac_sha256_vector(wps->authkey, WPS_AUTHKEY_LEN, 2, addr, len, hash);
51 wpa_printf(MSG_DEBUG, "WPS: Incorrect Authenticator");
59 int wps_process_key_wrap_auth(struct wps_data *wps, struct wpabuf *msg,
67 wpa_printf(MSG_DEBUG, "WPS: No KWA in decrypted attribute")
    [all...]
wps.h 37 * struct wps_credential - WPS Credential
64 * struct wps_device_data - WPS Device Data
92 * struct wps_config - WPS configuration for a single registration protocol run
96 * wps - Pointer to long term WPS context
98 struct wps_context *wps; member in struct:wps_config
121 * assoc_wps_ie: (Re)AssocReq WPS IE (in AP; %NULL if not AP)
131 * enum wps_process_res - WPS message processing result
155 enum wps_process_res wps_process_msg(struct wps_data *wps,
159 struct wpabuf * wps_get_msg(struct wps_data *wps, enum wsc_op_code *op_code)
    [all...]
wps_upnp_web.c 2 * UPnP WPS Device - Web connections
274 * WFA WPS specifications. Extra white space has been removed to save space.
544 s = sm->wps->friendly_name;
545 s = ((s && *s) ? s : "WPS Access Point");
548 s = sm->wps->dev.manufacturer;
552 if (sm->wps->manufacturer_url)
554 sm->wps->manufacturer_url);
556 if (sm->wps->model_description)
558 sm->wps->model_description);
560 s = sm->wps->dev.model_name
    [all...]
wps_upnp_i.h 2 * UPnP for WPS / internal definitions
122 * This is known as an opaque struct declaration to users of the WPS UPnP code.
126 struct wps_context *wps; member in struct:upnp_wps_device_sm
  /external/wpa_supplicant_6/wpa_supplicant/
scan.c 50 int wps = 0; local
56 wps = 1;
65 return wps;
90 int wps = 0; local
169 wps = wpas_wps_in_use(wpa_s->conf, &req_type);
173 !wpa_s->use_client_mlme && wps != 2) {
184 if (wps) {
185 wps_ie = wps_build_probe_req_ie(wps == 2, &wpa_s->wps->dev,
186 wpa_s->wps->uuid, req_type)
    [all...]
wps_supplicant.c 2 * wpa_supplicant / WPS integration
48 wpa_printf(MSG_DEBUG, "WPS: PIN registration with " MACSTR
66 wpa_printf(MSG_DEBUG, "WPS: Network configuration replaced - "
76 wpa_printf(MSG_DEBUG, "WPS: Registration completed - waiting "
100 * Many existing WPS APs do not know how to negotiate WPA2 or CCMP in
125 wpa_printf(MSG_DEBUG, "WPS: AP found from scan results");
130 wpa_printf(MSG_DEBUG, "WPS: The AP was not found from scan "
155 wpa_printf(MSG_DEBUG, "WPS: The AP did not yet advertise WPA "
163 wpa_printf(MSG_DEBUG, "WPS: Add CCMP into the credential "
174 wpa_printf(MSG_DEBUG, "WPS: Add WPA2 into the credential
653 struct wps_context *wps; local
    [all...]
Android.mk 59 INCLUDES += $(LOCAL_PATH)/src/wps
539 OBJS += src/wps/wps.c
540 OBJS += src/wps/wps_common.c
541 OBJS += src/wps/wps_attr_parse.c
542 OBJS += src/wps/wps_attr_build.c
543 OBJS += src/wps/wps_attr_process.c
544 OBJS += src/wps/wps_dev_attr.c
545 OBJS += src/wps/wps_enrollee.c
546 OBJS += src/wps/wps_registrar.
    [all...]
Makefile 516 OBJS += ../src/wps/wps.o
517 OBJS += ../src/wps/wps_common.o
518 OBJS += ../src/wps/wps_attr_parse.o
519 OBJS += ../src/wps/wps_attr_build.o
520 OBJS += ../src/wps/wps_attr_process.o
521 OBJS += ../src/wps/wps_dev_attr.o
522 OBJS += ../src/wps/wps_enrollee.o
523 OBJS += ../src/wps/wps_registrar.o
534 OBJS += ../src/wps/wps_upnp.
    [all...]
  /external/wpa_supplicant_6/wpa_supplicant/src/
Makefile 1 SUBDIRS=common crypto drivers hlr_auc_gw eapol_supp eap_common eap_peer eap_server l2_packet radius rsn_supp tls utils wps
  /external/wpa_supplicant_6/wpa_supplicant/src/eap_peer/
eap_wsc.c 21 #include "wps/wps.h"
22 #include "wps/wps_defs.h"
33 struct wps_data *wps; member in struct:eap_wsc_data
77 struct wps_context *wps; local
79 wps = sm->wps;
80 if (wps == NULL) {
81 wpa_printf(MSG_ERROR, "EAP-WSC: WPS context not available");
104 data->wps_ctx = wps;
    [all...]
eap.h 249 * wps - WPS context data
253 struct wps_context *wps; member in struct:eap_config
  /external/wpa_supplicant_6/wpa_supplicant/src/radius/
radius_server.h 36 struct wps_context *wps; member in struct:radius_server_conf
  /external/wpa_supplicant_6/wpa_supplicant/src/eap_server/
eap_wsc.c 21 #include "wps/wps.h"
32 struct wps_data *wps; member in struct:eap_wsc_data
109 cfg.wps = sm->wps;
112 if (sm->wps == NULL || sm->wps->registrar == NULL) {
113 wpa_printf(MSG_INFO, "EAP-WSC: WPS Registrar not "
129 data->wps = wps_init(&cfg);
130 if (data->wps == NULL)
    [all...]
eap.h 106 struct wps_context *wps; member in struct:eap_config
eap_i.h 184 struct wps_context *wps; member in struct:eap_sm
  /hardware/ti/wlan/wl1271/wpa_supplicant_lib/
Android.mk 38 $(WPA_SUPPL_DIR)/src/wps
  /system/wlan/ti/wilink_6_1/wpa_supplicant_lib/
Android.mk 43 $(WPA_SUPPL_DIR)/src/wps
  /hardware/ti/wlan/wl1271/CUDK/configurationutility/
Android.mk 29 $(WPA_SUPPL_DIR)/src/wps

Completed in 286 milliseconds

1 2