Home
last modified time | relevance | path

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

12

/linux-6.6.21/drivers/net/wireless/ath/ath9k/
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()
/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/dvm/
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()
Dmac80211.c160 priv->wowlan_support.n_patterns = IWLAGN_WOWLAN_MAX_PATTERNS; in iwlagn_mac_setup_register()
Dcommands.h3716 __le32 n_patterns; member
/linux-6.6.21/drivers/net/wireless/realtek/rtw89/
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()
Drtw8852a.c2019 .n_patterns = RTW89_MAX_PATTERN_NUM,
Drtw8851b.c2333 .n_patterns = RTW89_MAX_PATTERN_NUM,
/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/fw/api/
Dd3.h204 __le32 n_patterns; member
324 u8 n_patterns; member
/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/mvm/
Dd3.c640 if (!wowlan->n_patterns) in iwl_mvm_send_patterns_v1()
643 cmd.len[0] = struct_size(pattern_cmd, patterns, wowlan->n_patterns); in iwl_mvm_send_patterns_v1()
649 pattern_cmd->n_patterns = cpu_to_le32(wowlan->n_patterns); in iwl_mvm_send_patterns_v1()
651 for (i = 0; i < wowlan->n_patterns; i++) { in iwl_mvm_send_patterns_v1()
684 if (!wowlan->n_patterns) in iwl_mvm_send_patterns()
688 wowlan->n_patterns * sizeof(struct iwl_wowlan_pattern_v2); in iwl_mvm_send_patterns()
694 pattern_cmd->n_patterns = wowlan->n_patterns; in iwl_mvm_send_patterns()
698 for (i = 0; i < wowlan->n_patterns; i++) { in iwl_mvm_send_patterns()
958 if (wowlan->n_patterns) in iwl_mvm_get_wowlan_config()
/linux-6.6.21/drivers/net/wireless/realtek/rtw88/
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()
/linux-6.6.21/drivers/net/wireless/ath/ath10k/
Dwow.c323 for (i = 0; i < wowlan->n_patterns; i++) { in ath10k_vif_wow_set_wakeups()
635 ar->wow.wowlan_support.n_patterns = ar->wow.max_num_patterns; in ath10k_wow_init()
/linux-6.6.21/drivers/net/wireless/ath/ath11k/
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()
/linux-6.6.21/drivers/net/wireless/marvell/mwifiex/
Dcfg80211.c3350 for (i = 0; i < wowlan->n_patterns; i++) { in mwifiex_set_wowlan_mef_entry()
3426 if (wowlan->n_patterns || wowlan->magic_pkt) in mwifiex_set_mef_filter()
3441 if (wowlan->n_patterns || wowlan->magic_pkt) { in mwifiex_set_mef_filter()
3590 if (wiphy->wowlan_config->n_patterns) in mwifiex_cfg80211_resume()
3672 for (i = 0; i < crule->n_patterns; i++) { in mwifiex_fill_coalesce_rule_info()
4266 .n_patterns = MWIFIEX_MEF_MAX_FILTERS,
4276 .n_patterns = MWIFIEX_MEF_MAX_FILTERS,
4298 .n_patterns = MWIFIEX_COALESCE_MAX_FILTERS,
/linux-6.6.21/net/wireless/
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()
Dcore.h137 for (i = 0; i < rdev->wiphy.wowlan_config->n_patterns; i++) in cfg80211_rdev_free_wowlan()
Dnl80211.c1762 if (rdev->wiphy.wowlan->n_patterns) { in nl80211_send_wowlan()
1764 .max_patterns = rdev->wiphy.wowlan->n_patterns, in nl80211_send_wowlan()
1799 rule.pat.max_patterns = rdev->wiphy.coalesce->n_patterns; in nl80211_send_coalesce()
13181 if (!wowlan->n_patterns) in nl80211_send_wowlan_patterns()
13188 for (i = 0; i < wowlan->n_patterns; i++) { in nl80211_send_wowlan_patterns()
13673 int n_patterns = 0; in nl80211_set_wowlan() local
13681 n_patterns++; in nl80211_set_wowlan()
13682 if (n_patterns > wowlan->n_patterns) in nl80211_set_wowlan()
13685 new_triggers.patterns = kcalloc(n_patterns, in nl80211_set_wowlan()
13691 new_triggers.n_patterns = n_patterns; in nl80211_set_wowlan()
[all …]
/linux-6.6.21/drivers/net/wireless/realtek/rtlwifi/
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()
Dbase.c419 rtlpriv->wowlan.n_patterns = in _rtl_init_mac80211()
/linux-6.6.21/drivers/net/wireless/quantenna/qtnfmac/
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()
Dqlink.h1881 __le32 n_patterns; member
/linux-6.6.21/include/net/
Dcfg80211.h3368 int n_patterns; member
3386 int n_patterns; member
5032 int n_patterns; member
5053 int n_patterns; member
/linux-6.6.21/drivers/net/wireless/ti/wlcore/
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,
/linux-6.6.21/drivers/net/wireless/ath/ath6kl/
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,
/linux-6.6.21/drivers/net/wireless/mediatek/mt76/
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()
/linux-6.6.21/drivers/staging/rtl8723bs/os_dep/
Dioctl_cfg80211.c52 .n_patterns = 0,

12