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.c1879 struct nlattr *tb_band[NL80211_BAND_ATTR_MAX + 1]; in phy_info_band() local
1916 nla_parse(tb_band, NL80211_BAND_ATTR_MAX, nla_data(nl_band), in phy_info_band()
1919 phy_info_ht_capa(mode, tb_band[NL80211_BAND_ATTR_HT_CAPA], in phy_info_band()
1920 tb_band[NL80211_BAND_ATTR_HT_AMPDU_FACTOR], in phy_info_band()
1921 tb_band[NL80211_BAND_ATTR_HT_AMPDU_DENSITY], in phy_info_band()
1922 tb_band[NL80211_BAND_ATTR_HT_MCS_SET]); in phy_info_band()
1923 phy_info_vht_capa(mode, tb_band[NL80211_BAND_ATTR_VHT_CAPA], in phy_info_band()
1924 tb_band[NL80211_BAND_ATTR_VHT_MCS_SET]); in phy_info_band()
1926 tb_band[NL80211_BAND_ATTR_EDMG_BW_CONFIG], in phy_info_band()
1927 tb_band[NL80211_BAND_ATTR_EDMG_CHANNELS]); in phy_info_band()
[all …]