Clean up HT40 scan and share nl80211 scanning code
authorJouni Malinen <jouni.malinen@atheros.com>
Thu, 16 Apr 2009 13:22:40 +0000 (16:22 +0300)
committerJouni Malinen <j@w1.fi>
Thu, 16 Apr 2009 13:22:40 +0000 (16:22 +0300)
commitad1e68e6b5c4586d726ae357f1aa130d57deebea
treedd775d0e83ae629d20896ad988c081ede9798443
parent814aaa844a71290aaff497510e4a0d72ab1ca8ba
Clean up HT40 scan and share nl80211 scanning code

Instead of adding a new driver_ops for fetching neighbor BSS data (that
nl80211 driver interface had to scan during initialization), share the
same scan operations that wpa_supplicant is using. This gets rid of
duplicated scan code in driver_nl80211.c (and better yet, removes large
part of old WEXT code).

hostapd interface initialization is now completed in a callback, if
needed, i.e., he_features channel/hw_mode selection can use as much time
as needed. This can also help with radar detection in the future.
hostapd/driver_i.h
hostapd/drv_callbacks.c
hostapd/hostapd.c
hostapd/hostapd.h
hostapd/hw_features.c
hostapd/hw_features.h
src/drivers/driver.h
src/drivers/driver_ndis.c
src/drivers/driver_nl80211.c
src/drivers/driver_privsep.c
src/drivers/driver_test.c