Lines Matching full:wiphy

43 	rdev = wiphy_to_rdev(wdev->wiphy);  in cfg80211_wext_siwmode()
64 guard(wiphy)(wdev->wiphy); in cfg80211_wext_siwmode()
136 switch (wdev->wiphy->signal_type) { in cfg80211_wext_giwrange()
160 for (i = 0; i < wdev->wiphy->n_cipher_suites; i++) { in cfg80211_wext_giwrange()
161 switch (wdev->wiphy->cipher_suites[i]) { in cfg80211_wext_giwrange()
187 sband = wdev->wiphy->bands[band]; in cfg80211_wext_giwrange()
212 if (wdev->wiphy->max_scan_ssids > 0) in cfg80211_wext_giwrange()
254 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_wext_siwrts()
255 u32 orts = wdev->wiphy->rts_threshold; in cfg80211_wext_siwrts()
258 guard(wiphy)(&rdev->wiphy); in cfg80211_wext_siwrts()
260 wdev->wiphy->rts_threshold = (u32) -1; in cfg80211_wext_siwrts()
264 wdev->wiphy->rts_threshold = rts->value; in cfg80211_wext_siwrts()
268 wdev->wiphy->rts_threshold = orts; in cfg80211_wext_siwrts()
279 rts->value = wdev->wiphy->rts_threshold; in cfg80211_wext_giwrts()
292 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_wext_siwfrag()
293 u32 ofrag = wdev->wiphy->frag_threshold; in cfg80211_wext_siwfrag()
296 guard(wiphy)(&rdev->wiphy); in cfg80211_wext_siwfrag()
299 wdev->wiphy->frag_threshold = (u32) -1; in cfg80211_wext_siwfrag()
304 wdev->wiphy->frag_threshold = frag->value & ~0x1; in cfg80211_wext_siwfrag()
309 wdev->wiphy->frag_threshold = ofrag; in cfg80211_wext_siwfrag()
320 frag->value = wdev->wiphy->frag_threshold; in cfg80211_wext_giwfrag()
333 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_wext_siwretry()
335 u8 olong = wdev->wiphy->retry_long; in cfg80211_wext_siwretry()
336 u8 oshort = wdev->wiphy->retry_short; in cfg80211_wext_siwretry()
343 guard(wiphy)(&rdev->wiphy); in cfg80211_wext_siwretry()
346 wdev->wiphy->retry_long = retry->value; in cfg80211_wext_siwretry()
349 wdev->wiphy->retry_short = retry->value; in cfg80211_wext_siwretry()
352 wdev->wiphy->retry_short = retry->value; in cfg80211_wext_siwretry()
353 wdev->wiphy->retry_long = retry->value; in cfg80211_wext_siwretry()
360 wdev->wiphy->retry_short = oshort; in cfg80211_wext_siwretry()
361 wdev->wiphy->retry_long = olong; in cfg80211_wext_siwretry()
382 retry->value = wdev->wiphy->retry_short; in cfg80211_wext_giwretry()
383 if (wdev->wiphy->retry_long == wdev->wiphy->retry_short) in cfg80211_wext_giwretry()
391 retry->value = wdev->wiphy->retry_long; in cfg80211_wext_giwretry()
458 !(rdev->wiphy.flags & WIPHY_FLAG_IBSS_RSN)) in cfg80211_set_encryption()
568 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_wext_siwencode()
583 guard(wiphy)(&rdev->wiphy); in cfg80211_wext_siwencode()
635 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_wext_siwencodeext()
716 guard(wiphy)(wdev->wiphy); in cfg80211_wext_siwencodeext()
769 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_wext_siwfreq()
775 guard(wiphy)(&rdev->wiphy); in cfg80211_wext_siwfreq()
790 chandef.chan = ieee80211_get_channel(&rdev->wiphy, freq); in cfg80211_wext_siwfreq()
801 chandef.chan = ieee80211_get_channel(&rdev->wiphy, freq); in cfg80211_wext_siwfreq()
816 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_wext_giwfreq()
820 guard(wiphy)(&rdev->wiphy); in cfg80211_wext_giwfreq()
847 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_wext_siwtxpower()
861 rfkill_set_sw_state(rdev->wiphy.rfkill, false); in cfg80211_wext_siwtxpower()
886 if (rfkill_set_sw_state(rdev->wiphy.rfkill, true)) in cfg80211_wext_siwtxpower()
891 guard(wiphy)(&rdev->wiphy); in cfg80211_wext_siwtxpower()
901 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_wext_giwtxpower()
912 scoped_guard(wiphy, &rdev->wiphy) { in cfg80211_wext_giwtxpower()
920 data->txpower.disabled = rfkill_blocked(rdev->wiphy.rfkill); in cfg80211_wext_giwtxpower()
1125 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_wext_siwpower()
1156 guard(wiphy)(&rdev->wiphy); in cfg80211_wext_siwpower()
1187 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_wext_siwrate()
1210 sband = wdev->wiphy->bands[band]; in cfg80211_wext_siwrate()
1230 guard(wiphy)(&rdev->wiphy); in cfg80211_wext_siwrate()
1244 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_wext_giwrate()
1264 scoped_guard(wiphy, &rdev->wiphy) { in cfg80211_wext_giwrate()
1286 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_wireless_stats()
1300 wiphy_lock(&rdev->wiphy); in cfg80211_wireless_stats()
1302 wiphy_unlock(&rdev->wiphy); in cfg80211_wireless_stats()
1310 wiphy_unlock(&rdev->wiphy); in cfg80211_wireless_stats()
1317 switch (rdev->wiphy.signal_type) { in cfg80211_wireless_stats()
1364 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_wext_siwap()
1366 guard(wiphy)(&rdev->wiphy); in cfg80211_wext_siwap()
1384 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_wext_giwap()
1386 guard(wiphy)(&rdev->wiphy); in cfg80211_wext_giwap()
1404 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_wext_siwessid()
1406 guard(wiphy)(&rdev->wiphy); in cfg80211_wext_siwessid()
1424 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_wext_giwessid()
1429 guard(wiphy)(&rdev->wiphy); in cfg80211_wext_giwessid()
1446 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_wext_siwpmksa()
1458 guard(wiphy)(&rdev->wiphy); in cfg80211_wext_siwpmksa()