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)
commitcb1a4badf59275eb7221dcec621e8154917eabd1
tree6895b03495212b88d7cdb377e256ec1f42e7d27c
parent3d206e6899a07fe853f703f7e68f84b48b919129
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