Home
last modified time | relevance | path

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

/openbmc/linux/net/wireless/
H A Dreg.c477 const struct ieee80211_regdomain *regdom; member
496 set_regdom(request->regdom, REGD_SOURCE_INTERNAL_DB); in reg_regdb_apply()
506 static int reg_schedule_apply(const struct ieee80211_regdomain *regdom) in reg_schedule_apply() argument
512 kfree(regdom); in reg_schedule_apply()
516 request->regdom = regdom; in reg_schedule_apply()
930 struct ieee80211_regdomain *regdom; in regdb_query_country() local
933 regdom = kzalloc(struct_size(regdom, reg_rules, coll->n_rules), in regdb_query_country()
935 if (!regdom) in regdb_query_country()
938 regdom->n_reg_rules = coll->n_rules; in regdb_query_country()
939 regdom->alpha2[0] = country->alpha2[0]; in regdb_query_country()
[all …]
H A Dutil.c2221 const struct ieee80211_regdomain *regdom; in cfg80211_iter_combinations() local
2244 regdom = rcu_dereference(cfg80211_regdomain); in cfg80211_iter_combinations()
2245 if (regdom) in cfg80211_iter_combinations()
2246 region = regdom->dfs_region; in cfg80211_iter_combinations()
H A Dnl80211.c8558 static int nl80211_put_regdom(const struct ieee80211_regdomain *regdom, in nl80211_put_regdom() argument
8564 if (nla_put_string(msg, NL80211_ATTR_REG_ALPHA2, regdom->alpha2) || in nl80211_put_regdom()
8565 (regdom->dfs_region && in nl80211_put_regdom()
8566 nla_put_u8(msg, NL80211_ATTR_DFS_REGION, regdom->dfs_region))) in nl80211_put_regdom()
8573 for (i = 0; i < regdom->n_reg_rules; i++) { in nl80211_put_regdom()
8580 reg_rule = &regdom->reg_rules[i]; in nl80211_put_regdom()
8590 max_bandwidth_khz = reg_get_max_bandwidth(regdom, in nl80211_put_regdom()
8621 const struct ieee80211_regdomain *regdom = NULL; in nl80211_get_reg_do() local
8654 regdom = get_wiphy_regdom(wiphy); in nl80211_get_reg_do()
8657 if (WARN_ON(!regdom && self_managed)) { in nl80211_get_reg_do()
[all …]
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
H A Dchannel.c201 static const struct brcms_regd *brcms_world_regd(const char *regdom, int len) in brcms_world_regd() argument
207 if (!strncmp(regdom, cntry_locales[i].regdomain->alpha2, len)) { in brcms_world_regd()