wifi: rtw89: refactor VIF related func ahead for MLO

[ Upstream commit 26d460e13f ]

Refactor VIF related functions, e.g. add/remove/assoc/mapping
to separate most link stuffs into sub-functions for MLO reuse.

Signed-off-by: Zong-Zhe Yang <kevin_yang@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/20240916053158.47350-6-pkshih@realtek.com
Stable-dep-of: f16c40acd3 ("wifi: rtw89: Fix TX fail with A2DP after scanning")
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
Zong-Zhe Yang 2024-09-16 13:31:56 +08:00 • committed by Greg Kroah-Hartman
commit 58fa793363
8 changed files with 112 additions and 81 deletions