mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-02 09:18:05 +00:00
123d12eada
Refresh all patches. This contains fixes for CVE-2020-3702 1. These patches (ath, ath9k, mac80211) were included in kernel versions since 4.14.245 and 4.19.205. They fix security vulnerability CVE-2020-3702 [1] similar to KrØØk, which was found by ESET [2]. Thank you Josef Schlehofer for reporting this problem. [1] https://nvd.nist.gov/vuln/detail/CVE-2020-3702 [2] https://www.welivesecurity.com/2020/08/06/beyond-kr00k-even-more-wifi-chips-vulnerable-eavesdropping/ Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
31 lines
1.1 KiB
Diff
31 lines
1.1 KiB
Diff
From 30519cbe339a45bd11a57ca8ece07f4f6a1cda2e Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
|
|
Date: Mon, 11 Feb 2019 23:04:54 +0100
|
|
Subject: [PATCH] brcmfmac: support firmware reporting 160 MHz channels
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
So far 160 MHz channels were treated as 20 MHz ones which was breaking
|
|
support for 40/80 MHz due to the brcmf_construct_chaninfo() logic and
|
|
its assumptions.
|
|
|
|
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
|
|
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
|
|
---
|
|
drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c | 3 +++
|
|
1 file changed, 3 insertions(+)
|
|
|
|
--- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
|
|
+++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
|
|
@@ -6054,6 +6054,9 @@ static int brcmf_construct_chaninfo(stru
|
|
* HT40 upper, HT40 lower, and VHT80.
|
|
*/
|
|
switch (ch.bw) {
|
|
+ case BRCMU_CHAN_BW_160:
|
|
+ channel->flags &= ~IEEE80211_CHAN_NO_160MHZ;
|
|
+ break;
|
|
case BRCMU_CHAN_BW_80:
|
|
channel->flags &= ~IEEE80211_CHAN_NO_80MHZ;
|
|
break;
|