aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorEliad Peller <eliad@wizery.com>2012-05-15 07:53:17 -0400
committerLuciano Coelho <coelho@ti.com>2012-06-06 12:28:06 -0400
commit9f5b424d6c44db1e02744ddc10c569dc7eb1c100 (patch)
tree23050096c5dd7ee46d8786737d642dabc33901a4 /drivers/net
parentafbe37185c0ecad3442791be666b6851eba52318 (diff)
wl12xx: send beacon loss events to userspace
Send beacon loss events to userspace, so it will be able to initiate roaming before disconnection Signed-off-by: Eliad Peller <eliad@wizery.com> Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/wireless/ti/wlcore/event.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/net/wireless/ti/wlcore/event.c b/drivers/net/wireless/ti/wlcore/event.c
index 4ed835799178..c976f0409865 100644
--- a/drivers/net/wireless/ti/wlcore/event.c
+++ b/drivers/net/wireless/ti/wlcore/event.c
@@ -156,6 +156,15 @@ static int wl1271_event_process(struct wl1271 *wl)
156 */ 156 */
157 ieee80211_queue_delayed_work(wl->hw, &wl->connection_loss_work, 157 ieee80211_queue_delayed_work(wl->hw, &wl->connection_loss_work,
158 msecs_to_jiffies(delay)); 158 msecs_to_jiffies(delay));
159
160 wl12xx_for_each_wlvif_sta(wl, wlvif) {
161 vif = wl12xx_wlvif_to_vif(wlvif);
162
163 ieee80211_cqm_rssi_notify(
164 vif,
165 NL80211_CQM_RSSI_BEACON_LOSS_EVENT,
166 GFP_KERNEL);
167 }
159 } 168 }
160 169
161 if (vector & REGAINED_BSS_EVENT_ID) { 170 if (vector & REGAINED_BSS_EVENT_ID) {