Lines Matching refs:tb_msg
123 struct nlattr *tb_msg[NL80211_ATTR_MAX + 1]; in print_reg_handler() local
139 nla_parse(tb_msg, NL80211_ATTR_MAX, genlmsg_attrdata(gnlh, 0), in print_reg_handler()
142 if (!tb_msg[NL80211_ATTR_REG_ALPHA2]) { in print_reg_handler()
147 if (!tb_msg[NL80211_ATTR_REG_RULES]) { in print_reg_handler()
152 if (tb_msg[NL80211_ATTR_WIPHY]) in print_reg_handler()
153 printf("phy#%d%s\n", nla_get_u32(tb_msg[NL80211_ATTR_WIPHY]), in print_reg_handler()
154 tb_msg[NL80211_ATTR_WIPHY_SELF_MANAGED_REG] ? in print_reg_handler()
159 if (tb_msg[NL80211_ATTR_DFS_REGION]) in print_reg_handler()
160 dfs_domain = nla_get_u8(tb_msg[NL80211_ATTR_DFS_REGION]); in print_reg_handler()
164 alpha2 = nla_data(tb_msg[NL80211_ATTR_REG_ALPHA2]); in print_reg_handler()
167 nla_for_each_nested(nl_rule, tb_msg[NL80211_ATTR_REG_RULES], rem_rule) { in print_reg_handler()