ath10k: limit multi-vif ps more aggresivelly
authorMichal Kazior <michal.kazior@tieto.com>
Thu, 9 Jul 2015 11:08:35 +0000 (13:08 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Sat, 11 Jul 2015 16:06:21 +0000 (19:06 +0300)
commit424f26301467daf241a4afe4b6fe82750d4ac624
tree56ad68d3c460cc7aa1385250ecf9dc828d6d9545
parent835d56a10c1fcfb0fee28bb6aceb722e1a6f643a
ath10k: limit multi-vif ps more aggresivelly

Further testing proved that multi-channel AP+STA
on QCA6174 with RM.2.0-00088 should have powersave
force-disabled to avoid beacon misses/skipping on
either side which in turn could disrupt
communication.

Since AP never has arvif->ps don't even bother
checking it. Other combinations may be broken as
well so disallow powersave with multivif outright
unless firmware advertises otherwise.

Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/mac.c