kernel_samsung_a53x/drivers/net/wireless/realtek/rtlwifi
Bitterblue Smith 53a2137225 wifi: rtlwifi: rtl8192de: Fix low speed with WPA3-SAE
commit a7c0f48410f546772ac94a0f7b7291a15c4fc173 upstream.

Some (all?) management frames are incorrectly reported to mac80211 as
decrypted when actually the hardware did not decrypt them. This results
in speeds 3-5 times lower than expected, 20-30 Mbps instead of 100
Mbps.

Fix this by checking the encryption type field of the RX descriptor.
rtw88 does the same thing.

This fix was tested only with rtl8192du, which will use the same code.

Cc: stable@vger.kernel.org
Signed-off-by: Bitterblue Smith <rtl8821cerfe2@gmail.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://msgid.link/4d600435-f0ea-46b0-bdb4-e60f173da8dd@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-11-19 12:27:16 +01:00
..
btcoexist Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rtl8188ee wifi: rtlwifi: rtl8188ee: phy: using calculate_bit_shift() 2024-11-18 12:12:37 +01:00
rtl8192c wifi: rtlwifi: rtl8192c: using calculate_bit_shift() 2024-11-18 12:12:37 +01:00
rtl8192ce wifi: rtlwifi: rtl8192ce: using calculate_bit_shift() 2024-11-18 12:12:38 +01:00
rtl8192cu wifi: rtlwifi: rtl8192cu: using calculate_bit_shift() 2024-11-18 12:12:37 +01:00
rtl8192de wifi: rtlwifi: rtl8192de: Fix low speed with WPA3-SAE 2024-11-19 12:27:16 +01:00
rtl8192ee wifi: rtlwifi: rtl8192ee: using calculate_bit_shift() 2024-11-18 12:12:38 +01:00
rtl8192se wifi: rtlwifi: rtl8192se: using calculate_bit_shift() 2024-11-18 12:12:38 +01:00
rtl8723ae wifi: rtlwifi: rtl8723{be,ae}: using calculate_bit_shift() 2024-11-18 12:13:16 +01:00
rtl8723be wifi: rtlwifi: rtl8723{be,ae}: using calculate_bit_shift() 2024-11-18 12:13:16 +01:00
rtl8723com Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rtl8821ae wifi: rtlwifi: rtl8821ae: phy: fix an undefined bitwise shift behavior 2024-11-18 12:12:28 +01:00
base.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
base.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cam.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cam.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
core.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
core.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
debug.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
debug.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
efuse.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
efuse.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pci.c wireless: Remove redundant 'flush_workqueue()' calls 2024-11-19 08:44:44 +01:00
pci.h wifi: rtlwifi: Remove bogus and dangerous ASPM disable/enable code 2024-11-18 12:12:47 +01:00
ps.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ps.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwrseqcmd.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rc.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
regd.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
regd.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
stats.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
stats.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
usb.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
usb.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
wifi.h wifi: rtlwifi: add calculate_bit_shift() 2024-11-18 12:12:37 +01:00