Lines Matching refs:n_reg_rules
243 .n_reg_rules = 8,
452 regd = kzalloc(struct_size(regd, reg_rules, src_regd->n_reg_rules), in reg_copy_regd()
459 for (i = 0; i < src_regd->n_reg_rules; i++) in reg_copy_regd()
976 regdom->n_reg_rules = coll->n_rules; in regdb_query_country()
981 for (i = 0; i < regdom->n_reg_rules; i++) { in regdb_query_country()
1205 for (idx = 0; idx < rd->n_reg_rules; idx++) in reg_get_max_bandwidth_from_range()
1209 if (idx == rd->n_reg_rules) in reg_get_max_bandwidth_from_range()
1231 while (no < rd->n_reg_rules - 1) { in reg_get_max_bandwidth_from_range()
1295 if (!rd->n_reg_rules) in is_valid_rd()
1298 if (WARN_ON(rd->n_reg_rules > NL80211_MAX_SUPP_REG_RULES)) in is_valid_rd()
1301 for (i = 0; i < rd->n_reg_rules; i++) { in is_valid_rd()
1556 for (x = 0; x < rd1->n_reg_rules; x++) { in regdom_intersect()
1558 for (y = 0; y < rd2->n_reg_rules; y++) { in regdom_intersect()
1573 for (x = 0; x < rd1->n_reg_rules; x++) { in regdom_intersect()
1575 for (y = 0; y < rd2->n_reg_rules; y++) { in regdom_intersect()
1587 &rd->n_reg_rules); in regdom_intersect()
1642 for (i = 0; i < regd->n_reg_rules; i++) { in freq_reg_info_regd()
3730 for (i = 0; i < rd->n_reg_rules; i++) { in print_rd_rules()