]> asedeno.scripts.mit.edu Git - linux.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)
commit20529b33aa12224e4399b4486e5ab617cf8f3e5e
tree990d602b1e64573f5e1db2a316ace95223f6c0fc
parent0fc8bb50bbfc82d113218c803e1965838dcdbc89
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