Lines Matching refs:coalesce
1789 if (!rdev->wiphy.coalesce) in nl80211_send_coalesce()
1792 rule.max_rules = rdev->wiphy.coalesce->n_rules; in nl80211_send_coalesce()
1793 rule.max_delay = rdev->wiphy.coalesce->max_delay; in nl80211_send_coalesce()
1794 rule.pat.max_patterns = rdev->wiphy.coalesce->n_patterns; in nl80211_send_coalesce()
1795 rule.pat.min_pattern_len = rdev->wiphy.coalesce->pattern_min_len; in nl80211_send_coalesce()
1796 rule.pat.max_pattern_len = rdev->wiphy.coalesce->pattern_max_len; in nl80211_send_coalesce()
1797 rule.pat.max_pkt_offset = rdev->wiphy.coalesce->max_pkt_offset; in nl80211_send_coalesce()
13602 if (!rdev->coalesce->n_rules) in nl80211_send_coalesce_rules()
13609 for (i = 0; i < rdev->coalesce->n_rules; i++) { in nl80211_send_coalesce_rules()
13614 rule = &rdev->coalesce->rules[i]; in nl80211_send_coalesce_rules()
13657 if (!rdev->wiphy.coalesce) in nl80211_get_coalesce()
13669 if (rdev->coalesce && nl80211_send_coalesce_rules(msg, rdev)) in nl80211_get_coalesce()
13682 struct cfg80211_coalesce *coalesce = rdev->coalesce; in cfg80211_rdev_free_coalesce() local
13686 if (!coalesce) in cfg80211_rdev_free_coalesce()
13689 for (i = 0; i < coalesce->n_rules; i++) { in cfg80211_rdev_free_coalesce()
13690 rule = &coalesce->rules[i]; in cfg80211_rdev_free_coalesce()
13695 kfree(coalesce->rules); in cfg80211_rdev_free_coalesce()
13696 kfree(coalesce); in cfg80211_rdev_free_coalesce()
13697 rdev->coalesce = NULL; in cfg80211_rdev_free_coalesce()
13705 const struct wiphy_coalesce_support *coalesce = rdev->wiphy.coalesce; in nl80211_parse_coalesce_rule() local
13718 if (new_rule->delay > coalesce->max_delay) in nl80211_parse_coalesce_rule()
13731 if (n_patterns > coalesce->n_patterns) in nl80211_parse_coalesce_rule()
13760 if (pat_len > coalesce->pattern_max_len || in nl80211_parse_coalesce_rule()
13761 pat_len < coalesce->pattern_min_len) in nl80211_parse_coalesce_rule()
13768 if (pkt_offset > coalesce->max_pkt_offset) in nl80211_parse_coalesce_rule()
13794 const struct wiphy_coalesce_support *coalesce = rdev->wiphy.coalesce; in nl80211_set_coalesce() local
13801 if (!rdev->wiphy.coalesce || !rdev->ops->set_coalesce) in nl80211_set_coalesce()
13813 if (n_rules > coalesce->n_rules) in nl80211_set_coalesce()
13844 rdev->coalesce = n_coalesce; in nl80211_set_coalesce()