ath10k: fix SMPS support
authorMichal Kazior <michal.kazior@tieto.com>
Fri, 14 Feb 2014 13:45:51 +0000 (14:45 +0100)
committerKalle Valo <kvalo@qca.qualcomm.com>
Sat, 15 Feb 2014 06:47:36 +0000 (08:47 +0200)
commit90046f509dca8e754b75aacb6ef7afa68b102c63
tree3c5cf5f404771f439e37a67ac2a582794f161851
parent75459e3338928bdbe9618b626a6471764e2e53f0
ath10k: fix SMPS support

Firmware ignores SMPS flags in peer assoc command.

For SMPS to work it is necessary to set peer
parameter after peer assoc command so that tx
chainmask is setup properly.

This should fix packet loss and improve throughput
with stations that have SMPS enabled upon
association.

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