Skip to content

Commit 0a04597

Browse files
LorenzoBianconinbd168
authored andcommitted
wifi: mt76: mt7996: Add link_info_changed callback
Convert bss_info_changed mac80211 callback in link_info_changed one. This is a preliminary patch to enable MLO support in MT7996 driver. Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org> Link: https://patch.msgid.link/20250311-mt7996-mlo-v2-5-31df6972519b@kernel.org Signed-off-by: Felix Fietkau <nbd@nbd.name>
1 parent 2b967a3 commit 0a04597

File tree

1 file changed

+4
-5
lines changed
  • drivers/net/wireless/mediatek/mt76/mt7996

1 file changed

+4
-5
lines changed

drivers/net/wireless/mediatek/mt76/mt7996/main.c

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -712,10 +712,9 @@ mt7996_vif_cfg_changed(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
712712
mutex_unlock(&dev->mt76.mutex);
713713
}
714714

715-
static void mt7996_bss_info_changed(struct ieee80211_hw *hw,
716-
struct ieee80211_vif *vif,
717-
struct ieee80211_bss_conf *info,
718-
u64 changed)
715+
static void
716+
mt7996_link_info_changed(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
717+
struct ieee80211_bss_conf *info, u64 changed)
719718
{
720719
struct mt7996_dev *dev = mt7996_hw_dev(hw);
721720
struct mt76_vif_link *mvif;
@@ -1719,8 +1718,8 @@ const struct ieee80211_ops mt7996_ops = {
17191718
.config = mt7996_config,
17201719
.conf_tx = mt7996_conf_tx,
17211720
.configure_filter = mt7996_configure_filter,
1722-
.bss_info_changed = mt7996_bss_info_changed,
17231721
.vif_cfg_changed = mt7996_vif_cfg_changed,
1722+
.link_info_changed = mt7996_link_info_changed,
17241723
.sta_state = mt76_sta_state,
17251724
.sta_pre_rcu_remove = mt76_sta_pre_rcu_remove,
17261725
.link_sta_rc_update = mt7996_sta_rc_update,

0 commit comments

Comments
 (0)