ath10k: fix STA u-APSD
authorMichal Kazior <michal.kazior@tieto.com>
Fri, 12 Dec 2014 11:41:36 +0000 (12:41 +0100)
committerKalle Valo <kvalo@qca.qualcomm.com>
Tue, 16 Dec 2014 07:25:37 +0000 (09:25 +0200)
commit9f9b5746246014890b85a4bfd83b9bbd0f223ac2
tree93b140f9d9a93e26720ad9b6375f1cd78a4c11ea
parent91b12089b18a17cf510f636e29c2cb3a901fe7a5
ath10k: fix STA u-APSD

To comply with WMM-PS the device shouldn't wake up
with a NullFunc frame pair when tx-ing. Instead PM
bit on each tx frame should be used.

To make this work correctly firmware needs to be
told to use a different STA PS wake threshold when
u-APSD is enabled.

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
drivers/net/wireless/ath/ath10k/wmi.h