Home | History | Annotate | Download | only in src

Lines Matching defs:tb_msg

221 static int check_iftype(struct nlattr *tb_msg[], int nl_type)
226 if (!tb_msg[NL80211_ATTR_SUPPORTED_IFTYPES])
229 nla_for_each_nested(nl_mode, tb_msg[NL80211_ATTR_SUPPORTED_IFTYPES], rem_mode)
273 struct nlattr *tb_msg[NL80211_ATTR_MAX + 1];
301 nla_parse(tb_msg, NL80211_ATTR_MAX, genlmsg_attrdata(gnlh, 0),
304 if (!tb_msg[NL80211_ATTR_WIPHY_BANDS])
314 nla_for_each_nested(nl_band, tb_msg[NL80211_ATTR_WIPHY_BANDS], rem_band) {
442 pbool("sta", check_iftype(tb_msg, NL80211_IFTYPE_STATION));
444 pbool("ibss", check_iftype(tb_msg, NL80211_IFTYPE_ADHOC));
446 pbool("ap", check_iftype(tb_msg, NL80211_IFTYPE_AP));
448 pbool("mbss", check_iftype(tb_msg, NL80211_IFTYPE_MESH_POINT));
450 pbool("mon", check_iftype(tb_msg, NL80211_IFTYPE_MONITOR));