Lines Matching refs:wiphy
290 hw->wiphy->interface_modes = BIT(NL80211_IFTYPE_STATION) | in cw1200_init_common()
298 hw->wiphy->wowlan = &cw1200_wowlan_support; in cw1200_init_common()
301 hw->wiphy->flags |= WIPHY_FLAG_AP_UAPSD; in cw1200_init_common()
314 hw->wiphy->bands[IEEE80211_BAND_2GHZ] = &cw1200_band_2ghz; in cw1200_init_common()
316 hw->wiphy->bands[IEEE80211_BAND_5GHZ] = &cw1200_band_5ghz; in cw1200_init_common()
320 struct ieee80211_supported_band *sband = hw->wiphy->bands[band]; in cw1200_init_common()
330 hw->wiphy->max_scan_ssids = 2; in cw1200_init_common()
331 hw->wiphy->max_scan_ie_len = IEEE80211_MAX_DATA_LEN; in cw1200_init_common()
339 if (hw->wiphy->perm_addr[3] == 0 && in cw1200_init_common()
340 hw->wiphy->perm_addr[4] == 0 && in cw1200_init_common()
341 hw->wiphy->perm_addr[5] == 0) { in cw1200_init_common()
342 get_random_bytes(&hw->wiphy->perm_addr[3], 3); in cw1200_init_common()
437 pr_info("Registered as '%s'\n", wiphy_name(dev->wiphy)); in cw1200_register_common()