/linux/drivers/net/wireless/realtek/rtw88/ |
H A D | wow.c | 7 #include "wow.h" 26 rtw_dbg(rtwdev, RTW_DBG_WOW, "WOW: Rx deauth\n"); in rtw_wow_show_wakeup_reason() 30 rtw_dbg(rtwdev, RTW_DBG_WOW, "WOW: AP is off\n"); in rtw_wow_show_wakeup_reason() 34 rtw_dbg(rtwdev, RTW_DBG_WOW, "WOW: Rx magic packet\n"); in rtw_wow_show_wakeup_reason() 38 rtw_dbg(rtwdev, RTW_DBG_WOW, "WOW: Rx gtk rekey\n"); in rtw_wow_show_wakeup_reason() 45 rtw_dbg(rtwdev, RTW_DBG_WOW, "WOW: Rx pattern match packet\n"); in rtw_wow_show_wakeup_reason() 57 ieee80211_report_wowlan_wakeup(rtwdev->wow.wow_vif, NULL, in rtw_wow_show_wakeup_reason() 61 ieee80211_report_wowlan_wakeup(rtwdev->wow.wow_vif, &wakeup, in rtw_wow_show_wakeup_reason() 255 struct rtw_wow_param *rtw_wow = &rtwdev->wow; in rtw_wow_pattern_write() 265 struct rtw_wow_param *rtw_wow = &rtwdev->wow; in rtw_wow_pattern_clear() [all …]
|
H A D | wow.h | 41 struct ieee80211_vif *wow_vif = rtwdev->wow.wow_vif; in rtw_wow_mgd_linked() 49 struct ieee80211_vif *wow_vif = rtwdev->wow.wow_vif; in rtw_wow_no_link()
|
H A D | Makefile | 21 rtw88_core-$(CONFIG_PM) += wow.o
|
H A D | fw.c | 15 #include "wow.h" 887 struct rtw_wow_param *rtw_wow = &rtwdev->wow; in rtw_fw_set_disconnect_decision_cmd() 909 struct rtw_wow_param *rtw_wow = &rtwdev->wow; in rtw_fw_set_wowlan_ctrl_cmd() 1084 struct rtw_pno_request *pno_req = &rtwdev->wow.pno_req; in rtw_nlo_info_get() 1139 struct rtw_pno_request *pno_req = &rtwdev->wow.pno_req; in rtw_cs_channel_info_get() 1200 struct rtw_wow_param *rtw_wow = &rtwdev->wow; in rtw_lps_pg_info_get() 1427 struct rtw_wow_param *rtw_wow = &rtwdev->wow; in rtw_add_rsvd_page_pno() 1939 struct rtw_pno_request *rtw_pno_req = &rtwdev->wow.pno_req; in rtw_fw_channel_switch()
|
H A D | mac80211.c | 15 #include "wow.h" 843 rtw_err(rtwdev, "failed to suspend for wow %d\n", ret); in rtw_ops_suspend() 857 rtw_err(rtwdev, "failed to resume for wow %d\n", ret); in rtw_ops_resume()
|
/linux/drivers/net/wireless/ath/ath9k/ |
H A D | ar9003_wow.c | 129 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() 189 * Read the WoW status register to know in ath9k_hw_wow_wakeup() 196 * Mask only the WoW events that we have enabled. Sometimes in ath9k_hw_wow_wakeup() 197 * we have spurious WoW events from the AR_WOW_PATTERN in ath9k_hw_wow_wakeup() 200 val &= ah->wow.wow_event_mask; in ath9k_hw_wow_wakeup() 215 val &= ah->wow.wow_event_mask2; in ath9k_hw_wow_wakeup() 224 * generate next wow signal. in ath9k_hw_wow_wakeup() 248 * Previously just before WoW sleep, we untie the PCI-E in ath9k_hw_wow_wakeup() [all …]
|
H A D | Makefile | 18 ath9k-$(CONFIG_ATH9K_WOW) += wow.o
|
/linux/drivers/net/wireless/ath/ath12k/ |
H A D | wow.c | 20 #include "wow.h" 46 /* The firmware might be busy and it can not enter WoW immediately. in ath12k_wow_enable() 56 ath12k_warn(ab, "failed to issue wow enable: %d\n", ret); in ath12k_wow_enable() 86 reinit_completion(&ab->wow.wakeup_completed); in ath12k_wow_wakeup() 90 ath12k_warn(ab, "failed to send wow wakeup indication: %d\n", in ath12k_wow_wakeup() 95 ret = wait_for_completion_timeout(&ab->wow.wakeup_completed, 3 * HZ); in ath12k_wow_wakeup() 97 ath12k_warn(ab, "timed out while waiting for wow wakeup completion\n"); in ath12k_wow_wakeup() 112 ath12k_warn(ar->ab, "failed to issue wow wakeup for event %s on vdev %i: %d\n", in ath12k_wow_vif_cleanup() 118 for (i = 0; i < ar->wow.max_num_patterns; i++) { in ath12k_wow_vif_cleanup() 121 ath12k_warn(ar->ab, "failed to delete wow pattern %d for vdev %i: %d\n", in ath12k_wow_vif_cleanup() [all …]
|
/linux/drivers/net/wireless/ath/ath10k/ |
H A D | wow.c | 33 ath10k_warn(ar, "failed to issue wow wakeup for event %s on vdev %i: %d\n", in ath10k_wow_vif_cleanup() 39 for (i = 0; i < ar->wow.max_num_patterns; i++) { in ath10k_wow_vif_cleanup() 42 ath10k_warn(ar, "failed to delete wow pattern %d for vdev %i: %d\n", in ath10k_wow_vif_cleanup() 61 ath10k_warn(ar, "failed to clean wow wakeups on vdev %i: %d\n", in ath10k_wow_cleanup() 275 /* Setup requested WOW features */ in ath10k_vif_wow_set_wakeups() 397 ath10k_warn(ar, "failed to set wow wakeups on vdev %i: %d\n", in ath10k_wow_set_wakeups() 461 ath10k_warn(ar, "failed to issue wow enable: %d\n", ret); in ath10k_wow_enable() 480 reinit_completion(&ar->wow.wakeup_completed); in ath10k_wow_wakeup() 484 ath10k_warn(ar, "failed to send wow wakeup indication: %d\n", in ath10k_wow_wakeup() 489 ret = wait_for_completion_timeout(&ar->wow.wakeup_completed, 3 * HZ); in ath10k_wow_wakeup() [all …]
|
H A D | Makefile | 24 ath10k_core-$(CONFIG_PM) += wow.o
|
H A D | targaddrs.h | 170 /* wow extension configuration */ 380 * WOW Extension configuration 384 * 8..0 Size of each WOW pattern (max 511)
|
/linux/drivers/net/wireless/ath/ath6kl/ |
H A D | cfg80211.c | 1910 struct cfg80211_wowlan *wow, u32 *filter) in ath6kl_wow_usr() argument 1917 for (i = 0; i < wow->n_patterns; i++) { in ath6kl_wow_usr() 1927 for (pos = 0; pos < wow->patterns[i].pattern_len; pos++) { in ath6kl_wow_usr() 1928 if (wow->patterns[i].mask[pos / 8] & (0x1 << (pos % 8))) in ath6kl_wow_usr() 1934 * to the firmware. It means, given WOW patterns are always in ath6kl_wow_usr() 1939 wow->patterns[i].pattern_len, in ath6kl_wow_usr() 1941 wow->patterns[i].pattern, mask); in ath6kl_wow_usr() 1946 if (wow->disconnect) in ath6kl_wow_usr() 1949 if (wow->magic_pkt) in ath6kl_wow_usr() 1952 if (wow->gtk_rekey_failure) in ath6kl_wow_usr() [all …]
|
H A D | hif-ops.h | 88 struct cfg80211_wowlan *wow) in ath6kl_hif_suspend() argument 92 return ar->hif_ops->suspend(ar, wow); in ath6kl_hif_suspend()
|
H A D | cfg80211.h | 51 struct cfg80211_wowlan *wow);
|
H A D | sdio.c | 861 static int ath6kl_sdio_suspend(struct ath6kl *ar, struct cfg80211_wowlan *wow) in ath6kl_sdio_suspend() argument 870 (!ar->suspend_mode && wow)) { in ath6kl_sdio_suspend() 875 ret = ath6kl_cfg80211_suspend(ar, ATH6KL_CFG_SUSPEND_WOW, wow); in ath6kl_sdio_suspend() 877 ath6kl_err("wow suspend failed: %d\n", ret); in ath6kl_sdio_suspend()
|
H A D | core.h | 104 * Multicast support in WOW and host awake mode. 106 * Apply multicast filter in WOW mode.
|
/linux/drivers/net/wireless/ath/ath11k/ |
H A D | Makefile | 29 ath11k-$(CONFIG_PM) += wow.o
|
H A D | core.h | 35 #include "wow.h" 761 struct ath11k_wow wow; member 938 } wow; member
|
/linux/drivers/net/wireless/ath/wcn36xx/ |
H A D | firmware.h | 31 WOW = 22, enumerator
|
H A D | firmware.c | 31 DEFINE(WOW),
|
/linux/drivers/net/wireless/realtek/rtw89/ |
H A D | Makefile | 23 rtw89_core-$(CONFIG_PM) += wow.o
|
/linux/drivers/net/wireless/realtek/rtlwifi/ |
H A D | core.c | 409 struct cfg80211_wowlan *wow) in _rtl_add_wowlan_patterns() argument 413 struct cfg80211_pkt_pattern *patterns = wow->patterns; in _rtl_add_wowlan_patterns() 424 for (i = 0; i < wow->n_patterns; i++) { in _rtl_add_wowlan_patterns() 515 rtl_write_byte(rtlpriv, 0x698, wow->n_patterns); in _rtl_add_wowlan_patterns() 519 struct cfg80211_wowlan *wow) in rtl_op_suspend() argument 526 if (WARN_ON(!wow)) in rtl_op_suspend() 532 if ((ppsc->wo_wlan_mode & WAKE_ON_PATTERN_MATCH) && wow->n_patterns) in rtl_op_suspend() 533 _rtl_add_wowlan_patterns(hw, wow); in rtl_op_suspend()
|
/linux/drivers/net/wireless/ti/wlcore/ |
H A D | main.c | 1629 struct cfg80211_wowlan *wow) in wl1271_configure_wowlan() argument 1633 if (!wow || wow->any || !wow->n_patterns) { in wl1271_configure_wowlan() 1646 if (WARN_ON(wow->n_patterns > WL1271_MAX_RX_FILTERS)) in wl1271_configure_wowlan() 1650 for (i = 0; i < wow->n_patterns; i++) { in wl1271_configure_wowlan() 1651 ret = wl1271_validate_wowlan_pattern(&wow->patterns[i]); in wl1271_configure_wowlan() 1667 for (i = 0; i < wow->n_patterns; i++) { in wl1271_configure_wowlan() 1671 p = &wow->patterns[i]; in wl1271_configure_wowlan() 1695 struct cfg80211_wowlan *wow) in wl1271_configure_suspend_sta() argument 1702 ret = wl1271_configure_wowlan(wl, wow); in wl1271_configure_suspend_sta() 1725 struct cfg80211_wowlan *wow) in wl1271_configure_suspend_ap() argument [all …]
|
/linux/arch/arm/mach-sa1100/ |
H A D | sleep.S | 136 @ Wow, now the hardware suspend request pins can be used, that makes them functional for
|
/linux/net/wireless/ |
H A D | trace.h | 324 TP_PROTO(struct wiphy *wiphy, struct cfg80211_wowlan *wow), 325 TP_ARGS(wiphy, wow), 339 if (wow) { 340 __entry->any = wow->any; 341 __entry->disconnect = wow->disconnect; 342 __entry->magic_pkt = wow->magic_pkt; 343 __entry->gtk_rekey_failure = wow->gtk_rekey_failure; 344 __entry->eap_identity_req = wow->eap_identity_req; 345 __entry->four_way_handshake = wow->four_way_handshake; 346 __entry->rfkill_release = wow [all...] |