Searched refs:tb_rule (Results 1 – 1 of 1) sorted by relevance
1435 struct nlattr *tb_rule[NL80211_FREQUENCY_ATTR_MAX + 1]; in nl80211_get_reg() local1469 nla_parse(tb_rule, NL80211_FREQUENCY_ATTR_MAX, in nl80211_get_reg()1471 if (tb_rule[NL80211_ATTR_FREQ_RANGE_START] == NULL || in nl80211_get_reg()1472 tb_rule[NL80211_ATTR_FREQ_RANGE_END] == NULL) in nl80211_get_reg()1474 start = nla_get_u32(tb_rule[NL80211_ATTR_FREQ_RANGE_START]) / 1000; in nl80211_get_reg()1475 end = nla_get_u32(tb_rule[NL80211_ATTR_FREQ_RANGE_END]) / 1000; in nl80211_get_reg()1476 if (tb_rule[NL80211_ATTR_POWER_RULE_MAX_EIRP]) in nl80211_get_reg()1477 max_eirp = nla_get_u32(tb_rule[NL80211_ATTR_POWER_RULE_MAX_EIRP]) / 100; in nl80211_get_reg()1478 if (tb_rule[NL80211_ATTR_FREQ_RANGE_MAX_BW]) in nl80211_get_reg()1479 max_bw = nla_get_u32(tb_rule[NL80211_ATTR_FREQ_RANGE_MAX_BW]) / 1000; in nl80211_get_reg()[all …]