Lines Matching refs:user_scan_cfg
2560 struct mwifiex_user_scan_cfg *user_scan_cfg; in mwifiex_cfg80211_scan() local
2581 user_scan_cfg = kzalloc(sizeof(*user_scan_cfg), GFP_KERNEL); in mwifiex_cfg80211_scan()
2582 if (!user_scan_cfg) in mwifiex_cfg80211_scan()
2591 ether_addr_copy(user_scan_cfg->random_mac, mac_addr); in mwifiex_cfg80211_scan()
2594 user_scan_cfg->num_ssids = request->n_ssids; in mwifiex_cfg80211_scan()
2595 user_scan_cfg->ssid_list = request->ssids; in mwifiex_cfg80211_scan()
2615 user_scan_cfg->chan_list[i].chan_number = chan->hw_value; in mwifiex_cfg80211_scan()
2616 user_scan_cfg->chan_list[i].radio_type = chan->band; in mwifiex_cfg80211_scan()
2619 user_scan_cfg->chan_list[i].scan_type = in mwifiex_cfg80211_scan()
2622 user_scan_cfg->chan_list[i].scan_type = in mwifiex_cfg80211_scan()
2625 user_scan_cfg->chan_list[i].scan_time = 0; in mwifiex_cfg80211_scan()
2630 user_scan_cfg->scan_chan_gap = in mwifiex_cfg80211_scan()
2633 ret = mwifiex_scan_networks(priv, user_scan_cfg); in mwifiex_cfg80211_scan()
2634 kfree(user_scan_cfg); in mwifiex_cfg80211_scan()