developer | 053b0d2 | 2022-06-20 12:43:59 +0800 | [diff] [blame^] | 1 | From 84ecaf8d9a4c7d0a1eae5b3b0ed20e171a58b3c7 Mon Sep 17 00:00:00 2001 |
| 2 | From: "lian.chen" <lian.chen@mediatek.com> |
| 3 | Date: Thu, 16 Jun 2022 17:41:28 +0800 |
| 4 | Subject: [PATCH] mt76: mt7915: 4addr null frame using fixed rate to success WDS |
| 5 | |
| 6 | --- |
| 7 | mt7915/mac.c | 2 +- |
| 8 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 9 | |
| 10 | diff --git a/mt7915/mac.c b/mt7915/mac.c |
| 11 | index 094d10a5..b0933625 100644 |
| 12 | --- a/mt7915/mac.c |
| 13 | +++ b/mt7915/mac.c |
| 14 | @@ -1133,7 +1133,7 @@ mt7915_mac_write_txwi_80211(struct mt7915_dev *dev, __le32 *txwi, |
| 15 | txwi[3] &= ~cpu_to_le32(MT_TXD3_PROTECT_FRAME); |
| 16 | } |
| 17 | |
| 18 | - if (!ieee80211_is_data(fc) || *mcast || |
| 19 | + if (!ieee80211_is_data(fc) || *mcast || ((ieee80211_is_nullfunc(fc) && ieee80211_has_a4(fc))) || |
| 20 | info->flags & IEEE80211_TX_CTL_USE_MINRATE) |
| 21 | val |= MT_TXD2_FIX_RATE; |
| 22 | |
| 23 | -- |
| 24 | 2.18.0 |
| 25 | |