Home
last modified time | relevance | path

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

/linux/net/wireless/
H A Dreg.c480 const struct ieee80211_regdomain *regdom; member
499 set_regdom(request->regdom, REGD_SOURCE_INTERNAL_DB); in reg_regdb_apply()
509 static int reg_schedule_apply(const struct ieee80211_regdomain *regdom) in reg_schedule_apply() argument
515 kfree(regdom); in reg_schedule_apply()
519 request->regdom = regdom; in reg_schedule_apply()
933 struct ieee80211_regdomain *regdom; in regdb_query_country() local
936 regdom = kzalloc(struct_size(regdom, reg_rules, coll->n_rules), in regdb_query_country()
938 if (!regdom) in regdb_query_country()
941 regdom->n_reg_rules = coll->n_rules; in regdb_query_country()
942 regdom->alpha2[0] = country->alpha2[0]; in regdb_query_country()
[all …]
H A Dutil.c2431 const struct ieee80211_regdomain *regdom; in cfg80211_iter_combinations() local
2458 regdom = rcu_dereference(cfg80211_regdomain); in cfg80211_iter_combinations()
2459 if (regdom) in cfg80211_iter_combinations()
2460 region = regdom->dfs_region; in cfg80211_iter_combinations()
H A Dnl80211.c9353 static int nl80211_put_regdom(const struct ieee80211_regdomain *regdom, in nl80211_put_regdom() argument
9359 if (nla_put_string(msg, NL80211_ATTR_REG_ALPHA2, regdom->alpha2) || in nl80211_put_regdom()
9360 (regdom->dfs_region && in nl80211_put_regdom()
9361 nla_put_u8(msg, NL80211_ATTR_DFS_REGION, regdom->dfs_region))) in nl80211_put_regdom()
9368 for (i = 0; i < regdom->n_reg_rules; i++) { in nl80211_put_regdom()
9375 reg_rule = &regdom->reg_rules[i]; in nl80211_put_regdom()
9385 max_bandwidth_khz = reg_get_max_bandwidth(regdom, in nl80211_put_regdom()
9421 const struct ieee80211_regdomain *regdom = NULL; in nl80211_get_reg_do() local
9454 regdom = get_wiphy_regdom(wiphy); in nl80211_get_reg_do()
9457 if (WARN_ON(!regdom && self_managed)) { in nl80211_get_reg_do()
[all …]