eiwd

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

commit 428f1914ef21103db90be5d809266bf748647653
parent a1d30fe1cb8bde7fe33e7eace51afc5c7cee944d
Author: James Prestwood <prestwoj@gmail.com>
Date:   Wed, 14 Dec 2022 13:26:58 -0800

auto-t: update testPSK-roam with changed FT behavior

Diffstat:
Mautotests/testPSK-roam/failed_roam_test.py | 38+-------------------------------------
1 file changed, 1 insertion(+), 37 deletions(-)

diff --git a/autotests/testPSK-roam/failed_roam_test.py b/autotests/testPSK-roam/failed_roam_test.py @@ -65,7 +65,7 @@ class Test(unittest.TestCase): device.roam(self.bss_hostapd[1].bssid) # Roam should fail... - device.wait_for_event('ft-over-air-roam-failed') + device.wait_for_event('ft-roam-failed') # ... but IWD should remain connected self.assertTrue(device.state == DeviceState.connected) @@ -80,42 +80,6 @@ class Test(unittest.TestCase): condition = 'obj.state == DeviceState.disconnected' wd.wait_for_object_condition(device, condition) - # Network sets over-DS bit, but fails to authenticate. IWD should still be - # able to roam using FT-over-Air. - def test_fallback_to_over_air(self): - self.bss_hostapd[0].set_value('wpa_key_mgmt', 'FT-PSK') - self.bss_hostapd[0].set_value('ft_over_ds', '1') - self.bss_hostapd[0].reload() - self.bss_hostapd[0].wait_for_event("AP-ENABLED") - - self.bss_hostapd[1].set_value('wpa_key_mgmt', 'FT-PSK') - self.bss_hostapd[1].set_value('ft_over_ds', '1') - self.bss_hostapd[1].reload() - self.bss_hostapd[1].wait_for_event("AP-ENABLED") - - wd = IWD(True) - - device = wd.list_devices(1)[0] - - # Drop action frames, this will prevent FT-over-DS authentication - self.rule1.enabled = True - - self.connect(wd, device, self.bss_hostapd[0]) - - device.roam(self.bss_hostapd[1].bssid) - - self.rule1.enabled = False - - # FT-over-DS should fail, and over-Air should take over leading to a - # successful roam - device.wait_for_event('try-ft-over-air') - - self.verify_roam(wd, device, self.bss_hostapd[0], self.bss_hostapd[1]) - - self.bss_hostapd[1].deauthenticate(device.address) - condition = 'obj.state == DeviceState.disconnected' - wd.wait_for_object_condition(device, condition) - def tearDown(self): os.system('ip link set "' + self.bss_hostapd[0].ifname + '" down') os.system('ip link set "' + self.bss_hostapd[1].ifname + '" down')