summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath6kl/main.c
diff options
context:
space:
mode:
authorNaveen Gangadharan <ngangadh@qca.qualcomm.com>2012-05-11 14:19:09 -0700
committerKalle Valo <kvalo@qca.qualcomm.com>2012-05-14 09:48:22 +0300
commit6821d4f08dcdc7d8c21a3280f57f53a080f19840 (patch)
tree6dad3f45566473d3b1fc9dfbf036ff1ae2411ab8 /drivers/net/wireless/ath/ath6kl/main.c
parent8ab5415d6c701a59dd6fc2bc93cf476ecc03ada5 (diff)
downloadop-kernel-dev-6821d4f08dcdc7d8c21a3280f57f53a080f19840.zip
op-kernel-dev-6821d4f08dcdc7d8c21a3280f57f53a080f19840.tar.gz
ath6kl: Add wow multicast firmware capability support
Infrastructure to enable Multicast WOW support based on firmware capability added to the driver.This enables different customers or chips to control this feature based on firmware capability. kvalo: Firmware capability infrastructure for multicast wow feature, indetation fixes. Signed-off-by: Naveen Gangadharan <ngangadh@qca.qualcomm.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath6kl/main.c')
-rw-r--r--drivers/net/wireless/ath/ath6kl/main.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/main.c b/drivers/net/wireless/ath/ath6kl/main.c
index e552447..3e6768a 100644
--- a/drivers/net/wireless/ath/ath6kl/main.c
+++ b/drivers/net/wireless/ath/ath6kl/main.c
@@ -1167,7 +1167,10 @@ static void ath6kl_set_multicast_list(struct net_device *ndev)
else
clear_bit(NETDEV_MCAST_ALL_ON, &vif->flags);
- mc_all_on = mc_all_on || (vif->ar->state == ATH6KL_STATE_ON);
+ if (test_bit(ATH6KL_FW_CAPABILITY_WOW_MULTICAST_FILTER,
+ vif->ar->fw_capabilities)) {
+ mc_all_on = mc_all_on || (vif->ar->state == ATH6KL_STATE_ON);
+ }
if (!(ndev->flags & IFF_MULTICAST)) {
mc_all_on = false;
OpenPOWER on IntegriCloud