From: "Pali Rohár" <pali@kernel.org>
To: Johannes Berg <johannes@sipsolutions.net>
Cc: linux-wireless@vger.kernel.org, "Marek Behún" <marek.behun@nic.cz>
Subject: [PATCH] iw: Print limit for maximum associated stations in AP mode
Date: Wed, 20 May 2020 11:47:01 +0200 [thread overview]
Message-ID: <20200520094701.10791-1-pali@kernel.org> (raw)
Signed-off-by: Pali Rohár <pali@kernel.org>
---
info.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/info.c b/info.c
index 9147b92..8062629 100644
--- a/info.c
+++ b/info.c
@@ -723,6 +723,10 @@ broken_combination:
pat->max_pattern_len, pat->max_pkt_offset, rule->max_delay);
}
+ if (tb_msg[NL80211_ATTR_MAX_AP_ASSOC_STA])
+ printf("\tMaximum associated stations in AP mode: %u\n",
+ nla_get_u16(tb_msg[NL80211_ATTR_MAX_AP_ASSOC_STA]));
+
return NL_SKIP;
}
--
2.20.1
reply other threads:[~2020-05-20 9:47 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20200520094701.10791-1-pali@kernel.org \
--to=pali@kernel.org \
--cc=johannes@sipsolutions.net \
--cc=linux-wireless@vger.kernel.org \
--cc=marek.behun@nic.cz \
/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.