From patchwork Mon Nov 21 05:53:29 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aaron Ma X-Patchwork-Id: 1707020 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=canonical.com header.i=@canonical.com header.a=rsa-sha256 header.s=20210705 header.b=bHfKj/er; dkim-atps=neutral Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4NFxR22DK4z23nR for ; Mon, 21 Nov 2022 16:54:04 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1owzkf-0003AA-4i; Mon, 21 Nov 2022 05:53:53 +0000 Received: from smtp-relay-canonical-1.internal ([10.131.114.174] helo=smtp-relay-canonical-1.canonical.com) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1owzkb-000390-7z for kernel-team@lists.ubuntu.com; Mon, 21 Nov 2022 05:53:49 +0000 Received: from localhost.localdomain (unknown [222.129.35.255]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-canonical-1.canonical.com (Postfix) with ESMTPSA id CF66B41D17 for ; Mon, 21 Nov 2022 05:53:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1669010028; bh=XPx4Dandrkjbg4JquzrlSYZe+OAb0O4tmD+YBSYqZKA=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=bHfKj/errSZDUH0wOWmuZ2r5Kp5TDRR5vyNH+H45kZNToBvUQ0a5WCsvPidndx0v+ y5XCVT5PjCzd2EBMzFpPs8RLYskdYD5UQXb0j2VFHiQ2MW04WCtxYLY3ijNS45zlah uSnR8PnfDtk32HH+Usn5djj/T3k4iO1tUi6sPpS396UqYvwHPnEuBe0iCmq9c+KMHC ZSdV82PF1U3u6zPHbHkAi3CDQVX+XY5sIDTVbIN3pgB6VXNku6fnjz39IXNXwIa62o iXNEKXgu0yihx+dGmUH1oFHj6zo5BrPGlKusYPIj6ADXArVdFnyXtUkBT7rKL4JhZT Op1CqhFtAyc8g== From: Aaron Ma To: kernel-team@lists.ubuntu.com Subject: [J][PATCH 2/8] mt76: add 6 GHz band support in mt76_sar_freq_ranges Date: Mon, 21 Nov 2022 13:53:29 +0800 Message-Id: <20221121055335.3714-3-aaron.ma@canonical.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221121055335.3714-1-aaron.ma@canonical.com> References: <20221121055335.3714-1-aaron.ma@canonical.com> MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" From: Deren Wu BugLink: https://bugs.launchpad.net/bugs/1997200 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 Signed-off-by: Felix Fietkau (cherry picked from commit 162d5c14ba482934334428b3be972571f0c007b0) Signed-off-by: Aaron Ma --- 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 8507cb07f1dc7..6a016a24ae187 100644 --- a/drivers/net/wireless/mediatek/mt76/mac80211.c +++ b/drivers/net/wireless/mediatek/mt76/mac80211.c @@ -105,6 +105,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, }, }; const struct cfg80211_sar_capa mt76_sar_capa = {