No subject
bogus at does.not.exist.com
bogus at does.not.exist.com
Wed Jan 26 18:46:16 PST 2011
wpa_supplicant is compiled with WPS support.
Thank you,
Andriy
On 22 September 2011 18:53, Andriy Tkachuk
<andriy.v.tkachuk at globallogic.com> wrote:
> Hi folks,
>
> The following patch set the WPS/WSC IE for ProbeRequests (as required
> by WPS spec) via WEXT driver wrapper.
>
> diff --git a/src/drivers/driver_wext.c b/src/drivers/driver_wext.c
> index e731101..85b6ef6 100644
> --- a/src/drivers/driver_wext.c
> +++ b/src/drivers/driver_wext.c
> @@ -43,6 +43,7 @@ static int wpa_driver_wext_get_range(void *priv);
> =A0static int wpa_driver_wext_finish_drv_init(struct wpa_driver_wext_data=
*drv);
> =A0static void wpa_driver_wext_disconnect(struct wpa_driver_wext_data *dr=
v);
> =A0static int wpa_driver_wext_set_auth_alg(void *priv, int auth_alg);
> +static int wpa_driver_wext_set_gen_ie(void *priv, const u8 *ie, size_t i=
e_len);
>
>
> =A0int wpa_driver_wext_set_auth_param(struct wpa_driver_wext_data *drv,
> @@ -989,6 +990,8 @@ int wpa_driver_wext_scan(void *priv, struct
> wpa_driver_scan_params *params)
> =A0 =A0 =A0 =A0os_memset(&iwr, 0, sizeof(iwr));
> =A0 =A0 =A0 =A0os_strlcpy(iwr.ifr_name, drv->ifname, IFNAMSIZ);
>
> + =A0 =A0 =A0 wpa_driver_wext_set_gen_ie(priv, params->extra_ies,
> + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=
=A0 =A0params->extra_ies_len);
> =A0 =A0 =A0 =A0if (ssid && ssid_len) {
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0os_memset(&req, 0, sizeof(req));
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0req.essid_len =3D ssid_len;
>
>
> Regards,
> =A0 Andriy
>
More information about the Hostap
mailing list