ath10k: workaround corrupted htt rx events
authorMichal Kazior <michal.kazior@tieto.com>
Mon, 9 Feb 2015 14:04:55 +0000 (15:04 +0100)
committerKalle Valo <kvalo@qca.qualcomm.com>
Wed, 4 Mar 2015 12:07:15 +0000 (14:07 +0200)
commit6383864053cc456aa82847cd910257deaa34eb5a
tree20ebfb32c8b0adeceb57fc89f22c60205b4f2907
parentdb2cf865c75792f2e52596bf3e94e9a98272becf
ath10k: workaround corrupted htt rx events

qca6174 WLAN.RM.2.0-00073 firmware uses full rx
reordering offload and delivers Rx via a new HTT
event. The event however is incorrectly generated
in firmware and becomes overly long (with trailing
garbage). This was hitting defined CE buffer limit
that was programmed to the device and caused
device to crash upon busier Rx traffic.

Increasing the CE buffer limit for HTT Rx pipe to
2KBytes seems to be enough to workaround this
problem.

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