[][MAC80211][WiFi6][mt76][Remove redundant argument in add_beacon function]

[Description]
Remove redundant argument "changed".

[Release-log]
N/A

Change-Id: Ia47d6ba5f9881fa54d481c8e6e15829091b89806
Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/8590290
diff --git a/autobuild_mac80211_release/package/kernel/mt76/patches/0013-wifi-mt76-mt7915-remove-redundant-argument-in-add_be.patch b/autobuild_mac80211_release/package/kernel/mt76/patches/0013-wifi-mt76-mt7915-remove-redundant-argument-in-add_be.patch
new file mode 100644
index 0000000..5dd7821
--- /dev/null
+++ b/autobuild_mac80211_release/package/kernel/mt76/patches/0013-wifi-mt76-mt7915-remove-redundant-argument-in-add_be.patch
@@ -0,0 +1,82 @@
+From 580b0a91b0ebceaa46cafbd8c2b0be18c1998f65 Mon Sep 17 00:00:00 2001
+From: MeiChia Chiu <MeiChia.Chiu@mediatek.com>
+Date: Wed, 24 Jan 2024 15:04:33 +0800
+Subject: [PATCH 13/82] wifi: mt76: mt7915: remove redundant argument in
+ add_beacon function
+
+Remove redundant argument "changed".
+
+Signed-off-by: MeiChia Chiu <meichia.chiu@mediatek.com>
+---
+ mt7915/mac.c    | 3 +--
+ mt7915/main.c   | 4 ++--
+ mt7915/mcu.c    | 3 +--
+ mt7915/mt7915.h | 2 +-
+ 4 files changed, 5 insertions(+), 7 deletions(-)
+
+diff --git a/mt7915/mac.c b/mt7915/mac.c
+index 5c7e0e6..4c11754 100644
+--- a/mt7915/mac.c
++++ b/mt7915/mac.c
+@@ -1278,8 +1278,7 @@ mt7915_update_vif_beacon(void *priv, u8 *mac, struct ieee80211_vif *vif)
+ 	case NL80211_IFTYPE_MESH_POINT:
+ 	case NL80211_IFTYPE_ADHOC:
+ 	case NL80211_IFTYPE_AP:
+-		mt7915_mcu_add_beacon(hw, vif, vif->bss_conf.enable_beacon,
+-				      BSS_CHANGED_BEACON_ENABLED);
++		mt7915_mcu_add_beacon(hw, vif, vif->bss_conf.enable_beacon);
+ 		break;
+ 	default:
+ 		break;
+diff --git a/mt7915/main.c b/mt7915/main.c
+index c6fc98b..48d4e30 100644
+--- a/mt7915/main.c
++++ b/mt7915/main.c
+@@ -659,7 +659,7 @@ static void mt7915_bss_info_changed(struct ieee80211_hw *hw,
+ 
+ 	if (changed & (BSS_CHANGED_BEACON |
+ 		       BSS_CHANGED_BEACON_ENABLED))
+-		mt7915_mcu_add_beacon(hw, vif, info->enable_beacon, changed);
++		mt7915_mcu_add_beacon(hw, vif, info->enable_beacon);
+ 
+ 	if (changed & (BSS_CHANGED_UNSOL_BCAST_PROBE_RESP |
+ 		       BSS_CHANGED_FILS_DISCOVERY))
+@@ -732,7 +732,7 @@ mt7915_channel_switch_beacon(struct ieee80211_hw *hw,
+ 	struct mt7915_dev *dev = mt7915_hw_dev(hw);
+ 
+ 	mutex_lock(&dev->mt76.mutex);
+-	mt7915_mcu_add_beacon(hw, vif, true, BSS_CHANGED_BEACON);
++	mt7915_mcu_add_beacon(hw, vif, true);
+ 	mutex_unlock(&dev->mt76.mutex);
+ }
+ 
+diff --git a/mt7915/mcu.c b/mt7915/mcu.c
+index 6cd6ad1..7a2a537 100644
+--- a/mt7915/mcu.c
++++ b/mt7915/mcu.c
+@@ -1971,8 +1971,7 @@ mt7915_mcu_add_inband_discov(struct mt7915_dev *dev, struct ieee80211_vif *vif,
+ 				     MCU_EXT_CMD(BSS_INFO_UPDATE), true);
+ }
+ 
+-int mt7915_mcu_add_beacon(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
+-			  int en, u32 changed)
++int mt7915_mcu_add_beacon(struct ieee80211_hw *hw, struct ieee80211_vif *vif, int en)
+ {
+ 	struct mt7915_dev *dev = mt7915_hw_dev(hw);
+ 	struct mt7915_phy *phy = mt7915_hw_phy(hw);
+diff --git a/mt7915/mt7915.h b/mt7915/mt7915.h
+index 35458ec..1b79733 100644
+--- a/mt7915/mt7915.h
++++ b/mt7915/mt7915.h
+@@ -457,7 +457,7 @@ int mt7915_mcu_update_bss_color(struct mt7915_dev *dev, struct ieee80211_vif *vi
+ int mt7915_mcu_add_inband_discov(struct mt7915_dev *dev, struct ieee80211_vif *vif,
+ 				 u32 changed);
+ int mt7915_mcu_add_beacon(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
+-			  int enable, u32 changed);
++			  int enable);
+ int mt7915_mcu_add_obss_spr(struct mt7915_phy *phy, struct ieee80211_vif *vif,
+ 			    struct ieee80211_he_obss_pd *he_obss_pd);
+ int mt7915_mcu_add_rate_ctrl(struct mt7915_dev *dev, struct ieee80211_vif *vif,
+-- 
+2.18.0
+