eiwd

no dbus iwd with iwctl functionality
git clone https://git.daat.foo/repos/eiwd.git
Log | Files | Refs | Submodules | README | LICENSE

commit 0f6d461779201187810e52f9802e3e8145e268f5
parent f3b31e48e0d48ba25e15be8839d66d82639426a5
Author: James Prestwood <prestwoj@gmail.com>
Date:   Wed, 28 Sep 2022 09:36:33 -0700

auto-t: set disassociation imminent for bss transitions

Allow the caller to set the disassociation imminent bit when
sending the BSS transition request.

Diffstat:
Mautotests/util/hostapd.py | 6+++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/autotests/util/hostapd.py b/autotests/util/hostapd.py @@ -199,7 +199,7 @@ class HostapdCLI(object): cmd = self.cmdline + ['remove_neighbor', addr] ctx.start_process(cmd).wait() - def send_bss_transition(self, device, nr_list): + def send_bss_transition(self, device, nr_list, disassoc_imminent=True): # Send a BSS transition to a station (device). nr_list should be an # array of tuples containing the BSS address and neighbor report. # Parsing the neighbor report is a bit ugly but it makes it more @@ -207,6 +207,10 @@ class HostapdCLI(object): # string could be used in both API's. pref = 1 cmd = self.cmdline + ['bss_tm_req', device] + + if disassoc_imminent: + cmd.append('disassoc_imminent=1') + for i in nr_list: addr = i[0] nr = i[1]