]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd04257935bc92b3f3a6be4990c82a17aa9af6ee6
tree20ebfb32c8b0adeceb57fc89f22c60205b4f2907
parentaef259ed43617b16791f19dd771d77fc6bee5357
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