From: Johannes Berg Date: Fri, 19 Sep 2008 15:34:55 +0000 (+0200) Subject: add max # scan SSIDs X-Git-Tag: v0.9.10~33 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=41be37f2ac0a4d54525e1397c36fac64ae8ea412;p=thirdparty%2Fiw.git add max # scan SSIDs --- diff --git a/info.c b/info.c index 5f24df2..bb6f7ce 100644 --- a/info.c +++ b/info.c @@ -105,6 +105,10 @@ 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_SUPPORTED_IFTYPES]) return NL_SKIP; diff --git a/nl80211.h b/nl80211.h index 703d816..b385bce 100644 --- a/nl80211.h +++ b/nl80211.h @@ -311,6 +311,8 @@ enum nl80211_attrs { NL80211_ATTR_INFORMATION_ELEMENT, + NL80211_ATTR_MAX_NUM_SCAN_SSIDS, + NL80211_ATTR_SCAN_FREQUENCIES, NL80211_ATTR_SCAN_SSIDS, NL80211_ATTR_SCAN_GENERATION,