Home
last modified time | relevance | path

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

/external/iw/
Dbitrate.c85 struct nlattr *nl_rates, *nl_band; in handle_bitrates() local
222 nl_band = nla_nest_start(msg, NL80211_BAND_2GHZ); in handle_bitrates()
223 if (!nl_band) in handle_bitrates()
235 nla_nest_end(msg, nl_band); in handle_bitrates()
239 nl_band = nla_nest_start(msg, NL80211_BAND_5GHZ); in handle_bitrates()
240 if (!nl_band) in handle_bitrates()
252 nla_nest_end(msg, nl_band); in handle_bitrates()
Dinfo.c101 struct nlattr *nl_band; in print_phy_handler() local
134 nla_for_each_nested(nl_band, tb_msg[NL80211_ATTR_WIPHY_BANDS], rem_band) { in print_phy_handler()
135 if (last_band != nl_band->nla_type) { in print_phy_handler()
136 printf("\tBand %d:\n", nl_band->nla_type + 1); in print_phy_handler()
139 last_band = nl_band->nla_type; in print_phy_handler()
141 nla_parse(tb_band, NL80211_BAND_ATTR_MAX, nla_data(nl_band), in print_phy_handler()
142 nla_len(nl_band), NULL); in print_phy_handler()
/external/autotest/client/deps/iwcap/src/
Diwcap.c295 struct nlattr *nl_band; in check_phy_handler() local
314 nla_for_each_nested(nl_band, tb_msg[NL80211_ATTR_WIPHY_BANDS], rem_band) { in check_phy_handler()
315 nla_parse(tb_band, NL80211_BAND_ATTR_MAX, nla_data(nl_band), in check_phy_handler()
316 nla_len(nl_band), NULL); in check_phy_handler()
/external/wpa_supplicant_8/src/drivers/
Ddriver_nl80211_capa.c1820 static int phy_info_band(struct phy_info_arg *phy_info, struct nlattr *nl_band) in phy_info_band() argument
1826 if (phy_info->last_mode != nl_band->nla_type) { in phy_info_band()
1854 phy_info->last_mode = nl_band->nla_type; in phy_info_band()
1859 nla_parse(tb_band, NL80211_BAND_ATTR_MAX, nla_data(nl_band), in phy_info_band()
1860 nla_len(nl_band), NULL); in phy_info_band()
1903 struct nlattr *nl_band; in phy_info_handler() local
1912 nla_for_each_nested(nl_band, tb_msg[NL80211_ATTR_WIPHY_BANDS], rem_band) in phy_info_handler()
1914 int res = phy_info_band(phy_info, nl_band); in phy_info_handler()