]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: pcie: don't consider IV len in A-MSDU
authorMordechay Goodstein <mordechay.goodstein@intel.com>
Thu, 7 Nov 2019 11:51:47 +0000 (13:51 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 8 Nov 2019 19:33:37 +0000 (21:33 +0200)
commitc99c24efab02420bb520d81ff2b6f67686c0c7b0
tree6895b03495212b88d7cdb377e256ec1f42e7d27c
parentf3cbb8a925ecced764eb2984acc4d3b7a70fb492
iwlwifi: pcie: don't consider IV len in A-MSDU

From gen2 PN is totally offloaded to hardware (also the space for the
IV isn't part of the skb).  As you can see in mvm/mac80211.c:3545, the
MAC for cipher types CCMP/GCMP doesn't set
IEEE80211_KEY_FLAG_PUT_IV_SPACE for gen2 NICs.

This causes all the AMSDU data to be corrupted with cipher enabled.

Signed-off-by: Mordechay Goodstein <mordechay.goodstein@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c