wifi: rtw89: read bss_conf corresponding to the link

Tweak code to not always access vif->bss_conf directly. Instead,
according to link_id, read target bss_conf from vif->link_conf[].

For now, rtwvif_link->link_id keeps 0. When driver starts to
support MLO, the link_id will be assigned.

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-4-pkshih@realtek.com
This commit is contained in:
Zong-Zhe Yang 2024-09-16 13:31:54 +08:00 • committed by Ping-Ke Shih
commit 89bac818bb
14 changed files with 355 additions and 109 deletions