From: James Prestwood <prestwoj@gmail.com>
To: iwd@lists.linux.dev
Cc: James Prestwood <prestwoj@gmail.com>
Subject: [PATCH v2 1/6] doc: add documentation for StationDebug
Date: Thu, 11 Aug 2022 10:58:55 -0700 [thread overview]
Message-ID: <20220811175900.443310-1-prestwoj@gmail.com> (raw)
---
doc/station-debug-api.txt | 72 +++++++++++++++++++++++++++++++++++++++
1 file changed, 72 insertions(+)
create mode 100644 doc/station-debug-api.txt
diff --git a/doc/station-debug-api.txt b/doc/station-debug-api.txt
new file mode 100644
index 00000000..18971f1b
--- /dev/null
+++ b/doc/station-debug-api.txt
@@ -0,0 +1,72 @@
+Station Debug hierarchy [experimental]
+============================
+
+These are all development APIs not meant for production use.
+
+Service net.connman.iwd
+Interface net.connman.iwd.StationDebug
+Object path /net/connman/iwd/{phy0,phy1,...}/{1,2,...}
+
+Methods void ConnectBssid(array(y) address)
+
+ Connect to a specific BSS. The address parameter should
+ be a byte array of length 6, the BSSID of a BSS which
+ IWD already has in its scan list.
+
+ Possible errors: net.connman.iwd.InvalidArguments
+ net.connman.iwd.NotFound
+
+ void Roam(array(y) address)
+
+ Roam to a specific BSS. The address parameter should be
+ a byte array of length 6, the BSSID of a BSS to roam to.
+ This BSS needs to be in IWD's scan results and fit the
+ requirements for a roam candidate (same network).
+ The type of roam is dependent on the network and is
+ chosen automatically by IWD.
+
+ Possible errors: net.connman.iwd.InvalidArguments
+ net.connman.iwd.NotConnected
+
+ void Scan(array(q) frequencies)
+
+ Scan on specific frequencies. The frequencies parameter
+ should be a list of valid frequencies.
+
+ Possible errors: net.connman.iwd.Busy
+ net.connman.iwd.InvalidArguments
+ net.connamn.iwd.Failed
+
+ a{oaa{sv}} GetNetworks()
+
+ Get a list of networks including data for individual
+ BSS's. Returns a dictionary where keys are network
+ object paths and values are arrays of dictionaries
+ containing BSS information:
+
+ {
+ /network/path/1: [
+ {
+ Address: 11:22:33:44:55,
+ Frequency: 1234,
+ RSSI: -20,
+ Rank: 1000
+ MDE: 001122
+ },
+ { ... }
+ ]
+ }
+
+ Hidden BSS's are also included under the network path
+ "/hidden" since this will not interfere with a valid
+ network path.
+
+Signals: Event(s name, av data)
+
+ Signal sent for various debug events. The 'name' is the
+ event name, and 'data' is event dependent.
+
+Properties: boolean AutoConnect
+
+ True if IWD is in an autoconnect state. This property
+ can be written to put IWD into an autoconnect state.
--
2.34.3
next reply other threads:[~2022-08-11 17:59 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-11 17:58 James Prestwood [this message]
2022-08-11 17:58 ` [PATCH v2 2/6] station: add debug method GetNetworks James Prestwood
2022-08-11 17:58 ` [PATCH v2 3/6] client: allow entity name to be passed to completion James Prestwood
2022-08-11 17:58 ` [PATCH v2 4/6] client: add station-debug command interface James Prestwood
2022-08-11 17:58 ` [PATCH v2 5/6] client: fix station autocomplete with multiple phys James Prestwood
2022-08-11 17:59 ` [PATCH v2 6/6] device: command: remove default device concept James Prestwood
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=20220811175900.443310-1-prestwoj@gmail.com \
--to=prestwoj@gmail.com \
--cc=iwd@lists.linux.dev \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.