]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: rtw89: switch to register vif_cfg_changed and link_info_changed
authorZong-Zhe Yang <kevin_yang@realtek.com>
Thu, 9 May 2024 09:06:45 +0000 (17:06 +0800)
committerPing-Ke Shih <pkshih@realtek.com>
Tue, 14 May 2024 01:30:22 +0000 (09:30 +0800)
commite9f1a901c9cc67ffb610ada8c2f4a6382ceb045a
tree2c8465d6e55fa6ee22e7f5466171a0faf5cb2176
parent0448c65af9219ee296f844748d60448f7418180f
wifi: rtw89: switch to register vif_cfg_changed and link_info_changed

For impending MLO support, we drop bss_info_changed callback ahead and
switch to register new callbacks, vif_cfg_changed and link_info_changed,
which are introduced by mac80211 for multi-link point of view.

Besides, there is a place where we called ieee80211_find_sta() under
station mode. To work on both non-MLD and MLD connection, we should
call ieee80211_find_sta() with vif->cfg.ap_addr.

Signed-off-by: Zong-Zhe Yang <kevin_yang@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://msgid.link/20240509090646.35304-4-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/mac80211.c