* [PATCH] nl80211: add new rssi event to indicate beacon loss
@ 2012-05-15 11:50 Eliad Peller
0 siblings, 0 replies; only message in thread
From: Eliad Peller @ 2012-05-15 11:50 UTC (permalink / raw)
To: Johannes Berg; +Cc: linux-wireless
Tell userspace about beacon loss event.
This event doesn't replace the deauth/disassoc that
might come if the AP is not available.
The driver can send this event in order to hint
userspace what might follow (which in turn can
use it as roaming trigger).
Signed-off-by: Eliad Peller <eliad@wizery.com>
---
include/linux/nl80211.h | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/include/linux/nl80211.h b/include/linux/nl80211.h
index 2540e86..01d2108 100644
--- a/include/linux/nl80211.h
+++ b/include/linux/nl80211.h
@@ -2532,10 +2532,14 @@ enum nl80211_attr_cqm {
* configured threshold
* @NL80211_CQM_RSSI_THRESHOLD_EVENT_HIGH: The RSSI is higher than the
* configured threshold
+ * @NL80211_CQM_RSSI_BEACON_LOSS_EVENT: The device experienced beacon loss.
+ * (Note that deauth/disassoc will still follow if the AP is not
+ * available. This event might get used as roaming event, etc.)
*/
enum nl80211_cqm_rssi_threshold_event {
NL80211_CQM_RSSI_THRESHOLD_EVENT_LOW,
NL80211_CQM_RSSI_THRESHOLD_EVENT_HIGH,
+ NL80211_CQM_RSSI_BEACON_LOSS_EVENT,
};
--
1.7.6.401.g6a319
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2012-05-15 11:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-15 11:50 [PATCH] nl80211: add new rssi event to indicate beacon loss Eliad Peller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).