mirror_ubuntu-kernels/drivers/net/wireless/realtek
Zong-Zhe Yang 75ee07b03f wifi: rtw89: link rtw89_vif and chanctx stuffs
First, introduce struct rtw89_sub_entity for chanctx related stuffs.
Second, add enum rtw89_sub_entity_idx to rtw89_vif for vif operation
to access its/right chanctx stuffs after future multi-channel support.

Besides, RTW89_SUB_ENTITY_0 is the default chanctx entry throughout
driver, i.e. it's used for things which may not have a target chanctx
yet. So, we need to ensure that RTW89_SUB_ENTITY_0 is always working.
If there is at least one alive chanctx, then one of them must take
RTW89_SUB_ENTITY_0. If no alive chanctx, RTW89_SUB_ENTITY_0 will be
filled by rtw89_config_default_chandef().

Signed-off-by: Zong-Zhe Yang <kevin_yang@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20221129083130.45708-7-pkshih@realtek.com
2022-12-01 13:04:27 +02:00
..
rtl8xxxu wifi: rtl8xxxu: Fix use after rcu_read_unlock in rtl8xxxu_bss_info_changed 2022-11-28 15:57:07 +02:00
rtl818x wifi: mac80211: add wake_tx_queue callback to drivers 2022-10-10 11:00:03 +02:00
rtlwifi wifi: rtlwifi: rtl8192ee: remove static variable stop_report_cnt 2022-11-04 13:00:16 +02:00
rtw88 wifi: rtw88: 8821c: enable BT device recovery mechanism 2022-12-01 13:03:27 +02:00
rtw89 wifi: rtw89: link rtw89_vif and chanctx stuffs 2022-12-01 13:04:27 +02:00
Kconfig rtw89: add Realtek 802.11ax driver 2021-10-13 09:01:12 +03:00
Makefile rtw89: add Realtek 802.11ax driver 2021-10-13 09:01:12 +03:00