diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2008-09-08 11:44:27 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-09-11 15:53:37 -0400 |
commit | 5484e23749e78d5a4f56928efaf3c4b0d862b7a6 (patch) | |
tree | ccfcde072487419d0bf32a88bc8314380d17f1bf /net/mac80211/ieee80211_i.h | |
parent | 98c8fccfaea838e62ffde2f2e44568844e0e5472 (diff) |
mac80211: move BSS handling to scan code
This moves all the BSS list handling out of mlme.c to scan.c,
no further changes except fixing kzalloc/atomic_inc/atomic_inc
to kzalloc/atomic_set(2).
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 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h index 4753ed3f3f10..792c09ca08e3 100644 --- a/net/mac80211/ieee80211_i.h +++ b/net/mac80211/ieee80211_i.h | |||
@@ -944,6 +944,12 @@ ieee80211_bss_info_update(struct ieee80211_local *local, | |||
944 | size_t len, | 944 | size_t len, |
945 | struct ieee802_11_elems *elems, | 945 | struct ieee802_11_elems *elems, |
946 | int freq, bool beacon); | 946 | int freq, bool beacon); |
947 | struct ieee80211_sta_bss * | ||
948 | ieee80211_rx_bss_add(struct ieee80211_local *local, u8 *bssid, int freq, | ||
949 | u8 *ssid, u8 ssid_len); | ||
950 | struct ieee80211_sta_bss * | ||
951 | ieee80211_rx_bss_get(struct ieee80211_local *local, u8 *bssid, int freq, | ||
952 | u8 *ssid, u8 ssid_len); | ||
947 | void ieee80211_rx_bss_put(struct ieee80211_local *local, | 953 | void ieee80211_rx_bss_put(struct ieee80211_local *local, |
948 | struct ieee80211_sta_bss *bss); | 954 | struct ieee80211_sta_bss *bss); |
949 | 955 | ||