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.c1177 static int phy_info_band(struct phy_info_arg *phy_info, struct nlattr *nl_band) in phy_info_band() argument
1183 if (phy_info->last_mode != nl_band->nla_type) { in phy_info_band()
1211 phy_info->last_mode = nl_band->nla_type; in phy_info_band()
1216 nla_parse(tb_band, NL80211_BAND_ATTR_MAX, nla_data(nl_band), in phy_info_band()
1217 nla_len(nl_band), NULL); in phy_info_band()
1242 struct nlattr *nl_band; in phy_info_handler() local
1251 nla_for_each_nested(nl_band, tb_msg[NL80211_ATTR_WIPHY_BANDS], rem_band) in phy_info_handler()
1253 int res = phy_info_band(phy_info, nl_band); in phy_info_handler()