blob: c8f5b5575c0df50fde24cf1eaac8776299eb42fd [file] [log] [blame]
developerec4ebe42022-04-12 11:17:45 +08001From a45a4416976cd7604bf90103e24fe78150b9de6f Mon Sep 17 00:00:00 2001
2From: Shayne Chen <shayne.chen@mediatek.com>
3Date: Wed, 29 Sep 2021 14:03:02 +0800
4Subject: [PATCH 1101/1112] mt76: enable more 5g channels
5
6This is necessary for testmode.
7
8Signed-off-by: Shayne Chen <shayne.chen@mediatek.com>
9---
10 drivers/net/wireless/mediatek/mt76/mac80211.c | 15 +++++++++++++++
11 1 file changed, 15 insertions(+)
12
13diff --git a/mac80211.c b/mac80211.c
14index 89ca644..e473227 100644
15--- a/mac80211.c
16+++ b/mac80211.c
17@@ -45,6 +45,9 @@ static const struct ieee80211_channel mt76_channels_2ghz[] = {
18 };
19
20 static const struct ieee80211_channel mt76_channels_5ghz[] = {
21+ CHAN5G(12, 5060),
22+ CHAN5G(16, 5080),
23+
24 CHAN5G(36, 5180),
25 CHAN5G(40, 5200),
26 CHAN5G(44, 5220),
27@@ -55,6 +58,13 @@ static const struct ieee80211_channel mt76_channels_5ghz[] = {
28 CHAN5G(60, 5300),
29 CHAN5G(64, 5320),
30
31+ CHAN5G(68, 5340),
32+ CHAN5G(80, 5400),
33+ CHAN5G(84, 5420),
34+ CHAN5G(88, 5440),
35+ CHAN5G(92, 5460),
36+ CHAN5G(96, 5480),
37+
38 CHAN5G(100, 5500),
39 CHAN5G(104, 5520),
40 CHAN5G(108, 5540),
41@@ -75,6 +85,11 @@ static const struct ieee80211_channel mt76_channels_5ghz[] = {
42 CHAN5G(165, 5825),
43 CHAN5G(169, 5845),
44 CHAN5G(173, 5865),
45+
46+ CHAN5G(184, 4920),
47+ CHAN5G(188, 4940),
48+ CHAN5G(192, 4960),
49+ CHAN5G(196, 4980),
50 };
51
52 static const struct ieee80211_channel mt76_channels_6ghz[] = {
53--
542.25.1
55