Commit ab3677ce authored by Wen Gong's avatar Wen Gong Committed by Yang Yingliang
Browse files

ath10k: add struct for high latency PN replay protection



mainline inclusion
from mainline-v5.3-rc1
commit e1bddde9
category: bugfix
bugzilla: 181870
CVE: CVE-2020-26145

-------------------------------------------------

Add the struct for PN replay protection and fragment packet
handler.

Also fix the bitmask of HTT_RX_DESC_HL_INFO_MCAST_BCAST to match what's currently
used by SDIO firmware. The defines are not used yet so it's safe to modify
them. Remove the conflicting HTT_RX_DESC_HL_INFO_FRAGMENT as
it's not either used in ath10k.

Tested on QCA6174 SDIO with firmware WLAN.RMH.4.4.1-00007-QCARMSWP-1.

Signed-off-by: default avatarWen Gong <wgong@codeaurora.org>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>

conflict:
	drivers/net/wireless/ath/ath10k/htt.h

Signed-off-by: default avatarWang Hai <wanghai38@huawei.com>
Reviewed-by: default avatarYue Haibing <yuehaibing@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent d6ec90ce
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment