/kernel/linux/linux-5.10/net/wireless/ |
H A D | reg.c | 408 * The NL80211_REGDOM_SET_BY_USER regdom alpha2 is cached, this lets 457 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() 948 struct ieee80211_regdomain *regdom; in regdb_query_country() local 951 regdom = kzalloc(struct_size(regdom, reg_rule in regdb_query_country() [all...] |
H A D | util.c | 1824 const struct ieee80211_regdomain *regdom; in cfg80211_iter_combinations() local 1847 regdom = rcu_dereference(cfg80211_regdomain); in cfg80211_iter_combinations() 1848 if (regdom) in cfg80211_iter_combinations() 1849 region = regdom->dfs_region; in cfg80211_iter_combinations()
|
H A D | nl80211.c | 7502 static int nl80211_put_regdom(const struct ieee80211_regdomain *regdom, in nl80211_put_regdom() argument 7508 if (nla_put_string(msg, NL80211_ATTR_REG_ALPHA2, regdom->alpha2) || in nl80211_put_regdom() 7509 (regdom->dfs_region && in nl80211_put_regdom() 7510 nla_put_u8(msg, NL80211_ATTR_DFS_REGION, regdom->dfs_region))) in nl80211_put_regdom() 7517 for (i = 0; i < regdom->n_reg_rules; i++) { in nl80211_put_regdom() 7524 reg_rule = ®dom->reg_rules[i]; in nl80211_put_regdom() 7534 max_bandwidth_khz = reg_get_max_bandwidth(regdom, in nl80211_put_regdom() 7565 const struct ieee80211_regdomain *regdom = NULL; in nl80211_get_reg_do() local 7592 regdom = get_wiphy_regdom(wiphy); in nl80211_get_reg_do() 7594 /* a self-managed-reg device must have a private regdom */ in nl80211_get_reg_do() 7631 nl80211_send_regdom(struct sk_buff *msg, struct netlink_callback *cb, u32 seq, int flags, struct wiphy *wiphy, const struct ieee80211_regdomain *regdom) nl80211_send_regdom() argument 7670 const struct ieee80211_regdomain *regdom = NULL; nl80211_get_reg_dump() local [all...] |
/kernel/linux/linux-6.6/net/wireless/ |
H A D | reg.c | 428 * The NL80211_REGDOM_SET_BY_USER regdom alpha2 is cached, this lets 477 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_rule in regdb_query_country() [all...] |
H A D | util.c | 2213 const struct ieee80211_regdomain *regdom; in cfg80211_iter_combinations() local 2236 regdom = rcu_dereference(cfg80211_regdomain); in cfg80211_iter_combinations() 2237 if (regdom) in cfg80211_iter_combinations() 2238 region = regdom->dfs_region; in cfg80211_iter_combinations()
|
H A D | nl80211.c | 8533 static int nl80211_put_regdom(const struct ieee80211_regdomain *regdom, in nl80211_put_regdom() argument 8539 if (nla_put_string(msg, NL80211_ATTR_REG_ALPHA2, regdom->alpha2) || in nl80211_put_regdom() 8540 (regdom->dfs_region && in nl80211_put_regdom() 8541 nla_put_u8(msg, NL80211_ATTR_DFS_REGION, regdom->dfs_region))) in nl80211_put_regdom() 8548 for (i = 0; i < regdom->n_reg_rules; i++) { in nl80211_put_regdom() 8555 reg_rule = ®dom->reg_rules[i]; in nl80211_put_regdom() 8565 max_bandwidth_khz = reg_get_max_bandwidth(regdom, in nl80211_put_regdom() 8596 const struct ieee80211_regdomain *regdom = NULL; in nl80211_get_reg_do() local 8629 regdom = get_wiphy_regdom(wiphy); in nl80211_get_reg_do() 8631 /* a self-managed-reg device must have a private regdom */ in nl80211_get_reg_do() 8670 nl80211_send_regdom(struct sk_buff *msg, struct netlink_callback *cb, u32 seq, int flags, struct wiphy *wiphy, const struct ieee80211_regdomain *regdom) nl80211_send_regdom() argument 8709 const struct ieee80211_regdomain *regdom = NULL; nl80211_get_reg_dump() local [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
H A D | channel.c | 201 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()
|
/kernel/linux/linux-6.6/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
H A D | channel.c | 201 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()
|