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()
1036 struct nlattr *tb_freq[]) in phy_info_freq() argument1039 chan->freq = nla_get_u32(tb_freq[NL80211_FREQUENCY_ATTR_FREQ]); in phy_info_freq()1045 if (tb_freq[NL80211_FREQUENCY_ATTR_DISABLED]) in phy_info_freq()1047 if (tb_freq[NL80211_FREQUENCY_ATTR_NO_IR]) in phy_info_freq()1049 if (tb_freq[NL80211_FREQUENCY_ATTR_RADAR]) in phy_info_freq()1051 if (tb_freq[NL80211_FREQUENCY_ATTR_INDOOR_ONLY]) in phy_info_freq()1053 if (tb_freq[NL80211_FREQUENCY_ATTR_GO_CONCURRENT]) in phy_info_freq()1056 if (tb_freq[NL80211_FREQUENCY_ATTR_DFS_STATE]) { in phy_info_freq()1058 nla_get_u32(tb_freq[NL80211_FREQUENCY_ATTR_DFS_STATE]); in phy_info_freq()1073 if (tb_freq[NL80211_FREQUENCY_ATTR_DFS_CAC_TIME]) { 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()