Lines Matching refs:sinfo
20 struct nlattr *sinfo[NL80211_SURVEY_INFO_MAX + 1];
39 if (nla_parse_nested(sinfo, NL80211_SURVEY_INFO_MAX,
46 if (sinfo[NL80211_SURVEY_INFO_FREQUENCY])
48 nla_get_u32(sinfo[NL80211_SURVEY_INFO_FREQUENCY]),
49 sinfo[NL80211_SURVEY_INFO_IN_USE] ? " [in use]" : "");
50 if (sinfo[NL80211_SURVEY_INFO_NOISE])
52 (int8_t)nla_get_u8(sinfo[NL80211_SURVEY_INFO_NOISE]));
53 if (sinfo[NL80211_SURVEY_INFO_CHANNEL_TIME])
55 (unsigned long long)nla_get_u64(sinfo[NL80211_SURVEY_INFO_CHANNEL_TIME]));
56 if (sinfo[NL80211_SURVEY_INFO_CHANNEL_TIME_BUSY])
58 (unsigned long long)nla_get_u64(sinfo[NL80211_SURVEY_INFO_CHANNEL_TIME_BUSY]));
59 if (sinfo[NL80211_SURVEY_INFO_CHANNEL_TIME_EXT_BUSY])
61 (unsigned long long)nla_get_u64(sinfo[NL80211_SURVEY_INFO_CHANNEL_TIME_EXT_BUSY]));
62 if (sinfo[NL80211_SURVEY_INFO_CHANNEL_TIME_RX])
64 (unsigned long long)nla_get_u64(sinfo[NL80211_SURVEY_INFO_CHANNEL_TIME_RX]));
65 if (sinfo[NL80211_SURVEY_INFO_CHANNEL_TIME_TX])
67 (unsigned long long)nla_get_u64(sinfo[NL80211_SURVEY_INFO_CHANNEL_TIME_TX]));