blob: 459c21aa4ab9d73c20f87678b4e7aad52c5fb198 [file] [log] [blame]
developer1f55fcf2024-10-17 14:52:33 +08001From 9a0fcab618d234dfbe0e88aca8b2029bf968083b Mon Sep 17 00:00:00 2001
2From: Evelyn Tsai <evelyn.tsai@mediatek.com>
3Date: Sat, 12 Oct 2024 03:57:58 +0800
4Subject: [PATCH] Revert 'wifi: mac80211: don't use rate mask for offchannel TX
5 either'
6
7---
8 tx.c | 2 +-
9 1 file changed, 1 insertion(+), 1 deletion(-)
10
11diff --git a/tx.c b/tx.c
12index a6b8c8f..d002cf6 100644
13--- a/tx.c
14+++ b/tx.c
15@@ -357,7 +357,7 @@ mt76_tx(struct mt76_phy *phy, struct ieee80211_sta *sta,
16 info->hw_queue |= FIELD_PREP(MT_TX_HW_QUEUE_PHY, phy->band_idx);
17
18 if ((info->flags & IEEE80211_TX_CTL_TX_OFFCHAN) ||
19- (info->control.flags & IEEE80211_TX_CTRL_DONT_USE_RATE_MASK))
20+ (info->control.flags & IEEE80211_TX_CTRL_SCAN_TX))
21 head = &wcid->tx_offchannel;
22 else {
23 if (!wcid->tx_pending.prev || !wcid->tx_pending.next) {
24--
252.45.2
26