Home
last modified time | relevance | path

Searched refs:wow (Results 1 – 24 of 24) sorted by relevance

/Linux-v4.19/drivers/net/wireless/ath/ath9k/
Dar9003_wow.c129 if (pattern_count >= ah->wow.max_patterns) in ath9k_hw_wow_apply_pattern()
151 ah->wow.wow_event_mask |= in ath9k_hw_wow_apply_pattern()
154 ah->wow.wow_event_mask2 |= in ath9k_hw_wow_apply_pattern()
200 val &= ah->wow.wow_event_mask; in ath9k_hw_wow_wakeup()
215 val &= ah->wow.wow_event_mask2; in ath9k_hw_wow_wakeup()
262 ah->wow.wow_event_mask = 0; in ath9k_hw_wow_wakeup()
263 ah->wow.wow_event_mask2 = 0; in ath9k_hw_wow_wakeup()
294 wow_event_mask = ah->wow.wow_event_mask; in ath9k_hw_wow_enable()
452 ah->wow.wow_event_mask = wow_event_mask; in ath9k_hw_wow_enable()
DMakefile18 ath9k-$(CONFIG_ATH9K_WOW) += wow.o
Dhw.h967 struct ath9k_hw_wow wow; member
Dhw.c2674 ah->wow.max_patterns = MAX_NUM_PATTERN; in ath9k_hw_fill_cap_info()
2676 ah->wow.max_patterns = MAX_NUM_PATTERN_LEGACY; in ath9k_hw_fill_cap_info()
/Linux-v4.19/drivers/net/wireless/ath/ath10k/
Dwow.c49 for (i = 0; i < ar->wow.max_num_patterns; i++) { in ath10k_wow_vif_cleanup()
331 reinit_completion(&ar->wow.wakeup_completed); in ath10k_wow_wakeup()
340 ret = wait_for_completion_timeout(&ar->wow.wakeup_completed, 3 * HZ); in ath10k_wow_wakeup()
469 ar->wow.wowlan_support = ath10k_wowlan_support; in ath10k_wow_init()
472 ar->wow.wowlan_support.pattern_max_len -= WOW_MAX_REDUCE; in ath10k_wow_init()
473 ar->wow.wowlan_support.max_pkt_offset -= WOW_MAX_REDUCE; in ath10k_wow_init()
476 ar->wow.wowlan_support.n_patterns = ar->wow.max_num_patterns; in ath10k_wow_init()
477 ar->hw->wiphy->wowlan = &ar->wow.wowlan_support; in ath10k_wow_init()
DMakefile23 ath10k_core-$(CONFIG_PM) += wow.o
Dcore.h1109 struct ath10k_wow wow; member
Dcore.c2094 ar->wow.max_num_patterns = TARGET_TLV_NUM_WOW_PATTERNS; in ath10k_core_init_firmware_features()
2819 init_completion(&ar->wow.wakeup_completed); in ath10k_core_create()
Dwmi-tlv.c1612 cfg->num_wow_filters = __cpu_to_le32(ar->wow.max_num_patterns); in ath10k_wmi_tlv_op_gen_init()
Dwmi.c4424 complete(&ar->wow.wakeup_completed); in ath10k_wmi_event_wow_wakeup_host()
/Linux-v4.19/drivers/net/wireless/ath/ath6kl/
Dhif-ops.h88 struct cfg80211_wowlan *wow) in ath6kl_hif_suspend() argument
92 return ar->hif_ops->suspend(ar, wow); in ath6kl_hif_suspend()
Dcfg80211.c1906 struct cfg80211_wowlan *wow, u32 *filter) in ath6kl_wow_usr() argument
1913 for (i = 0; i < wow->n_patterns; i++) { in ath6kl_wow_usr()
1923 for (pos = 0; pos < wow->patterns[i].pattern_len; pos++) { in ath6kl_wow_usr()
1924 if (wow->patterns[i].mask[pos / 8] & (0x1 << (pos % 8))) in ath6kl_wow_usr()
1935 wow->patterns[i].pattern_len, in ath6kl_wow_usr()
1937 wow->patterns[i].pattern, mask); in ath6kl_wow_usr()
1942 if (wow->disconnect) in ath6kl_wow_usr()
1945 if (wow->magic_pkt) in ath6kl_wow_usr()
1948 if (wow->gtk_rekey_failure) in ath6kl_wow_usr()
1951 if (wow->eap_identity_req) in ath6kl_wow_usr()
[all …]
Dcfg80211.h51 struct cfg80211_wowlan *wow);
Dhif.h250 int (*suspend)(struct ath6kl *ar, struct cfg80211_wowlan *wow);
Dsdio.c862 static int ath6kl_sdio_suspend(struct ath6kl *ar, struct cfg80211_wowlan *wow) in ath6kl_sdio_suspend() argument
871 (!ar->suspend_mode && wow)) { in ath6kl_sdio_suspend()
876 ret = ath6kl_cfg80211_suspend(ar, ATH6KL_CFG_SUSPEND_WOW, wow); in ath6kl_sdio_suspend()
Dusb.c1064 static int ath6kl_usb_suspend(struct ath6kl *ar, struct cfg80211_wowlan *wow) in ath6kl_usb_suspend() argument
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/
Dcore.c437 struct cfg80211_wowlan *wow) in _rtl_add_wowlan_patterns() argument
441 struct cfg80211_pkt_pattern *patterns = wow->patterns; in _rtl_add_wowlan_patterns()
452 for (i = 0; i < wow->n_patterns; i++) { in _rtl_add_wowlan_patterns()
543 rtl_write_byte(rtlpriv, 0x698, wow->n_patterns); in _rtl_add_wowlan_patterns()
547 struct cfg80211_wowlan *wow) in rtl_op_suspend() argument
554 if (WARN_ON(!wow)) in rtl_op_suspend()
560 if ((ppsc->wo_wlan_mode & WAKE_ON_PATTERN_MATCH) && wow->n_patterns) in rtl_op_suspend()
561 _rtl_add_wowlan_patterns(hw, wow); in rtl_op_suspend()
/Linux-v4.19/drivers/staging/rtlwifi/
Dcore.c386 struct cfg80211_wowlan *wow) in _rtl_add_wowlan_patterns() argument
390 struct cfg80211_pkt_pattern *patterns = wow->patterns; in _rtl_add_wowlan_patterns()
401 for (i = 0; i < wow->n_patterns; i++) { in _rtl_add_wowlan_patterns()
492 rtl_write_byte(rtlpriv, 0x698, wow->n_patterns); in _rtl_add_wowlan_patterns()
496 struct cfg80211_wowlan *wow) in rtl_op_suspend() argument
503 if (WARN_ON(!wow)) in rtl_op_suspend()
509 if ((ppsc->wo_wlan_mode & WAKE_ON_PATTERN_MATCH) && wow->n_patterns) in rtl_op_suspend()
510 _rtl_add_wowlan_patterns(hw, wow); in rtl_op_suspend()
/Linux-v4.19/drivers/net/wireless/ti/wlcore/
Dmain.c1561 struct cfg80211_wowlan *wow) in wl1271_configure_wowlan() argument
1565 if (!wow || wow->any || !wow->n_patterns) { in wl1271_configure_wowlan()
1578 if (WARN_ON(wow->n_patterns > WL1271_MAX_RX_FILTERS)) in wl1271_configure_wowlan()
1582 for (i = 0; i < wow->n_patterns; i++) { in wl1271_configure_wowlan()
1583 ret = wl1271_validate_wowlan_pattern(&wow->patterns[i]); in wl1271_configure_wowlan()
1599 for (i = 0; i < wow->n_patterns; i++) { in wl1271_configure_wowlan()
1603 p = &wow->patterns[i]; in wl1271_configure_wowlan()
1627 struct cfg80211_wowlan *wow) in wl1271_configure_suspend_sta() argument
1634 ret = wl1271_configure_wowlan(wl, wow); in wl1271_configure_suspend_sta()
1657 struct cfg80211_wowlan *wow) in wl1271_configure_suspend_ap() argument
[all …]
/Linux-v4.19/net/wireless/
Dtrace.h218 TP_PROTO(struct wiphy *wiphy, struct cfg80211_wowlan *wow),
219 TP_ARGS(wiphy, wow),
233 if (wow) {
234 __entry->any = wow->any;
235 __entry->disconnect = wow->disconnect;
236 __entry->magic_pkt = wow->magic_pkt;
237 __entry->gtk_rekey_failure = wow->gtk_rekey_failure;
238 __entry->eap_identity_req = wow->eap_identity_req;
239 __entry->four_way_handshake = wow->four_way_handshake;
240 __entry->rfkill_release = wow->rfkill_release;
/Linux-v4.19/drivers/staging/wilc1000/
Dwilc_wfi_cfgoperations.c1980 static int wilc_suspend(struct wiphy *wiphy, struct cfg80211_wowlan *wow) in wilc_suspend() argument
1985 if (!wow && wilc_wlan_get_num_conn_ifcs(vif->wilc)) in wilc_suspend()
/Linux-v4.19/drivers/net/wireless/ath/wcn36xx/
Dmain.c1053 static int wcn36xx_suspend(struct ieee80211_hw *hw, struct cfg80211_wowlan *wow) in wcn36xx_suspend() argument
/Linux-v4.19/include/net/
Dcfg80211.h3131 int (*suspend)(struct wiphy *wiphy, struct cfg80211_wowlan *wow);
/Linux-v4.19/drivers/net/wireless/ath/wil6210/
Dcfg80211.c1933 struct cfg80211_wowlan *wow) in wil_cfg80211_suspend() argument