summaryrefslogtreecommitdiffstats
path: root/virt/kvm/vfio.h
diff options
context:
space:
mode:
authorZong-Zhe Yang <kevin_yang@realtek.com>2022-11-29 16:31:30 +0800
committerKalle Valo <kvalo@kernel.org>2022-12-01 13:04:27 +0200
commit75ee07b03fc6ec0a7ac7407f9ea7b3e981efb28f (patch)
treee59cc0b6a0709808df30ceeed35bfe8be834e116 /virt/kvm/vfio.h
parentc008c4b011baa26b9545f7be10e746c97409d45b (diff)
downloadlinux-75ee07b03fc6ec0a7ac7407f9ea7b3e981efb28f.tar.bz2
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
Diffstat (limited to 'virt/kvm/vfio.h')
0 files changed, 0 insertions, 0 deletions