Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp572405lqt; Fri, 19 Apr 2024 04:39:43 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVbvSa5YdqpP2Oc4RzQwyx+xrf7EEHA7EL7QdrQeWlBfZYShBeK0WJRdTPN6vDhK/WWT7alOMVrqH9XxOFLKkGhEF7Xa0A5M4wld+T/vA== X-Google-Smtp-Source: AGHT+IFr/jBnrLMcIK9HNnCVfDD3+YpXPc1XIAJ0TaqPDlVU4/DkM/qeTCLsXmwBrB2tcByRec3S X-Received: by 2002:a17:902:da83:b0:1e4:342a:b351 with SMTP id j3-20020a170902da8300b001e4342ab351mr2244115plx.4.1713526783577; Fri, 19 Apr 2024 04:39:43 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713526783; cv=pass; d=google.com; s=arc-20160816; b=IS6fdPzMZ0vg6bU902CtecatIdz9tNwSreX+pSIPH8Zlik2G3c1Kvwv5/39XlCsgAh XvdbBtr7ztJQ7+YfZHJ86M30mzXuTkmK5pn/RNwwWc6nCmsQ6HKFoFlvwR8heIuT9U/x Dtu8pXGYZvnBELR1z5v8ROdNZ++Qlq5QoSYIU4g0W82YbzFMGTCLeL3VfCpnRBRQXPsR Fyc4ygNv0Z9IWAHCZLvM+kVxIacKel0t4tfTBUgWtRffXqv6mQ8pqWIbKK+AWgfPP0yQ di0jIayQ30Ee3xYiSthBFodmff+xPArZ4mn6Pxnm7Z9qVlXnJrH0kk6SqzWekQUvTG76 Eakw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:to:from :dkim-signature; bh=JDKWmQjc2NpF791qfMsHZv9DPQTzSECdJZmWRVxgEWw=; fh=qW0phhq3fb3oiohK/Mu9j1KY1zyRNiiioKFc5anvatM=; b=zSc3Oamdet8Pb3kFezXoUhMrliEvYWsdprCwDzS7q3C7jpYMkdnxmdffun0RjeDk5J Tz/7P8CYzEzDut3fBxztzFLpjuKar5QrUMxugpDX2iOpTMyNVmy6BNir2/P7YOD7lRNX jG3vmZFTt2DqjWPRlq3+kvjaEsChOYsmt//5Jd5yXvplkmsmYOirguW48YCS5lBeQ9rz fQb+7/BiGVWyra3CKsaBTAVfvmqmsD99dPRu1YhY8kqhfQE9Keal2L62dvwMdwCg6Ncn IO9Vyz6q5PZftQj9E3+6uyD7eikCfHQs8Vz1omKuQzGy3bBx3a9m26TnVXMdM1Pb3gVn ovoQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=fail header.i=@nbd.name header.s=20160729 header.b=jzuyv2KN; arc=pass (i=1 dkim=pass dkdomain=nbd.name dmarc=pass fromdomain=nbd.name); spf=pass (google.com: domain of linux-wireless+bounces-6565-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-wireless+bounces-6565-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nbd.name Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id n5-20020a170903110500b001e55d0f4310si3190982plh.580.2024.04.19.04.39.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Apr 2024 04:39:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-6565-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=fail header.i=@nbd.name header.s=20160729 header.b=jzuyv2KN; arc=pass (i=1 dkim=pass dkdomain=nbd.name dmarc=pass fromdomain=nbd.name); spf=pass (google.com: domain of linux-wireless+bounces-6565-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-wireless+bounces-6565-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nbd.name Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 231FAB20CF8 for ; Fri, 19 Apr 2024 11:39:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6BF7381720; Fri, 19 Apr 2024 11:39:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=nbd.name header.i=@nbd.name header.b="jzuyv2KN" X-Original-To: linux-wireless@vger.kernel.org Received: from nbd.name (nbd.name [46.4.11.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B508F80029 for ; Fri, 19 Apr 2024 11:39:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.4.11.11 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713526776; cv=none; b=WL6IXfDB26pF3Qycite863jbaMS85gOy5jZ6eHQj1ZJ74KY1g/KjijnWjD5dXgKDoc/rJeIa+9VwiReobnqLmrl0F2cZv23EW/RgWaCjInwnbZJMYehw+Qxw23bqKrSVnoKix2wcn8Wd5qQT7c7rqDmjtZPDeDuP0OX+Ij27KEo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713526776; c=relaxed/simple; bh=iutJjHzWwNYeCETsgcYlzGjvH+rF+BSND5PHGc0Ip/8=; h=From:To:Subject:Date:Message-ID:MIME-Version; b=RyMAqfiBezs2+nX3cDsmHJo/wfCg7GzmI/G9XfrSrwkryuPake+k6B3N3nLZikL9AuUtyz0yBNc5U4RBSBau+iEFxs8yUuo5yHdJETYVlAfN9jNN0G6Sx/X7n8d52tiCz2nKEVY4v8IXyJW1oSU8MXrpBjha6n4UWfg2N5163fU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nbd.name; spf=none smtp.mailfrom=nbd.name; dkim=pass (1024-bit key) header.d=nbd.name header.i=@nbd.name header.b=jzuyv2KN; arc=none smtp.client-ip=46.4.11.11 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nbd.name Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=nbd.name DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=nbd.name; s=20160729; h=Content-Transfer-Encoding:MIME-Version:Message-ID:Date:Subject: To:From:Sender:Reply-To:Cc:Content-Type:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=JDKWmQjc2NpF791qfMsHZv9DPQTzSECdJZmWRVxgEWw=; b=jzuyv2KNJGG1nyDmxliDj1LvXC 17OMTk82rXT8+L5Q7TM7x0h/VarJ9nxybRgf9rGfL3KsC9B8iIlIagkQN1g6/ACRc19EY1aLigleb boCGLEHui3Y4P3bmFJ5kkPhnn7wWQRt543C/4uTWKpjaVrXulMlrlCPHDk0e5K+rEXQc=; Received: from p54ae9c93.dip0.t-ipconnect.de ([84.174.156.147] helo=localhost.localdomain) by ds12 with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256 (Exim 4.96) (envelope-from ) id 1rxmaZ-003di0-1l for linux-wireless@vger.kernel.org; Fri, 19 Apr 2024 13:39:31 +0200 From: Felix Fietkau To: linux-wireless@vger.kernel.org Subject: [PATCH] wifi: mt76: enable spectrum management Date: Fri, 19 Apr 2024 13:39:30 +0200 Message-ID: <20240419113930.26002-1-nbd@nbd.name> X-Mailer: git-send-email 2.44.0 Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit It is supported by all drivers Signed-off-by: Felix Fietkau --- drivers/net/wireless/mediatek/mt76/mac80211.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/wireless/mediatek/mt76/mac80211.c b/drivers/net/wireless/mediatek/mt76/mac80211.c index 068206e48aec..e8ba2e4e8484 100644 --- a/drivers/net/wireless/mediatek/mt76/mac80211.c +++ b/drivers/net/wireless/mediatek/mt76/mac80211.c @@ -465,6 +465,7 @@ mt76_phy_init(struct mt76_phy *phy, struct ieee80211_hw *hw) ieee80211_hw_set(hw, SUPPORTS_CLONED_SKBS); ieee80211_hw_set(hw, SUPPORTS_AMSDU_IN_AMPDU); ieee80211_hw_set(hw, SUPPORTS_REORDERING_BUFFER); + ieee80211_hw_set(hw, SPECTRUM_MGMT); if (!(dev->drv->drv_flags & MT_DRV_AMSDU_OFFLOAD) && hw->max_tx_fragments > 1) { -- 2.44.0