From: James Prestwood <prestwoj@gmail.com>
To: iwd@lists.01.org
Subject: [PATCH 3/4] station: add AKMSuite to GetDiagnostics
Date: Wed, 24 Mar 2021 15:25:58 -0700 [thread overview]
Message-ID: <20210324222559.577225-3-prestwoj@gmail.com> (raw)
In-Reply-To: <20210324222559.577225-1-prestwoj@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 876 bytes --]
---
src/station.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/station.c b/src/station.c
index 8049fd85..2289ab39 100644
--- a/src/station.c
+++ b/src/station.c
@@ -3629,6 +3629,7 @@ static void station_get_diagnostic_cb(
struct station *station = user_data;
struct l_dbus_message *reply;
struct l_dbus_message_builder *builder;
+ struct handshake_state *hs = netdev_get_handshake(station->netdev);
if (!info) {
reply = dbus_error_aborted(station->get_station_pending);
@@ -3645,6 +3646,8 @@ static void station_get_diagnostic_cb(
util_address_to_string(info->addr));
dbus_append_dict_basic(builder, "Frequency", 'u',
&station->connected_bss->frequency);
+ dbus_append_dict_basic(builder, "AKMSuite", 's',
+ ie_akm_suite_to_string(hs->akm_suite));
diagnostic_info_to_dict(info, builder);
--
2.26.2
next prev parent reply other threads:[~2021-03-24 22:25 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-24 22:25 [PATCH 1/4] doc: document AKMSuite diagnostic value James Prestwood
2021-03-24 22:25 ` [PATCH 2/4] ie: add ie_akm_suite_to_string James Prestwood
2021-03-24 22:25 ` James Prestwood [this message]
2021-03-24 22:25 ` [PATCH 4/4] client: add AKMSuite to diagnostics 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=20210324222559.577225-3-prestwoj@gmail.com \
--to=prestwoj@gmail.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