Home
last modified time | relevance | path

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

/linux-5.19.10/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-5.19.10/drivers/net/wireless/ath/ath11k/
Dwow.c235 struct cfg80211_sched_scan_request *nd_config, in ath11k_wmi_pno_check_and_convert() argument
243 pno->uc_networks_count = nd_config->n_match_sets; in ath11k_wmi_pno_check_and_convert()
249 if (nd_config->n_channels > WMI_PNO_MAX_NETW_CHANNELS_EX) in ath11k_wmi_pno_check_and_convert()
254 ssid_len = nd_config->match_sets[i].ssid.ssid_len; in ath11k_wmi_pno_check_and_convert()
262 nd_config->match_sets[i].ssid.ssid, in ath11k_wmi_pno_check_and_convert()
263 nd_config->match_sets[i].ssid.ssid_len); in ath11k_wmi_pno_check_and_convert()
269 pno->a_networks[i].channel_count = nd_config->n_channels; in ath11k_wmi_pno_check_and_convert()
270 pno->a_networks[i].rssi_threshold = nd_config->match_sets[i].rssi_thold; in ath11k_wmi_pno_check_and_convert()
272 for (j = 0; j < nd_config->n_channels; j++) { in ath11k_wmi_pno_check_and_convert()
274 nd_config->channels[j]->center_freq; in ath11k_wmi_pno_check_and_convert()
[all …]
/linux-5.19.10/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-5.19.10/drivers/net/wireless/intel/iwlwifi/mvm/
Dd3.c1156 struct cfg80211_sched_scan_request *nd_config, in iwl_mvm_netdetect_config() argument
1178 ret = iwl_mvm_sched_scan_start(mvm, vif, nd_config, &mvm->nd_ies, in iwl_mvm_netdetect_config()
1187 if (nd_config->n_match_sets) { in iwl_mvm_netdetect_config()
1188 mvm->nd_match_sets = kmemdup(nd_config->match_sets, in iwl_mvm_netdetect_config()
1189 sizeof(*nd_config->match_sets) * in iwl_mvm_netdetect_config()
1190 nd_config->n_match_sets, in iwl_mvm_netdetect_config()
1193 mvm->n_nd_match_sets = nd_config->n_match_sets; in iwl_mvm_netdetect_config()
1197 mvm->nd_channels = kmemdup(nd_config->channels, in iwl_mvm_netdetect_config()
1198 sizeof(*nd_config->channels) * in iwl_mvm_netdetect_config()
1199 nd_config->n_channels, in iwl_mvm_netdetect_config()
[all …]
/linux-5.19.10/drivers/net/wireless/marvell/mwifiex/
Dscan.c2132 struct cfg80211_sched_scan_request *nd_config = NULL; in mwifiex_ret_802_11_scan() local
2197 nd_config = priv->wdev.wiphy->wowlan_config->nd_config; in mwifiex_ret_802_11_scan()
2200 if (nd_config) { in mwifiex_ret_802_11_scan()
Dcfg80211.c3510 if (!sta_priv->media_connected && !wowlan->nd_config) { in mwifiex_cfg80211_suspend()
3526 if (wowlan->nd_config) { in mwifiex_cfg80211_suspend()
3530 wowlan->nd_config); in mwifiex_cfg80211_suspend()
3590 if (wiphy->wowlan_config->nd_config) in mwifiex_cfg80211_resume()
Dsta_ioctl.c528 !priv->wdev.wiphy->wowlan_config->nd_config) { in mwifiex_enable_hs()
/linux-5.19.10/net/wireless/
Dcore.h138 kfree(rdev->wiphy.wowlan_config->nd_config); in cfg80211_rdev_free_wowlan()
Dnl80211.c12703 rdev->wiphy.wowlan_config->nd_config)) in nl80211_get_wowlan()
12883 trig->nd_config = nl80211_parse_sched_scan(&rdev->wiphy, NULL, tb, in nl80211_parse_wowlan_nd()
12885 err = PTR_ERR_OR_ZERO(trig->nd_config); in nl80211_parse_wowlan_nd()
12887 trig->nd_config = NULL; in nl80211_parse_wowlan_nd()
13095 kfree(new_triggers.nd_config); in nl80211_set_wowlan()
/linux-5.19.10/drivers/net/wireless/mediatek/mt76/
Dmt76_connac_mcu.c2454 if (wowlan->nd_config) { in mt76_connac_mcu_set_wow_ctrl()
2455 mt76_connac_mcu_sched_scan_req(phy, vif, wowlan->nd_config); in mt76_connac_mcu_set_wow_ctrl()
/linux-5.19.10/include/net/
Dcfg80211.h3186 struct cfg80211_sched_scan_request *nd_config; member
/linux-5.19.10/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dcfg80211.c3879 if (wowl->nd_config) { in brcmf_configure_wowl()
3881 wowl->nd_config); in brcmf_configure_wowl()