projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
272b98c
)
iwlwifi: mvm: Disable uAPSD for D3 image
author
Alexander Bondar
<
[email protected]
>
Fri, 30 Aug 2013 08:12:05 +0000
(11:12 +0300)
committer
Johannes Berg
<
[email protected]
>
Wed, 2 Oct 2013 09:18:10 +0000
(11:18 +0200)
The D3 firmware image doesn't support uAPSD, so disable it.
Signed-off-by: Alexander Bondar <
[email protected]
>
Reviewed-by: Guy Cohen <
[email protected]
>
Reviewed-by: Emmanuel Grumbach <
[email protected]
>
Signed-off-by: Johannes Berg <
[email protected]
>
drivers/net/wireless/iwlwifi/mvm/power.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/iwlwifi/mvm/power.c
b/drivers/net/wireless/iwlwifi/mvm/power.c
index 21407a353a3b0e623c87ae3627957ae45ae3b162..d58e393324ef3ff9591f1cf297cf656c259037ae 100644
(file)
--- a/
drivers/net/wireless/iwlwifi/mvm/power.c
+++ b/
drivers/net/wireless/iwlwifi/mvm/power.c
@@
-273,7
+273,10
@@
static void iwl_mvm_power_build_cmd(struct iwl_mvm *mvm,
if (!mvmvif->queue_params[ac].uapsd)
continue;
- cmd->flags |= cpu_to_le16(POWER_FLAGS_ADVANCE_PM_ENA_MSK);
+ if (mvm->cur_ucode != IWL_UCODE_WOWLAN)
+ cmd->flags |=
+ cpu_to_le16(POWER_FLAGS_ADVANCE_PM_ENA_MSK);
+
cmd->uapsd_ac_flags |= BIT(ac);
/* QNDP TID - the highest TID with no admission control */