Home
last modified time | relevance | path

Searched refs:n_patterns (Results 1 – 25 of 30) sorted by relevance

12

/openbmc/linux/drivers/net/wireless/ath/ath9k/
H A Dwow.c21 .n_patterns = MAX_NUM_USER_PATTERN,
28 .n_patterns = MAX_NUM_PATTERN - 2,
44 if (wowlan->n_patterns) in ath9k_wow_map_triggers()
148 for (i = 0; i < wowlan->n_patterns; i++) { in ath9k_wow_add_pattern()
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/dvm/
H A Dlib.c1004 if (!wowlan->n_patterns) in iwlagn_send_patterns()
1007 cmd.len[0] = struct_size(pattern_cmd, patterns, wowlan->n_patterns); in iwlagn_send_patterns()
1013 pattern_cmd->n_patterns = cpu_to_le32(wowlan->n_patterns); in iwlagn_send_patterns()
1015 for (i = 0; i < wowlan->n_patterns; i++) { in iwlagn_send_patterns()
1098 if (wowlan->n_patterns) in iwlagn_suspend()
H A Dmac80211.c160 priv->wowlan_support.n_patterns = IWLAGN_WOWLAN_MAX_PATTERNS; in iwlagn_mac_setup_register()
H A Dcommands.h3716 __le32 n_patterns; member
/openbmc/linux/drivers/net/wireless/realtek/rtw89/
H A Dwow.c329 if (!wowlan->n_patterns || !wowlan->patterns) in rtw89_wow_parse_patterns()
332 for (i = 0; i < wowlan->n_patterns; i++) { in rtw89_wow_parse_patterns()
349 rtw_wow->pattern_cnt = wowlan->n_patterns; in rtw89_wow_parse_patterns()
H A Drtw8852a.c2019 .n_patterns = RTW89_MAX_PATTERN_NUM,
H A Drtw8851b.c2333 .n_patterns = RTW89_MAX_PATTERN_NUM,
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/fw/api/
H A Dd3.h204 __le32 n_patterns; member
324 u8 n_patterns; member
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dd3.c647 if (!wowlan->n_patterns) in iwl_mvm_send_patterns_v1()
650 cmd.len[0] = struct_size(pattern_cmd, patterns, wowlan->n_patterns); in iwl_mvm_send_patterns_v1()
656 pattern_cmd->n_patterns = cpu_to_le32(wowlan->n_patterns); in iwl_mvm_send_patterns_v1()
658 for (i = 0; i < wowlan->n_patterns; i++) { in iwl_mvm_send_patterns_v1()
691 if (!wowlan->n_patterns) in iwl_mvm_send_patterns()
695 wowlan->n_patterns * sizeof(struct iwl_wowlan_pattern_v2); in iwl_mvm_send_patterns()
701 pattern_cmd->n_patterns = wowlan->n_patterns; in iwl_mvm_send_patterns()
705 for (i = 0; i < wowlan->n_patterns; i++) { in iwl_mvm_send_patterns()
965 if (wowlan->n_patterns) in iwl_mvm_get_wowlan_config()
/openbmc/linux/drivers/net/wireless/realtek/rtw88/
H A Dwow.c826 if (wowlan->n_patterns && wowlan->patterns) { in rtw_wow_set_wakeups()
827 rtw_wow->pattern_cnt = wowlan->n_patterns; in rtw_wow_set_wakeups()
828 for (i = 0; i < wowlan->n_patterns; i++) in rtw_wow_set_wakeups()
/openbmc/linux/drivers/net/wireless/ath/ath10k/
H A Dwow.c324 for (i = 0; i < wowlan->n_patterns; i++) { in ath10k_vif_wow_set_wakeups()
636 ar->wow.wowlan_support.n_patterns = ar->wow.max_num_patterns; in ath10k_wow_init()
/openbmc/linux/drivers/net/wireless/ath/ath11k/
H A Dwow.c395 for (i = 0; i < wowlan->n_patterns; i++) { in ath11k_vif_wow_set_wakeups()
872 ar->wow.wowlan_support.n_patterns = ar->wow.max_num_patterns; in ath11k_wow_init()
/openbmc/linux/drivers/net/wireless/marvell/mwifiex/
H A Dcfg80211.c3352 for (i = 0; i < wowlan->n_patterns; i++) { in mwifiex_set_wowlan_mef_entry()
3428 if (wowlan->n_patterns || wowlan->magic_pkt) in mwifiex_set_mef_filter()
3443 if (wowlan->n_patterns || wowlan->magic_pkt) { in mwifiex_set_mef_filter()
3592 if (wiphy->wowlan_config->n_patterns) in mwifiex_cfg80211_resume()
3674 for (i = 0; i < crule->n_patterns; i++) { in mwifiex_fill_coalesce_rule_info()
4268 .n_patterns = MWIFIEX_MEF_MAX_FILTERS,
4278 .n_patterns = MWIFIEX_MEF_MAX_FILTERS,
4300 .n_patterns = MWIFIEX_COALESCE_MAX_FILTERS,
/openbmc/linux/net/wireless/
H A Dcore.c709 !wiphy->wowlan->flags && !wiphy->wowlan->n_patterns && in wiphy_register()
771 !wiphy->coalesce->n_patterns) && in wiphy_register()
946 if (WARN_ON(rdev->wiphy.wowlan && rdev->wiphy.wowlan->n_patterns && in wiphy_register()
H A Dcore.h137 for (i = 0; i < rdev->wiphy.wowlan_config->n_patterns; i++) in cfg80211_rdev_free_wowlan()
H A Dnl80211.c1766 if (rdev->wiphy.wowlan->n_patterns) { in nl80211_send_wowlan()
1768 .max_patterns = rdev->wiphy.wowlan->n_patterns, in nl80211_send_wowlan()
1803 rule.pat.max_patterns = rdev->wiphy.coalesce->n_patterns; in nl80211_send_coalesce()
13220 if (!wowlan->n_patterns) in nl80211_send_wowlan_patterns()
13227 for (i = 0; i < wowlan->n_patterns; i++) { in nl80211_send_wowlan_patterns()
13712 int n_patterns = 0; in nl80211_set_wowlan() local
13720 n_patterns++; in nl80211_set_wowlan()
13721 if (n_patterns > wowlan->n_patterns) in nl80211_set_wowlan()
13724 new_triggers.patterns = kcalloc(n_patterns, in nl80211_set_wowlan()
13730 new_triggers.n_patterns = n_patterns; in nl80211_set_wowlan()
[all …]
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/
H A Dcore.c435 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()
543 if ((ppsc->wo_wlan_mode & WAKE_ON_PATTERN_MATCH) && wow->n_patterns) in rtl_op_suspend()
H A Dbase.c419 rtlpriv->wowlan.n_patterns = in _rtl_init_mac80211()
/openbmc/linux/drivers/net/wireless/quantenna/qtnfmac/
H A Dcommands.c993 supp->n_patterns = le32_to_cpu(data1->n_patterns); in qtnf_parse_wowlan_info()
2687 if (wowl->n_patterns && wowl->patterns) { in qtnf_cmd_send_wowlan_set()
2689 while (count < wowl->n_patterns) { in qtnf_cmd_send_wowlan_set()
H A Dqlink.h1881 __le32 n_patterns; member
/openbmc/linux/include/net/
H A Dcfg80211.h3368 int n_patterns; member
3386 int n_patterns; member
5034 int n_patterns; member
5055 int n_patterns; member
/openbmc/linux/drivers/net/wireless/ti/wlcore/
H A Dmain.c1553 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()
1587 for (i = 0; i < wow->n_patterns; i++) { in wl1271_configure_wowlan()
6477 .n_patterns = WL1271_MAX_RX_FILTERS,
/openbmc/linux/drivers/net/wireless/ath/ath6kl/
H A Dcfg80211.c1913 for (i = 0; i < wow->n_patterns; i++) { in ath6kl_wow_usr()
2234 if (wow && (wow->n_patterns > WOW_MAX_FILTERS_PER_LIST)) in ath6kl_wow_suspend()
3858 .n_patterns = WOW_MAX_FILTERS_PER_LIST,
/openbmc/linux/drivers/net/wireless/mediatek/mt76/
H A Dmt76_connac_mcu.c2357 .n_patterns = 1,
2594 if (wowlan->n_patterns) in mt76_connac_mcu_set_wow_ctrl()
2657 for (i = 0; i < wowlan->n_patterns; i++) in mt76_connac_mcu_set_suspend_iter()
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dcfg80211.c4192 if ((wowl->patterns) && (wowl->n_patterns)) { in brcmf_configure_wowl()
4194 for (i = 0; i < wowl->n_patterns; i++) { in brcmf_configure_wowl()
7537 .n_patterns = BRCMF_WOWL_MAXPATTERNS,

12