Home
last modified time | relevance | path

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

/Linux-v5.15/net/wireless/
Dreg.c476 const struct ieee80211_regdomain *regdom; member
495 set_regdom(request->regdom, REGD_SOURCE_INTERNAL_DB); in reg_regdb_apply()
505 static int reg_schedule_apply(const struct ieee80211_regdomain *regdom) in reg_schedule_apply() argument
511 kfree(regdom); in reg_schedule_apply()
515 request->regdom = regdom; in reg_schedule_apply()
965 struct ieee80211_regdomain *regdom; in regdb_query_country() local
968 regdom = kzalloc(struct_size(regdom, reg_rules, coll->n_rules), in regdb_query_country()
970 if (!regdom) in regdb_query_country()
973 regdom->n_reg_rules = coll->n_rules; in regdb_query_country()
974 regdom->alpha2[0] = country->alpha2[0]; in regdb_query_country()
[all …]
Dutil.c1852 const struct ieee80211_regdomain *regdom; in cfg80211_iter_combinations() local
1875 regdom = rcu_dereference(cfg80211_regdomain); in cfg80211_iter_combinations()
1876 if (regdom) in cfg80211_iter_combinations()
1877 region = regdom->dfs_region; in cfg80211_iter_combinations()
Dnl80211.c7677 static int nl80211_put_regdom(const struct ieee80211_regdomain *regdom, in nl80211_put_regdom() argument
7683 if (nla_put_string(msg, NL80211_ATTR_REG_ALPHA2, regdom->alpha2) || in nl80211_put_regdom()
7684 (regdom->dfs_region && in nl80211_put_regdom()
7685 nla_put_u8(msg, NL80211_ATTR_DFS_REGION, regdom->dfs_region))) in nl80211_put_regdom()
7692 for (i = 0; i < regdom->n_reg_rules; i++) { in nl80211_put_regdom()
7699 reg_rule = &regdom->reg_rules[i]; in nl80211_put_regdom()
7709 max_bandwidth_khz = reg_get_max_bandwidth(regdom, in nl80211_put_regdom()
7740 const struct ieee80211_regdomain *regdom = NULL; in nl80211_get_reg_do() local
7770 regdom = get_wiphy_regdom(wiphy); in nl80211_get_reg_do()
7773 if (WARN_ON(!regdom && self_managed)) { in nl80211_get_reg_do()
[all …]
/Linux-v5.15/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
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()