diff options
author | Johannes Berg <johannes.berg@intel.com> | 2011-07-18 12:08:36 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-07-19 16:50:00 -0400 |
commit | 85a237fe308405ee38eb9c6733571c49902ec229 (patch) | |
tree | 8e8fdbd588a749b7eb7da24d65684a2ca6161c6b /net/mac80211/ieee80211_i.h | |
parent | 34850ab25d74ab4eead62c3b4a9e8036a25cc669 (diff) |
mac80211: implement scan supported rates
Scanning currently uses the TX rate mask to
restrict the rate set, which is bogus. Make
it use the new set of rates from userspace.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/ieee80211_i.h')
-rw-r--r-- | net/mac80211/ieee80211_i.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h index 1b845bb49c41..eb9d4826f775 100644 --- a/net/mac80211/ieee80211_i.h +++ b/net/mac80211/ieee80211_i.h | |||
@@ -1377,14 +1377,14 @@ int ieee80211_build_preq_ies(struct ieee80211_local *local, u8 *buffer, | |||
1377 | enum ieee80211_band band, u32 rate_mask, | 1377 | enum ieee80211_band band, u32 rate_mask, |
1378 | u8 channel); | 1378 | u8 channel); |
1379 | struct sk_buff *ieee80211_build_probe_req(struct ieee80211_sub_if_data *sdata, | 1379 | struct sk_buff *ieee80211_build_probe_req(struct ieee80211_sub_if_data *sdata, |
1380 | u8 *dst, | 1380 | u8 *dst, u32 ratemask, |
1381 | const u8 *ssid, size_t ssid_len, | 1381 | const u8 *ssid, size_t ssid_len, |
1382 | const u8 *ie, size_t ie_len, | 1382 | const u8 *ie, size_t ie_len, |
1383 | bool directed); | 1383 | bool directed); |
1384 | void ieee80211_send_probe_req(struct ieee80211_sub_if_data *sdata, u8 *dst, | 1384 | void ieee80211_send_probe_req(struct ieee80211_sub_if_data *sdata, u8 *dst, |
1385 | const u8 *ssid, size_t ssid_len, | 1385 | const u8 *ssid, size_t ssid_len, |
1386 | const u8 *ie, size_t ie_len, | 1386 | const u8 *ie, size_t ie_len, |
1387 | bool directed); | 1387 | u32 ratemask, bool directed); |
1388 | 1388 | ||
1389 | void ieee80211_sta_def_wmm_params(struct ieee80211_sub_if_data *sdata, | 1389 | void ieee80211_sta_def_wmm_params(struct ieee80211_sub_if_data *sdata, |
1390 | const size_t supp_rates_len, | 1390 | const size_t supp_rates_len, |