summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.h
diff options
context:
space:
mode:
authorMartin Kaistra <martin.kaistra@linutronix.de>2023-12-22 13:14:41 +0300
committerKalle Valo <kvalo@kernel.org>2024-01-10 17:52:58 +0300
commit69abad618efd17e50bc6f880332ab36b660b0b34 (patch)
tree3c69156bea3ff997417c0a033083f5d82c02304f /drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.h
parentb837f78fbffa5f8e7e7c59879db54793abf161ec (diff)
downloadlinux-69abad618efd17e50bc6f880332ab36b660b0b34.tar.xz
wifi: rtl8xxxu: make supporting AP mode only on port 0 transparent
When the driver is used for concurrent mode, both virtual interfaces can be set to station or AP mode, though only one can be in AP mode at the same time. In order to keep the code simple, use only hw port 0 for AP mode. When an interface is added in AP mode which would be assigned to port 1, use a switch_port function to transparently swap the mapping between virtual interface and hw port. Signed-off-by: Martin Kaistra <martin.kaistra@linutronix.de> Reviewed-by: Ping-Ke Shih <pkshih@realtek.com> Signed-off-by: Kalle Valo <kvalo@kernel.org> Link: https://msgid.link/20231222101442.626837-21-martin.kaistra@linutronix.de
Diffstat (limited to 'drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.h')
0 files changed, 0 insertions, 0 deletions