aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorEliad Peller <eliad@wizery.com>2012-05-15 07:50:58 -0400
committerJohn W. Linville <linville@tuxdriver.com>2012-06-05 15:23:21 -0400
commit5dad021dee7c3c601a9e17d86139e586c05c2ee2 (patch)
tree249a03324565a0fa9271e130c5931e7af6651dbc /include
parentd25360b19008e59585defb16823804c40d4723ab (diff)
nl80211: add new rssi event to indicate beacon loss
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> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/nl80211.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/nl80211.h b/include/linux/nl80211.h
index a6959f72745e..6930dddad18a 100644
--- a/include/linux/nl80211.h
+++ b/include/linux/nl80211.h
@@ -2534,10 +2534,14 @@ enum nl80211_attr_cqm {
2534 * configured threshold 2534 * configured threshold
2535 * @NL80211_CQM_RSSI_THRESHOLD_EVENT_HIGH: The RSSI is higher than the 2535 * @NL80211_CQM_RSSI_THRESHOLD_EVENT_HIGH: The RSSI is higher than the
2536 * configured threshold 2536 * configured threshold
2537 * @NL80211_CQM_RSSI_BEACON_LOSS_EVENT: The device experienced beacon loss.
2538 * (Note that deauth/disassoc will still follow if the AP is not
2539 * available. This event might get used as roaming event, etc.)
2537 */ 2540 */
2538enum nl80211_cqm_rssi_threshold_event { 2541enum nl80211_cqm_rssi_threshold_event {
2539 NL80211_CQM_RSSI_THRESHOLD_EVENT_LOW, 2542 NL80211_CQM_RSSI_THRESHOLD_EVENT_LOW,
2540 NL80211_CQM_RSSI_THRESHOLD_EVENT_HIGH, 2543 NL80211_CQM_RSSI_THRESHOLD_EVENT_HIGH,
2544 NL80211_CQM_RSSI_BEACON_LOSS_EVENT,
2541}; 2545};
2542 2546
2543 2547