aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/ieee80211_i.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2008-09-08 11:44:26 -0400
committerJohn W. Linville <linville@tuxdriver.com>2008-09-11 15:53:37 -0400
commit98c8fccfaea838e62ffde2f2e44568844e0e5472 (patch)
treec69552d4be03dd8321b6f90b3fbb17c607fa9940 /net/mac80211/ieee80211_i.h
parent0a51b27e956bd9580296c48191b78175ed8b5971 (diff)
mac80211: refactor and move scan RX code
This patch refactors some code and moves the scan RX function to scan.c. More importantly, however, it changes it so that the MLME's beacon/probe_resp functions aren't invoked when scanning so that we can remove a "if (scanning)" conditions from two places. There's a very slight behavioural change in this patch: now, when scanning, IBSS and mesh aren't updated even on the same channel. 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.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h
index 25dccd5cb2ff..4753ed3f3f10 100644
--- a/net/mac80211/ieee80211_i.h
+++ b/net/mac80211/ieee80211_i.h
@@ -937,6 +937,15 @@ void ieee802_11_parse_elems(u8 *start, size_t len,
937void ieee80211_mlme_notify_scan_completed(struct ieee80211_local *local); 937void ieee80211_mlme_notify_scan_completed(struct ieee80211_local *local);
938int ieee80211_sta_start_scan(struct ieee80211_sub_if_data *scan_sdata, 938int ieee80211_sta_start_scan(struct ieee80211_sub_if_data *scan_sdata,
939 u8 *ssid, size_t ssid_len); 939 u8 *ssid, size_t ssid_len);
940struct ieee80211_sta_bss *
941ieee80211_bss_info_update(struct ieee80211_local *local,
942 struct ieee80211_rx_status *rx_status,
943 struct ieee80211_mgmt *mgmt,
944 size_t len,
945 struct ieee802_11_elems *elems,
946 int freq, bool beacon);
947void ieee80211_rx_bss_put(struct ieee80211_local *local,
948 struct ieee80211_sta_bss *bss);
940 949
941#ifdef CONFIG_MAC80211_MESH 950#ifdef CONFIG_MAC80211_MESH
942void ieee80211_start_mesh(struct ieee80211_sub_if_data *sdata); 951void ieee80211_start_mesh(struct ieee80211_sub_if_data *sdata);