eiwd

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

commit dd5143456026bfbee5818d8ef795af5c9a0527ef
parent a160989e655fc562adeed6017fc809daecfcb65e
Author: James Prestwood <james.prestwood@linux.intel.com>
Date:   Fri, 14 Sep 2018 09:36:10 -0700

auto-t: Fix testAP

Fixed two issues:

1. There is no longer a dbus exception when switching to AP mode when
   connected in station mode so that assert was removed.

2. After the device/station change the timing must have changed, causing
   autoconnect to take over before an explicit connect call. Added a
   psk provisioning file that disables autoconnect.

Diffstat:
Aautotests/testAP/TestAP1.psk | 2++
Mautotests/testAP/failure_test.py | 5+----
Mautotests/testAP/test.py | 5+----
3 files changed, 4 insertions(+), 8 deletions(-)

diff --git a/autotests/testAP/TestAP1.psk b/autotests/testAP/TestAP1.psk @@ -0,0 +1,2 @@ +[Settings] +Autoconnect=False diff --git a/autotests/testAP/failure_test.py b/autotests/testAP/failure_test.py @@ -57,9 +57,6 @@ class Test(unittest.TestCase): testutil.test_ifaces_connected(list(hostapd.hostapd_map.keys())[0], dev.name) - self.assertRaises(iwd.dbus.DBusException, dev.start_ap, - 'TestAP2', 'Password2') - dev.disconnect() condition = 'not obj.connected' @@ -106,7 +103,7 @@ class Test(unittest.TestCase): @classmethod def setUpClass(cls): - pass + IWD.copy_to_storage('TestAP1.psk') @classmethod def tearDownClass(cls): diff --git a/autotests/testAP/test.py b/autotests/testAP/test.py @@ -50,9 +50,6 @@ class Test(unittest.TestCase): testutil.test_ifaces_connected(list(hostapd.hostapd_map.keys())[0], dev.name) - self.assertRaises(iwd.dbus.DBusException, dev.start_ap, - 'TestAP2', 'Password2') - dev.disconnect() condition = 'not obj.connected' @@ -118,7 +115,7 @@ class Test(unittest.TestCase): @classmethod def setUpClass(cls): - pass + IWD.copy_to_storage('TestAP1.psk') @classmethod def tearDownClass(cls):