Home
last modified time | relevance | path

Searched refs:nd_config (Results 1 – 12 of 12) sorted by relevance

/linux-6.6.21/drivers/net/wireless/ath/ath10k/
Dwow.c172 struct cfg80211_sched_scan_request *nd_config, in ath10k_wmi_pno_check() argument
180 pno->uc_networks_count = nd_config->n_match_sets; in ath10k_wmi_pno_check()
186 if (nd_config->n_channels > WMI_PNO_MAX_NETW_CHANNELS_EX) in ath10k_wmi_pno_check()
191 ssid_len = nd_config->match_sets[i].ssid.ssid_len; in ath10k_wmi_pno_check()
199 nd_config->match_sets[i].ssid.ssid, in ath10k_wmi_pno_check()
200 nd_config->match_sets[i].ssid.ssid_len); in ath10k_wmi_pno_check()
206 pno->a_networks[i].channel_count = nd_config->n_channels; in ath10k_wmi_pno_check()
207 pno->a_networks[i].rssi_threshold = nd_config->match_sets[i].rssi_thold; in ath10k_wmi_pno_check()
209 for (j = 0; j < nd_config->n_channels; j++) { in ath10k_wmi_pno_check()
211 nd_config->channels[j]->center_freq; in ath10k_wmi_pno_check()
[all …]
/linux-6.6.21/drivers/net/wireless/ath/ath11k/
Dwow.c243 struct cfg80211_sched_scan_request *nd_config, in ath11k_wmi_pno_check_and_convert() argument
251 pno->uc_networks_count = nd_config->n_match_sets; in ath11k_wmi_pno_check_and_convert()
257 if (nd_config->n_channels > WMI_PNO_MAX_NETW_CHANNELS_EX) in ath11k_wmi_pno_check_and_convert()
262 ssid_len = nd_config->match_sets[i].ssid.ssid_len; in ath11k_wmi_pno_check_and_convert()
270 nd_config->match_sets[i].ssid.ssid, in ath11k_wmi_pno_check_and_convert()
271 nd_config->match_sets[i].ssid.ssid_len); in ath11k_wmi_pno_check_and_convert()
277 pno->a_networks[i].channel_count = nd_config->n_channels; in ath11k_wmi_pno_check_and_convert()
278 pno->a_networks[i].rssi_threshold = nd_config->match_sets[i].rssi_thold; in ath11k_wmi_pno_check_and_convert()
280 for (j = 0; j < nd_config->n_channels; j++) { in ath11k_wmi_pno_check_and_convert()
282 nd_config->channels[j]->center_freq; in ath11k_wmi_pno_check_and_convert()
[all …]
/linux-6.6.21/drivers/net/wireless/realtek/rtw88/
Dwow.c535 struct cfg80211_sched_scan_request *nd_config) in rtw_wow_check_pno() argument
542 if (!nd_config->n_match_sets || !nd_config->n_channels) in rtw_wow_check_pno()
545 pno_req->match_set_cnt = nd_config->n_match_sets; in rtw_wow_check_pno()
547 pno_req->match_sets = kmemdup(nd_config->match_sets, size, GFP_KERNEL); in rtw_wow_check_pno()
551 pno_req->channel_cnt = nd_config->n_channels; in rtw_wow_check_pno()
552 size = sizeof(*nd_config->channels[0]) * nd_config->n_channels; in rtw_wow_check_pno()
559 memcpy(channel, nd_config->channels[i], sizeof(*channel)); in rtw_wow_check_pno()
562 pno_req->scan_plan = *nd_config->scan_plans; in rtw_wow_check_pno()
818 if (wowlan->nd_config) in rtw_wow_set_wakeups()
819 rtw_wow_check_pno(rtwdev, wowlan->nd_config); in rtw_wow_set_wakeups()
/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/mvm/
Dd3.c1164 struct cfg80211_sched_scan_request *nd_config, in iwl_mvm_netdetect_config() argument
1186 ret = iwl_mvm_sched_scan_start(mvm, vif, nd_config, &mvm->nd_ies, in iwl_mvm_netdetect_config()
1195 if (nd_config->n_match_sets) { in iwl_mvm_netdetect_config()
1196 mvm->nd_match_sets = kmemdup(nd_config->match_sets, in iwl_mvm_netdetect_config()
1197 sizeof(*nd_config->match_sets) * in iwl_mvm_netdetect_config()
1198 nd_config->n_match_sets, in iwl_mvm_netdetect_config()
1201 mvm->n_nd_match_sets = nd_config->n_match_sets; in iwl_mvm_netdetect_config()
1205 mvm->nd_channels = kmemdup(nd_config->channels, in iwl_mvm_netdetect_config()
1206 sizeof(*nd_config->channels) * in iwl_mvm_netdetect_config()
1207 nd_config->n_channels, in iwl_mvm_netdetect_config()
[all …]
/linux-6.6.21/drivers/net/wireless/marvell/mwifiex/
Dscan.c2115 struct cfg80211_sched_scan_request *nd_config = NULL; in mwifiex_ret_802_11_scan() local
2180 nd_config = priv->wdev.wiphy->wowlan_config->nd_config; in mwifiex_ret_802_11_scan()
2183 if (nd_config) { in mwifiex_ret_802_11_scan()
Dcfg80211.c3502 if (!sta_priv->media_connected && !wowlan->nd_config) { in mwifiex_cfg80211_suspend()
3518 if (wowlan->nd_config) { in mwifiex_cfg80211_suspend()
3522 wowlan->nd_config); in mwifiex_cfg80211_suspend()
3582 if (wiphy->wowlan_config->nd_config) in mwifiex_cfg80211_resume()
Dsta_ioctl.c516 !priv->wdev.wiphy->wowlan_config->nd_config) { in mwifiex_enable_hs()
/linux-6.6.21/net/wireless/
Dcore.h144 kfree(rdev->wiphy.wowlan_config->nd_config); in cfg80211_rdev_free_wowlan()
Dnl80211.c13401 rdev->wiphy.wowlan_config->nd_config)) in nl80211_get_wowlan()
13583 trig->nd_config = nl80211_parse_sched_scan(&rdev->wiphy, NULL, tb, in nl80211_parse_wowlan_nd()
13585 err = PTR_ERR_OR_ZERO(trig->nd_config); in nl80211_parse_wowlan_nd()
13587 trig->nd_config = NULL; in nl80211_parse_wowlan_nd()
13795 kfree(new_triggers.nd_config); in nl80211_set_wowlan()
/linux-6.6.21/drivers/net/wireless/mediatek/mt76/
Dmt76_connac_mcu.c2589 if (wowlan->nd_config) { in mt76_connac_mcu_set_wow_ctrl()
2590 mt76_connac_mcu_sched_scan_req(phy, vif, wowlan->nd_config); in mt76_connac_mcu_set_wow_ctrl()
/linux-6.6.21/include/net/
Dcfg80211.h3369 struct cfg80211_sched_scan_request *nd_config; member
/linux-6.6.21/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dcfg80211.c4215 if (wowl->nd_config) { in brcmf_configure_wowl()
4217 wowl->nd_config); in brcmf_configure_wowl()