Searched refs:tb_freq (Results 1 – 4 of 4) sorted by relevance
85 struct nlattr *tb_freq[NL80211_FREQUENCY_ATTR_MAX + 1]; in print_phy_handler() local171 nla_parse(tb_freq, NL80211_FREQUENCY_ATTR_MAX, nla_data(nl_freq), in print_phy_handler()173 if (!tb_freq[NL80211_FREQUENCY_ATTR_FREQ]) in print_phy_handler()175 freq = nla_get_u32(tb_freq[NL80211_FREQUENCY_ATTR_FREQ]); in print_phy_handler()178 if (tb_freq[NL80211_FREQUENCY_ATTR_MAX_TX_POWER] && in print_phy_handler()179 !tb_freq[NL80211_FREQUENCY_ATTR_DISABLED]) in print_phy_handler()180 printf(" (%.1f dBm)", 0.01 * nla_get_u32(tb_freq[NL80211_FREQUENCY_ATTR_MAX_TX_POWER])); in print_phy_handler()183 if (tb_freq[NL80211_FREQUENCY_ATTR_DISABLED]) { in print_phy_handler()189 if (tb_freq[NL80211_FREQUENCY_ATTR_NO_IR] && tb_freq[__NL80211_FREQUENCY_ATTR_NO_IBSS]) { in print_phy_handler()191 } else if (tb_freq[NL80211_FREQUENCY_ATTR_PASSIVE_SCAN]) { in print_phy_handler()[all …]
21 struct nlattr *tb_freq[NL80211_FREQUENCY_ATTR_MAX + 1]; in parse_beacon_hint_chan() local28 if (nla_parse_nested(tb_freq, in parse_beacon_hint_chan()34 chan->center_freq = nla_get_u32(tb_freq[NL80211_FREQUENCY_ATTR_FREQ]); in parse_beacon_hint_chan()36 if (tb_freq[NL80211_FREQUENCY_ATTR_NO_IR]) in parse_beacon_hint_chan()38 if (tb_freq[__NL80211_FREQUENCY_ATTR_NO_IBSS]) in parse_beacon_hint_chan()
1548 struct nlattr *tb_freq[]) in phy_info_freq() argument1553 chan->freq = nla_get_u32(tb_freq[NL80211_FREQUENCY_ATTR_FREQ]); in phy_info_freq()1564 if (tb_freq[NL80211_FREQUENCY_ATTR_DISABLED]) in phy_info_freq()1566 if (tb_freq[NL80211_FREQUENCY_ATTR_NO_IR]) in phy_info_freq()1568 if (tb_freq[NL80211_FREQUENCY_ATTR_RADAR]) in phy_info_freq()1570 if (tb_freq[NL80211_FREQUENCY_ATTR_INDOOR_ONLY]) in phy_info_freq()1572 if (tb_freq[NL80211_FREQUENCY_ATTR_GO_CONCURRENT]) in phy_info_freq()1575 if (tb_freq[NL80211_FREQUENCY_ATTR_NO_10MHZ]) in phy_info_freq()1577 if (tb_freq[NL80211_FREQUENCY_ATTR_NO_20MHZ]) in phy_info_freq()1579 if (tb_freq[NL80211_FREQUENCY_ATTR_NO_HT40_PLUS]) in phy_info_freq()[all …]
279 struct nlattr *tb_freq[NL80211_FREQUENCY_ATTR_MAX + 1]; in check_phy_handler() local351 nla_parse(tb_freq, NL80211_FREQUENCY_ATTR_MAX, in check_phy_handler()354 if (!tb_freq[NL80211_FREQUENCY_ATTR_FREQ]) in check_phy_handler()358 if (tb_freq[NL80211_FREQUENCY_ATTR_DISABLED]) in check_phy_handler()362 tb_freq[NL80211_FREQUENCY_ATTR_FREQ]); in check_phy_handler()