Home
last modified time | relevance | path

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

/linux/drivers/net/wireless/ath/ath10k/
H A Dwow.c173 struct cfg80211_sched_scan_request *nd_config, in ath10k_wmi_pno_check() argument
181 pno->uc_networks_count = nd_config->n_match_sets; in ath10k_wmi_pno_check()
187 if (nd_config->n_channels > WMI_PNO_MAX_NETW_CHANNELS_EX) in ath10k_wmi_pno_check()
192 ssid_len = nd_config->match_sets[i].ssid.ssid_len; in ath10k_wmi_pno_check()
200 nd_config->match_sets[i].ssid.ssid, in ath10k_wmi_pno_check()
201 nd_config->match_sets[i].ssid.ssid_len); in ath10k_wmi_pno_check()
207 pno->a_networks[i].channel_count = nd_config->n_channels; in ath10k_wmi_pno_check()
208 pno->a_networks[i].rssi_threshold = nd_config->match_sets[i].rssi_thold; in ath10k_wmi_pno_check()
210 for (j = 0; j < nd_config->n_channels; j++) { in ath10k_wmi_pno_check()
212 nd_config->channels[j]->center_freq; in ath10k_wmi_pno_check()
[all …]
/linux/drivers/net/wireless/ath/ath11k/
H A Dwow.c252 struct cfg80211_sched_scan_request *nd_config, in ath11k_wmi_pno_check_and_convert() argument
260 pno->uc_networks_count = nd_config->n_match_sets; in ath11k_wmi_pno_check_and_convert()
266 if (nd_config->n_channels > WMI_PNO_MAX_NETW_CHANNELS_EX) in ath11k_wmi_pno_check_and_convert()
271 ssid_len = nd_config->match_sets[i].ssid.ssid_len; in ath11k_wmi_pno_check_and_convert()
279 nd_config->match_sets[i].ssid.ssid, in ath11k_wmi_pno_check_and_convert()
280 nd_config->match_sets[i].ssid.ssid_len); in ath11k_wmi_pno_check_and_convert()
286 pno->a_networks[i].channel_count = nd_config->n_channels; in ath11k_wmi_pno_check_and_convert()
287 pno->a_networks[i].rssi_threshold = nd_config->match_sets[i].rssi_thold; in ath11k_wmi_pno_check_and_convert()
289 for (j = 0; j < nd_config->n_channels; j++) { in ath11k_wmi_pno_check_and_convert()
291 nd_config->channels[j]->center_freq; in ath11k_wmi_pno_check_and_convert()
[all …]
/linux/drivers/net/wireless/ath/ath12k/
H A Dwow.c268 const struct cfg80211_sched_scan_request *nd_config, in ath12k_wow_pno_check_and_convert() argument
276 pno->uc_networks_count = nd_config->n_match_sets; in ath12k_wow_pno_check_and_convert()
282 if (nd_config->n_channels > WMI_PNO_MAX_NETW_CHANNELS_EX) in ath12k_wow_pno_check_and_convert()
287 ssid_len = nd_config->match_sets[i].ssid.ssid_len; in ath12k_wow_pno_check_and_convert()
295 nd_config->match_sets[i].ssid.ssid, in ath12k_wow_pno_check_and_convert()
302 pno->a_networks[i].channel_count = nd_config->n_channels; in ath12k_wow_pno_check_and_convert()
303 pno->a_networks[i].rssi_threshold = nd_config->match_sets[i].rssi_thold; in ath12k_wow_pno_check_and_convert()
305 for (j = 0; j < nd_config->n_channels; j++) { in ath12k_wow_pno_check_and_convert()
307 nd_config->channels[j]->center_freq; in ath12k_wow_pno_check_and_convert()
312 if (nd_config->n_ssids == 0) in ath12k_wow_pno_check_and_convert()
[all …]
/linux/drivers/net/wireless/realtek/rtw88/
H A 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/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dd3.c1182 struct cfg80211_sched_scan_request *nd_config, in iwl_mvm_netdetect_config() argument
1204 ret = iwl_mvm_sched_scan_start(mvm, vif, nd_config, &mvm->nd_ies, in iwl_mvm_netdetect_config()
1213 if (nd_config->n_match_sets) { in iwl_mvm_netdetect_config()
1214 mvm->nd_match_sets = kmemdup(nd_config->match_sets, in iwl_mvm_netdetect_config()
1215 sizeof(*nd_config->match_sets) * in iwl_mvm_netdetect_config()
1216 nd_config->n_match_sets, in iwl_mvm_netdetect_config()
1219 mvm->n_nd_match_sets = nd_config->n_match_sets; in iwl_mvm_netdetect_config()
1223 mvm->nd_channels = kmemdup(nd_config->channels, in iwl_mvm_netdetect_config()
1224 sizeof(*nd_config->channels) * in iwl_mvm_netdetect_config()
1225 nd_config->n_channels, in iwl_mvm_netdetect_config()
[all …]
/linux/drivers/net/wireless/intel/iwlwifi/mld/
H A Dd3.c224 wowlan->nd_config; in iwl_mld_netdetect_config()
1223 !mld->wiphy->wowlan_config->nd_config)) { in iwl_mld_process_netdetect_res()
1229 netdetect_cfg = mld->wiphy->wowlan_config->nd_config; in iwl_mld_process_netdetect_res()
1942 if (WARN_ON(!wowlan->nd_config)) in iwl_mld_wowlan_suspend()
/linux/drivers/net/wireless/marvell/mwifiex/
H A Dscan.c2105 struct cfg80211_sched_scan_request *nd_config = NULL; in mwifiex_ret_802_11_scan() local
2170 nd_config = priv->wdev.wiphy->wowlan_config->nd_config; in mwifiex_ret_802_11_scan()
2173 if (nd_config) { in mwifiex_ret_802_11_scan()
H A Dcfg80211.c3529 if (!sta_priv->media_connected && !wowlan->nd_config) { in mwifiex_cfg80211_suspend()
3545 if (wowlan->nd_config) { in mwifiex_cfg80211_suspend()
3549 wowlan->nd_config); in mwifiex_cfg80211_suspend()
3609 if (wiphy->wowlan_config->nd_config) in mwifiex_cfg80211_resume()
H A Dsta_ioctl.c568 !priv->wdev.wiphy->wowlan_config->nd_config) { in mwifiex_enable_hs()
/linux/net/wireless/
H A Dcore.h151 kfree(rdev->wiphy.wowlan_config->nd_config); in cfg80211_rdev_free_wowlan()
H A Dnl80211.c15113 rdev->wiphy.wowlan_config->nd_config)) in nl80211_get_wowlan()
15292 trig->nd_config = nl80211_parse_sched_scan(&rdev->wiphy, NULL, tb, in nl80211_parse_wowlan_nd()
15294 err = PTR_ERR_OR_ZERO(trig->nd_config); in nl80211_parse_wowlan_nd()
15296 trig->nd_config = NULL; in nl80211_parse_wowlan_nd()
15501 kfree(new_triggers.nd_config); in nl80211_set_wowlan()