]> git.baikalelectronics.ru Git - kernel.git/commit
ath10k: poll HTT send completion when CE 5 is unused
authorRajkumar Manoharan <rmanohar@qti.qualcomm.com>
Wed, 11 Nov 2015 12:01:26 +0000 (17:31 +0530)
committerKalle Valo <kvalo@qca.qualcomm.com>
Mon, 16 Nov 2015 19:40:53 +0000 (21:40 +0200)
commit3619b268cafd282da5648dd0441ac3bc56d6d5cc
treed8ebdc379ff5146cb8ce0621dd2a184234935a7f
parenta04e527109f04d6e864719cffbe56255a8d6a1f0
ath10k: poll HTT send completion when CE 5 is unused

commit 2f52eb0f3f68 ("ath10k: configure copy engine 5 for HTT messages")
moved send completion polling under HTT Rx (CE 5) service routine. For
QCA6174 based devices copy engine 1 (CE 1) is used for HTT Rx instead
of CE 5. So send completion never be called. This is causing "failed to
transmit packet, dropping: -105" errors. Fix this by processing send
completion from CE 1 service routine instead of CE 5.

Fixes: 2f52eb0f3f68 ("ath10k: configure copy engine 5 for HTT messages")
Tested-by: Ryan Hsu <ryanhsu@qca.qualcomm.com>
Signed-off-by: Rajkumar Manoharan <rmanohar@qti.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/pci.c