Home
last modified time | relevance | path

Searched refs:tb_msg (Results 1 – 6 of 6) sorted by relevance

/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/
Ddriver_nl80211_capa.c25 struct nlattr *tb_msg[NL80211_ATTR_MAX + 1]; in protocol_feature_handler() local
28 nla_parse(tb_msg, NL80211_ATTR_MAX, genlmsg_attrdata(gnlh, 0), in protocol_feature_handler()
31 if (tb_msg[NL80211_ATTR_PROTOCOL_FEATURES]) in protocol_feature_handler()
32 *feat = nla_get_u32(tb_msg[NL80211_ATTR_PROTOCOL_FEATURES]); in protocol_feature_handler()
1728 struct nlattr *tb_msg[NL80211_ATTR_MAX + 1]; in phy_info_handler() local
1734 nla_parse(tb_msg, NL80211_ATTR_MAX, genlmsg_attrdata(gnlh, 0), in phy_info_handler()
1737 if (!tb_msg[NL80211_ATTR_WIPHY_BANDS]) in phy_info_handler()
1740 nla_for_each_nested(nl_band, tb_msg[NL80211_ATTR_WIPHY_BANDS], rem_band) in phy_info_handler()
2046 struct nlattr *tb_msg[NL80211_ATTR_MAX + 1]; in nl80211_get_reg() local
2060 nla_parse(tb_msg, NL80211_ATTR_MAX, genlmsg_attrdata(gnlh, 0), in nl80211_get_reg()
[all …]
Ddriver_macsec_linux.c513 struct nlattr *tb_msg[MACSEC_ATTR_MAX + 1]; in dump_callback() local
521 err = nla_parse(tb_msg, MACSEC_ATTR_MAX, genlmsg_attrdata(gnlh, 0), in dump_callback()
526 if (!tb_msg[MACSEC_ATTR_IFINDEX]) in dump_callback()
529 if (nla_get_u32(tb_msg[MACSEC_ATTR_IFINDEX]) != (u32) arg->ifindex) in dump_callback()
532 if (arg->txsa < 4 && !tb_msg[MACSEC_ATTR_TXSA_LIST]) { in dump_callback()
538 nla_for_each_nested(nla, tb_msg[MACSEC_ATTR_TXSA_LIST], rem) { in dump_callback()
561 if (tb_msg[MACSEC_ATTR_RXSC_LIST]) { in dump_callback()
565 nla_for_each_nested(nla, tb_msg[MACSEC_ATTR_RXSC_LIST], rem) { in dump_callback()
Ddriver_nl80211.c1669 struct nlattr *tb_msg[NL80211_ATTR_MAX + 1]; in nl80211_get_country() local
1672 nla_parse(tb_msg, NL80211_ATTR_MAX, genlmsg_attrdata(gnlh, 0), in nl80211_get_country()
1674 if (!tb_msg[NL80211_ATTR_REG_ALPHA2]) { in nl80211_get_country()
1678 os_strlcpy(alpha2, nla_data(tb_msg[NL80211_ATTR_REG_ALPHA2]), 3); in nl80211_get_country()
10549 struct nlattr *tb_msg[NL80211_ATTR_MAX + 1]; in nl80211_get_bss_transition_status_handler() local
10568 nla_parse(tb_msg, NL80211_ATTR_MAX, genlmsg_attrdata(gnlh, 0), in nl80211_get_bss_transition_status_handler()
10571 if (!tb_msg[NL80211_ATTR_VENDOR_DATA] || in nl80211_get_bss_transition_status_handler()
10573 tb_msg[NL80211_ATTR_VENDOR_DATA], NULL) || in nl80211_get_bss_transition_status_handler()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/
Ddriver_nl80211_capa.c26 struct nlattr *tb_msg[NL80211_ATTR_MAX + 1]; in protocol_feature_handler() local
29 nla_parse(tb_msg, NL80211_ATTR_MAX, genlmsg_attrdata(gnlh, 0), in protocol_feature_handler()
32 if (tb_msg[NL80211_ATTR_PROTOCOL_FEATURES]) in protocol_feature_handler()
33 *feat = nla_get_u32(tb_msg[NL80211_ATTR_PROTOCOL_FEATURES]); in protocol_feature_handler()
1964 struct nlattr *tb_msg[NL80211_ATTR_MAX + 1]; in phy_info_handler() local
1970 nla_parse(tb_msg, NL80211_ATTR_MAX, genlmsg_attrdata(gnlh, 0), in phy_info_handler()
1973 if (!tb_msg[NL80211_ATTR_WIPHY_BANDS]) in phy_info_handler()
1976 nla_for_each_nested(nl_band, tb_msg[NL80211_ATTR_WIPHY_BANDS], rem_band) in phy_info_handler()
2303 struct nlattr *tb_msg[NL80211_ATTR_MAX + 1]; in nl80211_get_reg() local
2317 nla_parse(tb_msg, NL80211_ATTR_MAX, genlmsg_attrdata(gnlh, 0), in nl80211_get_reg()
[all …]
Ddriver_macsec_linux.c511 struct nlattr *tb_msg[MACSEC_ATTR_MAX + 1]; in dump_callback() local
519 err = nla_parse(tb_msg, MACSEC_ATTR_MAX, genlmsg_attrdata(gnlh, 0), in dump_callback()
524 if (!tb_msg[MACSEC_ATTR_IFINDEX]) in dump_callback()
527 if (nla_get_u32(tb_msg[MACSEC_ATTR_IFINDEX]) != (u32) arg->ifindex) in dump_callback()
530 if (arg->txsa < 4 && !tb_msg[MACSEC_ATTR_TXSA_LIST]) { in dump_callback()
536 nla_for_each_nested(nla, tb_msg[MACSEC_ATTR_TXSA_LIST], rem) { in dump_callback()
559 if (tb_msg[MACSEC_ATTR_RXSC_LIST]) { in dump_callback()
563 nla_for_each_nested(nla, tb_msg[MACSEC_ATTR_RXSC_LIST], rem) { in dump_callback()
Ddriver_nl80211.c1842 struct nlattr *tb_msg[NL80211_ATTR_MAX + 1]; in nl80211_get_country() local
1845 nla_parse(tb_msg, NL80211_ATTR_MAX, genlmsg_attrdata(gnlh, 0), in nl80211_get_country()
1847 if (!tb_msg[NL80211_ATTR_REG_ALPHA2]) { in nl80211_get_country()
1851 os_strlcpy(alpha2, nla_data(tb_msg[NL80211_ATTR_REG_ALPHA2]), 3); in nl80211_get_country()
11590 struct nlattr *tb_msg[NL80211_ATTR_MAX + 1]; in nl80211_get_bss_transition_status_handler() local
11609 nla_parse(tb_msg, NL80211_ATTR_MAX, genlmsg_attrdata(gnlh, 0), in nl80211_get_bss_transition_status_handler()
11612 if (!tb_msg[NL80211_ATTR_VENDOR_DATA] || in nl80211_get_bss_transition_status_handler()
11614 tb_msg[NL80211_ATTR_VENDOR_DATA], NULL) || in nl80211_get_bss_transition_status_handler()