[wpa_supplicant] - request for clarification
Thu Jul 15 08:03:26 PDT 2010
I'm trying to understand the wpa_supplicant code (debian src. ver.
0.6.10). It is compiled with support for the wireless extensions
Could someone explain to me why during the disconnection from access
point (AP) (wpa_driver_wext_disconnect function) the bssid is set to
null values and afterwards the ssid is modified (set to random numbers)
by calling the wpa_driver_wext_set_ssid(drv, ssid, 32).
Why ssid is set to random numbers? What is the purpose to feed the
driver with random numbers to simulate the AP's valid SSID?
What if after successful connection with AP (via WPA/WPA2) the
connection is forced to be closed and after that it is started again and
is supposed to connect to cached AP (with which connection has been set
Can anyone explain why it is done like that?
And another aspect: If driver has received and interpreted random
numbers as valid AP SSID, it will try to connect to this "random" AP.
This attempt will fail, but time for this attempt is consumed anyway.
Thanks in advance.
Samsung Poland R&D Center
More information about the Hostap