diff options
| author | Martin Kaistra <martin.kaistra@linutronix.de> | 2024-04-18 09:18:13 +0200 |
|---|---|---|
| committer | Ping-Ke Shih <pkshih@realtek.com> | 2024-04-22 09:53:10 +0800 |
| commit | cbfbb4ddbc8503478e0a138f9a31f61686cc5f11 (patch) | |
| tree | 672429c54f85bc68cc4a8f06affe82b67689b24d /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | Revert "wifi: rtl8xxxu: enable MFP support" (diff) | |
| download | linux-cbfbb4ddbc8503478e0a138f9a31f61686cc5f11.tar.gz linux-cbfbb4ddbc8503478e0a138f9a31f61686cc5f11.zip | |
wifi: rtl8xxxu: enable MFP support with security flag of RX descriptor
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
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
