]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: fix TCP CSUM offload with WEP and A000 series
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Wed, 21 Jun 2017 07:35:09 +0000 (10:35 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Tue, 1 Aug 2017 08:02:54 +0000 (11:02 +0300)
commitda8ca78a99d6f0ed980c867f1c33e6ed56f1f3a7
treec11730599cca3c6b94786320de8aba21b5fdfa98
parent759cbca3438f728f8739c65c4b6820a27e20553c
iwlwifi: mvm: fix TCP CSUM offload with WEP and A000 series

When we enabled TCP checksum offload, we need to tell the
firmware where the IP header starts. If we have an IV, then
we need to adapt that value since the IV is placed before
the SNAP header. This is true only for cases where the
driver adds the IV, not the WEP case in which the IV is
added by the firmware itself.

On A000 devices series, the IV is always added by the
device.

Fix this.

Fixes: 8b14e5dcd604 ("iwlwifi: mvm: enable TCP/UDP checksum support for 9000 family")
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/tx.c