Lines Matching refs:nd_config

243 					    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()
287 if (nd_config->n_ssids == 0) in ath11k_wmi_pno_check_and_convert()
292 for (i = 0; i < nd_config->n_ssids; i++) { in ath11k_wmi_pno_check_and_convert()
296 nd_config->ssids[i].ssid_len && in ath11k_wmi_pno_check_and_convert()
298 nd_config->ssids[i].ssid, in ath11k_wmi_pno_check_and_convert()
307 if (nd_config->n_scan_plans == 2) { in ath11k_wmi_pno_check_and_convert()
308 pno->fast_scan_period = nd_config->scan_plans[0].interval * MSEC_PER_SEC; in ath11k_wmi_pno_check_and_convert()
309 pno->fast_scan_max_cycles = nd_config->scan_plans[0].iterations; in ath11k_wmi_pno_check_and_convert()
311 nd_config->scan_plans[1].interval * MSEC_PER_SEC; in ath11k_wmi_pno_check_and_convert()
312 } else if (nd_config->n_scan_plans == 1) { in ath11k_wmi_pno_check_and_convert()
313 pno->fast_scan_period = nd_config->scan_plans[0].interval * MSEC_PER_SEC; in ath11k_wmi_pno_check_and_convert()
315 pno->slow_scan_period = nd_config->scan_plans[0].interval * MSEC_PER_SEC; in ath11k_wmi_pno_check_and_convert()
318 nd_config->n_scan_plans); in ath11k_wmi_pno_check_and_convert()
321 if (nd_config->flags & NL80211_SCAN_FLAG_RANDOM_ADDR) { in ath11k_wmi_pno_check_and_convert()
324 memcpy(pno->mac_addr, nd_config->mac_addr, ETH_ALEN); in ath11k_wmi_pno_check_and_convert()
325 memcpy(pno->mac_addr_mask, nd_config->mac_addr_mask, ETH_ALEN); in ath11k_wmi_pno_check_and_convert()
328 pno->delay_start_time = nd_config->delay; in ath11k_wmi_pno_check_and_convert()
371 if (wowlan->nd_config) { in ath11k_vif_wow_set_wakeups()
382 wowlan->nd_config, pno); in ath11k_vif_wow_set_wakeups()