nl80211 and switching between WPS-PIN and WPS-PBC
Wed Mar 31 22:22:00 PDT 2010
With nl80211 driver, switching between WPS-PBC & WPS-PIN does not work
since AP does not advertise the active WPS-PBC/PIN session in beacon.
Whenever we use WPS-PIN after a WPS-PBC session or vice-e-versa, later
does not get advertised in the beacon. Reason for this behavior is
set_ap_wps_ie function pointer in driver_nl80211 is set to null.
As per my understanding, set_ap_wps_ie function can be set to null if
kernel driver uses the beacon template from set_beacon(). Whenever WPS
registrar information is changed, hostapd gives modified WPS IE to the
driver through this function. But, this information is not reflected in
the beacons by hostapd when the driver does not provide set_ap_wps_ie
Issue is observed in hostapd 6.9, 6,10, and 7.1 with driver
Simple solution for this would be calling set_beacon every time WPS-IE
information is modified/changed whenever set_ap_wps_ie function is NULL.
Attached is RFC for invoking set_beacon() every time WPS IE is modified.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 0 bytes
Desc: not available
Url : http://lists.shmoo.com/pipermail/hostap/attachments/20100401/c9a7bce3/attachment.bin
More information about the Hostap