1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/net/wireless/intel/iwlwifi
Johannes Berg e257d969f3 iwlwifi: mvm: don't use FW key ID in beacon protection
To check beacon protection had a mismatch of the key ID we
currently use the key ID from the firmware, but firmware
side we want to clean up the API to stop reporting this.

Instead, check the IWL_RX_MPDU_STATUS_KEY_VALID bit that
indicates that the firmware used the correct key, and if
that's set but we get invalid MIC/replay use the key ID
from the frame to look up the key and notify mac80211 of
MIC error or replay. Since both keys must have the same
cipher and thus MIC length, we can use either of them to
look up the MIC length.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20210826224715.30e665d39b07.I78bf7d304ef5a80cecf5fa1c1fca0b51b956cceb@changeid
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
2021-08-26 23:38:18 +03:00
..
cfg iwlwifi: bump FW API to 65 for AX devices 2021-08-26 23:37:05 +03:00
dvm iwlwifi: remove trailing semicolon in macro definition 2021-08-26 23:33:24 +03:00
fw iwlwifi: mvm: introduce iwl_stored_beacon_notif_v3 2021-08-26 23:38:17 +03:00
mvm iwlwifi: mvm: don't use FW key ID in beacon protection 2021-08-26 23:38:18 +03:00
pcie iwlwifi: pcie: avoid dma unmap/remap in crash dump 2021-08-26 23:37:06 +03:00
queue iwlwifi: queue: avoid memory leak in reset flow 2021-04-14 12:07:19 +03:00
iwl-agn-hw.h iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
iwl-config.h iwlwifi: read MAC address from correct place on Bz 2021-08-26 23:34:24 +03:00
iwl-context-info-gen3.h iwlwifi: support loading the reduced power table from UEFI 2021-06-22 16:57:57 +03:00
iwl-context-info.h iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
iwl-csr.h iwlwifi: implement Bz NMI behaviour 2021-08-26 23:34:25 +03:00
iwl-dbg-tlv.c iwlwifi: allow debug init in RF-kill 2021-08-26 23:37:07 +03:00
iwl-dbg-tlv.h iwlwifi: prepare for synchronous error dumps 2021-08-26 23:32:21 +03:00
iwl-debug.c iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
iwl-debug.h iwlwifi: mvm: add d3 prints 2020-10-01 22:00:59 +03:00
iwl-devtrace-data.h iwlwifi: pcie: trace IOVA for iwlwifi_dev_tx_tb 2019-11-20 12:28:55 +02:00
iwl-devtrace-io.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 322 2019-06-05 17:37:05 +02:00
iwl-devtrace-iwlwifi.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 322 2019-06-05 17:37:05 +02:00
iwl-devtrace-msg.h net: iwlwifi: Remove in_interrupt() from tracing macro. 2020-09-29 14:02:55 -07:00
iwl-devtrace-ucode.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 322 2019-06-05 17:37:05 +02:00
iwl-devtrace.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 322 2019-06-05 17:37:05 +02:00
iwl-devtrace.h iwlwifi: fix warning iwl-trans.h is included more than once 2019-09-06 15:52:05 +03:00
iwl-drv.c iwlwifi: use DEFINE_MUTEX() for mutex lock 2021-08-26 23:33:24 +03:00
iwl-drv.h iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
iwl-eeprom-parse.c iwlwifi: remove max_ht_ampdu_exponent config parameter 2021-02-11 01:52:10 +02:00
iwl-eeprom-parse.h iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
iwl-eeprom-read.c iwlwifi: iwl-eeprom-read: Demote one nonconformant function header 2020-12-11 20:24:22 +02:00
iwl-eeprom-read.h iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
iwl-fh.h iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
iwl-io.c iwlwifi: implement Bz NMI behaviour 2021-08-26 23:34:25 +03:00
iwl-io.h iwlwifi: fix the NMI flow for old devices 2021-01-25 15:53:00 +02:00
iwl-modparams.h iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
iwl-nvm-parse.c iwlwifi: add 'Rx control frame to MBSSID' HE capability 2021-08-26 23:37:07 +03:00
iwl-nvm-parse.h iwlmvm: set properly NIC_NOT_ACK_ENABLED flag 2021-02-11 01:52:11 +02:00
iwl-op-mode.h iwlwifi: prepare for synchronous error dumps 2021-08-26 23:32:21 +03:00
iwl-phy-db.c iwlwifi: iwl-phy-db: Add missing struct member description for 'trans' 2020-12-11 20:24:25 +02:00
iwl-phy-db.h iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
iwl-prph.h iwlwifi: yoyo: support for new DBGI_SRAM region 2021-08-26 23:37:07 +03:00
iwl-scd.h iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
iwl-trans.c iwlwifi: trans/pcie: defer transport initialisation 2021-04-14 12:07:21 +03:00
iwl-trans.h iwlwifi: fix __percpu annotation 2021-08-26 23:37:06 +03:00
Kconfig First set of patches intended for v5.9 2020-06-15 20:23:23 +03:00
Makefile iwlwifi: move error dump to fw utils 2021-06-22 16:57:57 +03:00