introduce WEXT scan capabilities
authorDan Williams <dcbw@redhat.com>
Wed, 12 Dec 2007 15:25:07 +0000 (10:25 -0500)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 22:58:25 +0000 (14:58 -0800)
commit374fdfbc67837c1f4369eedb0f371ce3e6cce832
tree2bfa7f0294d83c19c23d680f74b3322e0e8200dc
parentc49e5ea322c2fb43f430abb3c4a49eae1394287e
introduce WEXT scan capabilities

Introduce scan capabilities to WEXT so that userspace can do intelligent
things with scan behavior such as handling hidden SSIDs more gracefully.
If the driver reports a specific scan capability, the driver must
respect the options specified in the iw_scan_req structure when handling
the SIOCSIWSCAN call, unless it's mode or state does not allow it to do
so, in which case it must return an error.

This version switches to Dave Kilroy's suggestion of claiming unused
padding space for the scan_capa field.

Signed-off-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/wireless/hostap/hostap_ioctl.c
drivers/net/wireless/ipw2200.c
include/linux/wireless.h
net/mac80211/ieee80211_ioctl.c