Skip to contentSkip to conversation

iw: Print limit for maximum associated stations in AP mode

PATCH New Pali Rohár 1 participant 1 message May 20, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 iw: Print limit for maximum associated stations in AP mode

---
 info.c | 4 ++++
 1 file changed, 4 insertions(+)
info.c +4 -0
index 9147b92..8062629 100644
@@ -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;
 }
 
Signature · 1 line
2.20.1