/kernel/linux/linux-5.10/net/mac80211/ |
D | pm.c | 17 int __ieee80211_suspend(struct ieee80211_hw *hw, struct cfg80211_wowlan *wowlan) in __ieee80211_suspend() argument 35 !(wowlan && wowlan->any)) { in __ieee80211_suspend() 46 if (!(wowlan && wowlan->any)) in __ieee80211_suspend() 75 local->wowlan = wowlan; in __ieee80211_suspend() 76 if (local->wowlan) { in __ieee80211_suspend() 110 err = drv_suspend(local, wowlan); in __ieee80211_suspend() 113 local->wowlan = false; in __ieee80211_suspend()
|
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/ |
D | wow.c | 34 struct cfg80211_wowlan *wowlan) in ath9k_wow_map_triggers() argument 38 if (wowlan->disconnect) in ath9k_wow_map_triggers() 41 if (wowlan->magic_pkt) in ath9k_wow_map_triggers() 44 if (wowlan->n_patterns) in ath9k_wow_map_triggers() 139 struct cfg80211_wowlan *wowlan) in ath9k_wow_add_pattern() argument 142 struct cfg80211_pkt_pattern *patterns = wowlan->patterns; in ath9k_wow_add_pattern() 148 for (i = 0; i < wowlan->n_patterns; i++) { in ath9k_wow_add_pattern() 168 struct cfg80211_wowlan *wowlan) in ath9k_suspend() argument 186 if (WARN_ON(!wowlan)) { in ath9k_suspend() 213 triggers = ath9k_wow_map_triggers(sc, wowlan); in ath9k_suspend() [all …]
|
D | ath9k.h | 865 struct cfg80211_wowlan *wowlan); 876 struct cfg80211_wowlan *wowlan) in ath9k_suspend() argument
|
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | d3.c | 412 struct cfg80211_wowlan *wowlan) in iwl_mvm_send_patterns_v1() argument 421 if (!wowlan->n_patterns) in iwl_mvm_send_patterns_v1() 424 cmd.len[0] = struct_size(pattern_cmd, patterns, wowlan->n_patterns); in iwl_mvm_send_patterns_v1() 430 pattern_cmd->n_patterns = cpu_to_le32(wowlan->n_patterns); in iwl_mvm_send_patterns_v1() 432 for (i = 0; i < wowlan->n_patterns; i++) { in iwl_mvm_send_patterns_v1() 433 int mask_len = DIV_ROUND_UP(wowlan->patterns[i].pattern_len, 8); in iwl_mvm_send_patterns_v1() 436 wowlan->patterns[i].mask, mask_len); in iwl_mvm_send_patterns_v1() 438 wowlan->patterns[i].pattern, in iwl_mvm_send_patterns_v1() 439 wowlan->patterns[i].pattern_len); in iwl_mvm_send_patterns_v1() 442 wowlan->patterns[i].pattern_len; in iwl_mvm_send_patterns_v1() [all …]
|
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/dvm/ |
D | lib.c | 1000 struct cfg80211_wowlan *wowlan) in iwlagn_send_patterns() argument 1009 if (!wowlan->n_patterns) in iwlagn_send_patterns() 1012 cmd.len[0] = struct_size(pattern_cmd, patterns, wowlan->n_patterns); in iwlagn_send_patterns() 1018 pattern_cmd->n_patterns = cpu_to_le32(wowlan->n_patterns); in iwlagn_send_patterns() 1020 for (i = 0; i < wowlan->n_patterns; i++) { in iwlagn_send_patterns() 1021 int mask_len = DIV_ROUND_UP(wowlan->patterns[i].pattern_len, 8); in iwlagn_send_patterns() 1024 wowlan->patterns[i].mask, mask_len); in iwlagn_send_patterns() 1026 wowlan->patterns[i].pattern, in iwlagn_send_patterns() 1027 wowlan->patterns[i].pattern_len); in iwlagn_send_patterns() 1030 wowlan->patterns[i].pattern_len; in iwlagn_send_patterns() [all …]
|
D | mac80211.c | 170 hw->wiphy->wowlan = &priv->wowlan_support; in iwlagn_mac_setup_register() 361 struct cfg80211_wowlan *wowlan) in iwlagn_mac_suspend() argument 367 if (WARN_ON(!wowlan)) in iwlagn_mac_suspend() 380 ret = iwlagn_suspend(priv, wowlan); in iwlagn_mac_suspend() 393 priv->wowlan = false; in iwlagn_mac_suspend() 555 priv->wowlan = false; in iwlagn_mac_resume()
|
D | agn.h | 191 struct cfg80211_wowlan *wowlan); 192 int iwlagn_suspend(struct iwl_priv *priv, struct cfg80211_wowlan *wowlan);
|
D | power.c | 288 if (priv->wowlan) in iwl_power_build_cmd()
|
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath10k/ |
D | wow.c | 266 struct cfg80211_wowlan *wowlan) in ath10k_vif_wow_set_wakeups() argument 271 const struct cfg80211_pkt_pattern *patterns = wowlan->patterns; in ath10k_vif_wow_set_wakeups() 289 if (wowlan->disconnect) { in ath10k_vif_wow_set_wakeups() 296 if (wowlan->magic_pkt) in ath10k_vif_wow_set_wakeups() 299 if (wowlan->nd_config) { in ath10k_vif_wow_set_wakeups() 310 wowlan->nd_config, pno); in ath10k_vif_wow_set_wakeups() 323 for (i = 0; i < wowlan->n_patterns; i++) { in ath10k_vif_wow_set_wakeups() 385 struct cfg80211_wowlan *wowlan) in ath10k_wow_set_wakeups() argument 393 ret = ath10k_vif_wow_set_wakeups(arvif, wowlan); in ath10k_wow_set_wakeups() 497 struct cfg80211_wowlan *wowlan) in ath10k_wow_op_suspend() argument [all …]
|
D | wow.h | 18 struct cfg80211_wowlan *wowlan);
|
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtw88/ |
D | wow.c | 780 struct cfg80211_wowlan *wowlan) in rtw_wow_set_wakeups() argument 787 if (wowlan->disconnect) in rtw_wow_set_wakeups() 789 if (wowlan->magic_pkt) in rtw_wow_set_wakeups() 791 if (wowlan->gtk_rekey_failure) in rtw_wow_set_wakeups() 794 if (wowlan->nd_config) in rtw_wow_set_wakeups() 795 rtw_wow_check_pno(rtwdev, wowlan->nd_config); in rtw_wow_set_wakeups() 802 if (wowlan->n_patterns && wowlan->patterns) { in rtw_wow_set_wakeups() 803 rtw_wow->pattern_cnt = wowlan->n_patterns; in rtw_wow_set_wakeups() 804 for (i = 0; i < wowlan->n_patterns; i++) in rtw_wow_set_wakeups() 806 wowlan->patterns + i, in rtw_wow_set_wakeups() [all …]
|
D | wow.h | 55 int rtw_wow_suspend(struct rtw_dev *rtwdev, struct cfg80211_wowlan *wowlan);
|
D | mac80211.c | 753 struct cfg80211_wowlan *wowlan) in rtw_ops_suspend() argument 759 ret = rtw_wow_suspend(rtwdev, wowlan); in rtw_ops_suspend()
|
/kernel/linux/linux-5.10/net/wireless/ |
D | core.c | 659 if (WARN_ON(wiphy->wowlan && in wiphy_register() 660 (wiphy->wowlan->flags & WIPHY_WOWLAN_GTK_REKEY_FAILURE) && in wiphy_register() 661 !(wiphy->wowlan->flags & WIPHY_WOWLAN_SUPPORTS_GTK_REKEY))) in wiphy_register() 663 if (WARN_ON(wiphy->wowlan && in wiphy_register() 664 !wiphy->wowlan->flags && !wiphy->wowlan->n_patterns && in wiphy_register() 665 !wiphy->wowlan->tcp)) in wiphy_register() 902 if (WARN_ON(rdev->wiphy.wowlan && rdev->wiphy.wowlan->n_patterns && in wiphy_register() 903 (!rdev->wiphy.wowlan->pattern_min_len || in wiphy_register() 904 rdev->wiphy.wowlan->pattern_min_len > in wiphy_register() 905 rdev->wiphy.wowlan->pattern_max_len))) in wiphy_register()
|
D | nl80211.c | 1531 const struct wiphy_wowlan_tcp_support *tcp = rdev->wiphy.wowlan->tcp; in nl80211_send_wowlan_tcp_caps() 1575 if (!rdev->wiphy.wowlan) in nl80211_send_wowlan() 1583 if (((rdev->wiphy.wowlan->flags & WIPHY_WOWLAN_ANY) && in nl80211_send_wowlan() 1585 ((rdev->wiphy.wowlan->flags & WIPHY_WOWLAN_DISCONNECT) && in nl80211_send_wowlan() 1587 ((rdev->wiphy.wowlan->flags & WIPHY_WOWLAN_MAGIC_PKT) && in nl80211_send_wowlan() 1589 ((rdev->wiphy.wowlan->flags & WIPHY_WOWLAN_SUPPORTS_GTK_REKEY) && in nl80211_send_wowlan() 1591 ((rdev->wiphy.wowlan->flags & WIPHY_WOWLAN_GTK_REKEY_FAILURE) && in nl80211_send_wowlan() 1593 ((rdev->wiphy.wowlan->flags & WIPHY_WOWLAN_EAP_IDENTITY_REQ) && in nl80211_send_wowlan() 1595 ((rdev->wiphy.wowlan->flags & WIPHY_WOWLAN_4WAY_HANDSHAKE) && in nl80211_send_wowlan() 1597 ((rdev->wiphy.wowlan->flags & WIPHY_WOWLAN_RFKILL_RELEASE) && in nl80211_send_wowlan() [all …]
|
/kernel/linux/linux-5.10/drivers/net/wireless/rsi/ |
D | rsi_91x_mac80211.c | 1823 struct cfg80211_wowlan *wowlan) in rsi_wow_map_triggers() argument 1829 if (wowlan->any) in rsi_wow_map_triggers() 1831 if (wowlan->magic_pkt) in rsi_wow_map_triggers() 1833 if (wowlan->disconnect) in rsi_wow_map_triggers() 1835 if (wowlan->gtk_rekey_failure || wowlan->eap_identity_req || in rsi_wow_map_triggers() 1836 wowlan->four_way_handshake) in rsi_wow_map_triggers() 1842 int rsi_config_wowlan(struct rsi_hw *adapter, struct cfg80211_wowlan *wowlan) in rsi_config_wowlan() argument 1856 if (WARN_ON(!wowlan)) { in rsi_config_wowlan() 1862 triggers = rsi_wow_map_triggers(common, wowlan); in rsi_config_wowlan() 1894 struct cfg80211_wowlan *wowlan) in rsi_mac80211_suspend() argument [all …]
|
D | rsi_common.h | 87 int rsi_config_wowlan(struct rsi_hw *adapter, struct cfg80211_wowlan *wowlan);
|
/kernel/linux/linux-5.10/drivers/net/wireless/st/cw1200/ |
D | pm.h | 30 struct cfg80211_wowlan *wowlan);
|
D | pm.c | 157 int cw1200_wow_suspend(struct ieee80211_hw *hw, struct cfg80211_wowlan *wowlan) in cw1200_wow_suspend() argument
|
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/mwifiex/ |
D | cfg80211.c | 3292 struct cfg80211_wowlan *wowlan) in mwifiex_set_wowlan_mef_entry() argument 3303 for (i = 0; i < wowlan->n_patterns; i++) { in mwifiex_set_wowlan_mef_entry() 3305 if (!mwifiex_is_pattern_supported(&wowlan->patterns[i], in mwifiex_set_wowlan_mef_entry() 3313 if (!wowlan->patterns[i].pkt_offset) { in mwifiex_set_wowlan_mef_entry() 3331 wowlan->patterns[i].pkt_offset; in mwifiex_set_wowlan_mef_entry() 3346 if (wowlan->magic_pkt) { in mwifiex_set_wowlan_mef_entry() 3373 struct cfg80211_wowlan *wowlan) in mwifiex_set_mef_filter() argument 3379 if (wowlan->n_patterns || wowlan->magic_pkt) in mwifiex_set_mef_filter() 3394 if (wowlan->n_patterns || wowlan->magic_pkt) { in mwifiex_set_mef_filter() 3396 &mef_entry[1], wowlan); in mwifiex_set_mef_filter() [all …]
|
/kernel/linux/linux-5.10/drivers/net/wireless/quantenna/qtnfmac/ |
D | cfg80211.c | 949 static int qtnf_suspend(struct wiphy *wiphy, struct cfg80211_wowlan *wowlan) in qtnf_suspend() argument 962 if (!wowlan) { in qtnf_suspend() 970 ret = qtnf_cmd_send_wowlan_set(vif, wowlan); in qtnf_suspend() 1209 if (macinfo->wowlan) in qtnf_wiphy_register() 1210 wiphy->wowlan = macinfo->wowlan; in qtnf_wiphy_register()
|
D | commands.c | 990 const struct qlink_wowlan_capab_data *wowlan) in qtnf_parse_wowlan_info() argument 1000 switch (le16_to_cpu(wowlan->version)) { in qtnf_parse_wowlan_info() 1002 data1 = (struct qlink_wowlan_support *)wowlan->data; in qtnf_parse_wowlan_info() 1009 mac_info->wowlan = supp; in qtnf_parse_wowlan_info() 1013 mac->macid, le16_to_cpu(wowlan->version)); in qtnf_parse_wowlan_info() 1029 const struct qlink_wowlan_capab_data *wowlan; in qtnf_parse_variable_mac_info() local 1136 if (tlv_value_len < sizeof(*wowlan)) in qtnf_parse_variable_mac_info() 1139 wowlan = (void *)tlv->val; in qtnf_parse_variable_mac_info() 1140 if (!le16_to_cpu(wowlan->len)) { in qtnf_parse_variable_mac_info() 1146 rec_len = sizeof(*wowlan) + le16_to_cpu(wowlan->len); in qtnf_parse_variable_mac_info() [all …]
|
D | core.h | 97 struct wiphy_wowlan_support *wowlan; member
|
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/ |
D | base.c | 417 rtlpriv->wowlan.flags = WIPHY_WOWLAN_MAGIC_PKT; in _rtl_init_mac80211() 419 rtlpriv->wowlan.n_patterns = in _rtl_init_mac80211() 421 rtlpriv->wowlan.pattern_min_len = MIN_WOL_PATTERN_SIZE; in _rtl_init_mac80211() 422 rtlpriv->wowlan.pattern_max_len = MAX_WOL_PATTERN_SIZE; in _rtl_init_mac80211() 424 hw->wiphy->wowlan = &rtlpriv->wowlan; in _rtl_init_mac80211()
|
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt7615/ |
D | mcu.c | 2449 dev->mt76.hw->wiphy->wowlan = &mt7615_wowlan_support; in __mt7663_load_firmware() 3631 bool suspend, struct cfg80211_wowlan *wowlan) in mt7615_mcu_set_wow_ctrl() argument 3652 if (wowlan->magic_pkt) in mt7615_mcu_set_wow_ctrl() 3654 if (wowlan->disconnect) in mt7615_mcu_set_wow_ctrl() 3656 if (wowlan->nd_config) { in mt7615_mcu_set_wow_ctrl() 3657 mt7615_mcu_sched_scan_req(phy, vif, wowlan->nd_config); in mt7615_mcu_set_wow_ctrl() 3795 struct cfg80211_wowlan *wowlan = hw->wiphy->wowlan_config; in mt7615_mcu_set_suspend_iter() local 3805 for (i = 0; i < wowlan->n_patterns; i++) in mt7615_mcu_set_suspend_iter() 3807 &wowlan->patterns[i]); in mt7615_mcu_set_suspend_iter() 3808 mt7615_mcu_set_wow_ctrl(phy, vif, suspend, wowlan); in mt7615_mcu_set_suspend_iter()
|