AW: Get IEs from Scan result

volker.obhof.w at sew-eurodrive.de volker.obhof.w at sew-eurodrive.de
Fri Jun 26 05:12:40 EDT 2015


Ok thanks for your help.

But up until now, I don't understand when a new association is requested to a AP which I want to connect.

In a background scan (e.g. simple background scan) there is only data handled from several probe repsones.

But where is a decision set which AP I want to connect?

-----Ursprüngliche Nachricht-----
Von: hostap-bounces at lists.shmoo.com [mailto:hostap-bounces at lists.shmoo.com] Im Auftrag von Jouni Malinen
Gesendet: Freitag, 26. Juni 2015 10:58
An: hostap at lists.shmoo.com
Betreff: Re: Get IEs from Scan result

On Fri, Jun 26, 2015 at 08:36:29AM +0000, volker.obhof.w at sew-eurodrive.de wrote:
> So there are the structs “wpa_scan_results” and “wpa_scan_res”. In struct “wpa_scan_res” there is a variable “ie_len”.
>
> How can I get IEs from  current scan (probe response) because I only have IE length in that struct?

See the struct wpa_scan_res documentation in src/drivers/driver.h for
details on where the IEs are stored. For most purposes, the
wpa_scan_get_ie() and wpa_scan_get_vendor_ie() helpers should be used to
fetch an IE.

--
Jouni Malinen                                            PGP id EFC895FA
_______________________________________________
HostAP mailing list
HostAP at lists.shmoo.com
http://lists.shmoo.com/mailman/listinfo/hostap

________________________________


SEW-EURODRIVE GmbH & Co KG
Kommanditgesellschaft, Sitz: Bruchsal, RG Mannheim HRA 230970
Komplementärin: SEW-EURODRIVE Verwaltungs-GmbH, Sitz: Bruchsal, RG Mannheim HRB 230207

Gesellschafter: Jürgen Blickle, Rainer Blickle
Geschäftsführer: Jürgen Blickle (Vorsitzender), Johann Soder, Dr. Jürgen Zanghellini


More information about the HostAP mailing list