Lines Matching refs:wiphy
35 sband = wdev->wiphy->bands[IEEE80211_BAND_5GHZ]; in cfg80211_wext_giwname()
41 sband = wdev->wiphy->bands[IEEE80211_BAND_2GHZ]; in cfg80211_wext_giwname()
76 rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_wext_siwmode()
170 switch (wdev->wiphy->signal_type) { in cfg80211_wext_giwrange()
194 for (i = 0; i < wdev->wiphy->n_cipher_suites; i++) { in cfg80211_wext_giwrange()
195 switch (wdev->wiphy->cipher_suites[i]) { in cfg80211_wext_giwrange()
221 sband = wdev->wiphy->bands[band]; in cfg80211_wext_giwrange()
246 if (wdev->wiphy->max_scan_ssids > 0) in cfg80211_wext_giwrange()
289 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_wext_siwrts()
290 u32 orts = wdev->wiphy->rts_threshold; in cfg80211_wext_siwrts()
294 wdev->wiphy->rts_threshold = (u32) -1; in cfg80211_wext_siwrts()
298 wdev->wiphy->rts_threshold = rts->value; in cfg80211_wext_siwrts()
302 wdev->wiphy->rts_threshold = orts; in cfg80211_wext_siwrts()
314 rts->value = wdev->wiphy->rts_threshold; in cfg80211_wext_giwrts()
327 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_wext_siwfrag()
328 u32 ofrag = wdev->wiphy->frag_threshold; in cfg80211_wext_siwfrag()
332 wdev->wiphy->frag_threshold = (u32) -1; in cfg80211_wext_siwfrag()
337 wdev->wiphy->frag_threshold = frag->value & ~0x1; in cfg80211_wext_siwfrag()
342 wdev->wiphy->frag_threshold = ofrag; in cfg80211_wext_siwfrag()
354 frag->value = wdev->wiphy->frag_threshold; in cfg80211_wext_giwfrag()
367 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_wext_siwretry()
369 u8 olong = wdev->wiphy->retry_long; in cfg80211_wext_siwretry()
370 u8 oshort = wdev->wiphy->retry_short; in cfg80211_wext_siwretry()
378 wdev->wiphy->retry_long = retry->value; in cfg80211_wext_siwretry()
381 wdev->wiphy->retry_short = retry->value; in cfg80211_wext_siwretry()
384 wdev->wiphy->retry_short = retry->value; in cfg80211_wext_siwretry()
385 wdev->wiphy->retry_long = retry->value; in cfg80211_wext_siwretry()
395 wdev->wiphy->retry_short = oshort; in cfg80211_wext_siwretry()
396 wdev->wiphy->retry_long = olong; in cfg80211_wext_siwretry()
416 retry->value = wdev->wiphy->retry_short; in cfg80211_wext_giwretry()
417 if (wdev->wiphy->retry_long == wdev->wiphy->retry_short) in cfg80211_wext_giwretry()
425 retry->value = wdev->wiphy->retry_long; in cfg80211_wext_giwretry()
484 !(rdev->wiphy.flags & WIPHY_FLAG_IBSS_RSN)) in __cfg80211_set_encryption()
592 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_wext_siwencode()
652 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_wext_siwencodeext()
780 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_wext_siwfreq()
798 chandef.chan = ieee80211_get_channel(&rdev->wiphy, freq); in cfg80211_wext_siwfreq()
809 chandef.chan = ieee80211_get_channel(&rdev->wiphy, freq); in cfg80211_wext_siwfreq()
823 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_wext_giwfreq()
852 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_wext_siwtxpower()
904 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_wext_giwtxpower()
1124 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_wext_siwpower()
1182 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_wds_wext_siwap()
1226 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_wext_siwrate()
1249 sband = wdev->wiphy->bands[band]; in cfg80211_wext_siwrate()
1277 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_wext_giwrate()
1315 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_wireless_stats()
1343 switch (rdev->wiphy.signal_type) { in cfg80211_wireless_stats()
1456 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_wext_siwpmksa()