blob: aa3aeaeb42aafcac95d4b74647b1494989d390fe [file] [log] [blame]
developer4721e252022-06-21 16:41:28 +08001From 924bfa3aeb7330cbf5c14c9a0ddebb9567e5f77c Mon Sep 17 00:00:00 2001
developerf64861f2022-06-22 11:44:53 +08002From: "lian.chen" <lian.chen@mediatek.com>
3Date: Wed, 22 Jun 2022 10:31:55 +0800
developer4721e252022-06-21 16:41:28 +08004Subject: [PATCH 10/12] mt76: mt7915: 4addr null frame using fixed rate to
developerf64861f2022-06-22 11:44:53 +08005 success WDS
6
7---
developer4721e252022-06-21 16:41:28 +08008 mt76_connac_mac.c | 3 ++-
developerf64861f2022-06-22 11:44:53 +08009 1 file changed, 2 insertions(+), 1 deletion(-)
10
11diff --git a/mt76_connac_mac.c b/mt76_connac_mac.c
developer4721e252022-06-21 16:41:28 +080012index af2b33d..27eaf22 100644
developerf64861f2022-06-22 11:44:53 +080013--- 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--
developer4721e252022-06-21 16:41:28 +0800262.18.0
developerf64861f2022-06-22 11:44:53 +080027