diff options
author | Johannes Berg <johannes.berg@intel.com> | 2011-11-04 06:18:17 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-11-09 16:13:51 -0500 |
commit | 5e760230e42cf759bd923457ca2753aacf2e656e (patch) | |
tree | c5fd969b75460a915f604fa10bf635999d09989f /net/wireless/core.h | |
parent | 06500736c5d26bff93a4f358713689073e66d0f5 (diff) |
cfg80211: allow registering to beacons
Add the ability to register to received beacon frames
to allow implementing OLBC logic in userspace. The
registration is per wiphy since there's no point in
receiving the same frame multiple times.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/wireless/core.h')
-rw-r--r-- | net/wireless/core.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/wireless/core.h b/net/wireless/core.h index b9ec3061ed72..4c6ff4024356 100644 --- a/net/wireless/core.h +++ b/net/wireless/core.h | |||
@@ -54,6 +54,8 @@ struct cfg80211_registered_device { | |||
54 | int opencount; /* also protected by devlist_mtx */ | 54 | int opencount; /* also protected by devlist_mtx */ |
55 | wait_queue_head_t dev_wait; | 55 | wait_queue_head_t dev_wait; |
56 | 56 | ||
57 | u32 ap_beacons_nlpid; | ||
58 | |||
57 | /* BSSes/scanning */ | 59 | /* BSSes/scanning */ |
58 | spinlock_t bss_lock; | 60 | spinlock_t bss_lock; |
59 | struct list_head bss_list; | 61 | struct list_head bss_list; |