Lines Matching refs:n_patterns
1762 if (rdev->wiphy.wowlan->n_patterns) { in nl80211_send_wowlan()
1764 .max_patterns = rdev->wiphy.wowlan->n_patterns, in nl80211_send_wowlan()
1799 rule.pat.max_patterns = rdev->wiphy.coalesce->n_patterns; in nl80211_send_coalesce()
13181 if (!wowlan->n_patterns) in nl80211_send_wowlan_patterns()
13188 for (i = 0; i < wowlan->n_patterns; i++) { in nl80211_send_wowlan_patterns()
13673 int n_patterns = 0; in nl80211_set_wowlan() local
13681 n_patterns++; in nl80211_set_wowlan()
13682 if (n_patterns > wowlan->n_patterns) in nl80211_set_wowlan()
13685 new_triggers.patterns = kcalloc(n_patterns, in nl80211_set_wowlan()
13691 new_triggers.n_patterns = n_patterns; in nl80211_set_wowlan()
13789 for (i = 0; i < new_triggers.n_patterns; i++) in nl80211_set_wowlan()
13833 for (j = 0; j < rule->n_patterns; j++) { in nl80211_send_coalesce_rules()
13896 for (j = 0; j < rule->n_patterns; j++) in cfg80211_rdev_free_coalesce()
13912 int rem, pat_len, mask_len, pkt_offset, n_patterns = 0; in nl80211_parse_coalesce_rule() local
13935 n_patterns++; in nl80211_parse_coalesce_rule()
13936 if (n_patterns > coalesce->n_patterns) in nl80211_parse_coalesce_rule()
13939 new_rule->patterns = kcalloc(n_patterns, sizeof(new_rule->patterns[0]), in nl80211_parse_coalesce_rule()
13944 new_rule->n_patterns = n_patterns; in nl80211_parse_coalesce_rule()
14055 for (j = 0; j < tmp_rule->n_patterns; j++) in nl80211_set_coalesce()