]> git.baikalelectronics.ru Git - kernel.git/commit
ath10k: enable hw checksum for wcn3990
authorRakesh Pillai <pillair@codeaurora.org>
Tue, 17 Apr 2018 09:24:26 +0000 (14:54 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 24 Apr 2018 05:57:48 +0000 (08:57 +0300)
commit206aeef9863b782c2dc038417c427a50efda9b87
tree990d602b1e64573f5e1db2a316ace95223f6c0fc
parente85e13d517fd5644354a77ae94da6a83fa585430
ath10k: enable hw checksum for wcn3990

By default ath10k driver enables the support for HW_CHECKSUM
(NETIF_F_HW_CSUM). Since the TCP/UDP checksum calculation is not enabled
in the wcn3990 firmware the checksum is incorrect in the TCP/UDP packets
and all patckets are dropped. But due note that wcn3990 support in
ath10k is still incomplete so this isn't a critical fix (yet).

Enable hw checksum calculations in wcn3990 hardware by
setting the proper flags in msdu descriptor tso flags.

Signed-off-by: Rakesh Pillai <pillair@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath10k/htt.h
drivers/net/wireless/ath/ath10k/htt_tx.c