Home
last modified time | relevance | path

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

/linux-4.1.27/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()
DMakefile17 ath9k-$(CONFIG_ATH9K_WOW) += wow.o
Dhw.h963 struct ath9k_hw_wow wow; member
Dhw.c2591 ah->wow.max_patterns = MAX_NUM_PATTERN; in ath9k_hw_fill_cap_info()
2593 ah->wow.max_patterns = MAX_NUM_PATTERN_LEGACY; in ath9k_hw_fill_cap_info()
/linux-4.1.27/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.c1896 struct cfg80211_wowlan *wow, u32 *filter) in ath6kl_wow_usr() argument
1903 for (i = 0; i < wow->n_patterns; i++) { in ath6kl_wow_usr()
1913 for (pos = 0; pos < wow->patterns[i].pattern_len; pos++) { in ath6kl_wow_usr()
1914 if (wow->patterns[i].mask[pos / 8] & (0x1 << (pos % 8))) in ath6kl_wow_usr()
1925 wow->patterns[i].pattern_len, in ath6kl_wow_usr()
1927 wow->patterns[i].pattern, mask); in ath6kl_wow_usr()
1932 if (wow->disconnect) in ath6kl_wow_usr()
1935 if (wow->magic_pkt) in ath6kl_wow_usr()
1938 if (wow->gtk_rekey_failure) in ath6kl_wow_usr()
1941 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.c849 static int ath6kl_sdio_suspend(struct ath6kl *ar, struct cfg80211_wowlan *wow) in ath6kl_sdio_suspend() argument
858 (!ar->suspend_mode && wow)) { in ath6kl_sdio_suspend()
863 ret = ath6kl_cfg80211_suspend(ar, ATH6KL_CFG_SUSPEND_WOW, wow); in ath6kl_sdio_suspend()
Dusb.c1064 static int ath6kl_usb_suspend(struct ath6kl *ar, struct cfg80211_wowlan *wow) in ath6kl_usb_suspend() argument
/linux-4.1.27/drivers/net/wireless/rtlwifi/
Dcore.c433 struct cfg80211_wowlan *wow) in _rtl_add_wowlan_patterns() argument
437 struct cfg80211_pkt_pattern *patterns = wow->patterns; in _rtl_add_wowlan_patterns()
448 for (i = 0; i < wow->n_patterns; i++) { in _rtl_add_wowlan_patterns()
538 rtl_write_byte(rtlpriv, 0x698, wow->n_patterns); in _rtl_add_wowlan_patterns()
542 struct cfg80211_wowlan *wow) in rtl_op_suspend() argument
550 if (WARN_ON(!wow)) in rtl_op_suspend()
557 if ((ppsc->wo_wlan_mode & WAKE_ON_PATTERN_MATCH) && wow->n_patterns) in rtl_op_suspend()
558 _rtl_add_wowlan_patterns(hw, wow); in rtl_op_suspend()
/linux-4.1.27/drivers/net/wireless/ti/wlcore/
Dmain.c1605 struct cfg80211_wowlan *wow) in wl1271_configure_wowlan() argument
1609 if (!wow || wow->any || !wow->n_patterns) { in wl1271_configure_wowlan()
1622 if (WARN_ON(wow->n_patterns > WL1271_MAX_RX_FILTERS)) in wl1271_configure_wowlan()
1626 for (i = 0; i < wow->n_patterns; i++) { in wl1271_configure_wowlan()
1627 ret = wl1271_validate_wowlan_pattern(&wow->patterns[i]); in wl1271_configure_wowlan()
1643 for (i = 0; i < wow->n_patterns; i++) { in wl1271_configure_wowlan()
1647 p = &wow->patterns[i]; in wl1271_configure_wowlan()
1671 struct cfg80211_wowlan *wow) in wl1271_configure_suspend_sta() argument
1678 ret = wl1271_configure_wowlan(wl, wow); in wl1271_configure_suspend_sta()
1701 struct cfg80211_wowlan *wow) in wl1271_configure_suspend_ap() argument
[all …]
/linux-4.1.27/net/wireless/
Dtrace.h217 TP_PROTO(struct wiphy *wiphy, struct cfg80211_wowlan *wow),
218 TP_ARGS(wiphy, wow),
232 if (wow) {
233 __entry->any = wow->any;
234 __entry->disconnect = wow->disconnect;
235 __entry->magic_pkt = wow->magic_pkt;
236 __entry->gtk_rekey_failure = wow->gtk_rekey_failure;
237 __entry->eap_identity_req = wow->eap_identity_req;
238 __entry->four_way_handshake = wow->four_way_handshake;
239 __entry->rfkill_release = wow->rfkill_release;
/linux-4.1.27/drivers/net/wireless/ath/wcn36xx/
Dmain.c834 static int wcn36xx_suspend(struct ieee80211_hw *hw, struct cfg80211_wowlan *wow) in wcn36xx_suspend() argument
/linux-4.1.27/include/net/
Dcfg80211.h2453 int (*suspend)(struct wiphy *wiphy, struct cfg80211_wowlan *wow);