Lines Matching refs:wowlan
1675 const struct wiphy_wowlan_tcp_support *tcp = rdev->wiphy.wowlan->tcp; in nl80211_send_wowlan_tcp_caps()
1719 if (!rdev->wiphy.wowlan) in nl80211_send_wowlan()
1727 if (((rdev->wiphy.wowlan->flags & WIPHY_WOWLAN_ANY) && in nl80211_send_wowlan()
1729 ((rdev->wiphy.wowlan->flags & WIPHY_WOWLAN_DISCONNECT) && in nl80211_send_wowlan()
1731 ((rdev->wiphy.wowlan->flags & WIPHY_WOWLAN_MAGIC_PKT) && in nl80211_send_wowlan()
1733 ((rdev->wiphy.wowlan->flags & WIPHY_WOWLAN_SUPPORTS_GTK_REKEY) && in nl80211_send_wowlan()
1735 ((rdev->wiphy.wowlan->flags & WIPHY_WOWLAN_GTK_REKEY_FAILURE) && in nl80211_send_wowlan()
1737 ((rdev->wiphy.wowlan->flags & WIPHY_WOWLAN_EAP_IDENTITY_REQ) && in nl80211_send_wowlan()
1739 ((rdev->wiphy.wowlan->flags & WIPHY_WOWLAN_4WAY_HANDSHAKE) && in nl80211_send_wowlan()
1741 ((rdev->wiphy.wowlan->flags & WIPHY_WOWLAN_RFKILL_RELEASE) && in nl80211_send_wowlan()
1745 if (rdev->wiphy.wowlan->n_patterns) { in nl80211_send_wowlan()
1747 .max_patterns = rdev->wiphy.wowlan->n_patterns, in nl80211_send_wowlan()
1748 .min_pattern_len = rdev->wiphy.wowlan->pattern_min_len, in nl80211_send_wowlan()
1749 .max_pattern_len = rdev->wiphy.wowlan->pattern_max_len, in nl80211_send_wowlan()
1750 .max_pkt_offset = rdev->wiphy.wowlan->max_pkt_offset, in nl80211_send_wowlan()
1758 if ((rdev->wiphy.wowlan->flags & WIPHY_WOWLAN_NET_DETECT) && in nl80211_send_wowlan()
1760 rdev->wiphy.wowlan->max_nd_match_sets)) in nl80211_send_wowlan()
12897 struct cfg80211_wowlan *wowlan = rdev->wiphy.wowlan_config; in nl80211_send_wowlan_patterns() local
12901 if (!wowlan->n_patterns) in nl80211_send_wowlan_patterns()
12908 for (i = 0; i < wowlan->n_patterns; i++) { in nl80211_send_wowlan_patterns()
12912 pat_len = wowlan->patterns[i].pattern_len; in nl80211_send_wowlan_patterns()
12914 wowlan->patterns[i].mask) || in nl80211_send_wowlan_patterns()
12916 wowlan->patterns[i].pattern) || in nl80211_send_wowlan_patterns()
12918 wowlan->patterns[i].pkt_offset)) in nl80211_send_wowlan_patterns()
13068 if (!rdev->wiphy.wowlan) in nl80211_get_wowlan()
13147 if (!rdev->wiphy.wowlan->tcp) in nl80211_parse_wowlan_tcp()
13166 if (data_size > rdev->wiphy.wowlan->tcp->data_payload_max) in nl80211_parse_wowlan_tcp()
13170 rdev->wiphy.wowlan->tcp->data_interval_max || in nl80211_parse_wowlan_tcp()
13175 if (wake_size > rdev->wiphy.wowlan->tcp->wake_payload_max) in nl80211_parse_wowlan_tcp()
13190 if (!rdev->wiphy.wowlan->tcp->tok) in nl80211_parse_wowlan_tcp()
13192 if (tok->len > rdev->wiphy.wowlan->tcp->tok->max_len) in nl80211_parse_wowlan_tcp()
13194 if (tok->len < rdev->wiphy.wowlan->tcp->tok->min_len) in nl80211_parse_wowlan_tcp()
13196 if (tokens_size > rdev->wiphy.wowlan->tcp->tok->bufsize) in nl80211_parse_wowlan_tcp()
13204 if (!rdev->wiphy.wowlan->tcp->seq) in nl80211_parse_wowlan_tcp()
13282 const struct wiphy_wowlan_support *wowlan, in nl80211_parse_wowlan_nd() argument
13293 if (!(wowlan->flags & WIPHY_WOWLAN_NET_DETECT)) { in nl80211_parse_wowlan_nd()
13304 wowlan->max_nd_match_sets); in nl80211_parse_wowlan_nd()
13320 const struct wiphy_wowlan_support *wowlan = rdev->wiphy.wowlan; in nl80211_set_wowlan() local
13325 if (!wowlan) in nl80211_set_wowlan()
13341 if (!(wowlan->flags & WIPHY_WOWLAN_ANY)) in nl80211_set_wowlan()
13347 if (!(wowlan->flags & WIPHY_WOWLAN_DISCONNECT)) in nl80211_set_wowlan()
13354 if (!(wowlan->flags & WIPHY_WOWLAN_MAGIC_PKT)) in nl80211_set_wowlan()
13364 if (!(wowlan->flags & WIPHY_WOWLAN_GTK_REKEY_FAILURE)) in nl80211_set_wowlan()
13371 if (!(wowlan->flags & WIPHY_WOWLAN_EAP_IDENTITY_REQ)) in nl80211_set_wowlan()
13378 if (!(wowlan->flags & WIPHY_WOWLAN_4WAY_HANDSHAKE)) in nl80211_set_wowlan()
13385 if (!(wowlan->flags & WIPHY_WOWLAN_RFKILL_RELEASE)) in nl80211_set_wowlan()
13402 if (n_patterns > wowlan->n_patterns) in nl80211_set_wowlan()
13434 if (pat_len > wowlan->pattern_max_len || in nl80211_set_wowlan()
13435 pat_len < wowlan->pattern_min_len) in nl80211_set_wowlan()
13443 if (pkt_offset > wowlan->max_pkt_offset) in nl80211_set_wowlan()
13477 rdev, wowlan, tb[NL80211_WOWLAN_TRIG_NET_DETECT], in nl80211_set_wowlan()