From: Tim Kourt <tim.a.kourt@linux.intel.com>
To: iwd@lists.01.org
Subject: [PATCH v2 2/3] auto-t: Add async API call for connect_hidden_network
Date: Tue, 09 Jun 2020 18:22:20 -0700 [thread overview]
Message-ID: <20200610012221.19263-2-tim.a.kourt@linux.intel.com> (raw)
In-Reply-To: <20200610012221.19263-1-tim.a.kourt@linux.intel.com>
[-- Attachment #1: Type: text/plain, Size: 1312 bytes --]
---
autotests/util/iwd.py | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/autotests/util/iwd.py b/autotests/util/iwd.py
index b9eeb0ff..ef1ea80e 100755
--- a/autotests/util/iwd.py
+++ b/autotests/util/iwd.py
@@ -482,6 +482,21 @@ class Device(IWDDBusAbstract):
error_handler=self._failure)
self._wait_for_async_op()
+ def connect_hidden_network_async(self, name, reply_handler, error_handler):
+ '''Connect to a hidden network
+ Possible exception: BusyEx
+ FailedEx
+ InvalidArgumentsEx
+ NotConfiguredEx
+ NotConnectedEx
+ NotFoundEx
+ ServiceSetOverlapEx
+ '''
+ self._iface.ConnectHiddenNetwork(name,
+ dbus_interface=IWD_STATION_INTERFACE,
+ reply_handler=reply_handler,
+ error_handler=error_handler)
+
def start_adhoc(self, ssid, psk=None):
self._prop_proxy.Set(IWD_DEVICE_INTERFACE, 'Mode', 'ad-hoc')
self._adhoc_iface = dbus.Interface(self._bus.get_object(IWD_SERVICE,
--
2.13.6
next prev parent reply other threads:[~2020-06-10 1:22 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-10 1:22 [PATCH v2 1/3] station: Use separate msg holder for hidden connections Tim Kourt
2020-06-10 1:22 ` Tim Kourt [this message]
2020-06-10 1:22 ` [PATCH v2 3/3] auto-t: Validate Connect after ConnectHiddenNetwork Tim Kourt
2020-06-10 2:59 ` [PATCH v2 1/3] station: Use separate msg holder for hidden connections Denis Kenzior
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200610012221.19263-2-tim.a.kourt@linux.intel.com \
--to=tim.a.kourt@linux.intel.com \
--cc=iwd@lists.01.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox