Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp1190863iob; Thu, 19 May 2022 01:00:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxMmh479/u9RaRhyflIxw8lDi9wny63KEswtxOcvIzN/5VNSAM8Y81zN2gLkOYtd5Z/06ux X-Received: by 2002:a17:906:9748:b0:6fa:8c68:af0e with SMTP id o8-20020a170906974800b006fa8c68af0emr3162590ejy.153.1652947212871; Thu, 19 May 2022 01:00:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652947212; cv=none; d=google.com; s=arc-20160816; b=vyF9J2dYf5MBjs9MqGXyICeyF196c+qh3fyYM0DYj8VUQ1hP3cn/1ct0dRvHIbgEVi bYPPN2ZoNUcrdGy0lTw3EVwt4JMaQzZyLQUtGqOgvbf8uv9I1EwR1WFLhx8vOaSM0dXu u/sOorzwFtrH2sQhuPlMgsw00nVxwmtzM1jEJEgCQHKDkJ+1oDJgpz09Uq4aGjEa/V/O +4Nt/p/G+i2eYnepnNW2TFPvDlyUiEg9JpXtaSt3fPXgvirjsHZnv/IwI5Jy3sjU0NRK 9idjJ6/4PYxdAQMtmm03h9QnM/JlGIva6VzPyFZ0H1cLCvEOswz8P2WY7Acu517FwX3g 1Oaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from; bh=a7s2UoSKSrukP7vmVmKJ8xK3i9iILyQmKaV5TPsOIMw=; b=cF0OYbpcuoSj5uQ+qTPQxDKrDpoO4J0zoLHIFvUaXcYgEtoE9jjvrvfnd0epB7iIS3 3q2YcBNDXkIQ5VhvtHr8VUor8o0mfRtyglKDHiOQtgC1Yh2gvyTQs8Ldfaa7HLjJKQ6s pWLNjgy7cy5Iv55Vy0C/rVpcffA5cSEA0Fhrn9KskX6X295lsDTZIPzE9KRZJ/ag9Y4e rxvqja0VCm+02kOs65kifv2UmQOnUJtUBCZSMj2SzPdWo10B0wTHA7Vo+m7PqKJ2WQ62 TGOxdHd0akVh2CqSn0witQpkTVEfb6bPjvLJAFggheDPGwHGHRc+jvcwWVZw5MbjgmI1 k0gg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dn21-20020a17090794d500b006f3941cda0bsi5295684ejc.129.2022.05.19.00.59.55; Thu, 19 May 2022 01:00:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231261AbiESGjI (ORCPT + 69 others); Thu, 19 May 2022 02:39:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42510 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229502AbiESGjH (ORCPT ); Thu, 19 May 2022 02:39:07 -0400 Received: from mailgw01.mediatek.com (unknown [60.244.123.138]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0CB63B82C4 for ; Wed, 18 May 2022 23:39:06 -0700 (PDT) X-UUID: 88cb69077f9d475a8b2b19a751d0547a-20220519 X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.5,REQID:978171a2-e372-4777-8b43-4ea18f6cf021,OB:0,LO B:0,IP:0,URL:5,TC:0,Content:0,EDM:0,RT:0,SF:0,FILE:0,RULE:Release_Ham,ACTI ON:release,TS:5 X-CID-META: VersionHash:2a19b09,CLOUDID:beadc2e2-edbf-4bd4-8a34-dfc5f7bb086d,C OID:IGNORED,Recheck:0,SF:nil,TC:nil,Content:0,EDM:-3,IP:nil,URL:1,File:nil ,QS:0,BEC:nil X-UUID: 88cb69077f9d475a8b2b19a751d0547a-20220519 Received: from mtkmbs11n1.mediatek.inc [(172.21.101.185)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 888219506; Thu, 19 May 2022 14:39:03 +0800 Received: from mtkmbs07n1.mediatek.inc (172.21.101.16) by mtkmbs11n2.mediatek.inc (172.21.101.187) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.2.792.3; Thu, 19 May 2022 14:39:02 +0800 Received: from mtkcas11.mediatek.inc (172.21.101.40) by mtkmbs07n1.mediatek.inc (172.21.101.16) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 19 May 2022 14:39:02 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkcas11.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Thu, 19 May 2022 14:39:01 +0800 From: Deren Wu To: Felix Fietkau , Lorenzo Bianconi CC: Sean Wang , Soul Huang , YN Chen , Leon Yen , "Eric-SY Chang" , Deren Wu , KM Lin , Robin Chiu , CH Yeh , Posh Sun , Eric Liang , Stella Chang , "Evelyn Tsai" , Ryder Lee , "Shayne Chen" , linux-wireless , linux-mediatek , Deren Wu Subject: [PATCH 1/3] mt76: add 6G band support in mt76_sar_freq_ranges Date: Thu, 19 May 2022 14:38:22 +0800 Message-ID: <4be64135fe9925fa052d63edf8c253e3586a2e2f.1652941276.git.deren.wu@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain X-MTK: N X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org From: Deren Wu 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 Signed-off-by: Deren Wu --- drivers/net/wireless/mediatek/mt76/mac80211.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/drivers/net/wireless/mediatek/mt76/mac80211.c b/drivers/net/wireless/mediatek/mt76/mac80211.c index 18b5de55334c..5515e1698b27 100644 --- a/drivers/net/wireless/mediatek/mt76/mac80211.c +++ b/drivers/net/wireless/mediatek/mt76/mac80211.c @@ -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 = { -- 2.18.0