kernel_samsung_a53x/drivers/net/wireless/realtek/rtlwifi/rtl8192de
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
..
def.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dm.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dm.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fw.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fw.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hw.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hw.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
led.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
led.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
phy.c wifi: rtlwifi: rtl8192de: using calculate_bit_shift() 2024-11-18 12:12:38 +01:00
phy.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
reg.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rf.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rf.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sw.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sw.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
table.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
table.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
trx.c wifi: rtlwifi: rtl8192de: Fix low speed with WPA3-SAE 2024-11-19 12:27:16 +01:00
trx.h wifi: rtlwifi: rtl8192de: Fix low speed with WPA3-SAE 2024-11-19 12:27:16 +01:00