diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2009-04-20 17:36:56 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-04-22 16:57:18 -0400 |
commit | 1ecf9fc1317f8df91eb1d74360f408558d657478 (patch) | |
tree | 3709c5b51fa28847a891b9a19bba693fe38f95a9 /drivers/net/wireless/iwlwifi/iwl-core.c | |
parent | 9b3bf06abad70db820c74c90118ea49358549d22 (diff) |
iwlwifi: improve scan support
This modifies iwlwifi to
* no longer build its own probe request, but use mac80211's
* therefore, support arbitrary scan IEs (up to the max len)
* support multiple scan SSIDs
* support passive scanning
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-core.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-core.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-core.c b/drivers/net/wireless/iwlwifi/iwl-core.c index f2317524028..c43c57d7a4c 100644 --- a/drivers/net/wireless/iwlwifi/iwl-core.c +++ b/drivers/net/wireless/iwlwifi/iwl-core.c | |||
@@ -1309,8 +1309,10 @@ int iwl_setup_mac(struct iwl_priv *priv) | |||
1309 | BIT(NL80211_IFTYPE_ADHOC); | 1309 | BIT(NL80211_IFTYPE_ADHOC); |
1310 | 1310 | ||
1311 | hw->wiphy->custom_regulatory = true; | 1311 | hw->wiphy->custom_regulatory = true; |
1312 | hw->wiphy->max_scan_ssids = 1; | 1312 | |
1313 | hw->wiphy->max_scan_ie_len = 0; /* XXX for now */ | 1313 | hw->wiphy->max_scan_ssids = PROBE_OPTION_MAX; |
1314 | /* we create the 802.11 header and a zero-length SSID element */ | ||
1315 | hw->wiphy->max_scan_ie_len = IWL_MAX_PROBE_REQUEST - 24 - 2; | ||
1314 | 1316 | ||
1315 | /* Default value; 4 EDCA QOS priorities */ | 1317 | /* Default value; 4 EDCA QOS priorities */ |
1316 | hw->queues = 4; | 1318 | hw->queues = 4; |