Home
last modified time | relevance | path

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

/linux-6.1.9/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.1.9/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.1.9/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.1.9/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-6.1.9/net/wireless/
Dcore.h138 kfree(rdev->wiphy.wowlan_config->nd_config); in cfg80211_rdev_free_wowlan()
Dnl80211.c13121 rdev->wiphy.wowlan_config->nd_config)) in nl80211_get_wowlan()
13303 trig->nd_config = nl80211_parse_sched_scan(&rdev->wiphy, NULL, tb, in nl80211_parse_wowlan_nd()
13305 err = PTR_ERR_OR_ZERO(trig->nd_config); in nl80211_parse_wowlan_nd()
13307 trig->nd_config = NULL; in nl80211_parse_wowlan_nd()
13515 kfree(new_triggers.nd_config); in nl80211_set_wowlan()
/linux-6.1.9/drivers/net/wireless/marvell/mwifiex/
Dscan.c2120 struct cfg80211_sched_scan_request *nd_config = NULL; in mwifiex_ret_802_11_scan() local
2185 nd_config = priv->wdev.wiphy->wowlan_config->nd_config; in mwifiex_ret_802_11_scan()
2188 if (nd_config) { in mwifiex_ret_802_11_scan()
Dcfg80211.c3500 if (!sta_priv->media_connected && !wowlan->nd_config) { in mwifiex_cfg80211_suspend()
3516 if (wowlan->nd_config) { in mwifiex_cfg80211_suspend()
3520 wowlan->nd_config); in mwifiex_cfg80211_suspend()
3580 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.1.9/drivers/net/wireless/mediatek/mt76/
Dmt76_connac_mcu.c2460 if (wowlan->nd_config) { in mt76_connac_mcu_set_wow_ctrl()
2461 mt76_connac_mcu_sched_scan_req(phy, vif, wowlan->nd_config); in mt76_connac_mcu_set_wow_ctrl()
/linux-6.1.9/include/net/
Dcfg80211.h3279 struct cfg80211_sched_scan_request *nd_config; member
/linux-6.1.9/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dcfg80211.c3859 if (wowl->nd_config) { in brcmf_configure_wowl()
3861 wowl->nd_config); in brcmf_configure_wowl()