summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/netdev-times-record
diff options
context:
space:
mode:
authorMartin Kaistra <martin.kaistra@linutronix.de>2023-12-22 11:14:35 +0100
committerKalle Valo <kvalo@kernel.org>2024-01-10 16:52:57 +0200
commiteef55f1545c92c7181d5083453dee1296298ad3e (patch)
tree9b0e779cb3158831649c8c2c3df5b45d4a04d07f /tools/perf/scripts/python/bin/netdev-times-record
parent3f9baa99f8429ea6f56e7cc8d881c027518e9573 (diff)
downloadlinux-eef55f1545c92c7181d5083453dee1296298ad3e.tar.gz
linux-eef55f1545c92c7181d5083453dee1296298ad3e.zip
wifi: rtl8xxxu: support multiple interfaces in {add,remove}_interface()
Add a custom struct to store in vif->drv_priv with a reference to port_num and fill it when a new interface is added. Choose a free port_num for the newly added interface. As we only want to support AP mode/sending beacons on port 0, only change the beacon settings if a new interface is actually assigned to port 0. Call set_linktype() and set_mac() with the appropriate port_num. 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-15-martin.kaistra@linutronix.de
Diffstat (limited to 'tools/perf/scripts/python/bin/netdev-times-record')
0 files changed, 0 insertions, 0 deletions