blob: 0faa2c15c7e75011529344cacbeffc99835cf089 [file] [log] [blame]
developer1eeb8e82022-05-03 14:10:10 +08001From 8316325d23bebf7fbc408380bd514455b2c8a74a Mon Sep 17 00:00:00 2001
developerec4ebe42022-04-12 11:17:45 +08002From: Shayne Chen <shayne.chen@mediatek.com>
3Date: Wed, 29 Sep 2021 14:03:02 +0800
developer1eeb8e82022-05-03 14:10:10 +08004Subject: [PATCH 2/2] mt76: enable more 5g channels
developerec4ebe42022-04-12 11:17:45 +08005
6This is necessary for testmode.
7
8Signed-off-by: Shayne Chen <shayne.chen@mediatek.com>
9---
developer1eeb8e82022-05-03 14:10:10 +080010 drivers/net/wireless/mediatek/mt76/mac80211.c | 12 ++++++++++++
11 1 file changed, 12 insertions(+)
developerec4ebe42022-04-12 11:17:45 +080012
13diff --git a/mac80211.c b/mac80211.c
developer1eeb8e82022-05-03 14:10:10 +080014index 0b274930..b984e0dc 100644
developerec4ebe42022-04-12 11:17:45 +080015--- a/mac80211.c
16+++ b/mac80211.c
developer1eeb8e82022-05-03 14:10:10 +080017@@ -55,6 +55,13 @@ static const struct ieee80211_channel mt76_channels_5ghz[] = {
developerec4ebe42022-04-12 11:17:45 +080018 CHAN5G(60, 5300),
19 CHAN5G(64, 5320),
20
21+ CHAN5G(68, 5340),
22+ CHAN5G(80, 5400),
23+ CHAN5G(84, 5420),
24+ CHAN5G(88, 5440),
25+ CHAN5G(92, 5460),
26+ CHAN5G(96, 5480),
27+
28 CHAN5G(100, 5500),
29 CHAN5G(104, 5520),
30 CHAN5G(108, 5540),
developer1eeb8e82022-05-03 14:10:10 +080031@@ -75,6 +82,11 @@ static const struct ieee80211_channel mt76_channels_5ghz[] = {
developerec4ebe42022-04-12 11:17:45 +080032 CHAN5G(165, 5825),
33 CHAN5G(169, 5845),
34 CHAN5G(173, 5865),
35+
36+ CHAN5G(184, 4920),
37+ CHAN5G(188, 4940),
38+ CHAN5G(192, 4960),
39+ CHAN5G(196, 4980),
40 };
41
42 static const struct ieee80211_channel mt76_channels_6ghz[] = {
43--
442.25.1
45