Search Linux Wireless

[PATCH] mac80211: send beacon loss events to userspace

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Send beacon loss events to userspace, so it will be
able to initiate roaming before disconnection

Signed-off-by: Holger Schurig <holgerschurig@xxxxxxxxxxxxxx>
---

depends on "nl80211: add new rssi event to indicate beacon loss".


Index: compat-wireless-2012-05-08/net/mac80211/mlme.c
===================================================================
--- compat-wireless-2012-05-08.orig/net/mac80211/mlme.c	2012-05-08 22:13:05.000000000 +0200
+++ compat-wireless-2012-05-08/net/mac80211/mlme.c	2012-05-15 15:09:46.664789656 +0200
@@ -1571,6 +1571,8 @@
 		printk(KERN_DEBUG "%s: detected beacon loss from AP "
 		       "- sending probe request\n", sdata->name);
 #endif
+	ieee80211_cqm_rssi_notify(&sdata->vif,
+		NL80211_CQM_RSSI_BEACON_LOSS_EVENT, GFP_KERNEL);

 	/*
 	 * The driver/our work has already reported this event or the
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux