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()
515 int wil_cfg80211_mgmt_tx(struct wiphy *wiphy, struct wireless_dev *wdev, in wil_cfg80211_mgmt_tx() argument
548 cfg80211_mgmt_tx_status(wdev, cookie ? *cookie : 0, buf, len, in wil_cfg80211_mgmt_tx()
557 struct wireless_dev *wdev = wil->wdev; in wil_cfg80211_set_channel() local
559 wdev->preset_chandef = *chandef; in wil_cfg80211_set_channel()
604 struct wireless_dev *wdev, in wil_remain_on_channel() argument
625 struct wireless_dev *wdev, in wil_cancel_remain_on_channel() argument
723 struct wireless_dev *wdev = ndev->ieee80211_ptr; in wil_cfg80211_start_ap() local
727 u8 wmi_nettype = wil_iftype_nl2wmi(wdev->iftype); in wil_cfg80211_start_ap()
1003 struct wireless_dev *wdev; in wil_cfg80211_init() local
1007 wdev = kzalloc(sizeof(*wdev), GFP_KERNEL); in wil_cfg80211_init()
1008 if (!wdev) in wil_cfg80211_init()
1011 wdev->wiphy = wiphy_new(&wil_cfg80211_ops, in wil_cfg80211_init()
1013 if (!wdev->wiphy) { in wil_cfg80211_init()
1018 set_wiphy_dev(wdev->wiphy, dev); in wil_cfg80211_init()
1019 wil_wiphy_init(wdev->wiphy); in wil_cfg80211_init()
1021 rc = wiphy_register(wdev->wiphy); in wil_cfg80211_init()
1025 return wdev; in wil_cfg80211_init()
1028 wiphy_free(wdev->wiphy); in wil_cfg80211_init()
1030 kfree(wdev); in wil_cfg80211_init()
1037 struct wireless_dev *wdev = wil_to_wdev(wil); in wil_wdev_free() local
1041 if (!wdev) in wil_wdev_free()
1044 wiphy_unregister(wdev->wiphy); in wil_wdev_free()
1045 wiphy_free(wdev->wiphy); in wil_wdev_free()
1046 kfree(wdev); in wil_wdev_free()