/openbmc/linux/drivers/net/wireless/realtek/rtw89/ |
H A D | wow.c | 13 #include "wow.h" 22 struct ieee80211_vif *wow_vif = rtwdev->wow.wow_vif; in rtw89_wow_enter_deep_ps() 30 struct ieee80211_vif *wow_vif = rtwdev->wow.wow_vif; in rtw89_wow_enter_lps() 105 rtw89_debug(rtwdev, RTW89_DBG_WOW, "WOW: Rx deauth\n"); in rtw89_wow_show_wakeup_reason() 109 rtw89_debug(rtwdev, RTW89_DBG_WOW, "WOW: AP is off\n"); in rtw89_wow_show_wakeup_reason() 113 rtw89_debug(rtwdev, RTW89_DBG_WOW, "WOW: Rx magic packet\n"); in rtw89_wow_show_wakeup_reason() 117 rtw89_debug(rtwdev, RTW89_DBG_WOW, "WOW: Rx gtk rekey\n"); in rtw89_wow_show_wakeup_reason() 124 rtw89_debug(rtwdev, RTW89_DBG_WOW, "WOW: Rx pattern match packet\n"); in rtw89_wow_show_wakeup_reason() 136 ieee80211_report_wowlan_wakeup(rtwdev->wow.wow_vif, NULL, in rtw89_wow_show_wakeup_reason() 141 ieee80211_report_wowlan_wakeup(rtwdev->wow.wow_vif, &wakeup, in rtw89_wow_show_wakeup_reason() [all …]
|
H A D | Makefile | 19 rtw89_core-$(CONFIG_PM) += wow.o
|
/openbmc/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" 784 struct rtw_wow_param *rtw_wow = &rtwdev->wow; in rtw_fw_set_disconnect_decision_cmd() 806 struct rtw_wow_param *rtw_wow = &rtwdev->wow; in rtw_fw_set_wowlan_ctrl_cmd() 981 struct rtw_pno_request *pno_req = &rtwdev->wow.pno_req; in rtw_nlo_info_get() 1036 struct rtw_pno_request *pno_req = &rtwdev->wow.pno_req; in rtw_cs_channel_info_get() 1097 struct rtw_wow_param *rtw_wow = &rtwdev->wow; in rtw_lps_pg_info_get() 1324 struct rtw_wow_param *rtw_wow = &rtwdev->wow; in rtw_add_rsvd_page_pno() 1830 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" 827 rtw_err(rtwdev, "failed to suspend for wow %d\n", ret); in rtw_ops_suspend() 841 rtw_err(rtwdev, "failed to resume for wow %d\n", ret); in rtw_ops_resume()
|
/openbmc/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 | wow.c | 187 ath_err(common, "None of the WoW triggers enabled\n"); in ath9k_suspend() 193 ath_dbg(common, WOW, "WoW for multivif is not yet supported\n"); in ath9k_suspend() 200 ath_dbg(common, WOW, in ath9k_suspend() 201 "Multi-channel WOW is not supported\n"); in ath9k_suspend() 208 ath_dbg(common, WOW, "None of the STA vifs are associated\n"); in ath9k_suspend() 215 ath_dbg(common, WOW, "No valid WoW triggers\n"); in ath9k_suspend() 272 ath_dbg(common, WOW, "Suspend with WoW triggers: 0x%x\n", triggers); in ath9k_suspend() 301 ath_dbg(common, WOW, "Resume with WoW status: 0x%x\n", status); in ath9k_resume() 323 ath_dbg(common, WOW, "WoW wakeup source is %s\n", in ath9k_set_wakeup()
|
H A D | Makefile | 18 ath9k-$(CONFIG_ATH9K_WOW) += wow.o
|
H A D | hw.h | 228 * WoW trigger mapping to hardware code 279 * WoW device capabilities 280 * @ATH9K_HW_WOW_DEVICE_CAPABLE: device revision is capable of WoW. 971 struct ath9k_hw_wow wow; member
|
/openbmc/linux/drivers/net/wireless/ath/ath11k/ |
H A D | wow.c | 16 #include "wow.h" 41 ath11k_warn(ab, "failed to issue wow enable: %d\n", ret); in ath11k_wow_enable() 71 /* In the case of WCN6750, WoW wakeup is done in ath11k_wow_wakeup() 78 reinit_completion(&ab->wow.wakeup_completed); in ath11k_wow_wakeup() 82 ath11k_warn(ab, "failed to send wow wakeup indication: %d\n", in ath11k_wow_wakeup() 87 ret = wait_for_completion_timeout(&ab->wow.wakeup_completed, 3 * HZ); in ath11k_wow_wakeup() 89 ath11k_warn(ab, "timed out while waiting for wow wakeup completion\n"); in ath11k_wow_wakeup() 104 ath11k_warn(ar->ab, "failed to issue wow wakeup for event %s on vdev %i: %d\n", in ath11k_wow_vif_cleanup() 110 for (i = 0; i < ar->wow.max_num_patterns; i++) { in ath11k_wow_vif_cleanup() 113 ath11k_warn(ar->ab, "failed to delete wow pattern %d for vdev %i: %d\n", in ath11k_wow_vif_cleanup() [all …]
|
H A D | Makefile | 27 ath11k-$(CONFIG_PM) += wow.o
|
/openbmc/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 | 23 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)
|
/openbmc/linux/drivers/net/wireless/ath/ath6kl/ |
H A D | cfg80211.c | 1906 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() 1930 * to the firmware. It means, given WOW patterns are always 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() [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);
|
/openbmc/linux/drivers/media/usb/dvb-usb/ |
H A D | dibusb-mb.c | 239 .rc_map_size = 111, /* wow, that is ugly ... I want to load it to the driver dynamically */ 328 .rc_map_size = 111, /* wow, that is ugly ... I want to load it to the driver dynamically */ 397 .rc_map_size = 111, /* wow, that is ugly ... I want to load it to the driver dynamically */ 459 .rc_map_size = 111, /* wow, that is ugly ... I want to load it to the driver dynamically */
|
/openbmc/linux/drivers/net/wireless/ath/wcn36xx/ |
H A D | firmware.h | 31 WOW = 22, enumerator
|
H A D | firmware.c | 31 DEFINE(WOW),
|
/openbmc/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
|
/openbmc/linux/drivers/net/wireless/ti/wlcore/ |
H A D | main.c | 1549 struct cfg80211_wowlan *wow) in wl1271_configure_wowlan() argument 1553 if (!wow || wow->any || !wow->n_patterns) { in wl1271_configure_wowlan() 1566 if (WARN_ON(wow->n_patterns > WL1271_MAX_RX_FILTERS)) in wl1271_configure_wowlan() 1570 for (i = 0; i < wow->n_patterns; i++) { in wl1271_configure_wowlan() 1571 ret = wl1271_validate_wowlan_pattern(&wow->patterns[i]); in wl1271_configure_wowlan() 1587 for (i = 0; i < wow->n_patterns; i++) { in wl1271_configure_wowlan() 1591 p = &wow->patterns[i]; in wl1271_configure_wowlan() 1615 struct cfg80211_wowlan *wow) in wl1271_configure_suspend_sta() argument 1622 ret = wl1271_configure_wowlan(wl, wow); in wl1271_configure_suspend_sta() 1645 struct cfg80211_wowlan *wow) in wl1271_configure_suspend_ap() argument [all …]
|
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/ |
H A D | core.c | 420 struct cfg80211_wowlan *wow) in _rtl_add_wowlan_patterns() argument 424 struct cfg80211_pkt_pattern *patterns = wow->patterns; in _rtl_add_wowlan_patterns() 435 for (i = 0; i < wow->n_patterns; i++) { in _rtl_add_wowlan_patterns() 526 rtl_write_byte(rtlpriv, 0x698, wow->n_patterns); in _rtl_add_wowlan_patterns() 530 struct cfg80211_wowlan *wow) in rtl_op_suspend() argument 537 if (WARN_ON(!wow)) in rtl_op_suspend() 543 if ((ppsc->wo_wlan_mode & WAKE_ON_PATTERN_MATCH) && wow->n_patterns) in rtl_op_suspend() 544 _rtl_add_wowlan_patterns(hw, wow); in rtl_op_suspend()
|