summaryrefslogtreecommitdiffstats
path: root/net/wireless/core.h
diff options
context:
space:
mode:
authorKalle Valo2009-03-22 20:57:28 +0100
committerJohn W. Linville2009-03-28 01:13:13 +0100
commita08c1c1ac0c26229ca1ca45d554b209a56edc8be (patch)
treeb49e2968fae2612ced8a090a659309b1300fe7cb /net/wireless/core.h
parentmac80211: disable power save when scanning (diff)
downloadkernel-qcow2-linux-a08c1c1ac0c26229ca1ca45d554b209a56edc8be.tar.gz
kernel-qcow2-linux-a08c1c1ac0c26229ca1ca45d554b209a56edc8be.tar.xz
kernel-qcow2-linux-a08c1c1ac0c26229ca1ca45d554b209a56edc8be.zip
cfg80211: add feature to hold bss
In beacon filtering there needs to be a way to not expire the BSS even when no beacons are received. Add an interface to cfg80211 to hold BSS and make sure that it's not expired. Signed-off-by: Kalle Valo <kalle.valo@nokia.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/wireless/core.h')
-rw-r--r--net/wireless/core.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/wireless/core.h b/net/wireless/core.h
index 6acd483a61f8..97a6fd8b2b03 100644
--- a/net/wireless/core.h
+++ b/net/wireless/core.h
@@ -90,6 +90,8 @@ struct cfg80211_internal_bss {
struct rb_node rbn;
unsigned long ts;
struct kref ref;
+ bool hold;
+
/* must be last because of priv member */
struct cfg80211_bss pub;
};