Lines Matching refs:wdev
138 struct wireless_dev *wdev; in wil_if_alloc() local
143 wdev = wil_cfg80211_init(dev); in wil_if_alloc()
144 if (IS_ERR(wdev)) { in wil_if_alloc()
146 return wdev; in wil_if_alloc()
149 wil = wdev_to_wil(wdev); in wil_if_alloc()
150 wil->wdev = wdev; in wil_if_alloc()
160 wdev->iftype = NL80211_IFTYPE_STATION; /* TODO */ in wil_if_alloc()
162 ch = wdev->wiphy->bands[IEEE80211_BAND_60GHZ]->channels; in wil_if_alloc()
163 cfg80211_chandef_create(&wdev->preset_chandef, ch, NL80211_CHAN_NO_HT); in wil_if_alloc()
174 ndev->ieee80211_ptr = wdev; in wil_if_alloc()
181 SET_NETDEV_DEV(ndev, wiphy_dev(wdev->wiphy)); in wil_if_alloc()
182 wdev->netdev = ndev; in wil_if_alloc()