linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: greearb@candelatech.com
To: linux-wireless@vger.kernel.org
Cc: Ben Greear <greearb@candelatech.com>
Subject: [PATCH 3/6] wifi: mt76: mt7996: Enable spectrum management hw flag.
Date: Thu,  7 Mar 2024 11:29:48 -0800	[thread overview]
Message-ID: <20240307192951.3271156-3-greearb@candelatech.com> (raw)
In-Reply-To: <20240307192951.3271156-1-greearb@candelatech.com>

From: Ben Greear <greearb@candelatech.com>

This hardware does appear to support changing txpower dynamically.

Signed-off-by: Ben Greear <greearb@candelatech.com>
---
 drivers/net/wireless/mediatek/mt76/mt7996/init.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/wireless/mediatek/mt76/mt7996/init.c b/drivers/net/wireless/mediatek/mt76/mt7996/init.c
index d3b72fb73c30..494679a412cf 100644
--- a/drivers/net/wireless/mediatek/mt76/mt7996/init.c
+++ b/drivers/net/wireless/mediatek/mt76/mt7996/init.c
@@ -402,6 +402,7 @@ mt7996_init_wiphy(struct ieee80211_hw *hw, struct mtk_wed_device *wed)
 	ieee80211_hw_set(hw, SUPPORTS_RX_DECAP_OFFLOAD);
 	ieee80211_hw_set(hw, WANT_MONITOR_VIF);
 	ieee80211_hw_set(hw, SUPPORTS_MULTI_BSSID);
+	ieee80211_hw_set(hw, SPECTRUM_MGMT);
 
 	hw->max_tx_fragments = 4;
 
-- 
2.42.0


  parent reply	other threads:[~2024-03-07 19:30 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-07 19:29 [PATCH 1/6] wifi: mt76: mt7996: add debugging for MCU command timeouts greearb
2024-03-07 19:29 ` [PATCH 2/6] wifi: mt76: mt7996: add configured logging greearb
2024-03-07 19:29 ` greearb [this message]
2024-03-07 19:29 ` [PATCH 4/6] wifi: mt76: mt7915: Mitigate mcu communication loss greearb
2024-03-07 19:29 ` [PATCH 5/6] wifi: mt76: mt7996: " greearb
2024-03-07 19:29 ` [PATCH 6/6] wifi: mt76: mt7996: Allow ignoring radar events greearb

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240307192951.3271156-3-greearb@candelatech.com \
    --to=greearb@candelatech.com \
    --cc=linux-wireless@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).