Skip to content

Commit

Permalink
wl12xx: send beacon loss events to userspace
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Eliad Peller authored and Luciano Coelho committed Jun 6, 2012
1 parent afbe371 commit 9f5b424
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions drivers/net/wireless/ti/wlcore/event.c
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,15 @@ static int wl1271_event_process(struct wl1271 *wl)
*/
ieee80211_queue_delayed_work(wl->hw, &wl->connection_loss_work,
msecs_to_jiffies(delay));

wl12xx_for_each_wlvif_sta(wl, wlvif) {
vif = wl12xx_wlvif_to_vif(wlvif);

ieee80211_cqm_rssi_notify(
vif,
NL80211_CQM_RSSI_BEACON_LOSS_EVENT,
GFP_KERNEL);
}
}

if (vector & REGAINED_BSS_EVENT_ID) {
Expand Down

0 comments on commit 9f5b424

Please sign in to comment.