Lines Matching refs:tb_freq
89 struct nlattr *tb_freq[NL80211_FREQUENCY_ATTR_MAX + 1]; in print_phy_handler() local
187 nla_parse(tb_freq, NL80211_FREQUENCY_ATTR_MAX, nla_data(nl_freq), in print_phy_handler()
189 if (!tb_freq[NL80211_FREQUENCY_ATTR_FREQ]) in print_phy_handler()
191 freq = nla_get_u32(tb_freq[NL80211_FREQUENCY_ATTR_FREQ]); in print_phy_handler()
194 if (tb_freq[NL80211_FREQUENCY_ATTR_MAX_TX_POWER] && in print_phy_handler()
195 !tb_freq[NL80211_FREQUENCY_ATTR_DISABLED]) in print_phy_handler()
196 printf(" (%.1f dBm)", 0.01 * nla_get_u32(tb_freq[NL80211_FREQUENCY_ATTR_MAX_TX_POWER])); in print_phy_handler()
199 if (tb_freq[NL80211_FREQUENCY_ATTR_DISABLED]) { in print_phy_handler()
205 if (tb_freq[NL80211_FREQUENCY_ATTR_NO_IR] && tb_freq[__NL80211_FREQUENCY_ATTR_NO_IBSS]) { in print_phy_handler()
207 } else if (tb_freq[NL80211_FREQUENCY_ATTR_PASSIVE_SCAN]) { in print_phy_handler()
209 } else if (tb_freq[__NL80211_FREQUENCY_ATTR_NO_IBSS]){ in print_phy_handler()
213 if (tb_freq[NL80211_FREQUENCY_ATTR_RADAR]) in print_phy_handler()