Lines Matching refs:wext
141 wdev->wext.ibss.chandef = params->chandef; in __cfg80211_join_ibss()
186 wdev->wext.ibss.ssid_len = 0; in __cfg80211_clear_ibss()
245 if (!wdev->wext.ibss.beacon_interval) in cfg80211_ibss_wext_join()
246 wdev->wext.ibss.beacon_interval = 100; in cfg80211_ibss_wext_join()
249 if (!wdev->wext.ibss.chandef.chan) { in cfg80211_ibss_wext_join()
277 cfg80211_chandef_create(&wdev->wext.ibss.chandef, new_chan, in cfg80211_ibss_wext_join()
282 if (!wdev->wext.ibss.ssid_len) in cfg80211_ibss_wext_join()
288 if (wdev->wext.keys) in cfg80211_ibss_wext_join()
289 wdev->wext.keys->def = wdev->wext.default_key; in cfg80211_ibss_wext_join()
291 wdev->wext.ibss.privacy = wdev->wext.default_key != -1; in cfg80211_ibss_wext_join()
293 if (wdev->wext.keys && wdev->wext.keys->def != -1) { in cfg80211_ibss_wext_join()
294 ck = kmemdup(wdev->wext.keys, sizeof(*ck), GFP_KERNEL); in cfg80211_ibss_wext_join()
301 &wdev->wext.ibss, ck); in cfg80211_ibss_wext_join()
337 if (wdev->wext.ibss.chandef.chan == chan) in cfg80211_ibss_wext_siwfreq()
350 cfg80211_chandef_create(&wdev->wext.ibss.chandef, chan, in cfg80211_ibss_wext_siwfreq()
352 wdev->wext.ibss.channel_fixed = true; in cfg80211_ibss_wext_siwfreq()
355 wdev->wext.ibss.channel_fixed = false; in cfg80211_ibss_wext_siwfreq()
379 else if (wdev->wext.ibss.chandef.chan) in cfg80211_ibss_wext_giwfreq()
380 chan = wdev->wext.ibss.chandef.chan; in cfg80211_ibss_wext_giwfreq()
423 wdev->wext.ibss.ssid = wdev->u.ibss.ssid; in cfg80211_ibss_wext_siwessid()
424 wdev->wext.ibss.ssid_len = len; in cfg80211_ibss_wext_siwessid()
450 } else if (wdev->wext.ibss.ssid && wdev->wext.ibss.ssid_len) { in cfg80211_ibss_wext_giwessid()
452 data->length = wdev->wext.ibss.ssid_len; in cfg80211_ibss_wext_giwessid()
453 memcpy(ssid, wdev->wext.ibss.ssid, data->length); in cfg80211_ibss_wext_giwessid()
487 if (!bssid && !wdev->wext.ibss.bssid) in cfg80211_ibss_wext_siwap()
491 if (wdev->wext.ibss.bssid && bssid && in cfg80211_ibss_wext_siwap()
492 ether_addr_equal(bssid, wdev->wext.ibss.bssid)) in cfg80211_ibss_wext_siwap()
505 memcpy(wdev->wext.bssid, bssid, ETH_ALEN); in cfg80211_ibss_wext_siwap()
506 wdev->wext.ibss.bssid = wdev->wext.bssid; in cfg80211_ibss_wext_siwap()
508 wdev->wext.ibss.bssid = NULL; in cfg80211_ibss_wext_siwap()
533 else if (wdev->wext.ibss.bssid) in cfg80211_ibss_wext_giwap()
534 memcpy(ap_addr->sa_data, wdev->wext.ibss.bssid, ETH_ALEN); in cfg80211_ibss_wext_giwap()