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