mt76: add 6 GHz band support in mt76_sar_freq_ranges
authorDeren Wu <deren.wu@mediatek.com>
Fri, 20 May 2022 09:03:37 +0000 (17:03 +0800)
committerFelix Fietkau <nbd@nbd.name>
Mon, 11 Jul 2022 11:40:00 +0000 (13:40 +0200)
Add new frequencies support in mt76_sar_freq_ranges[]
* 5945 - 6165
* 6165 - 6405
* 6405 - 6525
* 6525 - 6705
* 6705 - 6865
* 6865 - 7125

Reviewed-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: Deren Wu <deren.wu@mediatek.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mac80211.c

index 5f75a89..4d301a1 100644 (file)
@@ -178,6 +178,12 @@ static const struct cfg80211_sar_freq_ranges mt76_sar_freq_ranges[] = {
        { .start_freq = 5350, .end_freq = 5470, },
        { .start_freq = 5470, .end_freq = 5725, },
        { .start_freq = 5725, .end_freq = 5950, },
+       { .start_freq = 5945, .end_freq = 6165, },
+       { .start_freq = 6165, .end_freq = 6405, },
+       { .start_freq = 6405, .end_freq = 6525, },
+       { .start_freq = 6525, .end_freq = 6705, },
+       { .start_freq = 6705, .end_freq = 6865, },
+       { .start_freq = 6865, .end_freq = 7125, },
 };
 
 static const struct cfg80211_sar_capa mt76_sar_capa = {