Skip to content

Commit 5dad021

Browse files
elplinvjw
authored andcommitted
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>
1 parent d25360b commit 5dad021

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎include/linux/nl80211.h‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2534,10 +2534,14 @@ enum nl80211_attr_cqm {
25342534
* configured threshold
25352535
* @NL80211_CQM_RSSI_THRESHOLD_EVENT_HIGH: The RSSI is higher than the
25362536
* 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.)
25372540
*/
25382541
enum nl80211_cqm_rssi_threshold_event {
25392542
NL80211_CQM_RSSI_THRESHOLD_EVENT_LOW,
25402543
NL80211_CQM_RSSI_THRESHOLD_EVENT_HIGH,
2544+
NL80211_CQM_RSSI_BEACON_LOSS_EVENT,
25412545
};
25422546

25432547

0 commit comments

Comments
 (0)