ath6kl: configure wow filters per-vif
authorThomas Pedersen <c_tpeder@qca.qualcomm.com>
Fri, 10 Aug 2012 00:32:33 +0000 (17:32 -0700)
committerKalle Valo <kvalo@qca.qualcomm.com>
Wed, 24 Oct 2012 08:49:39 +0000 (11:49 +0300)
commitfd4377b6bacc0f04bb1898f3ccab9510172a7561
treece7b08cdb0e5e4c03c331d6240ae81677da6fb9f
parentf8c0305383121817c77d400c788d82ca1a74582c
ath6kl: configure wow filters per-vif

Only WoW filters for the first vif were being set, causing failures to
wake up on any concurrent connected vifs. Handle all per-vif suspend
and resume tasks.

Since cfg80211 issues user wow filters on a per-wiphy basis, set any
custom filters on all connected vifs.

Starting WoW in firmware and setting host sleep mode is still handled on
a global per-phy level. The first vif is always used for bookkeeping
regardless of whether it is connected or not.

WoW is cancelled if no connected vifs are found.

No firmware capability bits or API bump is needed for this patch, as
setting filters for vifs with index > 0 will simply overwrite the index
0 filters in the current implementation. While not correct, this is
identical to the existing behavior.

kvalo: fix a checkpatch warning in ath6kl_wow_resume()

Signed-off-by: Thomas Pedersen <c_tpeder@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath6kl/cfg80211.c
This page took 0.025384 seconds and 5 git commands to generate.