Searched refs:user_scan_cfg (Results 1 – 2 of 2) sorted by relevance
1923 struct mwifiex_user_scan_cfg *user_scan_cfg; in mwifiex_active_scan_req_for_passive_chan() local1935 user_scan_cfg = kzalloc(sizeof(*user_scan_cfg), GFP_KERNEL); in mwifiex_active_scan_req_for_passive_chan()1937 if (!user_scan_cfg) in mwifiex_active_scan_req_for_passive_chan()1943 memcpy(&user_scan_cfg->chan_list[id], in mwifiex_active_scan_req_for_passive_chan()1950 ether_addr_copy(user_scan_cfg->random_mac, in mwifiex_active_scan_req_for_passive_chan()1952 user_scan_cfg->num_ssids = priv->scan_request->n_ssids; in mwifiex_active_scan_req_for_passive_chan()1953 user_scan_cfg->ssid_list = priv->scan_request->ssids; in mwifiex_active_scan_req_for_passive_chan()1955 ret = mwifiex_scan_networks(priv, user_scan_cfg); in mwifiex_active_scan_req_for_passive_chan()1956 kfree(user_scan_cfg); in mwifiex_active_scan_req_for_passive_chan()
2661 struct mwifiex_user_scan_cfg *user_scan_cfg; in mwifiex_cfg80211_scan() local2682 user_scan_cfg = kzalloc(sizeof(*user_scan_cfg), GFP_KERNEL); in mwifiex_cfg80211_scan()2683 if (!user_scan_cfg) in mwifiex_cfg80211_scan()2692 ether_addr_copy(user_scan_cfg->random_mac, mac_addr); in mwifiex_cfg80211_scan()2695 user_scan_cfg->num_ssids = request->n_ssids; in mwifiex_cfg80211_scan()2696 user_scan_cfg->ssid_list = request->ssids; in mwifiex_cfg80211_scan()2716 user_scan_cfg->chan_list[i].chan_number = chan->hw_value; in mwifiex_cfg80211_scan()2717 user_scan_cfg->chan_list[i].radio_type = chan->band; in mwifiex_cfg80211_scan()2720 user_scan_cfg->chan_list[i].scan_type = in mwifiex_cfg80211_scan()2723 user_scan_cfg->chan_list[i].scan_type = in mwifiex_cfg80211_scan()[all …]