ath11k: change return buffer manager for QCA6390
authorBaochen Qiang <bqiang@codeaurora.org>
Wed, 20 Oct 2021 08:59:06 +0000 (11:59 +0300)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 25 Oct 2021 13:03:08 +0000 (16:03 +0300)
commit734223d78428de3c7c7d7bc04daf258085780d90
tree13af32863be44f3d9e92b91abe7d924cf9308e53
parent8347c80600c1b4fcb14fd626c4c50d67b758e2d4
ath11k: change return buffer manager for QCA6390

QCA6390 firmware uses HAL_RX_BUF_RBM_SW1_BM, not HAL_RX_BUF_RBM_SW3_BM. This is
needed to fix a case where an A-MSDU has an unexpected LLC/SNAP header in the
first subframe (CVE-2020-24588).

Tested-on: QCA6390 hw2.0 PCI WLAN.HST.1.0.1-01740-QCAHSTSWPLZ_V2_TO_X86-1

Signed-off-by: Baochen Qiang <bqiang@codeaurora.org>
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20210914163726.38604-2-jouni@codeaurora.org
drivers/net/wireless/ath/ath11k/core.c
drivers/net/wireless/ath/ath11k/dp.c
drivers/net/wireless/ath/ath11k/dp_rx.c
drivers/net/wireless/ath/ath11k/hal_rx.c
drivers/net/wireless/ath/ath11k/hw.c
drivers/net/wireless/ath/ath11k/hw.h