mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-06 05:54:25 +00:00
db8e08a5a4
This doesn't include 9ff8614a3dbe ("brcmfmac: use separate Kconfig file for brcmfmac") due to a few conflicts with backports changes. An important change is: [PATCH 2/7] brcmfmac: change the order of things in brcmf_detach() which fixes a rmmod crash in the brcmf_txfinalize(). Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
34 lines
1.5 KiB
Diff
34 lines
1.5 KiB
Diff
From 0b28c88e51c1248e6eb2dbe64e42dad917be4546 Mon Sep 17 00:00:00 2001
|
|
From: Arend van Spriel <arend.vanspriel@broadcom.com>
|
|
Date: Thu, 11 Jul 2019 10:45:32 +0200
|
|
Subject: [PATCH 3/3] brcmfmac: allow 160MHz in custom regulatory rules
|
|
|
|
The driver has custom regulatory rules which had maximum bandwidth
|
|
for 5GHz channels set to 80MHz. As a consequence the driver can
|
|
not use 160MHz in AP mode even when the device supports it. So
|
|
relax the rules allowing 160MHz. After wiphy_register() the channel
|
|
flags are updated according what the device actually supports.
|
|
|
|
Reviewed-by: Hante Meuleman <hante.meuleman@broadcom.com>
|
|
Reviewed-by: Pieter-Paul Giesberts <pieter-paul.giesberts@broadcom.com>
|
|
Reviewed-by: Franky Lin <franky.lin@broadcom.com>
|
|
Signed-off-by: Arend van Spriel <arend.vanspriel@broadcom.com>
|
|
---
|
|
drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
--- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
|
|
+++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
|
|
@@ -189,9 +189,9 @@ static const struct ieee80211_regdomain
|
|
*/
|
|
REG_RULE(2484-10, 2484+10, 20, 6, 20, 0),
|
|
/* IEEE 802.11a, channel 36..64 */
|
|
- REG_RULE(5150-10, 5350+10, 80, 6, 20, 0),
|
|
+ REG_RULE(5150-10, 5350+10, 160, 6, 20, 0),
|
|
/* IEEE 802.11a, channel 100..165 */
|
|
- REG_RULE(5470-10, 5850+10, 80, 6, 20, 0), }
|
|
+ REG_RULE(5470-10, 5850+10, 160, 6, 20, 0), }
|
|
};
|
|
|
|
/* Note: brcmf_cipher_suites is an array of int defining which cipher suites
|