Home
last modified time | relevance | path

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

/external/iw/
Dphy.c45 struct nlattr *tb_freq[NL80211_FREQUENCY_ATTR_MAX + 1]; in print_channels_handler() local
91 nla_parse(tb_freq, NL80211_FREQUENCY_ATTR_MAX, nla_data(nl_freq), nla_len(nl_freq), NULL); in print_channels_handler()
93 if (!tb_freq[NL80211_FREQUENCY_ATTR_FREQ]) in print_channels_handler()
95 freq = nla_get_u32(tb_freq[NL80211_FREQUENCY_ATTR_FREQ]); in print_channels_handler()
98 if (tb_freq[NL80211_FREQUENCY_ATTR_DISABLED]) { in print_channels_handler()
104 if (tb_freq[NL80211_FREQUENCY_ATTR_MAX_TX_POWER]) in print_channels_handler()
105 …printf("\t Maximum TX power: %.1f dBm\n", 0.01 * nla_get_u32(tb_freq[NL80211_FREQUENCY_ATTR_MAX_T… in print_channels_handler()
108 if (tb_freq[NL80211_FREQUENCY_ATTR_NO_IR] && tb_freq[__NL80211_FREQUENCY_ATTR_NO_IBSS]) { in print_channels_handler()
110 } else if (tb_freq[NL80211_FREQUENCY_ATTR_PASSIVE_SCAN]) { in print_channels_handler()
112 } else if (tb_freq[__NL80211_FREQUENCY_ATTR_NO_IBSS]){ in print_channels_handler()
[all …]
Dinfo.c89 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()
[all …]
Devent.c23 struct nlattr *tb_freq[NL80211_FREQUENCY_ATTR_MAX + 1]; in parse_beacon_hint_chan() local
30 if (nla_parse_nested(tb_freq, in parse_beacon_hint_chan()
36 chan->center_freq = nla_get_u32(tb_freq[NL80211_FREQUENCY_ATTR_FREQ]); in parse_beacon_hint_chan()
38 if (tb_freq[NL80211_FREQUENCY_ATTR_NO_IR]) in parse_beacon_hint_chan()
40 if (tb_freq[__NL80211_FREQUENCY_ATTR_NO_IBSS]) in parse_beacon_hint_chan()
/external/wpa_supplicant_8/src/drivers/
Ddriver_nl80211_capa.c1650 struct nlattr *tb_freq[]) in phy_info_freq() argument
1655 chan->freq = nla_get_u32(tb_freq[NL80211_FREQUENCY_ATTR_FREQ]); in phy_info_freq()
1666 if (tb_freq[NL80211_FREQUENCY_ATTR_DISABLED]) in phy_info_freq()
1668 if (tb_freq[NL80211_FREQUENCY_ATTR_NO_IR]) in phy_info_freq()
1670 if (tb_freq[NL80211_FREQUENCY_ATTR_RADAR]) in phy_info_freq()
1672 if (tb_freq[NL80211_FREQUENCY_ATTR_INDOOR_ONLY]) in phy_info_freq()
1674 if (tb_freq[NL80211_FREQUENCY_ATTR_GO_CONCURRENT]) in phy_info_freq()
1677 if (tb_freq[NL80211_FREQUENCY_ATTR_NO_10MHZ]) in phy_info_freq()
1679 if (tb_freq[NL80211_FREQUENCY_ATTR_NO_20MHZ]) in phy_info_freq()
1681 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()