Lines Matching refs:wdev
235 struct wireless_dev *wdev = wil->wdev; in wil_cfg80211_change_iface() local
254 wdev->iftype = type; in wil_cfg80211_change_iface()
263 struct wireless_dev *wdev = wil->wdev; in wil_cfg80211_scan() local
277 switch (wdev->iftype) { in wil_cfg80211_scan()
543 int wil_cfg80211_mgmt_tx(struct wiphy *wiphy, struct wireless_dev *wdev, in wil_cfg80211_mgmt_tx() argument
576 cfg80211_mgmt_tx_status(wdev, cookie ? *cookie : 0, buf, len, in wil_cfg80211_mgmt_tx()
585 struct wireless_dev *wdev = wil->wdev; in wil_cfg80211_set_channel() local
587 wdev->preset_chandef = *chandef; in wil_cfg80211_set_channel()
595 struct wireless_dev *wdev = wil->wdev; in wil_detect_key_usage() local
606 switch (wdev->iftype) { in wil_detect_key_usage()
665 struct wireless_dev *wdev, in wil_remain_on_channel() argument
686 struct wireless_dev *wdev, in wil_cancel_remain_on_channel() argument
770 struct wireless_dev *wdev = ndev->ieee80211_ptr; in _wil_cfg80211_start_ap() local
771 u8 wmi_nettype = wil_iftype_nl2wmi(wdev->iftype); in _wil_cfg80211_start_ap()
838 struct wireless_dev *wdev = ndev->ieee80211_ptr; in wil_cfg80211_change_beacon() local
843 rc = _wil_cfg80211_start_ap(wiphy, ndev, wdev->ssid, in wil_cfg80211_change_beacon()
844 wdev->ssid_len, privacy, in wil_cfg80211_change_beacon()
845 wdev->beacon_interval, in wil_cfg80211_change_beacon()
1115 struct wireless_dev *wdev; in wil_cfg80211_init() local
1119 wdev = kzalloc(sizeof(*wdev), GFP_KERNEL); in wil_cfg80211_init()
1120 if (!wdev) in wil_cfg80211_init()
1123 wdev->wiphy = wiphy_new(&wil_cfg80211_ops, in wil_cfg80211_init()
1125 if (!wdev->wiphy) { in wil_cfg80211_init()
1130 set_wiphy_dev(wdev->wiphy, dev); in wil_cfg80211_init()
1131 wil_wiphy_init(wdev->wiphy); in wil_cfg80211_init()
1133 rc = wiphy_register(wdev->wiphy); in wil_cfg80211_init()
1137 return wdev; in wil_cfg80211_init()
1140 wiphy_free(wdev->wiphy); in wil_cfg80211_init()
1142 kfree(wdev); in wil_cfg80211_init()
1149 struct wireless_dev *wdev = wil_to_wdev(wil); in wil_wdev_free() local
1153 if (!wdev) in wil_wdev_free()
1156 wiphy_unregister(wdev->wiphy); in wil_wdev_free()
1157 wiphy_free(wdev->wiphy); in wil_wdev_free()
1158 kfree(wdev); in wil_wdev_free()