diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2009-04-01 05:58:36 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-04-22 16:54:39 -0400 |
commit | de95a54b1aebe5592cae971ca5e5d9ec6a381a17 (patch) | |
tree | 55a622d1e61e73cd6426c5e0643ac9fd117a9fe8 /net/mac80211/ieee80211_i.h | |
parent | 18a8365992a8041aa178ae9ad5f0d951d0457230 (diff) |
mac80211: pass all probe request IEs to driver
Instead of just passing the cfg80211-requested IEs, pass
the locally generated ones as well.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
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 | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h index 73d9f894ed5d..cb80a80504e6 100644 --- a/net/mac80211/ieee80211_i.h +++ b/net/mac80211/ieee80211_i.h | |||
@@ -671,7 +671,10 @@ struct ieee80211_local { | |||
671 | struct cfg80211_scan_request int_scan_req; | 671 | struct cfg80211_scan_request int_scan_req; |
672 | struct cfg80211_scan_request *scan_req; | 672 | struct cfg80211_scan_request *scan_req; |
673 | struct ieee80211_channel *scan_channel; | 673 | struct ieee80211_channel *scan_channel; |
674 | const u8 *orig_ies; | ||
675 | int orig_ies_len; | ||
674 | int scan_channel_idx; | 676 | int scan_channel_idx; |
677 | int scan_ies_len; | ||
675 | 678 | ||
676 | enum { SCAN_SET_CHANNEL, SCAN_SEND_PROBE } scan_state; | 679 | enum { SCAN_SET_CHANNEL, SCAN_SEND_PROBE } scan_state; |
677 | unsigned long last_scan_completed; | 680 | unsigned long last_scan_completed; |
@@ -1090,9 +1093,11 @@ void ieee80211_send_auth(struct ieee80211_sub_if_data *sdata, | |||
1090 | u16 transaction, u16 auth_alg, | 1093 | u16 transaction, u16 auth_alg, |
1091 | u8 *extra, size_t extra_len, | 1094 | u8 *extra, size_t extra_len, |
1092 | const u8 *bssid, int encrypt); | 1095 | const u8 *bssid, int encrypt); |
1096 | int ieee80211_build_preq_ies(struct ieee80211_local *local, u8 *buffer, | ||
1097 | const u8 *ie, size_t ie_len); | ||
1093 | void ieee80211_send_probe_req(struct ieee80211_sub_if_data *sdata, u8 *dst, | 1098 | void ieee80211_send_probe_req(struct ieee80211_sub_if_data *sdata, u8 *dst, |
1094 | u8 *ssid, size_t ssid_len, | 1099 | const u8 *ssid, size_t ssid_len, |
1095 | u8 *ie, size_t ie_len); | 1100 | const u8 *ie, size_t ie_len); |
1096 | 1101 | ||
1097 | void ieee80211_sta_def_wmm_params(struct ieee80211_sub_if_data *sdata, | 1102 | void ieee80211_sta_def_wmm_params(struct ieee80211_sub_if_data *sdata, |
1098 | const size_t supp_rates_len, | 1103 | const size_t supp_rates_len, |