eiwd

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

commit 521960c7d6b4817216b985756faac514ae4eff03
parent cfb0987eb5f813268df5b93d2244aa136b18e260
Author: James Prestwood <prestwoj@gmail.com>
Date:   Tue, 22 Feb 2022 14:28:46 -0800

auto-t: add test for IWD as configurator + initiator

Diffstat:
Mautotests/testDPP/connection_test.py | 16++++++++++++++++
1 file changed, 16 insertions(+), 0 deletions(-)

diff --git a/autotests/testDPP/connection_test.py b/autotests/testDPP/connection_test.py @@ -82,6 +82,22 @@ class Test(unittest.TestCase): self.wpas.wait_for_event('DPP-CONF-RECEIVED') + def test_iwd_as_configurator_initiator(self): + self.hapd.reload() + self.hapd.wait_for_event('AP-ENABLED') + + IWD.copy_to_storage('ssidCCMP.psk') + self.device.autoconnect = True + + condition = 'obj.state == DeviceState.connected' + self.wd.wait_for_object_condition(self.device, condition) + + uri = self.wpas.dpp_enrollee_start(oper_and_channel='81/2') + + self.device.dpp_start_configurator(uri) + + self.hapd.wait_for_event('AP-STA-CONNECTED 42:00:00:00:00:00') + def setUp(self): self.wd = IWD(True) self.device = self.wd.list_devices(1)[0]