CFT: WPA(WPA-None) in IBSS(ahdoc) mode
Bernhard Schmidt
bschmidt at techwires.net
Thu Apr 1 18:36:17 UTC 2010
Hi,
it seems there is demand for WPA-None support (at least there is a PR,
and I've been ask about it), so, I went ahead and implemented it.
I've done tests with 3 clients using attached wpa_supplicant.conf and
couldn't find any kind of issues/regressions.
Summary of the changes:
- WPA-None requires ap_scan=2:
The major difference between ap_scan=1 (default) and 2 is, that no
IEEE80211_IOC_SCAN* ioctls/functions are called, though, there is a
dependency on those. For example the call to wpa_driver_bsd_scan()
sets the interface UP, this never happens, therefore the interface
must be marked up in wpa_driver_bsd_associate(). IEEE80211_IOC_SSID
also is not called, which means that the SSID has not been set prior
to the IEEE80211_MLME_ASSOC call.
- WPA-None has no support for sequence number updates, it doesn't make
sense to check for replay violations..
- I had some crashes right after the switch to RUN state, issue is
that sc->sc_lastrs was not yet defined.
--
Bernhard
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wpa_none.diff
Type: text/x-diff
Size: 13800 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-net/attachments/20100401/0ad1750c/wpa_none.bin
-------------- next part --------------
ap_scan=2
network={
ssid="wpanone"
mode=1
key_mgmt=WPA-NONE
proto=WPA
pairwise=NONE
group=CCMP
psk="testtest"
}
More information about the freebsd-net
mailing list