Lines Matching refs:wext
31 wdev->wext.connect.ie = wdev->wext.ie; in cfg80211_mgd_wext_connect()
32 wdev->wext.connect.ie_len = wdev->wext.ie_len; in cfg80211_mgd_wext_connect()
35 wdev->wext.connect.bg_scan_period = -1; in cfg80211_mgd_wext_connect()
37 if (wdev->wext.keys) { in cfg80211_mgd_wext_connect()
38 wdev->wext.keys->def = wdev->wext.default_key; in cfg80211_mgd_wext_connect()
39 if (wdev->wext.default_key != -1) in cfg80211_mgd_wext_connect()
40 wdev->wext.connect.privacy = true; in cfg80211_mgd_wext_connect()
43 if (!wdev->wext.connect.ssid_len) in cfg80211_mgd_wext_connect()
46 if (wdev->wext.keys && wdev->wext.keys->def != -1) { in cfg80211_mgd_wext_connect()
47 ck = kmemdup(wdev->wext.keys, sizeof(*ck), GFP_KERNEL); in cfg80211_mgd_wext_connect()
54 if (wdev->wext.prev_bssid_valid) in cfg80211_mgd_wext_connect()
55 prev_bssid = wdev->wext.prev_bssid; in cfg80211_mgd_wext_connect()
58 &wdev->wext.connect, ck, prev_bssid); in cfg80211_mgd_wext_connect()
95 if (wdev->wext.connect.channel == chan) { in cfg80211_mgd_wext_siwfreq()
101 if (wdev->wext.connect.ssid_len) in cfg80211_mgd_wext_siwfreq()
109 wdev->wext.connect.channel = chan; in cfg80211_mgd_wext_siwfreq()
133 else if (wdev->wext.connect.channel) in cfg80211_mgd_wext_giwfreq()
134 chan = wdev->wext.connect.channel; in cfg80211_mgd_wext_giwfreq()
174 if (wdev->wext.connect.ssid && len && in cfg80211_mgd_wext_siwessid()
175 len == wdev->wext.connect.ssid_len && in cfg80211_mgd_wext_siwessid()
176 memcmp(wdev->wext.connect.ssid, ssid, len) == 0) in cfg80211_mgd_wext_siwessid()
188 wdev->wext.prev_bssid_valid = false; in cfg80211_mgd_wext_siwessid()
189 wdev->wext.connect.ssid = wdev->wext.ssid; in cfg80211_mgd_wext_siwessid()
190 memcpy(wdev->wext.ssid, ssid, len); in cfg80211_mgd_wext_siwessid()
191 wdev->wext.connect.ssid_len = len; in cfg80211_mgd_wext_siwessid()
193 wdev->wext.connect.crypto.control_port = false; in cfg80211_mgd_wext_siwessid()
194 wdev->wext.connect.crypto.control_port_ethertype = in cfg80211_mgd_wext_siwessid()
236 } else if (wdev->wext.connect.ssid && wdev->wext.connect.ssid_len) { in cfg80211_mgd_wext_giwessid()
238 data->length = wdev->wext.connect.ssid_len; in cfg80211_mgd_wext_giwessid()
239 memcpy(ssid, wdev->wext.connect.ssid, data->length); in cfg80211_mgd_wext_giwessid()
271 if (!bssid && !wdev->wext.connect.bssid) in cfg80211_mgd_wext_siwap()
275 if (wdev->wext.connect.bssid && bssid && in cfg80211_mgd_wext_siwap()
276 ether_addr_equal(bssid, wdev->wext.connect.bssid)) in cfg80211_mgd_wext_siwap()
286 memcpy(wdev->wext.bssid, bssid, ETH_ALEN); in cfg80211_mgd_wext_siwap()
287 wdev->wext.connect.bssid = wdev->wext.bssid; in cfg80211_mgd_wext_siwap()
289 wdev->wext.connect.bssid = NULL; in cfg80211_mgd_wext_siwap()
344 if (wdev->wext.ie_len == ie_len && in cfg80211_wext_siwgenie()
345 memcmp(wdev->wext.ie, ie, ie_len) == 0) in cfg80211_wext_siwgenie()
357 kfree(wdev->wext.ie); in cfg80211_wext_siwgenie()
358 wdev->wext.ie = ie; in cfg80211_wext_siwgenie()
359 wdev->wext.ie_len = ie_len; in cfg80211_wext_siwgenie()