Home
last modified time | relevance | path

Searched refs:tb_freq (Results 1 – 4 of 4) sorted by relevance

/external/iw/
Dinfo.c85 struct nlattr *tb_freq[NL80211_FREQUENCY_ATTR_MAX + 1]; in print_phy_handler() local
171 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 …]
Devent.c21 struct nlattr *tb_freq[NL80211_FREQUENCY_ATTR_MAX + 1]; in parse_beacon_hint_chan() local
28 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()
/external/wpa_supplicant_8/src/drivers/
Ddriver_nl80211_capa.c1548 struct nlattr *tb_freq[]) in phy_info_freq() argument
1553 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 …]
/external/autotest/client/deps/iwcap/src/
Diwcap.c279 struct nlattr *tb_freq[NL80211_FREQUENCY_ATTR_MAX + 1]; in check_phy_handler() local
351 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()