Searched refs:reg_rules (Results 1 – 2 of 2) sorted by relevance
/net/wireless/ |
D | reg.c | 245 .reg_rules = { 452 regd = kzalloc(struct_size(regd, reg_rules, src_regd->n_reg_rules), in reg_copy_regd() 460 memcpy(®d->reg_rules[i], &src_regd->reg_rules[i], in reg_copy_regd() 971 regdom = kzalloc(struct_size(regdom, reg_rules, coll->n_rules), in regdb_query_country() 985 struct ieee80211_reg_rule *rrule = ®dom->reg_rules[i]; in regdb_query_country() 1206 if (rule == &rd->reg_rules[idx]) in reg_get_max_bandwidth_from_range() 1216 tmp = &rd->reg_rules[--no]; in reg_get_max_bandwidth_from_range() 1232 tmp = &rd->reg_rules[++no]; in reg_get_max_bandwidth_from_range() 1302 reg_rule = &rd->reg_rules[i]; in is_valid_rd() 1499 struct ieee80211_reg_rule *reg_rules, u32 *n_rules) in add_rule() argument [all …]
|
D | nl80211.c | 8368 reg_rule = ®dom->reg_rules[i]; in nl80211_put_regdom() 8646 rd = kzalloc(struct_size(rd, reg_rules, num_rules), GFP_KERNEL); in nl80211_set_reg() 8670 r = parse_reg_rule(tb, &rd->reg_rules[rule_idx]); in nl80211_set_reg()
|