Searched refs:user_scan_cfg (Results 1 – 2 of 2) sorted by relevance
1934 struct mwifiex_user_scan_cfg *user_scan_cfg; in mwifiex_active_scan_req_for_passive_chan() local1946 user_scan_cfg = kzalloc(sizeof(*user_scan_cfg), GFP_KERNEL); in mwifiex_active_scan_req_for_passive_chan()1948 if (!user_scan_cfg) in mwifiex_active_scan_req_for_passive_chan()1954 memcpy(&user_scan_cfg->chan_list[id], in mwifiex_active_scan_req_for_passive_chan()1961 ether_addr_copy(user_scan_cfg->random_mac, in mwifiex_active_scan_req_for_passive_chan()1963 user_scan_cfg->num_ssids = priv->scan_request->n_ssids; in mwifiex_active_scan_req_for_passive_chan()1964 user_scan_cfg->ssid_list = priv->scan_request->ssids; in mwifiex_active_scan_req_for_passive_chan()1966 ret = mwifiex_scan_networks(priv, user_scan_cfg); in mwifiex_active_scan_req_for_passive_chan()1967 kfree(user_scan_cfg); in mwifiex_active_scan_req_for_passive_chan()
2630 struct mwifiex_user_scan_cfg *user_scan_cfg; in mwifiex_cfg80211_scan() local2651 user_scan_cfg = kzalloc(sizeof(*user_scan_cfg), GFP_KERNEL); in mwifiex_cfg80211_scan()2652 if (!user_scan_cfg) in mwifiex_cfg80211_scan()2661 ether_addr_copy(user_scan_cfg->random_mac, mac_addr); in mwifiex_cfg80211_scan()2664 user_scan_cfg->num_ssids = request->n_ssids; in mwifiex_cfg80211_scan()2665 user_scan_cfg->ssid_list = request->ssids; in mwifiex_cfg80211_scan()2685 user_scan_cfg->chan_list[i].chan_number = chan->hw_value; in mwifiex_cfg80211_scan()2686 user_scan_cfg->chan_list[i].radio_type = chan->band; in mwifiex_cfg80211_scan()2689 user_scan_cfg->chan_list[i].scan_type = in mwifiex_cfg80211_scan()2692 user_scan_cfg->chan_list[i].scan_type = in mwifiex_cfg80211_scan()[all …]