diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2008-09-08 11:44:25 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-09-11 15:53:36 -0400 |
commit | 0a51b27e956bd9580296c48191b78175ed8b5971 (patch) | |
tree | fd48f13e3f8eb75675c1c8d32c7214df2af47814 /net/mac80211/ieee80211_i.h | |
parent | ee96d6ef82cc29421569b7cb7f7c7ee90168ec50 (diff) |
mac80211: start moving scan code from mlme
Here's a first patch to move some code from mlme.c to a
new file called scan.c. The end result will hopefully be
a more manageable mlme.c.
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 | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h index a33bbd1ca2b1..25dccd5cb2ff 100644 --- a/net/mac80211/ieee80211_i.h +++ b/net/mac80211/ieee80211_i.h | |||
@@ -53,6 +53,12 @@ struct ieee80211_local; | |||
53 | * increased memory use (about 2 kB of RAM per entry). */ | 53 | * increased memory use (about 2 kB of RAM per entry). */ |
54 | #define IEEE80211_FRAGMENT_MAX 4 | 54 | #define IEEE80211_FRAGMENT_MAX 4 |
55 | 55 | ||
56 | /* | ||
57 | * Time after which we ignore scan results and no longer report/use | ||
58 | * them in any way. | ||
59 | */ | ||
60 | #define IEEE80211_SCAN_RESULT_EXPIRE (10 * HZ) | ||
61 | |||
56 | struct ieee80211_fragment_entry { | 62 | struct ieee80211_fragment_entry { |
57 | unsigned long first_frag_time; | 63 | unsigned long first_frag_time; |
58 | unsigned int seq; | 64 | unsigned int seq; |
@@ -924,8 +930,13 @@ u64 ieee80211_sta_get_rates(struct ieee80211_local *local, | |||
924 | enum ieee80211_band band); | 930 | enum ieee80211_band band); |
925 | void ieee80211_sta_tx(struct ieee80211_sub_if_data *sdata, struct sk_buff *skb, | 931 | void ieee80211_sta_tx(struct ieee80211_sub_if_data *sdata, struct sk_buff *skb, |
926 | int encrypt); | 932 | int encrypt); |
933 | void ieee80211_send_probe_req(struct ieee80211_sub_if_data *sdata, u8 *dst, | ||
934 | u8 *ssid, size_t ssid_len); | ||
927 | void ieee802_11_parse_elems(u8 *start, size_t len, | 935 | void ieee802_11_parse_elems(u8 *start, size_t len, |
928 | struct ieee802_11_elems *elems); | 936 | struct ieee802_11_elems *elems); |
937 | void ieee80211_mlme_notify_scan_completed(struct ieee80211_local *local); | ||
938 | int ieee80211_sta_start_scan(struct ieee80211_sub_if_data *scan_sdata, | ||
939 | u8 *ssid, size_t ssid_len); | ||
929 | 940 | ||
930 | #ifdef CONFIG_MAC80211_MESH | 941 | #ifdef CONFIG_MAC80211_MESH |
931 | void ieee80211_start_mesh(struct ieee80211_sub_if_data *sdata); | 942 | void ieee80211_start_mesh(struct ieee80211_sub_if_data *sdata); |