Lines Matching refs:regdom
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_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()
940 regdom->alpha2[1] = country->alpha2[1]; in regdb_query_country()
941 regdom->dfs_region = coll->dfs_region; in regdb_query_country()
943 for (i = 0; i < regdom->n_reg_rules; i++) { in regdb_query_country()
947 struct ieee80211_reg_rule *rrule = ®dom->reg_rules[i]; in regdb_query_country()
978 return reg_schedule_apply(regdom); in regdb_query_country()