Searched refs:n_rules (Results 1 – 3 of 3) sorted by relevance
831 struct ieee80211_reg_rule *reg_rules, u32 *n_rules) in add_rule() argument836 for (i = 0; i < *n_rules; i++) { in add_rule()849 memcpy(®_rules[*n_rules], rule, sizeof(*rule)); in add_rule()850 (*n_rules)++; in add_rule()
1100 rule.max_rules = rdev->wiphy.coalesce->n_rules; in nl80211_send_coalesce()8738 if (!rdev->coalesce->n_rules) in nl80211_send_coalesce_rules()8745 for (i = 0; i < rdev->coalesce->n_rules; i++) { in nl80211_send_coalesce_rules()8825 for (i = 0; i < coalesce->n_rules; i++) { in cfg80211_rdev_free_coalesce()8931 int err, rem_rule, n_rules = 0, i, j; in nl80211_set_coalesce() local8946 n_rules++; in nl80211_set_coalesce()8947 if (n_rules > coalesce->n_rules) in nl80211_set_coalesce()8950 new_coalesce.rules = kcalloc(n_rules, sizeof(new_coalesce.rules[0]), in nl80211_set_coalesce()8955 new_coalesce.n_rules = n_rules; in nl80211_set_coalesce()8982 for (i = 0; i < new_coalesce.n_rules; i++) { in nl80211_set_coalesce()
523 (!wiphy->coalesce->n_rules || in wiphy_register()