Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp2529401iob; Fri, 20 May 2022 11:18:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwe2Fs6ayMqI4mpKNf2mMwjLaq55HLC5rWFm8N8F/E3s4o5wwGEm9VHoUkaY9dq6spjALmk X-Received: by 2002:a17:906:a219:b0:6e4:86a3:44ea with SMTP id r25-20020a170906a21900b006e486a344eamr10145346ejy.385.1653070715855; Fri, 20 May 2022 11:18:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653070715; cv=none; d=google.com; s=arc-20160816; b=Hg/uizvQPjCdwgS01RlrjWkk3YpteqtxT1WPjFQu0WMyNP5eK18bVSeN/kyypA8RKZ riyAwL7gOsV2VKRyd6R3VJj0Mpk8vKfx02gyFmHaeaXSt4UCqYhsP/TPHXFC5t8oDA1w URuLHI0wPGW8+4pOVleHCIbQipH2YqV8FexL9GnCLV3MUem0zA1mGWOgDl1ZGqSuwGag xvy086RRDkAsqolbcibVBBxMBNxuM3vP91wLGLTKsFq/aRMnR3ZKngqWaNyYVOuaq8/q BQhbs+UXbtXEMRdspC0iejA8X+1NrOI0XpWKL5fmB4aeGet4yHI/VP65h5RysH2B5J7l eLtQ== 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=ZIAiIMj176VsZI9A06DxZCknqEmeTmW5/FJDAvvQYQdaqfXf2pS/EMPDHLKAUwZ7v1 JLW53L4dVoIoFryYHBkgf9wilghlgJetSJMOrm+InBhAh+f3yaTCf/C0dftJiB5LSkK6 vx+FSOJbnWOb85O1rnqzjlW7aDY9pRY6VCEWAwWHzueBY/kAxoJkycj6EYG+m/WynLit 5xoI4By3Hg+YooGo/4hMFZ7117rfYjgi/+Fh9id5T8ruOAEao7hXfGtLQp2FYz/97iEK S+Bu0ozhzlBHs+nCI/4h0sJL2eb592km4JIyNl3t4o6XrCwEM0hHhC1iYlJZBShbQQ8m AwzQ== 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 qb33-20020a1709077ea100b006fe954d9f4dsi6250727ejc.212.2022.05.20.11.17.48; Fri, 20 May 2022 11:18:35 -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 S1346828AbiETJEM (ORCPT + 69 others); Fri, 20 May 2022 05:04:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45306 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237101AbiETJEK (ORCPT ); Fri, 20 May 2022 05:04:10 -0400 Received: from mailgw02.mediatek.com (unknown [210.61.82.184]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 280F9EBA8A for ; Fri, 20 May 2022 02:04:09 -0700 (PDT) X-UUID: 2a4880b56d4345ab895bc7e9ebb2af24-20220520 X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.5,REQID:2ec7adf9-981c-4d36-bf9e-d98f2341257e,OB:0,LO B:0,IP:0,URL:5,TC:0,Content:0,EDM:0,RT:0,SF:100,FILE:0,RULE:Release_Ham,AC TION:release,TS:105 X-CID-INFO: VERSION:1.1.5,REQID:2ec7adf9-981c-4d36-bf9e-d98f2341257e,OB:0,LOB: 0,IP:0,URL:5,TC:0,Content:0,EDM:0,RT:0,SF:100,FILE:0,RULE:Spam_GS981B3D,AC TION:quarantine,TS:105 X-CID-META: VersionHash:2a19b09,CLOUDID:b014efe2-edbf-4bd4-8a34-dfc5f7bb086d,C OID:b0d6ce4b06fb,Recheck:0,SF:28|17|19|48,TC:nil,Content:0,EDM:-3,IP:nil,U RL:1,File:nil,QS:0,BEC:nil X-UUID: 2a4880b56d4345ab895bc7e9ebb2af24-20220520 Received: from mtkmbs10n1.mediatek.inc [(172.21.101.34)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 292217020; Fri, 20 May 2022 17:04:01 +0800 Received: from mtkmbs11n1.mediatek.inc (172.21.101.185) by mtkmbs11n1.mediatek.inc (172.21.101.185) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.792.3; Fri, 20 May 2022 17:04:00 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkmbs11n1.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.792.3 via Frontend Transport; Fri, 20 May 2022 17:04:00 +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 v2 1/3] mt76: add 6 GHz band support in mt76_sar_freq_ranges Date: Fri, 20 May 2022 17:03:37 +0800 Message-ID: <6acc935e117ecb021502acfe2350475f7eb52336.1653032296.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_PASS, 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