diff options
author | Dan Williams <dcbw@redhat.com> | 2007-12-12 10:25:07 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 17:58:25 -0500 |
commit | 374fdfbc67837c1f4369eedb0f371ce3e6cce832 (patch) | |
tree | 2bfa7f0294d83c19c23d680f74b3322e0e8200dc /drivers/net/wireless/ipw2200.c | |
parent | c49e5ea322c2fb43f430abb3c4a49eae1394287e (diff) |
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>
Diffstat (limited to 'drivers/net/wireless/ipw2200.c')
-rw-r--r-- | drivers/net/wireless/ipw2200.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/ipw2200.c b/drivers/net/wireless/ipw2200.c index 003f73f89efa..be31304dfad5 100644 --- a/drivers/net/wireless/ipw2200.c +++ b/drivers/net/wireless/ipw2200.c | |||
@@ -8912,6 +8912,8 @@ static int ipw_wx_get_range(struct net_device *dev, | |||
8912 | range->enc_capa = IW_ENC_CAPA_WPA | IW_ENC_CAPA_WPA2 | | 8912 | range->enc_capa = IW_ENC_CAPA_WPA | IW_ENC_CAPA_WPA2 | |
8913 | IW_ENC_CAPA_CIPHER_TKIP | IW_ENC_CAPA_CIPHER_CCMP; | 8913 | IW_ENC_CAPA_CIPHER_TKIP | IW_ENC_CAPA_CIPHER_CCMP; |
8914 | 8914 | ||
8915 | range->scan_capa = IW_SCAN_CAPA_ESSID | IW_SCAN_CAPA_TYPE; | ||
8916 | |||
8915 | IPW_DEBUG_WX("GET Range\n"); | 8917 | IPW_DEBUG_WX("GET Range\n"); |
8916 | return 0; | 8918 | return 0; |
8917 | } | 8919 | } |