linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] iw: Print limit for maximum associated stations in AP mode
@ 2020-05-20  9:47 Pali Rohár
  0 siblings, 0 replies; only message in thread
From: Pali Rohár @ 2020-05-20  9:47 UTC (permalink / raw)
  To: Johannes Berg; +Cc: linux-wireless, Marek Behún

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


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2020-05-20  9:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-20  9:47 [PATCH] iw: Print limit for maximum associated stations in AP mode Pali Rohár

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).