developer | 1eeb8e8 | 2022-05-03 14:10:10 +0800 | [diff] [blame^] | 1 | From 8316325d23bebf7fbc408380bd514455b2c8a74a Mon Sep 17 00:00:00 2001 |
developer | ec4ebe4 | 2022-04-12 11:17:45 +0800 | [diff] [blame] | 2 | From: Shayne Chen <shayne.chen@mediatek.com> |
| 3 | Date: Wed, 29 Sep 2021 14:03:02 +0800 |
developer | 1eeb8e8 | 2022-05-03 14:10:10 +0800 | [diff] [blame^] | 4 | Subject: [PATCH 2/2] mt76: enable more 5g channels |
developer | ec4ebe4 | 2022-04-12 11:17:45 +0800 | [diff] [blame] | 5 | |
| 6 | This is necessary for testmode. |
| 7 | |
| 8 | Signed-off-by: Shayne Chen <shayne.chen@mediatek.com> |
| 9 | --- |
developer | 1eeb8e8 | 2022-05-03 14:10:10 +0800 | [diff] [blame^] | 10 | drivers/net/wireless/mediatek/mt76/mac80211.c | 12 ++++++++++++ |
| 11 | 1 file changed, 12 insertions(+) |
developer | ec4ebe4 | 2022-04-12 11:17:45 +0800 | [diff] [blame] | 12 | |
| 13 | diff --git a/mac80211.c b/mac80211.c |
developer | 1eeb8e8 | 2022-05-03 14:10:10 +0800 | [diff] [blame^] | 14 | index 0b274930..b984e0dc 100644 |
developer | ec4ebe4 | 2022-04-12 11:17:45 +0800 | [diff] [blame] | 15 | --- a/mac80211.c |
| 16 | +++ b/mac80211.c |
developer | 1eeb8e8 | 2022-05-03 14:10:10 +0800 | [diff] [blame^] | 17 | @@ -55,6 +55,13 @@ static const struct ieee80211_channel mt76_channels_5ghz[] = { |
developer | ec4ebe4 | 2022-04-12 11:17:45 +0800 | [diff] [blame] | 18 | 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), |
developer | 1eeb8e8 | 2022-05-03 14:10:10 +0800 | [diff] [blame^] | 31 | @@ -75,6 +82,11 @@ static const struct ieee80211_channel mt76_channels_5ghz[] = { |
developer | ec4ebe4 | 2022-04-12 11:17:45 +0800 | [diff] [blame] | 32 | 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 | -- |
| 44 | 2.25.1 |
| 45 | |