AW: Get IEs from Scan result

volker.obhof.w at volker.obhof.w
Fri Jun 26 02:12:40 PDT 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 [mailto:hostap-bounces at] Im Auftrag von Jouni Malinen
Gesendet: Freitag, 26. Juni 2015 10:58
An: hostap at
Betreff: Re: Get IEs from Scan result

On Fri, Jun 26, 2015 at 08:36:29AM +0000, volker.obhof.w at 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


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