developer | 1f55fcf | 2024-10-17 14:52:33 +0800 | [diff] [blame^] | 1 | From 9a0fcab618d234dfbe0e88aca8b2029bf968083b Mon Sep 17 00:00:00 2001 |
| 2 | From: Evelyn Tsai <evelyn.tsai@mediatek.com> |
| 3 | Date: Sat, 12 Oct 2024 03:57:58 +0800 |
| 4 | Subject: [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 | |
| 11 | diff --git a/tx.c b/tx.c |
| 12 | index 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 | -- |
| 25 | 2.45.2 |
| 26 | |