[PATCH v2 00/13] Roam blacklisting and scan BSS groups
James Prestwood <[email protected]>
| Newsgroups | dev.linux.lists.iwd |
|---|---|
| Message-ID | <[email protected]> |
Version 2 combines the main patch set and another fix that was sent
individually. In addition there were some changes made to the
overall set of patches:
- Renamed the blacklist reasons
BLACKLIST_REASON_PERMANENT -> BLACKLIST_REASON_CONNECT_FAILED
BLACKLIST_REASON_TEMPORARY -> BLACKLIST_REASON_TRANSIENT_ERROR
- Added documentation for the two new main.conf options added
- Added more autotests
- OptimalSignalThreshold was moved from [Scan] -> [General] as
it fits a lot better there along with the other roaming
thresholds.
James Prestwood (13):
station: always network (temp) blacklist on failure
auto-t: add test for disabling the timeout blacklist
blacklist: include a blacklist reason when adding/finding
blacklist: fix pruning to remove the entry if its expired
blacklist: add BLACKLIST_REASON_TRANSIENT_ERROR
network: update to use blacklist's new temporary type
blacklist: add new blacklist reason, ROAM_REQUESTED
scan: Introduce higher level scan BSS groups
station: roam blacklist BSS when a roam is requested
station: roam blacklist AP even mid-roam
station: adapt roam scan logic to look at the bss group
auto-t: add tests for AP roam blacklisting
doc: document OptimalSignalThreshold and InitialRoamRequestedTimeout
autotests/testAPRoam/connection_test.py | 2 +-
autotests/testAPRoam/hw.conf | 2 +
autotests/testAPRoam/main.conf.roaming | 6 +
autotests/testAPRoam/roam_blacklist_test.py | 183 ++++++++++++++++++
autotests/testBSSBlacklist/TestBlacklist.psk | 2 +
autotests/testBSSBlacklist/connection_test.py | 57 ++++++
.../{main.conf => main.conf.default} | 0
autotests/testBSSBlacklist/main.conf.disabled | 2 +
src/blacklist.c | 124 +++++++++---
src/blacklist.h | 33 +++-
src/iwd.config.rst | 21 ++
src/network.c | 37 ++--
src/network.h | 2 -
src/scan.c | 42 +++-
src/scan.h | 41 ++++
src/station.c | 87 +++++++--
16 files changed, 560 insertions(+), 81 deletions(-)
create mode 100644 autotests/testAPRoam/main.conf.roaming
create mode 100644 autotests/testAPRoam/roam_blacklist_test.py
create mode 100644 autotests/testBSSBlacklist/TestBlacklist.psk
rename autotests/testBSSBlacklist/{main.conf => main.conf.default} (100%)
create mode 100644 autotests/testBSSBlacklist/main.conf.disabled
--
2.34.1