]> 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)
commit3724801dbc74dfeb61ac9665f0527b16d025be2b
treec11730599cca3c6b94786320de8aba21b5fdfa98
parentbb3b5243ae275b88174825031cd50a38c3878e03
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: 2c172f863af3 ("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