linux-stable/drivers/net/wireless
Martin Kaistra 1dbb1a3181 wifi: rtl8xxxu: enable MFP support with security flag of RX descriptor
[ Upstream commit cbfbb4ddbc ]

In order to connect to networks which require 802.11w, add the
MFP_CAPABLE flag and let mac80211 do the actual crypto in software.

When a robust management frame is received, rx_dec->swdec is not set,
even though the HW did not decrypt it. Extend the check and don't set
RX_FLAG_DECRYPTED for these frames in order to use SW decryption.

Use the security flag in the RX descriptor for this purpose, like it is
done in the rtw88 driver.

Cc: stable@vger.kernel.org
Signed-off-by: Martin Kaistra <martin.kaistra@linutronix.de>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://msgid.link/20240418071813.1883174-3-martin.kaistra@linutronix.de
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-06-27 13:49:14 +02:00
..
admtek
ath wifi: ath9k: work around memset overflow warning 2024-06-27 13:49:01 +02:00
atmel Fix nomenclature for USB and PCI wireless devices 2023-08-25 12:56:49 +03:00
broadcom wifi: brcmfmac: pcie: handle randbuf allocation failure 2024-06-12 11:11:35 +02:00
cisco
intel wifi: iwlwifi: mvm: don't read past the mfuart notifcation 2024-06-21 14:38:13 +02:00
intersil Fix nomenclature for USB and PCI wireless devices 2023-08-25 12:56:49 +03:00
legacy Fix nomenclature for USB and PCI wireless devices 2023-08-25 12:56:49 +03:00
marvell wifi: mwl8k: initialize cmd->addr[] properly 2024-06-12 11:11:50 +02:00
mediatek wifi: mt76: mt7921s: fix potential hung tasks during chip recovery 2024-06-27 13:49:02 +02:00
microchip wifi: wilc1000: revert reset line logic flip 2024-03-26 18:19:32 -04:00
purelifi wifi: plfxlc: check for allocation failure in plfxlc_usb_wreq_async() 2024-01-25 15:35:19 -08:00
quantenna
ralink wifi: rt2x00: correct wrong BBP register in RxDCOC calibration 2024-02-05 20:14:18 +00:00
realtek wifi: rtl8xxxu: enable MFP support with security flag of RX descriptor 2024-06-27 13:49:14 +02:00
rsi wifi: rsi: rsi_91x_usb_ops: Remove unnecessary (void*) conversions 2023-08-23 14:07:16 +03:00
silabs wifi: wfx: fix memory leak when starting AP 2024-03-26 18:19:27 -04:00
st
ti wifi: wlcore: sdio: Use module_sdio_driver macro to simplify the code 2023-08-25 12:59:31 +03:00
virtual wifi: mac80211_hwsim: init peer measurement result 2024-05-02 16:32:34 +02:00
zydas Fix nomenclature for USB and PCI wireless devices 2023-08-25 12:56:49 +03:00
Kconfig
Makefile