Home
last modified time | relevance | path

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

/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.h965 struct ath9k_hw_wow wow; member
Dhw.c2661 ah->wow.max_patterns = MAX_NUM_PATTERN; in ath9k_hw_fill_cap_info()
2663 ah->wow.max_patterns = MAX_NUM_PATTERN_LEGACY; in ath9k_hw_fill_cap_info()
/drivers/net/wireless/ath/ath10k/
Dwow.c48 for (i = 0; i < ar->wow.max_num_patterns; i++) { in ath10k_wow_vif_cleanup()
209 reinit_completion(&ar->wow.wakeup_completed); in ath10k_wow_wakeup()
218 ret = wait_for_completion_timeout(&ar->wow.wakeup_completed, 3 * HZ); in ath10k_wow_wakeup()
347 ar->wow.wowlan_support = ath10k_wowlan_support; in ath10k_wow_init()
348 ar->wow.wowlan_support.n_patterns = ar->wow.max_num_patterns; in ath10k_wow_init()
349 ar->hw->wiphy->wowlan = &ar->wow.wowlan_support; in ath10k_wow_init()
DMakefile23 ath10k_core-$(CONFIG_PM) += wow.o
Dcore.h980 struct ath10k_wow wow; member
Dcore.c1875 ar->wow.max_num_patterns = TARGET_TLV_NUM_WOW_PATTERNS; in ath10k_core_init_firmware_features()
2545 init_completion(&ar->wow.wakeup_completed); in ath10k_core_create()
Dwmi-tlv.c1449 cfg->num_wow_filters = __cpu_to_le32(ar->wow.max_num_patterns); in ath10k_wmi_tlv_op_gen_init()
Dwmi.c4208 complete(&ar->wow.wakeup_completed); in ath10k_wmi_event_wow_wakeup_host()
/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.c1072 static int ath6kl_usb_suspend(struct ath6kl *ar, struct cfg80211_wowlan *wow) in ath6kl_usb_suspend() argument
/drivers/staging/rtlwifi/
Dcore.c434 struct cfg80211_wowlan *wow) in _rtl_add_wowlan_patterns() argument
438 struct cfg80211_pkt_pattern *patterns = wow->patterns; in _rtl_add_wowlan_patterns()
449 for (i = 0; i < wow->n_patterns; i++) { in _rtl_add_wowlan_patterns()
539 rtl_write_byte(rtlpriv, 0x698, wow->n_patterns); in _rtl_add_wowlan_patterns()
543 struct cfg80211_wowlan *wow) in rtl_op_suspend() argument
551 if (WARN_ON(!wow)) in rtl_op_suspend()
558 if ((ppsc->wo_wlan_mode & WAKE_ON_PATTERN_MATCH) && wow->n_patterns) in rtl_op_suspend()
559 _rtl_add_wowlan_patterns(hw, wow); in rtl_op_suspend()
/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()
542 rtl_write_byte(rtlpriv, 0x698, wow->n_patterns); in _rtl_add_wowlan_patterns()
546 struct cfg80211_wowlan *wow) in rtl_op_suspend() argument
554 if (WARN_ON(!wow)) in rtl_op_suspend()
561 if ((ppsc->wo_wlan_mode & WAKE_ON_PATTERN_MATCH) && wow->n_patterns) in rtl_op_suspend()
562 _rtl_add_wowlan_patterns(hw, wow); in rtl_op_suspend()
/drivers/net/wireless/ti/wlcore/
Dmain.c1542 struct cfg80211_wowlan *wow) in wl1271_configure_wowlan() argument
1546 if (!wow || wow->any || !wow->n_patterns) { in wl1271_configure_wowlan()
1559 if (WARN_ON(wow->n_patterns > WL1271_MAX_RX_FILTERS)) in wl1271_configure_wowlan()
1563 for (i = 0; i < wow->n_patterns; i++) { in wl1271_configure_wowlan()
1564 ret = wl1271_validate_wowlan_pattern(&wow->patterns[i]); in wl1271_configure_wowlan()
1580 for (i = 0; i < wow->n_patterns; i++) { in wl1271_configure_wowlan()
1584 p = &wow->patterns[i]; in wl1271_configure_wowlan()
1608 struct cfg80211_wowlan *wow) in wl1271_configure_suspend_sta() argument
1615 ret = wl1271_configure_wowlan(wl, wow); in wl1271_configure_suspend_sta()
1638 struct cfg80211_wowlan *wow) in wl1271_configure_suspend_ap() argument
[all …]
/drivers/staging/wilc1000/
Dwilc_wfi_cfgoperations.c2091 static int wilc_suspend(struct wiphy *wiphy, struct cfg80211_wowlan *wow) in wilc_suspend() argument
2096 if (!wow && wilc_wlan_get_num_conn_ifcs(vif->wilc)) in wilc_suspend()
/drivers/net/wireless/ath/wcn36xx/
Dmain.c1007 static int wcn36xx_suspend(struct ieee80211_hw *hw, struct cfg80211_wowlan *wow) in wcn36xx_suspend() argument
/drivers/net/wireless/ath/wil6210/
Dcfg80211.c1720 struct cfg80211_wowlan *wow) in wil_cfg80211_suspend() argument