Home
last modified time | relevance | path

Searched refs:tb_band (Results 1 – 3 of 3) sorted by relevance

/external/iw/
Dinfo.c83 struct nlattr *tb_band[NL80211_BAND_ATTR_MAX + 1]; in print_phy_handler() local
141 nla_parse(tb_band, NL80211_BAND_ATTR_MAX, nla_data(nl_band), in print_phy_handler()
144 if (tb_band[NL80211_BAND_ATTR_HT_CAPA]) { in print_phy_handler()
145 __u16 cap = nla_get_u16(tb_band[NL80211_BAND_ATTR_HT_CAPA]); in print_phy_handler()
148 if (tb_band[NL80211_BAND_ATTR_HT_AMPDU_FACTOR]) { in print_phy_handler()
149 __u8 exponent = nla_get_u8(tb_band[NL80211_BAND_ATTR_HT_AMPDU_FACTOR]); in print_phy_handler()
152 if (tb_band[NL80211_BAND_ATTR_HT_AMPDU_DENSITY]) { in print_phy_handler()
153 __u8 spacing = nla_get_u8(tb_band[NL80211_BAND_ATTR_HT_AMPDU_DENSITY]); in print_phy_handler()
156 if (tb_band[NL80211_BAND_ATTR_HT_MCS_SET] && in print_phy_handler()
157 nla_len(tb_band[NL80211_BAND_ATTR_HT_MCS_SET]) == 16) in print_phy_handler()
[all …]
/external/autotest/client/deps/iwcap/src/
Diwcap.c277 struct nlattr *tb_band[NL80211_BAND_ATTR_MAX + 1]; in check_phy_handler() local
315 nla_parse(tb_band, NL80211_BAND_ATTR_MAX, nla_data(nl_band), in check_phy_handler()
318 if (tb_band[NL80211_BAND_ATTR_HT_CAPA]) { in check_phy_handler()
319 unsigned short caps = nla_get_u16(tb_band[NL80211_BAND_ATTR_HT_CAPA]); in check_phy_handler()
328 if (tb_band[NL80211_BAND_ATTR_HT_AMPDU_FACTOR]) { in check_phy_handler()
329 unsigned char factor = nla_get_u8(tb_band[NL80211_BAND_ATTR_HT_AMPDU_FACTOR]); in check_phy_handler()
334 if (tb_band[NL80211_BAND_ATTR_HT_AMPDU_DENSITY]) { in check_phy_handler()
335 unsigned char dens = nla_get_u8(tb_band[NL80211_BAND_ATTR_HT_AMPDU_DENSITY]); in check_phy_handler()
339 if (tb_band[NL80211_BAND_ATTR_HT_MCS_SET] && in check_phy_handler()
340 nla_len(tb_band[NL80211_BAND_ATTR_HT_MCS_SET]) == 16) { in check_phy_handler()
[all …]
/external/wpa_supplicant_8/src/drivers/
Ddriver_nl80211_capa.c1603 struct nlattr *tb_band[NL80211_BAND_ATTR_MAX + 1]; in phy_info_band() local
1640 nla_parse(tb_band, NL80211_BAND_ATTR_MAX, nla_data(nl_band), in phy_info_band()
1643 phy_info_ht_capa(mode, tb_band[NL80211_BAND_ATTR_HT_CAPA], in phy_info_band()
1644 tb_band[NL80211_BAND_ATTR_HT_AMPDU_FACTOR], in phy_info_band()
1645 tb_band[NL80211_BAND_ATTR_HT_AMPDU_DENSITY], in phy_info_band()
1646 tb_band[NL80211_BAND_ATTR_HT_MCS_SET]); in phy_info_band()
1647 phy_info_vht_capa(mode, tb_band[NL80211_BAND_ATTR_VHT_CAPA], in phy_info_band()
1648 tb_band[NL80211_BAND_ATTR_VHT_MCS_SET]); in phy_info_band()
1649 ret = phy_info_freqs(phy_info, mode, tb_band[NL80211_BAND_ATTR_FREQS]); in phy_info_band()
1651 ret = phy_info_rates(mode, tb_band[NL80211_BAND_ATTR_RATES]); in phy_info_band()