Lines Matching full:wow

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()
140 ath12k_warn(ar->ab, "failed to clean wow wakeups on vdev %i: %d\n", in ath12k_wow_cleanup()
366 /* Setup requested WOW features */ in ath12k_wow_vif_set_wakeups()
422 if (ar->ab->wow.wmi_conf_rx_decap_mode == in ath12k_wow_vif_set_wakeups()
486 ath12k_warn(ar->ab, "failed to set wow wakeups on vdev %i: %d\n", in ath12k_wow_set_wakeups()
646 ath12k_dbg(ab, ATH12K_DBG_WOW, "wow prepare ns offload\n"); in ath12k_wow_prepare_ns_offload()
721 ath12k_dbg(ab, ATH12K_DBG_WOW, "wow prepare arp offload\n"); in ath12k_wow_prepare_arp_offload()
728 "wow arp_addr_cnt %d vif->addr %pM, offload_addr %pI4\n", in ath12k_wow_prepare_arp_offload()
855 ath12k_warn(ar->ab, "failed to clear wow wakeup events: %d\n", in ath12k_wow_op_suspend()
862 ath12k_warn(ar->ab, "failed to set wow wakeup events: %d\n", in ath12k_wow_op_suspend()
869 ath12k_warn(ar->ab, "failed to set wow protocol offload events: %d\n", in ath12k_wow_op_suspend()
891 ath12k_warn(ar->ab, "failed to enable wow keepalive: %d\n", ret); in ath12k_wow_op_suspend()
897 ath12k_warn(ar->ab, "failed to start wow: %d\n", ret); in ath12k_wow_op_suspend()
951 ath12k_warn(ar->ab, "failed to wakeup from wow: %d\n", ret); in ath12k_wow_op_resume()
969 ath12k_warn(ar->ab, "failed to clear wow protocol offload events: %d\n", in ath12k_wow_op_resume()
978 ath12k_warn(ar->ab, "failed to disable wow keepalive: %d\n", ret); in ath12k_wow_op_resume()
1008 ar->wow.wowlan_support = ath12k_wowlan_support; in ath12k_wow_init()
1010 if (ar->ab->wow.wmi_conf_rx_decap_mode == ATH12K_HW_TXRX_NATIVE_WIFI) { in ath12k_wow_init()
1011 ar->wow.wowlan_support.pattern_max_len -= WOW_MAX_REDUCE; in ath12k_wow_init()
1012 ar->wow.wowlan_support.max_pkt_offset -= WOW_MAX_REDUCE; in ath12k_wow_init()
1016 ar->wow.wowlan_support.flags |= WIPHY_WOWLAN_NET_DETECT; in ath12k_wow_init()
1017 ar->wow.wowlan_support.max_nd_match_sets = WMI_PNO_MAX_SUPP_NETWORKS; in ath12k_wow_init()
1020 ar->wow.max_num_patterns = ATH12K_WOW_PATTERNS; in ath12k_wow_init()
1021 ar->wow.wowlan_support.n_patterns = ar->wow.max_num_patterns; in ath12k_wow_init()
1022 ar->ah->hw->wiphy->wowlan = &ar->wow.wowlan_support; in ath12k_wow_init()