Home
last modified time | relevance | path

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

/Linux-v5.4/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.h968 struct ath9k_hw_wow wow; member
Dhw.c2689 ah->wow.max_patterns = MAX_NUM_PATTERN; in ath9k_hw_fill_cap_info()
2691 ah->wow.max_patterns = MAX_NUM_PATTERN_LEGACY; in ath9k_hw_fill_cap_info()
/Linux-v5.4/drivers/net/wireless/ath/ath10k/
Dwow.c38 for (i = 0; i < ar->wow.max_num_patterns; i++) { in ath10k_wow_vif_cleanup()
478 reinit_completion(&ar->wow.wakeup_completed); in ath10k_wow_wakeup()
487 ret = wait_for_completion_timeout(&ar->wow.wakeup_completed, 3 * HZ); in ath10k_wow_wakeup()
622 ar->wow.wowlan_support = ath10k_wowlan_support; in ath10k_wow_init()
625 ar->wow.wowlan_support.pattern_max_len -= WOW_MAX_REDUCE; in ath10k_wow_init()
626 ar->wow.wowlan_support.max_pkt_offset -= WOW_MAX_REDUCE; in ath10k_wow_init()
630 ar->wow.wowlan_support.flags |= WIPHY_WOWLAN_NET_DETECT; in ath10k_wow_init()
631 ar->wow.wowlan_support.max_nd_match_sets = WMI_PNO_MAX_SUPP_NETWORKS; in ath10k_wow_init()
634 ar->wow.wowlan_support.n_patterns = ar->wow.max_num_patterns; in ath10k_wow_init()
635 ar->hw->wiphy->wowlan = &ar->wow.wowlan_support; in ath10k_wow_init()
DMakefile23 ath10k_core-$(CONFIG_PM) += wow.o
Dcore.h1180 struct ath10k_wow wow; member
Dcore.c2384 ar->wow.max_num_patterns = TARGET_TLV_NUM_WOW_PATTERNS; in ath10k_core_init_firmware_features()
3175 init_completion(&ar->wow.wakeup_completed); in ath10k_core_create()
Dwmi-tlv.c1781 cfg->num_wow_filters = __cpu_to_le32(ar->wow.max_num_patterns); in ath10k_wmi_tlv_op_gen_init()
Dwmi.c4567 complete(&ar->wow.wakeup_completed); in ath10k_wmi_event_wow_wakeup_host()
/Linux-v5.4/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
/Linux-v5.4/drivers/net/wireless/realtek/rtlwifi/
Dcore.c418 struct cfg80211_wowlan *wow) in _rtl_add_wowlan_patterns() argument
422 struct cfg80211_pkt_pattern *patterns = wow->patterns; in _rtl_add_wowlan_patterns()
433 for (i = 0; i < wow->n_patterns; i++) { in _rtl_add_wowlan_patterns()
524 rtl_write_byte(rtlpriv, 0x698, wow->n_patterns); in _rtl_add_wowlan_patterns()
528 struct cfg80211_wowlan *wow) in rtl_op_suspend() argument
535 if (WARN_ON(!wow)) in rtl_op_suspend()
541 if ((ppsc->wo_wlan_mode & WAKE_ON_PATTERN_MATCH) && wow->n_patterns) in rtl_op_suspend()
542 _rtl_add_wowlan_patterns(hw, wow); in rtl_op_suspend()
/Linux-v5.4/drivers/net/wireless/ti/wlcore/
Dmain.c1553 struct cfg80211_wowlan *wow) in wl1271_configure_wowlan() argument
1557 if (!wow || wow->any || !wow->n_patterns) { in wl1271_configure_wowlan()
1570 if (WARN_ON(wow->n_patterns > WL1271_MAX_RX_FILTERS)) in wl1271_configure_wowlan()
1574 for (i = 0; i < wow->n_patterns; i++) { in wl1271_configure_wowlan()
1575 ret = wl1271_validate_wowlan_pattern(&wow->patterns[i]); in wl1271_configure_wowlan()
1591 for (i = 0; i < wow->n_patterns; i++) { in wl1271_configure_wowlan()
1595 p = &wow->patterns[i]; in wl1271_configure_wowlan()
1619 struct cfg80211_wowlan *wow) in wl1271_configure_suspend_sta() argument
1626 ret = wl1271_configure_wowlan(wl, wow); in wl1271_configure_suspend_sta()
1649 struct cfg80211_wowlan *wow) in wl1271_configure_suspend_ap() argument
[all …]
/Linux-v5.4/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-v5.4/drivers/staging/wilc1000/
Dwilc_wfi_cfgoperations.c1680 static int wilc_suspend(struct wiphy *wiphy, struct cfg80211_wowlan *wow) in wilc_suspend() argument
1684 if (!wow && wilc_wlan_get_num_conn_ifcs(wl)) in wilc_suspend()
/Linux-v5.4/drivers/net/wireless/ath/wcn36xx/
Dmain.c1053 static int wcn36xx_suspend(struct ieee80211_hw *hw, struct cfg80211_wowlan *wow) in wcn36xx_suspend() argument
/Linux-v5.4/include/net/
Dcfg80211.h3630 int (*suspend)(struct wiphy *wiphy, struct cfg80211_wowlan *wow);
/Linux-v5.4/drivers/net/wireless/ath/wil6210/
Dcfg80211.c2435 struct cfg80211_wowlan *wow) in wil_cfg80211_suspend() argument