Martin Kaistra martin.kaistra@linutronix.de wrote:
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
I would like to change subject to "wifi: rtl8xxxu: enable MFP support with security flag of RX descriptor", because the same subject as former patch cause confusing. I can change that during committing.
Others are good to me.