Searched refs:bgscan_cfg (Results 1 – 2 of 2) sorted by relevance
2771 struct mwifiex_bg_scan_cfg *bgscan_cfg; in mwifiex_cfg80211_sched_scan_start() local2786 bgscan_cfg = kzalloc(sizeof(*bgscan_cfg), GFP_KERNEL); in mwifiex_cfg80211_sched_scan_start()2787 if (!bgscan_cfg) in mwifiex_cfg80211_sched_scan_start()2791 bgscan_cfg->start_later = true; in mwifiex_cfg80211_sched_scan_start()2793 bgscan_cfg->num_ssids = request->n_match_sets; in mwifiex_cfg80211_sched_scan_start()2794 bgscan_cfg->ssid_list = request->match_sets; in mwifiex_cfg80211_sched_scan_start()2814 bgscan_cfg->chan_list[i].chan_number = chan->hw_value; in mwifiex_cfg80211_sched_scan_start()2815 bgscan_cfg->chan_list[i].radio_type = chan->band; in mwifiex_cfg80211_sched_scan_start()2818 bgscan_cfg->chan_list[i].scan_type = in mwifiex_cfg80211_sched_scan_start()2821 bgscan_cfg->chan_list[i].scan_type = in mwifiex_cfg80211_sched_scan_start()[all …]
2448 struct mwifiex_bg_scan_cfg *bgscan_cfg; in mwifiex_stop_bg_scan() local2455 bgscan_cfg = kzalloc(sizeof(*bgscan_cfg), GFP_KERNEL); in mwifiex_stop_bg_scan()2456 if (!bgscan_cfg) in mwifiex_stop_bg_scan()2459 bgscan_cfg->bss_type = MWIFIEX_BSS_MODE_INFRA; in mwifiex_stop_bg_scan()2460 bgscan_cfg->action = MWIFIEX_BGSCAN_ACT_SET; in mwifiex_stop_bg_scan()2461 bgscan_cfg->enable = false; in mwifiex_stop_bg_scan()2464 HostCmd_ACT_GEN_SET, 0, bgscan_cfg, true)) { in mwifiex_stop_bg_scan()2465 kfree(bgscan_cfg); in mwifiex_stop_bg_scan()2469 kfree(bgscan_cfg); in mwifiex_stop_bg_scan()