[PATCH v1 0/6] nl80211: Process RTM event per bss

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Alexander Savchenko <oleksandr.savchenko@xxxxxxxxxx>

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


_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux