[][ mt76: mt7915: 4addr null frame using fixed rate to success WDS]

[Description]
mt76: mt7915:
WDS mode need A4 package to trigger the AP create wlan0.sta.
while the 4addr null frame is send by MCS11, AP can not received this 4addr null frame, the WDS can not work probability.
4addr null frame using fixed rate send to success WDS.

[Release-log]
N/A

diff --git a/autobuild_mac80211_release/package/kernel/mt76/patches/0009-mt76-mt7915-4addr-null-frame-using-fixed-rate-to-success-WDS.patch b/autobuild_mac80211_release/package/kernel/mt76/patches/0009-mt76-mt7915-4addr-null-frame-using-fixed-rate-to-success-WDS.patch
new file mode 100755
index 0000000..5b61802
--- /dev/null
+++ b/autobuild_mac80211_release/package/kernel/mt76/patches/0009-mt76-mt7915-4addr-null-frame-using-fixed-rate-to-success-WDS.patch
@@ -0,0 +1,25 @@
+From 84ecaf8d9a4c7d0a1eae5b3b0ed20e171a58b3c7 Mon Sep 17 00:00:00 2001
+From: "lian.chen" <lian.chen@mediatek.com>
+Date: Thu, 16 Jun 2022 17:41:28 +0800
+Subject: [PATCH] mt76: mt7915: 4addr null frame using fixed rate to success WDS
+
+---
+ mt7915/mac.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/mt7915/mac.c b/mt7915/mac.c
+index 094d10a5..b0933625 100644
+--- a/mt7915/mac.c
++++ b/mt7915/mac.c
+@@ -1133,7 +1133,7 @@ mt7915_mac_write_txwi_80211(struct mt7915_dev *dev, __le32 *txwi,
+ 		txwi[3] &= ~cpu_to_le32(MT_TXD3_PROTECT_FRAME);
+ 	}
+ 
+-	if (!ieee80211_is_data(fc) || *mcast ||
++	if (!ieee80211_is_data(fc) || *mcast || ((ieee80211_is_nullfunc(fc) && ieee80211_has_a4(fc))) ||
+ 	    info->flags & IEEE80211_TX_CTL_USE_MINRATE)
+ 		val |= MT_TXD2_FIX_RATE;
+ 
+-- 
+2.18.0
+