blob: ce550a3cc78ef038923ac562a3f6d957a53d6ef8 [file] [log] [blame]
developerf64861f2022-06-22 11:44:53 +08001From e55a1b50333a925c64f78e59d582bfcb9af9372a Mon Sep 17 00:00:00 2001
2From: "lian.chen" <lian.chen@mediatek.com>
3Date: Wed, 22 Jun 2022 10:31:55 +0800
4Subject: [PATCH 10/11] mt76: mt7915: 4addr null frame using fixed rate to
5 success WDS
6
7---
8 drivers/net/wireless/mediatek/mt76/mt76_connac_mac.c | 3 ++-
9 1 file changed, 2 insertions(+), 1 deletion(-)
10
11diff --git a/mt76_connac_mac.c b/mt76_connac_mac.c
12index af2b33d7..27eaf224 100644
13--- a/mt76_connac_mac.c
14+++ b/mt76_connac_mac.c
15@@ -393,7 +393,8 @@ mt76_connac2_mac_write_txwi_80211(struct mt76_dev *dev, __le32 *txwi,
16 }
17
18 if (!ieee80211_is_data(fc) || multicast ||
19- info->flags & IEEE80211_TX_CTL_USE_MINRATE)
20+ info->flags & IEEE80211_TX_CTL_USE_MINRATE ||
21+ (ieee80211_is_nullfunc(fc) && ieee80211_has_a4(fc)))
22 val |= MT_TXD2_FIX_RATE;
23
24 txwi[2] |= cpu_to_le32(val);
25--
262.25.1
27