diff options
| author | Martin Kaistra <[email protected]> | 2023-12-22 11:14:35 +0100 |
|---|---|---|
| committer | Kalle Valo <[email protected]> | 2024-01-10 16:52:57 +0200 |
| commit | eef55f1545c92c7181d5083453dee1296298ad3e (patch) | |
| tree | 9b0e779cb3158831649c8c2c3df5b45d4a04d07f /tools/perf/scripts/python/libxed.py | |
| parent | 3f9baa99f8429ea6f56e7cc8d881c027518e9573 (diff) | |
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 <[email protected]>
Reviewed-by: Ping-Ke Shih <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Link: https://msgid.link/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions