1
0
Fork 0
alistair23-linux/drivers/net/wireless
Larry Finger 3ef00d9919 b43_legacy: Fix connection problem with WPA3
commit 6a29d134c0 upstream.

Since the driver was first introduced into the kernel, it has only
handled the ciphers associated with WEP, WPA, and WPA2. It fails with
WPA3 even though mac80211 can handle those additional ciphers in software,
b43legacy did not report that it could handle them. By setting MFP_CAPABLE using
ieee80211_set_hw(), the problem is fixed.

With this change, b43legacy will handle the ciphers it knows in hardware,
and let mac80211 handle the others in software. It is not necessary to
use the module parameter NOHWCRYPT to turn hardware encryption off.
Although this change essentially eliminates that module parameter,
I am choosing to keep it for cases where the hardware is broken,
and software encryption is required for all ciphers.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Cc: Stable <stable@vger.kernel.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20200526155909.5807-3-Larry.Finger@lwfinger.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-06-22 09:31:19 +02:00
..
admtek treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 501 2019-06-19 17:09:56 +02:00
ath carl9170: remove P2P_GO support 2020-06-22 09:31:18 +02:00
atmel drivers: net: Fix Kconfig indentation 2019-09-26 08:56:17 +02:00
broadcom b43_legacy: Fix connection problem with WPA3 2020-06-22 09:31:19 +02:00
cisco airo: Fix read overflows sending packets 2020-06-07 13:18:48 +02:00
intel iwlwifi: mvm: fix aux station leak 2020-06-22 09:31:10 +02:00
intersil p54usb: add AirVasT USB stick device-id 2020-06-07 13:18:47 +02:00
marvell mwifiex: Fix memory corruption in dump_station 2020-06-22 09:31:06 +02:00
mediatek mt76: avoid rx reorder buffer overflow 2020-06-22 09:31:05 +02:00
quantenna qtnfmac: fix using skb after free 2019-12-31 16:45:28 +01:00
ralink rt2800: remove errornous duplicate condition 2020-01-26 10:01:06 +01:00
realtek rtlwifi: Fix a double free in _rtl_usb_tx_urb_setup() 2020-06-22 09:31:06 +02:00
rsi Revert "rsi: fix potential null dereference in rsi_probe()" 2020-02-05 21:22:53 +00:00
st cw1200: Fix a signedness bug in cw1200_load_firmware() 2020-01-23 08:22:55 +01:00
ti mac80211: pass the vif to cancel_remain_on_channel 2019-07-26 13:08:28 +02:00
zydas zd1211rw: fix storage endpoint lookup 2020-02-01 09:34:38 +00:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile mac80211-next: rtnetlink wifi simulation device 2018-12-05 15:31:31 +01:00
mac80211_hwsim.c mac80211_hwsim: Use kstrndup() in place of kasprintf() 2020-04-21 09:05:00 +02:00
mac80211_hwsim.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
ray_cs.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 416 2019-06-05 17:37:15 +02:00
ray_cs.h
rayctl.h
rndis_wlan.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 13 2019-05-21 11:28:45 +02:00
virt_wifi.c virt_wifi: fix use-after-free in virt_wifi_newlink() 2019-12-17 19:55:55 +01:00
wl3501.h
wl3501_cs.c wl3501_cs: remove redundant variable rc 2019-07-24 14:45:24 +03:00