Home
last modified time | relevance | path

Searched refs:regdom (Results 1 – 3 of 3) sorted by relevance

/net/wireless/
Dreg.c457 const struct ieee80211_regdomain *regdom; member
476 set_regdom(request->regdom, REGD_SOURCE_INTERNAL_DB); in reg_regdb_apply()
486 static int reg_schedule_apply(const struct ieee80211_regdomain *regdom) in reg_schedule_apply() argument
492 kfree(regdom); in reg_schedule_apply()
496 request->regdom = regdom; in reg_schedule_apply()
946 struct ieee80211_regdomain *regdom; in regdb_query_country() local
949 regdom = kzalloc(struct_size(regdom, reg_rules, coll->n_rules), in regdb_query_country()
951 if (!regdom) in regdb_query_country()
954 regdom->n_reg_rules = coll->n_rules; in regdb_query_country()
955 regdom->alpha2[0] = country->alpha2[0]; in regdb_query_country()
[all …]
Dutil.c1789 const struct ieee80211_regdomain *regdom; in cfg80211_iter_combinations() local
1812 regdom = rcu_dereference(cfg80211_regdomain); in cfg80211_iter_combinations()
1813 if (regdom) in cfg80211_iter_combinations()
1814 region = regdom->dfs_region; in cfg80211_iter_combinations()
Dnl80211.c7160 static int nl80211_put_regdom(const struct ieee80211_regdomain *regdom, in nl80211_put_regdom() argument
7166 if (nla_put_string(msg, NL80211_ATTR_REG_ALPHA2, regdom->alpha2) || in nl80211_put_regdom()
7167 (regdom->dfs_region && in nl80211_put_regdom()
7168 nla_put_u8(msg, NL80211_ATTR_DFS_REGION, regdom->dfs_region))) in nl80211_put_regdom()
7175 for (i = 0; i < regdom->n_reg_rules; i++) { in nl80211_put_regdom()
7182 reg_rule = &regdom->reg_rules[i]; in nl80211_put_regdom()
7192 max_bandwidth_khz = reg_get_max_bandwidth(regdom, in nl80211_put_regdom()
7223 const struct ieee80211_regdomain *regdom = NULL; in nl80211_get_reg_do() local
7250 regdom = get_wiphy_regdom(wiphy); in nl80211_get_reg_do()
7253 if (WARN_ON(!regdom && self_managed)) { in nl80211_get_reg_do()
[all …]