Lines Matching refs:regdom
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_rules, coll->n_rules), in regdb_query_country()
953 if (!regdom) in regdb_query_country()
956 regdom->n_reg_rules = coll->n_rules; in regdb_query_country()
957 regdom->alpha2[0] = country->alpha2[0]; in regdb_query_country()
958 regdom->alpha2[1] = country->alpha2[1]; in regdb_query_country()
959 regdom->dfs_region = coll->dfs_region; in regdb_query_country()
961 for (i = 0; i < regdom->n_reg_rules; i++) { in regdb_query_country()
965 struct ieee80211_reg_rule *rrule = ®dom->reg_rules[i]; in regdb_query_country()
996 return reg_schedule_apply(regdom); in regdb_query_country()