From: Johannes Berg Date: Thu, 25 Mar 2010 06:28:03 +0000 (-0700) Subject: print max scan IE length X-Git-Tag: v0.9.20~17 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f9c112b60d2c551f43419054f9613e3ddac8be18;p=thirdparty%2Fiw.git print max scan IE length --- diff --git a/info.c b/info.c index 1a1b588..512e777 100644 --- a/info.c +++ b/info.c @@ -139,6 +139,9 @@ static int print_phy_handler(struct nl_msg *msg, void *arg) if (tb_msg[NL80211_ATTR_MAX_NUM_SCAN_SSIDS]) printf("\tmax # scan SSIDs: %d\n", nla_get_u8(tb_msg[NL80211_ATTR_MAX_NUM_SCAN_SSIDS])); + if (tb_msg[NL80211_ATTR_MAX_SCAN_IE_LEN]) + printf("\tmax scan IEs length: %d bytes\n", + nla_get_u32(tb_msg[NL80211_ATTR_MAX_SCAN_IE_LEN])); if (tb_msg[NL80211_ATTR_WIPHY_FRAG_THRESHOLD]) { unsigned int frag;