| From 33b7b4702d0666eb4e1535ea99bcf1f4316c2ab2 Mon Sep 17 00:00:00 2001 |
| From: Shayne Chen <shayne.chen@mediatek.com> |
| Date: Thu, 21 Mar 2024 12:14:20 +0800 |
| Subject: [PATCH 002/116] bp: sync upstream changes |
| |
| Signed-off-by: Shayne Chen <shayne.chen@mediatek.com> |
| --- |
| mac80211.c | 6 +++--- |
| mt7615/mcu.c | 2 +- |
| mt7915/mcu.c | 2 +- |
| mt7996/mcu.c | 2 +- |
| 4 files changed, 6 insertions(+), 6 deletions(-) |
| |
| diff --git a/mac80211.c b/mac80211.c |
| index 4871355..e4675bf 100644 |
| --- a/mac80211.c |
| +++ b/mac80211.c |
| @@ -1614,8 +1614,8 @@ EXPORT_SYMBOL_GPL(mt76_get_sar_power); |
| static void |
| __mt76_csa_finish(void *priv, u8 *mac, struct ieee80211_vif *vif) |
| { |
| - if (vif->bss_conf.csa_active && ieee80211_beacon_cntdwn_is_complete(vif)) |
| - ieee80211_csa_finish(vif); |
| + if (vif->bss_conf.csa_active && ieee80211_beacon_cntdwn_is_complete(vif, 0)) |
| + ieee80211_csa_finish(vif, 0); |
| } |
| |
| void mt76_csa_finish(struct mt76_dev *dev) |
| @@ -1639,7 +1639,7 @@ __mt76_csa_check(void *priv, u8 *mac, struct ieee80211_vif *vif) |
| if (!vif->bss_conf.csa_active) |
| return; |
| |
| - dev->csa_complete |= ieee80211_beacon_cntdwn_is_complete(vif); |
| + dev->csa_complete |= ieee80211_beacon_cntdwn_is_complete(vif, 0); |
| } |
| |
| void mt76_csa_check(struct mt76_dev *dev) |
| diff --git a/mt7615/mcu.c b/mt7615/mcu.c |
| index ae34d01..c807bd8 100644 |
| --- a/mt7615/mcu.c |
| +++ b/mt7615/mcu.c |
| @@ -353,7 +353,7 @@ static void |
| mt7615_mcu_csa_finish(void *priv, u8 *mac, struct ieee80211_vif *vif) |
| { |
| if (vif->bss_conf.csa_active) |
| - ieee80211_csa_finish(vif); |
| + ieee80211_csa_finish(vif, 0); |
| } |
| |
| static void |
| diff --git a/mt7915/mcu.c b/mt7915/mcu.c |
| index 29e9d66..fc194e0 100644 |
| --- a/mt7915/mcu.c |
| +++ b/mt7915/mcu.c |
| @@ -228,7 +228,7 @@ mt7915_mcu_csa_finish(void *priv, u8 *mac, struct ieee80211_vif *vif) |
| if (!vif->bss_conf.csa_active || vif->type == NL80211_IFTYPE_STATION) |
| return; |
| |
| - ieee80211_csa_finish(vif); |
| + ieee80211_csa_finish(vif, 0); |
| } |
| |
| static void |
| diff --git a/mt7996/mcu.c b/mt7996/mcu.c |
| index 4588696..4bd74e1 100644 |
| --- a/mt7996/mcu.c |
| +++ b/mt7996/mcu.c |
| @@ -341,7 +341,7 @@ mt7996_mcu_csa_finish(void *priv, u8 *mac, struct ieee80211_vif *vif) |
| if (!vif->bss_conf.csa_active || vif->type == NL80211_IFTYPE_STATION) |
| return; |
| |
| - ieee80211_csa_finish(vif); |
| + ieee80211_csa_finish(vif, 0); |
| } |
| |
| static void |
| -- |
| 2.18.0 |
| |