Lines Matching refs:dev
1264 int err = rdev_sched_scan_stop(rdev, req->dev, req->reqid); in cfg80211_stop_sched_scan_req()
3160 struct net_device *dev; in cfg80211_get_dev_from_ifindex() local
3164 dev = dev_get_by_index(net, ifindex); in cfg80211_get_dev_from_ifindex()
3165 if (!dev) in cfg80211_get_dev_from_ifindex()
3167 if (dev->ieee80211_ptr) in cfg80211_get_dev_from_ifindex()
3168 rdev = wiphy_to_rdev(dev->ieee80211_ptr->wiphy); in cfg80211_get_dev_from_ifindex()
3171 dev_put(dev); in cfg80211_get_dev_from_ifindex()
3175 int cfg80211_wext_siwscan(struct net_device *dev, in cfg80211_wext_siwscan() argument
3186 if (!netif_running(dev)) in cfg80211_wext_siwscan()
3192 rdev = cfg80211_get_dev_from_ifindex(dev_net(dev), dev->ifindex); in cfg80211_wext_siwscan()
3219 creq->wdev = dev->ieee80211_ptr; in cfg80211_wext_siwscan()
3304 nl80211_send_scan_start(rdev, dev->ieee80211_ptr); in cfg80211_wext_siwscan()
3307 dev_hold(dev); in cfg80211_wext_siwscan()
3655 int cfg80211_wext_giwscan(struct net_device *dev, in cfg80211_wext_giwscan() argument
3663 if (!netif_running(dev)) in cfg80211_wext_giwscan()
3666 rdev = cfg80211_get_dev_from_ifindex(dev_net(dev), dev->ifindex); in cfg80211_wext_giwscan()