[PATCH v1 0/6] nl80211: Process RTM event per bss
oleksandr.savchenko at celeno.com
oleksandr.savchenko at celeno.com
Thu Jul 14 09:53:00 PDT 2022
From: Alexander Savchenko <oleksandr.savchenko at celeno.com>
These patch series for nl80211 driver add processing
RTM event for each bss, not only for first.
Add ability for updating bss ifindex.
Add test ap_multi_bss_restart for test case
`ifconfig down/up non-main-bss`
Description:
commit 106fa1e97 "nl80211: Indicate interface-down event only for the
main netdev" removes RTM event processing for non-main iface
due to RTM events for non-main iface lead to main iface is
disabled. But impact this commit leads RTM events for non-main iface has been
ignored. Such behavior breaks Virtual AP mode in next test cases:
- after perform ifconfig down/up non-main iface, link of appropriate
iface leaves in NO-CARRIER state;
- after device_reprobe when ifindexes are changed, hostapd unables to
update ifindexes of non-main ifaces by ifaces names.
Propose to fix it by replacing the processing of RTM events
from per global drv to per bss.
Alexander Savchenko (5):
Revert "nl80211: Indicate interface up only for the main netdev"
Revert "nl80211: Indicate interface-down event only for the main
netdev"
nl80211: Restored usage of the resolved ifname
nl80211: Remove obsolete ifindex
nl80211: Make processing rtm link event per bss
Viktor Barna (1):
tests: hwsim: ap_dynamic: Added test case for VAP restart
src/drivers/driver_nl80211.c | 212 +++++++++++++++++----------------
src/drivers/driver_nl80211.h | 13 +-
tests/hwsim/test_ap_dynamic.py | 26 ++++
3 files changed, 142 insertions(+), 109 deletions(-)
--
2.25.0
More information about the Hostap
mailing list