ath10k: Enable hw checksum for wcn3990

Kalle Valo kvalo at codeaurora.org
Mon Apr 16 06:16:52 PDT 2018


Rakesh Pillai <pillair at codeaurora.org> wrote:

> 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 at codeaurora.org>
> Signed-off-by: Kalle Valo <kvalo at codeaurora.org>

Introduces a new sparse warning:

potku:~/ath10k/src/ath$ ath10k-check 
drivers/net/wireless/ath/ath10k/htt_tx.c:1480:47: warning: invalid assignment: |=
drivers/net/wireless/ath/ath10k/htt_tx.c:1480:47:    left side has type restricted __le32
drivers/net/wireless/ath/ath10k/htt_tx.c:1480:47:    right side has type unsigned long

Patch set to Changes Requested.

-- 
https://patchwork.kernel.org/patch/10325669/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches




More information about the ath10k mailing list