Searched refs:num_rules (Results 1 – 3 of 3) sorted by relevance
174 int num_rules = mydriver_jp_regdom.n_reg_rules;178 (num_rules * sizeof(struct ieee80211_reg_rule));186 for (i=0; i < num_rules; i++)
545 unsigned int num_rules = 0, rule_idx = 0; in regdom_intersect() local574 num_rules++; in regdom_intersect()580 if (!num_rules) in regdom_intersect()584 ((num_rules + 1) * sizeof(struct ieee80211_reg_rule)); in regdom_intersect()612 if (rule_idx != num_rules) { in regdom_intersect()617 rd->n_reg_rules = num_rules; in regdom_intersect()
3037 u32 num_rules = 0, rule_idx = 0, size_of_regd; in nl80211_set_reg() local3050 num_rules++; in nl80211_set_reg()3051 if (num_rules > NL80211_MAX_SUPP_REG_RULES) in nl80211_set_reg()3063 (num_rules * sizeof(struct ieee80211_reg_rule)); in nl80211_set_reg()3071 rd->n_reg_rules = num_rules; in nl80211_set_reg()3092 BUG_ON(rule_idx != num_rules); in nl80211_set_reg()