Ping-Ke Shih <pkshih@xxxxxxxxxxx> wrote: > From: Guo-Feng Fan <vincent_fann@xxxxxxxxxxx> > > The value of GET_RX_DESC_SWDEC() indicates that if this RX > packet requires software decryption or not. And software > decryption is required when the packet was encrypted and the > hardware failed to decrypt it. > > So, GET_RX_DESC_SWDEC() is negative does not mean that this > packet is decrypted, it might just have no encryption at all. > To actually see if the packet is decrypted, driver needs to > further check if the hardware has successfully decrypted it, > with a specific type of encryption algorithm. > > Signed-off-by: Guo-Feng Fan <vincent_fann@xxxxxxxxxxx> > Signed-off-by: Ping-Ke Shih <pkshih@xxxxxxxxxxx> 3 patches applied to wireless-drivers-next.git, thanks. 559f6cb31837 rtw88: 8821c: Don't set RX_FLAG_DECRYPTED if packet has no encryption a548909d7ad7 rtw88: Fix potential unrecoverable tx queue stop 7bd3760c71f7 rtw88: refine napi deinit flow -- https://patchwork.kernel.org/project/linux-wireless/patch/20210415084703.27255-2-pkshih@xxxxxxxxxxx/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches