Home
last modified time | relevance | path

Searched refs:regdom (Results 1 – 4 of 4) 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.c2383 const struct ieee80211_regdomain *regdom; in cfg80211_iter_combinations() local
2410 regdom = rcu_dereference(cfg80211_regdomain); in cfg80211_iter_combinations()
2411 if (regdom) in cfg80211_iter_combinations()
2412 region = regdom->dfs_region; in cfg80211_iter_combinations()
H A Dnl80211.c8704 static int nl80211_put_regdom(const struct ieee80211_regdomain *regdom, in nl80211_put_regdom() argument
8710 if (nla_put_string(msg, NL80211_ATTR_REG_ALPHA2, regdom->alpha2) || in nl80211_put_regdom()
8711 (regdom->dfs_region && in nl80211_put_regdom()
8712 nla_put_u8(msg, NL80211_ATTR_DFS_REGION, regdom->dfs_region))) in nl80211_put_regdom()
8719 for (i = 0; i < regdom->n_reg_rules; i++) { in nl80211_put_regdom()
8726 reg_rule = &regdom->reg_rules[i]; in nl80211_put_regdom()
8736 max_bandwidth_khz = reg_get_max_bandwidth(regdom, in nl80211_put_regdom()
8772 const struct ieee80211_regdomain *regdom = NULL; in nl80211_get_reg_do() local
8805 regdom = get_wiphy_regdom(wiphy); in nl80211_get_reg_do()
8808 if (WARN_ON(!regdom && self_managed)) { in nl80211_get_reg_do()
[all …]
/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()