wdev 606 drivers/net/wireless/ath/ath6kl/cfg80211.c if (vif->wdev.iftype == NL80211_IFTYPE_P2P_CLIENT) wdev 767 drivers/net/wireless/ath/ath6kl/cfg80211.c if (vif->wdev.iftype != NL80211_IFTYPE_ADHOC) { wdev 775 drivers/net/wireless/ath/ath6kl/cfg80211.c if (vif->wdev.iftype != NL80211_IFTYPE_STATION && wdev 776 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->wdev.iftype != NL80211_IFTYPE_P2P_CLIENT) { wdev 874 drivers/net/wireless/ath/ath6kl/cfg80211.c if (vif->wdev.iftype != NL80211_IFTYPE_ADHOC) wdev 881 drivers/net/wireless/ath/ath6kl/cfg80211.c if (vif->wdev.iftype != NL80211_IFTYPE_STATION && wdev 882 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->wdev.iftype != NL80211_IFTYPE_P2P_CLIENT) { wdev 997 drivers/net/wireless/ath/ath6kl/cfg80211.c struct ath6kl_vif *vif = ath6kl_vif_from_wdev(request->wdev); wdev 1121 drivers/net/wireless/ath/ath6kl/cfg80211.c mutex_lock(&vif->wdev.mtx); wdev 1123 drivers/net/wireless/ath/ath6kl/cfg80211.c mutex_unlock(&vif->wdev.mtx); wdev 1407 drivers/net/wireless/ath/ath6kl/cfg80211.c struct wireless_dev *wdev, wdev 1443 drivers/net/wireless/ath/ath6kl/cfg80211.c struct wireless_dev *wdev, wdev 1515 drivers/net/wireless/ath/ath6kl/cfg80211.c struct wireless_dev *wdev; wdev 1528 drivers/net/wireless/ath/ath6kl/cfg80211.c wdev = ath6kl_interface_add(ar, name, name_assign_type, type, if_idx, nw_type); wdev 1529 drivers/net/wireless/ath/ath6kl/cfg80211.c if (!wdev) wdev 1534 drivers/net/wireless/ath/ath6kl/cfg80211.c return wdev; wdev 1538 drivers/net/wireless/ath/ath6kl/cfg80211.c struct wireless_dev *wdev) wdev 1541 drivers/net/wireless/ath/ath6kl/cfg80211.c struct ath6kl_vif *vif = netdev_priv(wdev->netdev); wdev 1614 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->wdev.iftype = type; wdev 2901 drivers/net/wireless/ath/ath6kl/cfg80211.c if (vif->wdev.iftype == NL80211_IFTYPE_P2P_GO) { wdev 3025 drivers/net/wireless/ath/ath6kl/cfg80211.c struct wireless_dev *wdev, wdev 3030 drivers/net/wireless/ath/ath6kl/cfg80211.c struct ath6kl_vif *vif = ath6kl_vif_from_wdev(wdev); wdev 3048 drivers/net/wireless/ath/ath6kl/cfg80211.c struct wireless_dev *wdev, wdev 3051 drivers/net/wireless/ath/ath6kl/cfg80211.c struct ath6kl_vif *vif = ath6kl_vif_from_wdev(wdev); wdev 3183 drivers/net/wireless/ath/ath6kl/cfg80211.c static int ath6kl_mgmt_tx(struct wiphy *wiphy, struct wireless_dev *wdev, wdev 3186 drivers/net/wireless/ath/ath6kl/cfg80211.c struct ath6kl_vif *vif = ath6kl_vif_from_wdev(wdev); wdev 3253 drivers/net/wireless/ath/ath6kl/cfg80211.c struct wireless_dev *wdev, wdev 3256 drivers/net/wireless/ath/ath6kl/cfg80211.c struct ath6kl_vif *vif = ath6kl_vif_from_wdev(wdev); wdev 3792 drivers/net/wireless/ath/ath6kl/cfg80211.c ndev->ieee80211_ptr = &vif->wdev; wdev 3793 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->wdev.wiphy = ar->wiphy; wdev 3796 drivers/net/wireless/ath/ath6kl/cfg80211.c SET_NETDEV_DEV(ndev, wiphy_dev(vif->wdev.wiphy)); wdev 3797 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->wdev.netdev = ndev; wdev 3798 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->wdev.iftype = type; wdev 3841 drivers/net/wireless/ath/ath6kl/cfg80211.c return &vif->wdev; wdev 69 drivers/net/wireless/ath/ath6kl/core.c struct wireless_dev *wdev; wdev 217 drivers/net/wireless/ath/ath6kl/core.c wdev = ath6kl_interface_add(ar, "wlan%d", NET_NAME_ENUM, wdev 222 drivers/net/wireless/ath/ath6kl/core.c if (!wdev) { wdev 230 drivers/net/wireless/ath/ath6kl/core.c __func__, wdev->netdev->name, wdev->netdev, ar); wdev 601 drivers/net/wireless/ath/ath6kl/core.h struct wireless_dev wdev; wdev 651 drivers/net/wireless/ath/ath6kl/core.h static inline struct ath6kl_vif *ath6kl_vif_from_wdev(struct wireless_dev *wdev) wdev 653 drivers/net/wireless/ath/ath6kl/core.h return container_of(wdev, struct ath6kl_vif, wdev); wdev 69 drivers/net/wireless/ath/ath6kl/testmode.c int ath6kl_tm_cmd(struct wiphy *wiphy, struct wireless_dev *wdev, wdev 23 drivers/net/wireless/ath/ath6kl/testmode.h int ath6kl_tm_cmd(struct wiphy *wiphy, struct wireless_dev *wdev, wdev 34 drivers/net/wireless/ath/ath6kl/testmode.h struct wireless_dev *wdev, wdev 529 drivers/net/wireless/ath/ath6kl/wmi.c cfg80211_ready_on_channel(&vif->wdev, id, chan, wdev 568 drivers/net/wireless/ath/ath6kl/wmi.c cfg80211_remain_on_channel_expired(&vif->wdev, id, chan, GFP_ATOMIC); wdev 587 drivers/net/wireless/ath/ath6kl/wmi.c cfg80211_mgmt_tx_status(&vif->wdev, id, wdev 622 drivers/net/wireless/ath/ath6kl/wmi.c cfg80211_rx_mgmt(&vif->wdev, freq, 0, ev->data, dlen, 0); wdev 661 drivers/net/wireless/ath/ath6kl/wmi.c cfg80211_rx_mgmt(&vif->wdev, freq, 0, ev->data, dlen, 0); wdev 217 drivers/net/wireless/ath/wil6210/cfg80211.c struct wireless_dev *wdev, wdev 220 drivers/net/wireless/ath/wil6210/cfg80211.c struct wireless_dev *wdev, wdev 223 drivers/net/wireless/ath/wil6210/cfg80211.c struct wireless_dev *wdev, wdev 226 drivers/net/wireless/ath/wil6210/cfg80211.c struct wireless_dev *wdev, wdev 586 drivers/net/wireless/ath/wil6210/cfg80211.c struct wireless_dev *wdev) wdev 596 drivers/net/wireless/ath/wil6210/cfg80211.c struct wireless_dev *wdev) wdev 616 drivers/net/wireless/ath/wil6210/cfg80211.c struct wireless_dev *wdev; wdev 623 drivers/net/wireless/ath/wil6210/cfg80211.c wdev = vif_to_wdev(wil->vifs[i]); wdev 624 drivers/net/wireless/ath/wil6210/cfg80211.c params.iftype_num[wdev->iftype]++; wdev 636 drivers/net/wireless/ath/wil6210/cfg80211.c struct wireless_dev *wdev; wdev 646 drivers/net/wireless/ath/wil6210/cfg80211.c wdev = vif_to_wdev(vif_pos); wdev 647 drivers/net/wireless/ath/wil6210/cfg80211.c params.iftype_num[wdev->iftype]++; wdev 668 drivers/net/wireless/ath/wil6210/cfg80211.c struct wireless_dev *p2p_wdev, *wdev; wdev 721 drivers/net/wireless/ath/wil6210/cfg80211.c wdev = vif_to_wdev(vif); wdev 722 drivers/net/wireless/ath/wil6210/cfg80211.c ether_addr_copy(wdev->address, ndev->dev_addr); wdev 729 drivers/net/wireless/ath/wil6210/cfg80211.c vif->mid, type, wdev->address); wdev 730 drivers/net/wireless/ath/wil6210/cfg80211.c return wdev; wdev 739 drivers/net/wireless/ath/wil6210/cfg80211.c struct wireless_dev *wdev = vif_to_wdev(vif); wdev 743 drivers/net/wireless/ath/wil6210/cfg80211.c if (wdev->iftype != NL80211_IFTYPE_AP) wdev 762 drivers/net/wireless/ath/wil6210/cfg80211.c struct wireless_dev *wdev) wdev 765 drivers/net/wireless/ath/wil6210/cfg80211.c struct wil6210_vif *vif = wdev_to_vif(wil, wdev); wdev 770 drivers/net/wireless/ath/wil6210/cfg80211.c if (wdev->iftype == NL80211_IFTYPE_P2P_DEVICE) { wdev 771 drivers/net/wireless/ath/wil6210/cfg80211.c if (wdev != wil->p2p_wdev) { wdev 773 drivers/net/wireless/ath/wil6210/cfg80211.c wdev); wdev 777 drivers/net/wireless/ath/wil6210/cfg80211.c wil_cfg80211_stop_p2p_device(wiphy, wdev); wdev 792 drivers/net/wireless/ath/wil6210/cfg80211.c vif->mid, wdev->iftype, wdev->address); wdev 816 drivers/net/wireless/ath/wil6210/cfg80211.c struct wireless_dev *wdev = vif_to_wdev(vif); wdev 835 drivers/net/wireless/ath/wil6210/cfg80211.c !wil_is_safe_switch(wdev->iftype, type)) { wdev 872 drivers/net/wireless/ath/wil6210/cfg80211.c wdev->iftype = type; wdev 880 drivers/net/wireless/ath/wil6210/cfg80211.c struct wireless_dev *wdev = request->wdev; wdev 881 drivers/net/wireless/ath/wil6210/cfg80211.c struct wil6210_vif *vif = wdev_to_vif(wil, wdev); wdev 889 drivers/net/wireless/ath/wil6210/cfg80211.c wil_dbg_misc(wil, "scan: wdev=0x%p iftype=%d\n", wdev, wdev->iftype); wdev 892 drivers/net/wireless/ath/wil6210/cfg80211.c switch (wdev->iftype) { wdev 919 drivers/net/wireless/ath/wil6210/cfg80211.c if (wdev->iftype == NL80211_IFTYPE_P2P_DEVICE) { wdev 929 drivers/net/wireless/ath/wil6210/cfg80211.c wil->radio_wdev = wdev; wdev 1003 drivers/net/wireless/ath/wil6210/cfg80211.c wil->radio_wdev = wdev; wdev 1021 drivers/net/wireless/ath/wil6210/cfg80211.c struct wireless_dev *wdev) wdev 1024 drivers/net/wireless/ath/wil6210/cfg80211.c struct wil6210_vif *vif = wdev_to_vif(wil, wdev); wdev 1026 drivers/net/wireless/ath/wil6210/cfg80211.c wil_dbg_misc(wil, "wdev=0x%p iftype=%d\n", wdev, wdev->iftype); wdev 1034 drivers/net/wireless/ath/wil6210/cfg80211.c if (wdev != vif->scan_request->wdev) { wdev 1039 drivers/net/wireless/ath/wil6210/cfg80211.c if (wdev == wil->p2p_wdev && wil->radio_wdev == wil->p2p_wdev) wdev 1421 drivers/net/wireless/ath/wil6210/cfg80211.c int wil_cfg80211_mgmt_tx(struct wiphy *wiphy, struct wireless_dev *wdev, wdev 1428 drivers/net/wireless/ath/wil6210/cfg80211.c struct wil6210_vif *vif = wdev_to_vif(wil, wdev); wdev 1447 drivers/net/wireless/ath/wil6210/cfg80211.c if (wdev->iftype != NL80211_IFTYPE_AP) { wdev 1479 drivers/net/wireless/ath/wil6210/cfg80211.c cfg80211_mgmt_tx_status(wdev, cookie ? *cookie : 0, buf, len, wdev 1495 drivers/net/wireless/ath/wil6210/cfg80211.c static enum wmi_key_usage wil_detect_key_usage(struct wireless_dev *wdev, wdev 1498 drivers/net/wireless/ath/wil6210/cfg80211.c struct wil6210_priv *wil = wdev_to_wil(wdev); wdev 1504 drivers/net/wireless/ath/wil6210/cfg80211.c switch (wdev->iftype) { wdev 1618 drivers/net/wireless/ath/wil6210/cfg80211.c struct wireless_dev *wdev = vif_to_wdev(vif); wdev 1619 drivers/net/wireless/ath/wil6210/cfg80211.c enum wmi_key_usage key_usage = wil_detect_key_usage(wdev, pairwise); wdev 1658 drivers/net/wireless/ath/wil6210/cfg80211.c if (pairwise && wdev->iftype == NL80211_IFTYPE_STATION && wdev 1693 drivers/net/wireless/ath/wil6210/cfg80211.c struct wireless_dev *wdev = vif_to_wdev(vif); wdev 1694 drivers/net/wireless/ath/wil6210/cfg80211.c enum wmi_key_usage key_usage = wil_detect_key_usage(wdev, pairwise); wdev 1725 drivers/net/wireless/ath/wil6210/cfg80211.c struct wireless_dev *wdev, wdev 1735 drivers/net/wireless/ath/wil6210/cfg80211.c chan->center_freq, duration, wdev->iftype); wdev 1737 drivers/net/wireless/ath/wil6210/cfg80211.c rc = wil_p2p_listen(wil, wdev, duration, chan, cookie); wdev 1742 drivers/net/wireless/ath/wil6210/cfg80211.c struct wireless_dev *wdev, wdev 1746 drivers/net/wireless/ath/wil6210/cfg80211.c struct wil6210_vif *vif = wdev_to_vif(wil, wdev); wdev 1929 drivers/net/wireless/ath/wil6210/cfg80211.c struct wireless_dev *wdev = ndev->ieee80211_ptr; wdev 1930 drivers/net/wireless/ath/wil6210/cfg80211.c u8 wmi_nettype = wil_iftype_nl2wmi(wdev->iftype); wdev 1931 drivers/net/wireless/ath/wil6210/cfg80211.c u8 is_go = (wdev->iftype == NL80211_IFTYPE_P2P_GO); wdev 2076 drivers/net/wireless/ath/wil6210/cfg80211.c struct wireless_dev *wdev = ndev->ieee80211_ptr; wdev 2089 drivers/net/wireless/ath/wil6210/cfg80211.c memcpy(vif->ssid, wdev->ssid, wdev->ssid_len); wdev 2090 drivers/net/wireless/ath/wil6210/cfg80211.c vif->ssid_len = wdev->ssid_len; wdev 2099 drivers/net/wireless/ath/wil6210/cfg80211.c wdev->beacon_interval, wdev 2822 drivers/net/wireless/ath/wil6210/cfg80211.c struct wireless_dev *wdev, wdev 2825 drivers/net/wireless/ath/wil6210/cfg80211.c struct wil6210_priv *wil = wdev_to_wil(wdev); wdev 2826 drivers/net/wireless/ath/wil6210/cfg80211.c struct wil6210_vif *vif = wdev_to_vif(wil, wdev); wdev 2943 drivers/net/wireless/ath/wil6210/cfg80211.c struct wireless_dev *wdev, wdev 2946 drivers/net/wireless/ath/wil6210/cfg80211.c struct wil6210_priv *wil = wdev_to_wil(wdev); wdev 2947 drivers/net/wireless/ath/wil6210/cfg80211.c struct wil6210_vif *vif = wdev_to_vif(wil, wdev); wdev 3055 drivers/net/wireless/ath/wil6210/cfg80211.c struct wireless_dev *wdev, wdev 3058 drivers/net/wireless/ath/wil6210/cfg80211.c struct wil6210_priv *wil = wdev_to_wil(wdev); wdev 3059 drivers/net/wireless/ath/wil6210/cfg80211.c struct wil6210_vif *vif = wdev_to_vif(wil, wdev); wdev 3170 drivers/net/wireless/ath/wil6210/cfg80211.c struct wireless_dev *wdev, wdev 3173 drivers/net/wireless/ath/wil6210/cfg80211.c struct wil6210_priv *wil = wdev_to_wil(wdev); wdev 3174 drivers/net/wireless/ath/wil6210/cfg80211.c struct wil6210_vif *vif = wdev_to_vif(wil, wdev); wdev 982 drivers/net/wireless/ath/wil6210/debugfs.c struct wireless_dev *wdev = wil->main_ndev->ieee80211_ptr; wdev 999 drivers/net/wireless/ath/wil6210/debugfs.c rc = wil_cfg80211_mgmt_tx(wiphy, wdev, ¶ms, NULL); wdev 1407 drivers/net/wireless/ath/wil6210/debugfs.c struct wireless_dev *wdev = wil->main_ndev->ieee80211_ptr; wdev 1408 drivers/net/wireless/ath/wil6210/debugfs.c u32 freq = wdev->chandef.chan ? wdev->chandef.chan->center_freq : 0; wdev 1652 drivers/net/wireless/ath/wil6210/debugfs.c if (vif->wdev.iftype == NL80211_IFTYPE_STATION && wdev 78 drivers/net/wireless/ath/wil6210/ethtool.c struct wireless_dev *wdev = ndev->ieee80211_ptr; wdev 84 drivers/net/wireless/ath/wil6210/ethtool.c if (wdev->iftype == NL80211_IFTYPE_MONITOR) { wdev 249 drivers/net/wireless/ath/wil6210/interrupt.c struct wireless_dev *wdev = wil->main_ndev->ieee80211_ptr; wdev 256 drivers/net/wireless/ath/wil6210/interrupt.c if (wdev->iftype == NL80211_IFTYPE_MONITOR) wdev 260 drivers/net/wireless/ath/wil6210/main.c struct wireless_dev *wdev = vif_to_wdev(vif); wdev 275 drivers/net/wireless/ath/wil6210/main.c switch (wdev->iftype) { wdev 318 drivers/net/wireless/ath/wil6210/main.c struct wireless_dev *wdev; wdev 321 drivers/net/wireless/ath/wil6210/main.c wdev = vif_to_wdev(vif); wdev 352 drivers/net/wireless/ath/wil6210/main.c switch (wdev->iftype) { wdev 399 drivers/net/wireless/ath/wil6210/main.c struct wireless_dev *wdev = vif_to_wdev(vif); wdev 416 drivers/net/wireless/ath/wil6210/main.c if (wdev->iftype == NL80211_IFTYPE_AP && disable_ap_sme) wdev 542 drivers/net/wireless/ath/wil6210/main.c struct wireless_dev *wdev; wdev 550 drivers/net/wireless/ath/wil6210/main.c wdev = ndev->ieee80211_ptr; wdev 582 drivers/net/wireless/ath/wil6210/main.c switch (wdev->iftype) { wdev 604 drivers/net/wireless/ath/wil6210/main.c wdev->iftype); wdev 1561 drivers/net/wireless/ath/wil6210/main.c struct wireless_dev *wdev; wdev 1571 drivers/net/wireless/ath/wil6210/main.c wdev = vif_to_wdev(vif); wdev 1573 drivers/net/wireless/ath/wil6210/main.c wdev->iftype); wdev 1576 drivers/net/wireless/ath/wil6210/main.c i, wdev->iftype, rc); wdev 1820 drivers/net/wireless/ath/wil6210/main.c struct wireless_dev *wdev = ndev->ieee80211_ptr; wdev 1845 drivers/net/wireless/ath/wil6210/main.c switch (wdev->iftype) { wdev 313 drivers/net/wireless/ath/wil6210/netdev.c struct wireless_dev *wdev; wdev 342 drivers/net/wireless/ath/wil6210/netdev.c wdev = &vif->wdev; wdev 343 drivers/net/wireless/ath/wil6210/netdev.c wdev->wiphy = wil->wiphy; wdev 344 drivers/net/wireless/ath/wil6210/netdev.c wdev->iftype = iftype; wdev 348 drivers/net/wireless/ath/wil6210/netdev.c ndev->ieee80211_ptr = wdev; wdev 354 drivers/net/wireless/ath/wil6210/netdev.c SET_NETDEV_DEV(ndev, wiphy_dev(wdev->wiphy)); wdev 355 drivers/net/wireless/ath/wil6210/netdev.c wdev->netdev = ndev; wdev 421 drivers/net/wireless/ath/wil6210/netdev.c struct wireless_dev *wdev = vif_to_wdev(vif); wdev 434 drivers/net/wireless/ath/wil6210/netdev.c wdev->iftype); wdev 556 drivers/net/wireless/ath/wil6210/netdev.c struct wireless_dev *wdev = ndev->ieee80211_ptr; wdev 567 drivers/net/wireless/ath/wil6210/netdev.c wiphy_unregister(wdev->wiphy); wdev 136 drivers/net/wireless/ath/wil6210/p2p.c int wil_p2p_listen(struct wil6210_priv *wil, struct wireless_dev *wdev, wdev 140 drivers/net/wireless/ath/wil6210/p2p.c struct wil6210_vif *vif = wdev_to_vif(wil, wdev); wdev 164 drivers/net/wireless/ath/wil6210/p2p.c p2p->pending_listen_wdev = wdev; wdev 178 drivers/net/wireless/ath/wil6210/p2p.c wil->radio_wdev = wdev; wdev 180 drivers/net/wireless/ath/wil6210/p2p.c cfg80211_ready_on_channel(wdev, *cookie, chan, duration, wdev 366 drivers/net/wireless/ath/wil6210/p2p.c vif->scan_request->wdev == wil->p2p_wdev) wdev 56 drivers/net/wireless/ath/wil6210/pm.c struct wireless_dev *wdev = vif_to_wdev(vif); wdev 58 drivers/net/wireless/ath/wil6210/pm.c switch (wdev->iftype) { wdev 392 drivers/net/wireless/ath/wil6210/txrx.c if (vif->wdev.iftype == NL80211_IFTYPE_MONITOR) wdev 421 drivers/net/wireless/ath/wil6210/txrx.c if (vif->wdev.iftype != NL80211_IFTYPE_P2P_GO && wdev 422 drivers/net/wireless/ath/wil6210/txrx.c vif->wdev.iftype != NL80211_IFTYPE_AP) wdev 438 drivers/net/wireless/ath/wil6210/txrx.c ta, vif->wdev.iftype, ftype, skb->len); wdev 851 drivers/net/wireless/ath/wil6210/txrx.c struct wireless_dev *wdev = vif_to_wdev(vif); wdev 854 drivers/net/wireless/ath/wil6210/txrx.c if (wdev->iftype != NL80211_IFTYPE_STATION || wdev 889 drivers/net/wireless/ath/wil6210/txrx.c struct wireless_dev *wdev = vif_to_wdev(vif); wdev 891 drivers/net/wireless/ath/wil6210/txrx.c if (wdev->iftype != NL80211_IFTYPE_STATION || wdev 913 drivers/net/wireless/ath/wil6210/txrx.c struct wireless_dev *wdev = vif_to_wdev(vif); wdev 930 drivers/net/wireless/ath/wil6210/txrx.c if (wdev->iftype == NL80211_IFTYPE_STATION) { wdev 938 drivers/net/wireless/ath/wil6210/txrx.c } else if (wdev->iftype == NL80211_IFTYPE_AP && !vif->ap_isolate) { wdev 1040 drivers/net/wireless/ath/wil6210/txrx.c struct wireless_dev *wdev = ndev->ieee80211_ptr; wdev 1053 drivers/net/wireless/ath/wil6210/txrx.c if (wdev->iftype == NL80211_IFTYPE_MONITOR) { wdev 2339 drivers/net/wireless/ath/wil6210/txrx.c if (unlikely(vif->wdev.iftype == NL80211_IFTYPE_MONITOR)) { wdev 2346 drivers/net/wireless/ath/wil6210/txrx.c if (vif->wdev.iftype == NL80211_IFTYPE_STATION && !vif->pbss) { wdev 2355 drivers/net/wireless/ath/wil6210/txrx.c else if (vif->wdev.iftype == NL80211_IFTYPE_AP) wdev 853 drivers/net/wireless/ath/wil6210/wil6210.h struct wireless_dev wdev; wdev 1083 drivers/net/wireless/ath/wil6210/wil6210.h #define vif_to_wdev(v) (&v->wdev) wdev 1087 drivers/net/wireless/ath/wil6210/wil6210.h struct wireless_dev *wdev) wdev 1090 drivers/net/wireless/ath/wil6210/wil6210.h if (wdev == wil->p2p_wdev) wdev 1093 drivers/net/wireless/ath/wil6210/wil6210.h return container_of(wdev, struct wil6210_vif, wdev); wdev 1310 drivers/net/wireless/ath/wil6210/wil6210.h int wil_p2p_listen(struct wil6210_priv *wil, struct wireless_dev *wdev, wdev 1326 drivers/net/wireless/ath/wil6210/wil6210.h int wil_cfg80211_mgmt_tx(struct wiphy *wiphy, struct wireless_dev *wdev, wdev 967 drivers/net/wireless/ath/wil6210/wmi.c struct wireless_dev *wdev = vif_to_wdev(vif); wdev 1030 drivers/net/wireless/ath/wil6210/wmi.c if ((wdev->iftype == NL80211_IFTYPE_STATION) || wdev 1031 drivers/net/wireless/ath/wil6210/wmi.c (wdev->iftype == NL80211_IFTYPE_P2P_CLIENT)) { wdev 1038 drivers/net/wireless/ath/wil6210/wmi.c } else if ((wdev->iftype == NL80211_IFTYPE_AP) || wdev 1039 drivers/net/wireless/ath/wil6210/wmi.c (wdev->iftype == NL80211_IFTYPE_P2P_GO)) { wdev 1062 drivers/net/wireless/ath/wil6210/wmi.c if ((wdev->iftype == NL80211_IFTYPE_STATION) || wdev 1063 drivers/net/wireless/ath/wil6210/wmi.c (wdev->iftype == NL80211_IFTYPE_P2P_CLIENT)) { wdev 1084 drivers/net/wireless/ath/wil6210/wmi.c } else if ((wdev->iftype == NL80211_IFTYPE_AP) || wdev 1085 drivers/net/wireless/ath/wil6210/wmi.c (wdev->iftype == NL80211_IFTYPE_P2P_GO)) { wdev 1111 drivers/net/wireless/ath/wil6210/wmi.c wil_err(wil, "unhandled iftype %d for CID %d\n", wdev->iftype, wdev 1153 drivers/net/wireless/ath/wil6210/wmi.c struct wireless_dev *wdev = vif_to_wdev(vif); wdev 1157 drivers/net/wireless/ath/wil6210/wmi.c switch (wdev->iftype) { wdev 1231 drivers/net/wireless/ath/wil6210/wmi.c struct wireless_dev *wdev = vif_to_wdev(vif); wdev 1243 drivers/net/wireless/ath/wil6210/wmi.c if (wdev->iftype != NL80211_IFTYPE_AP || !disable_ap_sme || wdev 1266 drivers/net/wireless/ath/wil6210/wmi.c if (wdev->iftype != NL80211_IFTYPE_AP) wdev 1601 drivers/net/wireless/ath/wil6210/wmi.c if (!(vif->wdev.iftype == NL80211_IFTYPE_STATION || wdev 1602 drivers/net/wireless/ath/wil6210/wmi.c vif->wdev.iftype == NL80211_IFTYPE_P2P_CLIENT)) { wdev 1603 drivers/net/wireless/ath/wil6210/wmi.c wil_err(wil, "invalid interface type %d\n", vif->wdev.iftype); wdev 2597 drivers/net/wireless/ath/wil6210/wmi.c struct wireless_dev *wdev = ndev->ieee80211_ptr; wdev 2620 drivers/net/wireless/ath/wil6210/wmi.c if (wdev->iftype == NL80211_IFTYPE_MONITOR) { wdev 347 drivers/net/wireless/broadcom/brcm80211/brcmfmac/btcoex.c cfg80211_crit_proto_stopped(&btci->vif->wdev, GFP_KERNEL); wdev 454 drivers/net/wireless/broadcom/brcm80211/brcmfmac/btcoex.c struct brcmf_cfg80211_info *cfg = wiphy_to_cfg(vif->wdev.wiphy); wdev 427 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c params.iftype_num[pos->wdev.iftype]++; wdev 445 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c params.iftype_num[pos->wdev.iftype]++; wdev 485 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c brcmf_cfg80211_update_proto_addr_mode(struct wireless_dev *wdev) wdev 490 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c vif = container_of(wdev, struct brcmf_cfg80211_vif, wdev); wdev 493 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if ((wdev->iftype == NL80211_IFTYPE_ADHOC) || wdev 494 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c (wdev->iftype == NL80211_IFTYPE_AP) || wdev 495 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c (wdev->iftype == NL80211_IFTYPE_P2P_GO)) wdev 602 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c return &ifp->vif->wdev; wdev 613 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c iftype = vif->wdev.iftype; wdev 619 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c return vif->wdev.iftype == NL80211_IFTYPE_ADHOC; wdev 630 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c struct wireless_dev *wdev; wdev 648 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c wdev = brcmf_ap_add_vif(wiphy, name, params); wdev 653 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c wdev = brcmf_p2p_add_vif(wiphy, name, name_assign_type, type, params); wdev 660 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (IS_ERR(wdev)) wdev 662 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c type, (int)PTR_ERR(wdev)); wdev 664 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c brcmf_cfg80211_update_proto_addr_mode(wdev); wdev 666 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c return wdev; wdev 769 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c struct wireless_dev *wdev) wdev 772 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c struct net_device *ndev = wdev->netdev; wdev 803 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c int brcmf_cfg80211_del_iface(struct wiphy *wiphy, struct wireless_dev *wdev) wdev 806 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c struct net_device *ndev = wdev->netdev; wdev 824 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c switch (wdev->iftype) { wdev 833 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c return brcmf_cfg80211_del_ap_iface(wiphy, wdev); wdev 837 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c return brcmf_p2p_del_vif(wiphy, wdev); wdev 870 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c ((vif->wdev.iftype == NL80211_IFTYPE_P2P_CLIENT) || wdev 871 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c (vif->wdev.iftype == NL80211_IFTYPE_P2P_GO) || wdev 872 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c (vif->wdev.iftype == NL80211_IFTYPE_P2P_DEVICE))) { wdev 937 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c brcmf_cfg80211_update_proto_addr_mode(&vif->wdev); wdev 1093 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c vif = container_of(request->wdev, struct brcmf_cfg80211_vif, wdev); wdev 1287 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c struct brcmf_cfg80211_info *cfg = wiphy_to_cfg(vif->wdev.wiphy); wdev 1304 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if ((vif->wdev.iftype == NL80211_IFTYPE_STATION) || wdev 1305 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c (vif->wdev.iftype == NL80211_IFTYPE_P2P_CLIENT)) wdev 1306 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c cfg80211_disconnected(vif->wdev.netdev, reason, NULL, 0, wdev 2131 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c brcmf_cfg80211_set_tx_power(struct wiphy *wiphy, struct wireless_dev *wdev, wdev 2182 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c brcmf_cfg80211_get_tx_power(struct wiphy *wiphy, struct wireless_dev *wdev, wdev 2186 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c struct brcmf_cfg80211_vif *vif = wdev_to_vif(wdev); wdev 2779 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (ifp->vif->wdev.iftype == NL80211_IFTYPE_P2P_CLIENT) { wdev 3630 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c cfg80211_report_wowlan_wakeup(&ifp->vif->wdev, wakeup, GFP_KERNEL); wdev 4489 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c dev_role = ifp->vif->wdev.iftype; wdev 4712 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (ifp->vif->wdev.iftype == NL80211_IFTYPE_AP) { wdev 4842 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c struct wireless_dev *wdev, wdev 4851 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c vif = container_of(wdev, struct brcmf_cfg80211_vif, wdev); wdev 4860 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c brcmf_cfg80211_mgmt_tx(struct wiphy *wiphy, struct wireless_dev *wdev, wdev 4890 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c vif = container_of(wdev, struct brcmf_cfg80211_vif, wdev); wdev 4913 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c cfg80211_mgmt_tx_status(wdev, *cookie, buf, len, true, wdev 4955 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c cfg80211_mgmt_tx_status(wdev, *cookie, buf, len, ack, wdev 4970 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c struct wireless_dev *wdev, wdev 4992 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c struct wireless_dev *wdev, wdev 4996 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c struct net_device *ndev = wdev->netdev; wdev 5053 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c struct wireless_dev *wdev, wdev 5060 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c vif = container_of(wdev, struct brcmf_cfg80211_vif, wdev); wdev 5074 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c struct wireless_dev *wdev) wdev 5079 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c vif = container_of(wdev, struct brcmf_cfg80211_vif, wdev); wdev 5311 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c vif->wdev.wiphy = cfg->wiphy; wdev 5312 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c vif->wdev.iftype = type; wdev 5319 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (vif_walk->wdev.iftype == NL80211_IFTYPE_AP) { wdev 5766 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c vif->wdev.netdev = ifp->ndev; wdev 5767 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c ifp->ndev->ieee80211_ptr = &vif->wdev; wdev 6739 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c struct wireless_dev *wdev; wdev 6748 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c wdev = ndev->ieee80211_ptr; wdev 6766 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c err = brcmf_cfg80211_change_iface(wdev->wiphy, ndev, wdev->iftype, wdev 6845 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c struct wireless_dev *wdev = &ifp->vif->wdev; wdev 6847 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c return wdev->iftype; wdev 7055 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c vif->wdev.netdev = ndev; wdev 7056 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c ndev->ieee80211_ptr = &vif->wdev; wdev 182 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.h struct wireless_dev wdev; wdev 355 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.h static inline struct brcmf_cfg80211_vif *wdev_to_vif(struct wireless_dev *wdev) wdev 357 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.h return container_of(wdev, struct brcmf_cfg80211_vif, wdev); wdev 779 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c dev = vif->wdev.netdev; wdev 788 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c vif->wdev.iftype == NL80211_IFTYPE_P2P_GO) { wdev 953 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c int brcmf_p2p_remain_on_channel(struct wiphy *wiphy, struct wireless_dev *wdev, wdev 975 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c cfg80211_ready_on_channel(wdev, *cookie, channel, duration, GFP_KERNEL); wdev 1008 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c cfg80211_remain_on_channel_expired(&ifp->vif->wdev, wdev 1341 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c struct wireless_dev *wdev; wdev 1425 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c wdev = &ifp->vif->wdev; wdev 1426 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c cfg80211_rx_mgmt(wdev, freq, 0, (u8 *)mgmt_frame, mgmt_frame_len, 0); wdev 1911 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c cfg80211_rx_mgmt(&vif->wdev, freq, 0, mgmt_frame, mgmt_frame_len, 0); wdev 2045 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c struct brcmf_cfg80211_info *cfg = wdev_to_cfg(&vif->wdev); wdev 2048 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c u8 *addr = vif->wdev.netdev->dev_addr; wdev 2055 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c struct brcmf_cfg80211_info *cfg = wdev_to_cfg(&vif->wdev); wdev 2058 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c u8 *addr = vif->wdev.netdev->dev_addr; wdev 2129 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c memcpy(&p2p_vif->wdev.address, p2p->dev_addr, sizeof(p2p->dev_addr)); wdev 2145 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c return &p2p_vif->wdev; wdev 2239 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c return &ifp->vif->wdev; wdev 2252 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c int brcmf_p2p_del_vif(struct wiphy *wiphy, struct wireless_dev *wdev) wdev 2262 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c vif = container_of(wdev, struct brcmf_cfg80211_vif, wdev); wdev 2264 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c iftype = vif->wdev.iftype; wdev 2325 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c cfg = wdev_to_cfg(&vif->wdev); wdev 2329 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c cfg80211_unregister_wdev(&vif->wdev); wdev 2335 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c int brcmf_p2p_start_device(struct wiphy *wiphy, struct wireless_dev *wdev) wdev 2342 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c vif = container_of(wdev, struct brcmf_cfg80211_vif, wdev); wdev 2351 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c void brcmf_p2p_stop_device(struct wiphy *wiphy, struct wireless_dev *wdev) wdev 2357 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c vif = container_of(wdev, struct brcmf_cfg80211_vif, wdev); wdev 146 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.h int brcmf_p2p_del_vif(struct wiphy *wiphy, struct wireless_dev *wdev); wdev 150 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.h int brcmf_p2p_start_device(struct wiphy *wiphy, struct wireless_dev *wdev); wdev 151 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.h void brcmf_p2p_stop_device(struct wiphy *wiphy, struct wireless_dev *wdev); wdev 155 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.h int brcmf_p2p_remain_on_channel(struct wiphy *wiphy, struct wireless_dev *wdev, wdev 20 drivers/net/wireless/broadcom/brcm80211/brcmfmac/vendor.c struct wireless_dev *wdev, wdev 37 drivers/net/wireless/broadcom/brcm80211/brcmfmac/vendor.c vif = container_of(wdev, struct brcmf_cfg80211_vif, wdev); wdev 1162 drivers/net/wireless/intel/ipw2x00/ipw2100.c wiphy_rfkill_set_hw_state(priv->ieee->wdev.wiphy, false); wdev 1174 drivers/net/wireless/intel/ipw2x00/ipw2100.c wiphy_rfkill_set_hw_state(priv->ieee->wdev.wiphy, true); wdev 1177 drivers/net/wireless/intel/ipw2x00/ipw2100.c wiphy_rfkill_set_hw_state(priv->ieee->wdev.wiphy, false); wdev 1893 drivers/net/wireless/intel/ipw2x00/ipw2100.c struct wireless_dev *wdev = &priv->ieee->wdev; wdev 1896 drivers/net/wireless/intel/ipw2x00/ipw2100.c memcpy(wdev->wiphy->perm_addr, priv->mac_addr, ETH_ALEN); wdev 1934 drivers/net/wireless/intel/ipw2x00/ipw2100.c wdev->wiphy->bands[NL80211_BAND_2GHZ] = bg_band; wdev 1937 drivers/net/wireless/intel/ipw2x00/ipw2100.c wdev->wiphy->cipher_suites = ipw_cipher_suites; wdev 1938 drivers/net/wireless/intel/ipw2x00/ipw2100.c wdev->wiphy->n_cipher_suites = ARRAY_SIZE(ipw_cipher_suites); wdev 1940 drivers/net/wireless/intel/ipw2x00/ipw2100.c set_wiphy_dev(wdev->wiphy, &priv->pci_dev->dev); wdev 1941 drivers/net/wireless/intel/ipw2x00/ipw2100.c if (wiphy_register(wdev->wiphy)) wdev 2157 drivers/net/wireless/intel/ipw2x00/ipw2100.c wiphy_rfkill_set_hw_state(priv->ieee->wdev.wiphy, true); wdev 6322 drivers/net/wireless/intel/ipw2x00/ipw2100.c wiphy_unregister(priv->ieee->wdev.wiphy); wdev 6390 drivers/net/wireless/intel/ipw2x00/ipw2100.c wiphy_unregister(priv->ieee->wdev.wiphy); wdev 1750 drivers/net/wireless/intel/ipw2x00/ipw2200.c wiphy_rfkill_set_hw_state(priv->ieee->wdev.wiphy, true); wdev 1753 drivers/net/wireless/intel/ipw2x00/ipw2200.c wiphy_rfkill_set_hw_state(priv->ieee->wdev.wiphy, false); wdev 2041 drivers/net/wireless/intel/ipw2x00/ipw2200.c wiphy_rfkill_set_hw_state(priv->ieee->wdev.wiphy, true); wdev 11327 drivers/net/wireless/intel/ipw2x00/ipw2200.c struct wireless_dev *wdev = &priv->ieee->wdev; wdev 11329 drivers/net/wireless/intel/ipw2x00/ipw2200.c memcpy(wdev->wiphy->perm_addr, priv->mac_addr, ETH_ALEN); wdev 11367 drivers/net/wireless/intel/ipw2x00/ipw2200.c wdev->wiphy->bands[NL80211_BAND_2GHZ] = bg_band; wdev 11406 drivers/net/wireless/intel/ipw2x00/ipw2200.c wdev->wiphy->bands[NL80211_BAND_5GHZ] = a_band; wdev 11409 drivers/net/wireless/intel/ipw2x00/ipw2200.c wdev->wiphy->cipher_suites = ipw_cipher_suites; wdev 11410 drivers/net/wireless/intel/ipw2x00/ipw2200.c wdev->wiphy->n_cipher_suites = ARRAY_SIZE(ipw_cipher_suites); wdev 11412 drivers/net/wireless/intel/ipw2x00/ipw2200.c set_wiphy_dev(wdev->wiphy, &priv->pci_dev->dev); wdev 11415 drivers/net/wireless/intel/ipw2x00/ipw2200.c if (wiphy_register(wdev->wiphy)) wdev 11756 drivers/net/wireless/intel/ipw2x00/ipw2200.c wiphy_unregister(priv->ieee->wdev.wiphy); wdev 11850 drivers/net/wireless/intel/ipw2x00/ipw2200.c wiphy_unregister(priv->ieee->wdev.wiphy); wdev 716 drivers/net/wireless/intel/ipw2x00/libipw.h struct wireless_dev wdev; wdev 124 drivers/net/wireless/intel/ipw2x00/libipw_module.c ieee->wdev.wiphy = wiphy_new(&libipw_config_ops, 0); wdev 125 drivers/net/wireless/intel/ipw2x00/libipw_module.c if (!ieee->wdev.wiphy) { wdev 130 drivers/net/wireless/intel/ipw2x00/libipw_module.c ieee->dev->ieee80211_ptr = &ieee->wdev; wdev 131 drivers/net/wireless/intel/ipw2x00/libipw_module.c ieee->wdev.iftype = NL80211_IFTYPE_STATION; wdev 136 drivers/net/wireless/intel/ipw2x00/libipw_module.c ieee->wdev.wiphy->privid = libipw_wiphy_privid; wdev 138 drivers/net/wireless/intel/ipw2x00/libipw_module.c ieee->wdev.wiphy->max_scan_ssids = 1; wdev 139 drivers/net/wireless/intel/ipw2x00/libipw_module.c ieee->wdev.wiphy->max_scan_ie_len = 0; wdev 140 drivers/net/wireless/intel/ipw2x00/libipw_module.c ieee->wdev.wiphy->interface_modes = BIT(NL80211_IFTYPE_STATION) wdev 182 drivers/net/wireless/intel/ipw2x00/libipw_module.c wiphy_free(ieee->wdev.wiphy); wdev 200 drivers/net/wireless/intel/ipw2x00/libipw_module.c wiphy_free(ieee->wdev.wiphy); wdev 147 drivers/net/wireless/intel/iwlwifi/fw/dbg.h struct wireless_dev *wdev) wdev 152 drivers/net/wireless/intel/iwlwifi/fw/dbg.h wdev->iftype == trig_vif; wdev 181 drivers/net/wireless/intel/iwlwifi/fw/dbg.h struct wireless_dev *wdev, wdev 186 drivers/net/wireless/intel/iwlwifi/fw/dbg.h if (wdev && !iwl_fw_dbg_trigger_vif_match(trig, wdev)) wdev 200 drivers/net/wireless/intel/iwlwifi/fw/dbg.h struct wireless_dev *wdev, wdev 213 drivers/net/wireless/intel/iwlwifi/fw/dbg.h if (!iwl_fw_dbg_trigger_check_stop(fwrt, wdev, trig)) wdev 219 drivers/net/wireless/intel/iwlwifi/fw/dbg.h #define iwl_fw_dbg_trigger_on(fwrt, wdev, id) ({ \ wdev 222 drivers/net/wireless/intel/iwlwifi/fw/dbg.h _iwl_fw_dbg_trigger_on((fwrt), (wdev), (id)); \ wdev 250 drivers/net/wireless/intel/iwlwifi/fw/dbg.h struct wireless_dev *wdev, wdev 256 drivers/net/wireless/intel/iwlwifi/fw/dbg.h if (!iwl_fw_dbg_trigger_check_stop(fwrt, wdev, trigger)) wdev 262 drivers/net/wireless/intel/iwlwifi/fw/dbg.h #define iwl_fw_dbg_trigger_simple_stop(fwrt, wdev, trig) \ wdev 263 drivers/net/wireless/intel/iwlwifi/fw/dbg.h _iwl_fw_dbg_trigger_simple_stop((fwrt), (wdev), \ wdev 460 drivers/net/wireless/intersil/orinoco/hw.c struct wireless_dev *wdev = netdev_priv(dev); wdev 684 drivers/net/wireless/intersil/orinoco/hw.c wdev->iftype = priv->iw_mode; wdev 2235 drivers/net/wireless/intersil/orinoco/main.c struct wireless_dev *wdev; wdev 2245 drivers/net/wireless/intersil/orinoco/main.c wdev = netdev_priv(dev); wdev 2246 drivers/net/wireless/intersil/orinoco/main.c wdev->wiphy = wiphy; wdev 2247 drivers/net/wireless/intersil/orinoco/main.c wdev->iftype = NL80211_IFTYPE_STATION; wdev 2250 drivers/net/wireless/intersil/orinoco/main.c dev->ieee80211_ptr = wdev; wdev 248 drivers/net/wireless/intersil/orinoco/orinoco.h struct wireless_dev *wdev = netdev_priv(dev); wdev 249 drivers/net/wireless/intersil/orinoco/orinoco.h return wdev_priv(wdev); wdev 401 drivers/net/wireless/mac80211_hwsim.c struct wireless_dev *wdev, wdev 425 drivers/net/wireless/mac80211_hwsim.c skb = cfg80211_vendor_event_alloc(wiphy, wdev, 100, 0, GFP_KERNEL); wdev 634 drivers/net/wireless/marvell/libertas/cfg.c struct wiphy *wiphy = priv->wdev->wiphy; wdev 1624 drivers/net/wireless/marvell/libertas/cfg.c priv->wdev->iftype = type; wdev 1695 drivers/net/wireless/marvell/libertas/cfg.c bss = cfg80211_inform_bss(priv->wdev->wiphy, wdev 1704 drivers/net/wireless/marvell/libertas/cfg.c cfg80211_put_bss(priv->wdev->wiphy, bss); wdev 2043 drivers/net/wireless/marvell/libertas/cfg.c struct wireless_dev *wdev; wdev 2045 drivers/net/wireless/marvell/libertas/cfg.c wdev = kzalloc(sizeof(struct wireless_dev), GFP_KERNEL); wdev 2046 drivers/net/wireless/marvell/libertas/cfg.c if (!wdev) wdev 2049 drivers/net/wireless/marvell/libertas/cfg.c wdev->wiphy = wiphy_new(&lbs_cfg80211_ops, sizeof(struct lbs_private)); wdev 2050 drivers/net/wireless/marvell/libertas/cfg.c if (!wdev->wiphy) { wdev 2056 drivers/net/wireless/marvell/libertas/cfg.c return wdev; wdev 2059 drivers/net/wireless/marvell/libertas/cfg.c kfree(wdev); wdev 2084 drivers/net/wireless/marvell/libertas/cfg.c regulatory_hint(priv->wdev->wiphy, regmap[i].cn); wdev 2106 drivers/net/wireless/marvell/libertas/cfg.c struct wireless_dev *wdev = priv->wdev; wdev 2109 drivers/net/wireless/marvell/libertas/cfg.c wdev->wiphy->max_scan_ssids = 1; wdev 2110 drivers/net/wireless/marvell/libertas/cfg.c wdev->wiphy->signal_type = CFG80211_SIGNAL_TYPE_MBM; wdev 2112 drivers/net/wireless/marvell/libertas/cfg.c wdev->wiphy->interface_modes = wdev 2116 drivers/net/wireless/marvell/libertas/cfg.c wdev->wiphy->interface_modes |= BIT(NL80211_IFTYPE_MONITOR); wdev 2118 drivers/net/wireless/marvell/libertas/cfg.c wdev->wiphy->interface_modes |= BIT(NL80211_IFTYPE_MESH_POINT); wdev 2120 drivers/net/wireless/marvell/libertas/cfg.c wdev->wiphy->bands[NL80211_BAND_2GHZ] = &lbs_band_2ghz; wdev 2126 drivers/net/wireless/marvell/libertas/cfg.c wdev->wiphy->cipher_suites = cipher_suites; wdev 2127 drivers/net/wireless/marvell/libertas/cfg.c wdev->wiphy->n_cipher_suites = ARRAY_SIZE(cipher_suites); wdev 2128 drivers/net/wireless/marvell/libertas/cfg.c wdev->wiphy->reg_notifier = lbs_reg_notifier; wdev 2130 drivers/net/wireless/marvell/libertas/cfg.c ret = wiphy_register(wdev->wiphy); wdev 2155 drivers/net/wireless/marvell/libertas/cfg.c struct wireless_dev *wdev = priv->wdev; wdev 2157 drivers/net/wireless/marvell/libertas/cfg.c if (!wdev) wdev 2161 drivers/net/wireless/marvell/libertas/cfg.c wiphy_unregister(wdev->wiphy); wdev 2163 drivers/net/wireless/marvell/libertas/cfg.c if (wdev->wiphy) wdev 2164 drivers/net/wireless/marvell/libertas/cfg.c wiphy_free(wdev->wiphy); wdev 2166 drivers/net/wireless/marvell/libertas/cfg.c kfree(wdev); wdev 699 drivers/net/wireless/marvell/libertas/cmd.c struct wiphy *wiphy = priv->wdev->wiphy; wdev 42 drivers/net/wireless/marvell/libertas/cmdresp.c if (priv->wdev->iftype == NL80211_IFTYPE_STATION) wdev 144 drivers/net/wireless/marvell/libertas/cmdresp.c if (priv->wdev->iftype == NL80211_IFTYPE_MONITOR && wdev 49 drivers/net/wireless/marvell/libertas/dev.h struct wireless_dev *wdev; wdev 112 drivers/net/wireless/marvell/libertas/main.c if (priv->wdev->iftype == NL80211_IFTYPE_MONITOR) wdev 118 drivers/net/wireless/marvell/libertas/main.c if (priv->wdev->iftype == NL80211_IFTYPE_MONITOR) wdev 150 drivers/net/wireless/marvell/libertas/main.c ret = lbs_set_iface_type(priv, priv->wdev->iftype); wdev 909 drivers/net/wireless/marvell/libertas/main.c struct wireless_dev *wdev; wdev 914 drivers/net/wireless/marvell/libertas/main.c wdev = lbs_cfg_alloc(dmdev); wdev 915 drivers/net/wireless/marvell/libertas/main.c if (IS_ERR(wdev)) { wdev 916 drivers/net/wireless/marvell/libertas/main.c err = PTR_ERR(wdev); wdev 921 drivers/net/wireless/marvell/libertas/main.c wdev->iftype = NL80211_IFTYPE_STATION; wdev 922 drivers/net/wireless/marvell/libertas/main.c priv = wdev_priv(wdev); wdev 923 drivers/net/wireless/marvell/libertas/main.c priv->wdev = wdev; wdev 938 drivers/net/wireless/marvell/libertas/main.c dev->ieee80211_ptr = wdev; wdev 941 drivers/net/wireless/marvell/libertas/main.c wdev->netdev = dev; wdev 945 drivers/net/wireless/marvell/libertas/mesh.c if (priv->wdev->iftype == NL80211_IFTYPE_MONITOR) { wdev 1001 drivers/net/wireless/marvell/libertas/mesh.c mesh_wdev->wiphy = priv->wdev->wiphy; wdev 73 drivers/net/wireless/marvell/libertas/rx.c if (priv->wdev->iftype == NL80211_IFTYPE_MONITOR) { wdev 116 drivers/net/wireless/marvell/libertas/tx.c if (priv->wdev->iftype == NL80211_IFTYPE_MONITOR) { wdev 152 drivers/net/wireless/marvell/libertas/tx.c if (priv->wdev->iftype == NL80211_IFTYPE_MONITOR) { wdev 184 drivers/net/wireless/marvell/libertas/tx.c if (priv->wdev->iftype != NL80211_IFTYPE_MONITOR || wdev 52 drivers/net/wireless/marvell/mwifiex/11h.c sband = priv->wdev.wiphy->bands[radio_type]; wdev 132 drivers/net/wireless/marvell/mwifiex/11h.c if (priv->wdev.cac_started) { wdev 189 drivers/net/wireless/marvell/mwifiex/11h.c if (priv->wdev.cac_started) { wdev 42 drivers/net/wireless/marvell/mwifiex/11n.c priv->wdev.wiphy->bands[radio_type]; wdev 329 drivers/net/wireless/marvell/mwifiex/11n.c sband = priv->wdev.wiphy->bands[radio_type]; wdev 48 drivers/net/wireless/marvell/mwifiex/11n_rxreorder.c priv->wdev.iftype, 0, NULL, NULL); wdev 208 drivers/net/wireless/marvell/mwifiex/cfg80211.c mwifiex_cfg80211_mgmt_tx(struct wiphy *wiphy, struct wireless_dev *wdev, wdev 217 drivers/net/wireless/marvell/mwifiex/cfg80211.c struct mwifiex_private *priv = mwifiex_netdev_get_priv(wdev->netdev); wdev 259 drivers/net/wireless/marvell/mwifiex/cfg80211.c cfg80211_mgmt_tx_status(wdev, *cookie, buf, len, true, wdev 273 drivers/net/wireless/marvell/mwifiex/cfg80211.c struct wireless_dev *wdev, wdev 276 drivers/net/wireless/marvell/mwifiex/cfg80211.c struct mwifiex_private *priv = mwifiex_netdev_get_priv(wdev->netdev); wdev 298 drivers/net/wireless/marvell/mwifiex/cfg80211.c struct wireless_dev *wdev, wdev 302 drivers/net/wireless/marvell/mwifiex/cfg80211.c struct mwifiex_private *priv = mwifiex_netdev_get_priv(wdev->netdev); wdev 325 drivers/net/wireless/marvell/mwifiex/cfg80211.c cfg80211_ready_on_channel(wdev, *cookie, chan, wdev 340 drivers/net/wireless/marvell/mwifiex/cfg80211.c struct wireless_dev *wdev, u64 cookie) wdev 342 drivers/net/wireless/marvell/mwifiex/cfg80211.c struct mwifiex_private *priv = mwifiex_netdev_get_priv(wdev->netdev); wdev 352 drivers/net/wireless/marvell/mwifiex/cfg80211.c cfg80211_remain_on_channel_expired(wdev, cookie, wdev 370 drivers/net/wireless/marvell/mwifiex/cfg80211.c struct wireless_dev *wdev, wdev 405 drivers/net/wireless/marvell/mwifiex/cfg80211.c struct wireless_dev *wdev, wdev 889 drivers/net/wireless/marvell/mwifiex/cfg80211.c priv->wdev.iftype = NL80211_IFTYPE_UNSPECIFIED; wdev 907 drivers/net/wireless/marvell/mwifiex/cfg80211.c priv->wdev.iftype = type; wdev 1831 drivers/net/wireless/marvell/mwifiex/cfg80211.c if (!priv->bss_started && priv->wdev.cac_started) { wdev 2106 drivers/net/wireless/marvell/mwifiex/cfg80211.c cfg80211_sched_scan_stopped_rtnl(priv->wdev.wiphy, 0); wdev 2148 drivers/net/wireless/marvell/mwifiex/cfg80211.c chan = ieee80211_get_channel(priv->wdev.wiphy, wdev 2152 drivers/net/wireless/marvell/mwifiex/cfg80211.c bss = cfg80211_inform_bss(priv->wdev.wiphy, chan, wdev 2157 drivers/net/wireless/marvell/mwifiex/cfg80211.c cfg80211_put_bss(priv->wdev.wiphy, bss); wdev 2289 drivers/net/wireless/marvell/mwifiex/cfg80211.c bss = cfg80211_get_bss(priv->wdev.wiphy, channel, wdev 2294 drivers/net/wireless/marvell/mwifiex/cfg80211.c bss = cfg80211_get_bss(priv->wdev.wiphy, channel, wdev 2352 drivers/net/wireless/marvell/mwifiex/cfg80211.c if (priv->wdev.current_bss) { wdev 2375 drivers/net/wireless/marvell/mwifiex/cfg80211.c cfg80211_sched_scan_stopped_rtnl(priv->wdev.wiphy, 0); wdev 2561 drivers/net/wireless/marvell/mwifiex/cfg80211.c struct net_device *dev = request->wdev->netdev; wdev 2581 drivers/net/wireless/marvell/mwifiex/cfg80211.c if (!priv->wdev.current_bss && priv->scan_block) wdev 2585 drivers/net/wireless/marvell/mwifiex/cfg80211.c cfg80211_sched_scan_stopped_rtnl(priv->wdev.wiphy, 0); wdev 2921 drivers/net/wireless/marvell/mwifiex/cfg80211.c priv->wdev.wiphy = wiphy; wdev 2922 drivers/net/wireless/marvell/mwifiex/cfg80211.c priv->wdev.iftype = NL80211_IFTYPE_STATION; wdev 2951 drivers/net/wireless/marvell/mwifiex/cfg80211.c priv->wdev.wiphy = wiphy; wdev 2952 drivers/net/wireless/marvell/mwifiex/cfg80211.c priv->wdev.iftype = NL80211_IFTYPE_AP; wdev 2978 drivers/net/wireless/marvell/mwifiex/cfg80211.c priv->wdev.wiphy = wiphy; wdev 2982 drivers/net/wireless/marvell/mwifiex/cfg80211.c priv->wdev.iftype = NL80211_IFTYPE_P2P_CLIENT; wdev 2997 drivers/net/wireless/marvell/mwifiex/cfg80211.c memset(&priv->wdev, 0, sizeof(priv->wdev)); wdev 2998 drivers/net/wireless/marvell/mwifiex/cfg80211.c priv->wdev.iftype = NL80211_IFTYPE_UNSPECIFIED; wdev 3049 drivers/net/wireless/marvell/mwifiex/cfg80211.c dev->ieee80211_ptr = &priv->wdev; wdev 3121 drivers/net/wireless/marvell/mwifiex/cfg80211.c return &priv->wdev; wdev 3135 drivers/net/wireless/marvell/mwifiex/cfg80211.c memset(&priv->wdev, 0, sizeof(priv->wdev)); wdev 3136 drivers/net/wireless/marvell/mwifiex/cfg80211.c priv->wdev.iftype = NL80211_IFTYPE_UNSPECIFIED; wdev 3145 drivers/net/wireless/marvell/mwifiex/cfg80211.c int mwifiex_del_virtual_intf(struct wiphy *wiphy, struct wireless_dev *wdev) wdev 3147 drivers/net/wireless/marvell/mwifiex/cfg80211.c struct mwifiex_private *priv = mwifiex_netdev_get_priv(wdev->netdev); wdev 3168 drivers/net/wireless/marvell/mwifiex/cfg80211.c if (wdev->netdev->reg_state == NETREG_REGISTERED) wdev 3169 drivers/net/wireless/marvell/mwifiex/cfg80211.c unregister_netdevice(wdev->netdev); wdev 3572 drivers/net/wireless/marvell/mwifiex/cfg80211.c cfg80211_report_wowlan_wakeup(&priv->wdev, &wakeup_report, wdev 3947 drivers/net/wireless/marvell/mwifiex/cfg80211.c if (priv->wdev.cac_started) wdev 3991 drivers/net/wireless/marvell/mwifiex/cfg80211.c struct wireless_dev *wdev, wdev 3994 drivers/net/wireless/marvell/mwifiex/cfg80211.c struct mwifiex_private *priv = mwifiex_netdev_get_priv(wdev->netdev); wdev 4047 drivers/net/wireless/marvell/mwifiex/cfg80211.c static int mwifiex_tm_cmd(struct wiphy *wiphy, struct wireless_dev *wdev, wdev 4050 drivers/net/wireless/marvell/mwifiex/cfg80211.c struct mwifiex_private *priv = mwifiex_netdev_get_priv(wdev->netdev); wdev 323 drivers/net/wireless/marvell/mwifiex/cfp.c sband = priv->wdev.wiphy->bands[NL80211_BAND_2GHZ]; wdev 325 drivers/net/wireless/marvell/mwifiex/cfp.c sband = priv->wdev.wiphy->bands[NL80211_BAND_5GHZ]; wdev 525 drivers/net/wireless/marvell/mwifiex/main.c struct wireless_dev *wdev; wdev 600 drivers/net/wireless/marvell/mwifiex/main.c wdev = mwifiex_add_virtual_intf(adapter->wiphy, "mlan%d", NET_NAME_ENUM, wdev 602 drivers/net/wireless/marvell/mwifiex/main.c if (IS_ERR(wdev)) { wdev 610 drivers/net/wireless/marvell/mwifiex/main.c wdev = mwifiex_add_virtual_intf(adapter->wiphy, "uap%d", NET_NAME_ENUM, wdev 612 drivers/net/wireless/marvell/mwifiex/main.c if (IS_ERR(wdev)) { wdev 621 drivers/net/wireless/marvell/mwifiex/main.c wdev = mwifiex_add_virtual_intf(adapter->wiphy, "p2p%d", NET_NAME_ENUM, wdev 623 drivers/net/wireless/marvell/mwifiex/main.c if (IS_ERR(wdev)) { wdev 760 drivers/net/wireless/marvell/mwifiex/main.c cfg80211_sched_scan_stopped(priv->wdev.wiphy, 0); wdev 1442 drivers/net/wireless/marvell/mwifiex/main.c priv->wdev.iftype != NL80211_IFTYPE_UNSPECIFIED) wdev 1443 drivers/net/wireless/marvell/mwifiex/main.c mwifiex_del_virtual_intf(adapter->wiphy, &priv->wdev); wdev 646 drivers/net/wireless/marvell/mwifiex/main.h struct wireless_dev wdev; wdev 1569 drivers/net/wireless/marvell/mwifiex/main.h int mwifiex_del_virtual_intf(struct wiphy *wiphy, struct wireless_dev *wdev); wdev 470 drivers/net/wireless/marvell/mwifiex/scan.c if (!priv->wdev.wiphy->bands[band]) wdev 473 drivers/net/wireless/marvell/mwifiex/scan.c sband = priv->wdev.wiphy->bands[band]; wdev 537 drivers/net/wireless/marvell/mwifiex/scan.c if (!priv->wdev.wiphy->bands[band]) wdev 540 drivers/net/wireless/marvell/mwifiex/scan.c sband = priv->wdev.wiphy->bands[band]; wdev 1887 drivers/net/wireless/marvell/mwifiex/scan.c chan = ieee80211_get_channel(priv->wdev.wiphy, freq); wdev 1890 drivers/net/wireless/marvell/mwifiex/scan.c bss = cfg80211_inform_bss(priv->wdev.wiphy, wdev 1915 drivers/net/wireless/marvell/mwifiex/scan.c cfg80211_put_bss(priv->wdev.wiphy, bss); wdev 2199 drivers/net/wireless/marvell/mwifiex/scan.c if (priv->wdev.wiphy->wowlan_config) wdev 2200 drivers/net/wireless/marvell/mwifiex/scan.c nd_config = priv->wdev.wiphy->wowlan_config->nd_config; wdev 1232 drivers/net/wireless/marvell/mwifiex/sta_cmdresp.c cfg80211_sched_scan_results(priv->wdev.wiphy, 0); wdev 853 drivers/net/wireless/marvell/mwifiex/sta_event.c cfg80211_sched_scan_stopped(priv->wdev.wiphy, 0); wdev 1009 drivers/net/wireless/marvell/mwifiex/sta_event.c cfg80211_remain_on_channel_expired(&priv->wdev, wdev 527 drivers/net/wireless/marvell/mwifiex/sta_ioctl.c if (priv->wdev.wiphy->wowlan_config && wdev 528 drivers/net/wireless/marvell/mwifiex/sta_ioctl.c !priv->wdev.wiphy->wowlan_config->nd_config) { wdev 532 drivers/net/wireless/marvell/mwifiex/sta_ioctl.c cfg80211_sched_scan_stopped(priv->wdev.wiphy, 0); wdev 369 drivers/net/wireless/marvell/mwifiex/txrx.c cfg80211_mgmt_tx_status(&priv->wdev, tx_info->cookie, wdev 326 drivers/net/wireless/marvell/mwifiex/uap_event.c cfg80211_remain_on_channel_expired(&priv->wdev, wdev 401 drivers/net/wireless/marvell/mwifiex/util.c priv->wdev.iftype == NL80211_IFTYPE_UNSPECIFIED) { wdev 428 drivers/net/wireless/marvell/mwifiex/util.c cfg80211_rx_mgmt(&priv->wdev, priv->roc_cfg.chan.center_freq, wdev 91 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c if (vif->wdev.iftype != NL80211_IFTYPE_UNSPECIFIED) wdev 92 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c params.iftype_num[vif->wdev.iftype]++; wdev 97 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c params.iftype_num[change_vif->wdev.iftype]--; wdev 139 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c vif->wdev.iftype = type; wdev 143 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c int qtnf_del_virtual_intf(struct wiphy *wiphy, struct wireless_dev *wdev) wdev 145 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c struct net_device *netdev = wdev->netdev; wdev 152 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c vif = qtnf_netdev_get_priv(wdev->netdev); wdev 175 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c vif->wdev.iftype = NL80211_IFTYPE_UNSPECIFIED; wdev 216 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c memset(&vif->wdev, 0, sizeof(vif->wdev)); wdev 217 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c vif->wdev.wiphy = wiphy; wdev 218 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c vif->wdev.iftype = type; wdev 251 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c vif->wdev.netdev = vif->netdev; wdev 252 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c return &vif->wdev; wdev 259 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c vif->wdev.iftype = NL80211_IFTYPE_UNSPECIFIED; wdev 369 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c qtnf_mgmt_frame_register(struct wiphy *wiphy, struct wireless_dev *wdev, wdev 372 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c struct qtnf_vif *vif = qtnf_netdev_get_priv(wdev->netdev); wdev 421 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c qtnf_mgmt_tx(struct wiphy *wiphy, struct wireless_dev *wdev, wdev 424 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c struct qtnf_vif *vif = qtnf_netdev_get_priv(wdev->netdev); wdev 450 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c wdev->netdev->name, freq, wdev 476 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c switch (vif->wdev.iftype) { wdev 478 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c if (idx != 0 || !vif->wdev.current_bss) wdev 496 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c if (vif->wdev.iftype == NL80211_IFTYPE_AP) { wdev 598 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c (vif->wdev.iftype == NL80211_IFTYPE_AP) && wdev 643 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c if (vif->wdev.iftype != NL80211_IFTYPE_STATION) wdev 675 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c if (vif->wdev.iftype != NL80211_IFTYPE_STATION) wdev 706 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c if (vif->wdev.iftype != NL80211_IFTYPE_STATION) { wdev 716 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c if (vif->wdev.current_bss) { wdev 731 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 733 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c const struct cfg80211_chan_def *chandef = &wdev->chandef; wdev 799 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c qtnf_get_channel(struct wiphy *wiphy, struct wireless_dev *wdev, wdev 802 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c struct net_device *ndev = wdev->netdev; wdev 809 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c vif = qtnf_netdev_get_priv(wdev->netdev); wdev 1209 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c struct qtnf_wmac *mac = wiphy_priv(vif->wdev.wiphy); wdev 1211 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c if (vif->wdev.iftype == NL80211_IFTYPE_STATION) wdev 1212 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c qtnf_disconnect(vif->wdev.wiphy, ndev, wdev 1220 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c if (vif->wdev.iftype == NL80211_IFTYPE_STATION) wdev 1224 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c cfg80211_shutdown_all_interfaces(vif->wdev.wiphy); wdev 12 drivers/net/wireless/quantenna/qtnfmac/cfg80211.h int qtnf_del_virtual_intf(struct wiphy *wiphy, struct wireless_dev *wdev); wdev 796 drivers/net/wireless/quantenna/qtnfmac/commands.c if (ret == 0 && vif->wdev.iftype != iftype) { wdev 827 drivers/net/wireless/quantenna/qtnfmac/commands.c switch (vif->wdev.iftype) { wdev 836 drivers/net/wireless/quantenna/qtnfmac/commands.c vif->vifid, vif->wdev.iftype); wdev 1990 drivers/net/wireless/quantenna/qtnfmac/commands.c switch (vif->wdev.iftype) { wdev 1998 drivers/net/wireless/quantenna/qtnfmac/commands.c pr_err("unsupported iftype %d\n", vif->wdev.iftype); wdev 86 drivers/net/wireless/quantenna/qtnfmac/core.c if (unlikely(vif->wdev.iftype == NL80211_IFTYPE_UNSPECIFIED)) { wdev 190 drivers/net/wireless/quantenna/qtnfmac/core.c ret = qtnf_cmd_send_change_intf_type(vif, vif->wdev.iftype, wdev 191 drivers/net/wireless/quantenna/qtnfmac/core.c vif->wdev.use_4addr, wdev 265 drivers/net/wireless/quantenna/qtnfmac/core.c if (vif->wdev.iftype == NL80211_IFTYPE_UNSPECIFIED) wdev 278 drivers/net/wireless/quantenna/qtnfmac/core.c if (vif->wdev.iftype == NL80211_IFTYPE_UNSPECIFIED) wdev 320 drivers/net/wireless/quantenna/qtnfmac/core.c if (vif->wdev.iftype == NL80211_IFTYPE_UNSPECIFIED) { wdev 339 drivers/net/wireless/quantenna/qtnfmac/core.c vif->wdev.iftype = NL80211_IFTYPE_STATION; wdev 341 drivers/net/wireless/quantenna/qtnfmac/core.c vif->wdev.wiphy = priv_to_wiphy(mac); wdev 384 drivers/net/wireless/quantenna/qtnfmac/core.c vif->wdev.iftype == NL80211_IFTYPE_UNSPECIFIED) wdev 417 drivers/net/wireless/quantenna/qtnfmac/core.c vif->wdev.iftype = NL80211_IFTYPE_UNSPECIFIED; wdev 455 drivers/net/wireless/quantenna/qtnfmac/core.c vif->wdev.iftype = NL80211_IFTYPE_UNSPECIFIED; wdev 464 drivers/net/wireless/quantenna/qtnfmac/core.c dev->ieee80211_ptr = &vif->wdev; wdev 480 drivers/net/wireless/quantenna/qtnfmac/core.c vif->wdev.iftype = NL80211_IFTYPE_UNSPECIFIED; wdev 505 drivers/net/wireless/quantenna/qtnfmac/core.c vif->wdev.iftype != NL80211_IFTYPE_UNSPECIFIED) { wdev 507 drivers/net/wireless/quantenna/qtnfmac/core.c qtnf_del_virtual_intf(wiphy, &vif->wdev); wdev 567 drivers/net/wireless/quantenna/qtnfmac/core.c ret = qtnf_cmd_send_add_intf(vif, vif->wdev.iftype, wdev 568 drivers/net/wireless/quantenna/qtnfmac/core.c vif->wdev.use_4addr, vif->mac_addr); wdev 601 drivers/net/wireless/quantenna/qtnfmac/core.c vif->wdev.iftype = NL80211_IFTYPE_UNSPECIFIED; wdev 757 drivers/net/wireless/quantenna/qtnfmac/core.c if (unlikely(vif->wdev.iftype == NL80211_IFTYPE_UNSPECIFIED)) { wdev 55 drivers/net/wireless/quantenna/qtnfmac/core.h struct wireless_dev wdev; wdev 38 drivers/net/wireless/quantenna/qtnfmac/event.c if (vif->wdev.iftype != NL80211_IFTYPE_AP) { wdev 124 drivers/net/wireless/quantenna/qtnfmac/event.c if (vif->wdev.iftype != NL80211_IFTYPE_AP) { wdev 168 drivers/net/wireless/quantenna/qtnfmac/event.c if (vif->wdev.iftype != NL80211_IFTYPE_STATION) { wdev 201 drivers/net/wireless/quantenna/qtnfmac/event.c if (!vif->wdev.ssid_len) { wdev 209 drivers/net/wireless/quantenna/qtnfmac/event.c ie = kzalloc(2 + vif->wdev.ssid_len, GFP_KERNEL); wdev 219 drivers/net/wireless/quantenna/qtnfmac/event.c ie[1] = vif->wdev.ssid_len; wdev 220 drivers/net/wireless/quantenna/qtnfmac/event.c memcpy(ie + 2, vif->wdev.ssid, vif->wdev.ssid_len); wdev 226 drivers/net/wireless/quantenna/qtnfmac/event.c ie, 2 + vif->wdev.ssid_len, wdev 315 drivers/net/wireless/quantenna/qtnfmac/event.c if (vif->wdev.iftype != NL80211_IFTYPE_STATION) { wdev 353 drivers/net/wireless/quantenna/qtnfmac/event.c cfg80211_rx_mgmt(&vif->wdev, le32_to_cpu(rxmgmt->freq), rxmgmt->sig_dbm, wdev 498 drivers/net/wireless/quantenna/qtnfmac/event.c if (vif->wdev.iftype == NL80211_IFTYPE_UNSPECIFIED) wdev 501 drivers/net/wireless/quantenna/qtnfmac/event.c if (vif->wdev.iftype == NL80211_IFTYPE_STATION && wdev 502 drivers/net/wireless/quantenna/qtnfmac/event.c !vif->wdev.current_bss) wdev 508 drivers/net/wireless/quantenna/qtnfmac/event.c mutex_lock(&vif->wdev.mtx); wdev 510 drivers/net/wireless/quantenna/qtnfmac/event.c mutex_unlock(&vif->wdev.mtx); wdev 551 drivers/net/wireless/quantenna/qtnfmac/event.c if (!vif->wdev.cac_started) wdev 558 drivers/net/wireless/quantenna/qtnfmac/event.c if (!vif->wdev.cac_started) wdev 565 drivers/net/wireless/quantenna/qtnfmac/event.c if (vif->wdev.cac_started) wdev 415 drivers/net/wireless/rndis_wlan.c struct wireless_dev wdev; wdev 479 drivers/net/wireless/rndis_wlan.c struct wireless_dev *wdev, wdev 483 drivers/net/wireless/rndis_wlan.c struct wireless_dev *wdev, wdev 1322 drivers/net/wireless/rndis_wlan.c channel = ieee80211_get_channel(priv->wdev.wiphy, wdev 1660 drivers/net/wireless/rndis_wlan.c max_pmkids = priv->wdev.wiphy->max_num_pmkids; wdev 1697 drivers/net/wireless/rndis_wlan.c max_pmkids = priv->wdev.wiphy->max_num_pmkids; wdev 1864 drivers/net/wireless/rndis_wlan.c priv->wdev.iftype = type; wdev 1891 drivers/net/wireless/rndis_wlan.c struct wireless_dev *wdev, wdev 1920 drivers/net/wireless/rndis_wlan.c struct wireless_dev *wdev, wdev 1937 drivers/net/wireless/rndis_wlan.c struct net_device *dev = request->wdev->netdev; wdev 2001 drivers/net/wireless/rndis_wlan.c channel = ieee80211_get_channel(priv->wdev.wiphy, wdev 2011 drivers/net/wireless/rndis_wlan.c bss = cfg80211_inform_bss(priv->wdev.wiphy, channel, wdev 2015 drivers/net/wireless/rndis_wlan.c cfg80211_put_bss(priv->wdev.wiphy, bss); wdev 2703 drivers/net/wireless/rndis_wlan.c bss = cfg80211_inform_bss(priv->wdev.wiphy, channel, wdev 2707 drivers/net/wireless/rndis_wlan.c cfg80211_put_bss(priv->wdev.wiphy, bss); wdev 3412 drivers/net/wireless/rndis_wlan.c usbdev->net->ieee80211_ptr = &priv->wdev; wdev 3413 drivers/net/wireless/rndis_wlan.c priv->wdev.wiphy = wiphy; wdev 3414 drivers/net/wireless/rndis_wlan.c priv->wdev.iftype = NL80211_IFTYPE_STATION; wdev 3537 drivers/net/wireless/rndis_wlan.c wiphy_unregister(priv->wdev.wiphy); wdev 3538 drivers/net/wireless/rndis_wlan.c wiphy_free(priv->wdev.wiphy); wdev 28 drivers/net/wireless/ti/wlcore/vendor_cmd.c struct wireless_dev *wdev, wdev 75 drivers/net/wireless/ti/wlcore/vendor_cmd.c struct wireless_dev *wdev, wdev 109 drivers/net/wireless/ti/wlcore/vendor_cmd.c struct wireless_dev *wdev, wdev 33 drivers/platform/x86/dell-smbios-wmi.c struct wmi_device *wdev; wdev 46 drivers/platform/x86/dell-smbios-wmi.c static int run_smbios_call(struct wmi_device *wdev) wdev 54 drivers/platform/x86/dell-smbios-wmi.c priv = dev_get_drvdata(&wdev->dev); wdev 58 drivers/platform/x86/dell-smbios-wmi.c dev_dbg(&wdev->dev, "evaluating: %u/%u [%x,%x,%x,%x]\n", wdev 63 drivers/platform/x86/dell-smbios-wmi.c status = wmidev_evaluate_method(wdev, 0, 1, &input, &output); wdev 68 drivers/platform/x86/dell-smbios-wmi.c dev_dbg(&wdev->dev, "received type: %d\n", obj->type); wdev 70 drivers/platform/x86/dell-smbios-wmi.c dev_dbg(&wdev->dev, "SMBIOS call failed: %llu\n", wdev 75 drivers/platform/x86/dell-smbios-wmi.c dev_dbg(&wdev->dev, "result: [%08x,%08x,%08x,%08x]\n", wdev 102 drivers/platform/x86/dell-smbios-wmi.c ret = run_smbios_call(priv->wdev); wdev 110 drivers/platform/x86/dell-smbios-wmi.c static long dell_smbios_wmi_filter(struct wmi_device *wdev, unsigned int cmd, wdev 119 drivers/platform/x86/dell-smbios-wmi.c priv = dev_get_drvdata(&wdev->dev); wdev 125 drivers/platform/x86/dell-smbios-wmi.c if (dell_smbios_call_filter(&wdev->dev, &priv->buf->std)) { wdev 126 drivers/platform/x86/dell-smbios-wmi.c dev_err(&wdev->dev, "Invalid call %d/%d:%8x\n", wdev 133 drivers/platform/x86/dell-smbios-wmi.c ret = run_smbios_call(priv->wdev); wdev 146 drivers/platform/x86/dell-smbios-wmi.c static int dell_smbios_wmi_probe(struct wmi_device *wdev, const void *context) wdev 149 drivers/platform/x86/dell-smbios-wmi.c container_of(wdev->dev.driver, struct wmi_driver, driver); wdev 159 drivers/platform/x86/dell-smbios-wmi.c priv = devm_kzalloc(&wdev->dev, sizeof(struct wmi_smbios_priv), wdev 172 drivers/platform/x86/dell-smbios-wmi.c dev_warn(&wdev->dev, wdev 180 drivers/platform/x86/dell-smbios-wmi.c ret = set_required_buffer_size(wdev, priv->req_buf_size); wdev 190 drivers/platform/x86/dell-smbios-wmi.c wdev->dev.id = 1; wdev 191 drivers/platform/x86/dell-smbios-wmi.c ret = dell_smbios_register_device(&wdev->dev, &dell_smbios_wmi_call); wdev 195 drivers/platform/x86/dell-smbios-wmi.c priv->wdev = wdev; wdev 196 drivers/platform/x86/dell-smbios-wmi.c dev_set_drvdata(&wdev->dev, priv); wdev 208 drivers/platform/x86/dell-smbios-wmi.c static int dell_smbios_wmi_remove(struct wmi_device *wdev) wdev 210 drivers/platform/x86/dell-smbios-wmi.c struct wmi_smbios_priv *priv = dev_get_drvdata(&wdev->dev); wdev 217 drivers/platform/x86/dell-smbios-wmi.c dell_smbios_unregister_device(&wdev->dev); wdev 101 drivers/platform/x86/dell-wmi-descriptor.c static int dell_wmi_descriptor_probe(struct wmi_device *wdev, wdev 109 drivers/platform/x86/dell-wmi-descriptor.c obj = wmidev_block_query(wdev, 0); wdev 111 drivers/platform/x86/dell-wmi-descriptor.c dev_err(&wdev->dev, "failed to read Dell WMI descriptor\n"); wdev 117 drivers/platform/x86/dell-wmi-descriptor.c dev_err(&wdev->dev, "Dell descriptor has wrong type\n"); wdev 127 drivers/platform/x86/dell-wmi-descriptor.c dev_err(&wdev->dev, wdev 138 drivers/platform/x86/dell-wmi-descriptor.c dev_err(&wdev->dev, "Dell descriptor buffer has invalid signature (%8ph)\n", wdev 147 drivers/platform/x86/dell-wmi-descriptor.c dev_warn(&wdev->dev, "Dell descriptor buffer has unknown version (%lu)\n", wdev 150 drivers/platform/x86/dell-wmi-descriptor.c priv = devm_kzalloc(&wdev->dev, sizeof(struct descriptor_priv), wdev 162 drivers/platform/x86/dell-wmi-descriptor.c dev_set_drvdata(&wdev->dev, priv); wdev 167 drivers/platform/x86/dell-wmi-descriptor.c dev_dbg(&wdev->dev, "Detected Dell WMI interface version %lu, buffer size %lu, hotfix %lu\n", wdev 177 drivers/platform/x86/dell-wmi-descriptor.c static int dell_wmi_descriptor_remove(struct wmi_device *wdev) wdev 179 drivers/platform/x86/dell-wmi-descriptor.c struct descriptor_priv *priv = dev_get_drvdata(&wdev->dev); wdev 323 drivers/platform/x86/dell-wmi.c static void dell_wmi_process_key(struct wmi_device *wdev, int type, int code) wdev 325 drivers/platform/x86/dell-wmi.c struct dell_wmi_priv *priv = dev_get_drvdata(&wdev->dev); wdev 354 drivers/platform/x86/dell-wmi.c static void dell_wmi_notify(struct wmi_device *wdev, wdev 357 drivers/platform/x86/dell-wmi.c struct dell_wmi_priv *priv = dev_get_drvdata(&wdev->dev); wdev 408 drivers/platform/x86/dell-wmi.c dell_wmi_process_key(wdev, 0x0000, wdev 415 drivers/platform/x86/dell-wmi.c dell_wmi_process_key(wdev, buffer_entry[1], wdev 512 drivers/platform/x86/dell-wmi.c static int dell_wmi_input_setup(struct wmi_device *wdev) wdev 514 drivers/platform/x86/dell-wmi.c struct dell_wmi_priv *priv = dev_get_drvdata(&wdev->dev); wdev 525 drivers/platform/x86/dell-wmi.c priv->input_dev->dev.parent = &wdev->dev; wdev 620 drivers/platform/x86/dell-wmi.c static void dell_wmi_input_destroy(struct wmi_device *wdev) wdev 622 drivers/platform/x86/dell-wmi.c struct dell_wmi_priv *priv = dev_get_drvdata(&wdev->dev); wdev 664 drivers/platform/x86/dell-wmi.c static int dell_wmi_probe(struct wmi_device *wdev, const void *context) wdev 674 drivers/platform/x86/dell-wmi.c &wdev->dev, sizeof(struct dell_wmi_priv), GFP_KERNEL); wdev 677 drivers/platform/x86/dell-wmi.c dev_set_drvdata(&wdev->dev, priv); wdev 682 drivers/platform/x86/dell-wmi.c return dell_wmi_input_setup(wdev); wdev 685 drivers/platform/x86/dell-wmi.c static int dell_wmi_remove(struct wmi_device *wdev) wdev 687 drivers/platform/x86/dell-wmi.c dell_wmi_input_destroy(wdev); wdev 78 drivers/platform/x86/huawei-wmi.c static int huawei_wmi_leds_setup(struct wmi_device *wdev) wdev 80 drivers/platform/x86/huawei-wmi.c struct huawei_wmi_priv *priv = dev_get_drvdata(&wdev->dev); wdev 98 drivers/platform/x86/huawei-wmi.c priv->cdev.dev = &wdev->dev; wdev 101 drivers/platform/x86/huawei-wmi.c return devm_led_classdev_register(&wdev->dev, &priv->cdev); wdev 104 drivers/platform/x86/huawei-wmi.c static void huawei_wmi_process_key(struct wmi_device *wdev, int code) wdev 106 drivers/platform/x86/huawei-wmi.c struct huawei_wmi_priv *priv = dev_get_drvdata(&wdev->dev); wdev 132 drivers/platform/x86/huawei-wmi.c dev_info(&wdev->dev, "Unknown key pressed, code: 0x%04x\n", code); wdev 139 drivers/platform/x86/huawei-wmi.c static void huawei_wmi_notify(struct wmi_device *wdev, wdev 143 drivers/platform/x86/huawei-wmi.c huawei_wmi_process_key(wdev, obj->integer.value); wdev 145 drivers/platform/x86/huawei-wmi.c dev_info(&wdev->dev, "Bad response type %d\n", obj->type); wdev 148 drivers/platform/x86/huawei-wmi.c static int huawei_wmi_input_setup(struct wmi_device *wdev) wdev 150 drivers/platform/x86/huawei-wmi.c struct huawei_wmi_priv *priv = dev_get_drvdata(&wdev->dev); wdev 153 drivers/platform/x86/huawei-wmi.c priv->idev = devm_input_allocate_device(&wdev->dev); wdev 160 drivers/platform/x86/huawei-wmi.c priv->idev->dev.parent = &wdev->dev; wdev 169 drivers/platform/x86/huawei-wmi.c static int huawei_wmi_probe(struct wmi_device *wdev, const void *context) wdev 174 drivers/platform/x86/huawei-wmi.c priv = devm_kzalloc(&wdev->dev, sizeof(struct huawei_wmi_priv), GFP_KERNEL); wdev 178 drivers/platform/x86/huawei-wmi.c dev_set_drvdata(&wdev->dev, priv); wdev 180 drivers/platform/x86/huawei-wmi.c err = huawei_wmi_input_setup(wdev); wdev 184 drivers/platform/x86/huawei-wmi.c return huawei_wmi_leds_setup(wdev); wdev 59 drivers/platform/x86/intel-wmi-thunderbolt.c static int intel_wmi_thunderbolt_probe(struct wmi_device *wdev, wdev 64 drivers/platform/x86/intel-wmi-thunderbolt.c ret = sysfs_create_group(&wdev->dev.kobj, &tbt_attribute_group); wdev 65 drivers/platform/x86/intel-wmi-thunderbolt.c kobject_uevent(&wdev->dev.kobj, KOBJ_CHANGE); wdev 69 drivers/platform/x86/intel-wmi-thunderbolt.c static int intel_wmi_thunderbolt_remove(struct wmi_device *wdev) wdev 71 drivers/platform/x86/intel-wmi-thunderbolt.c sysfs_remove_group(&wdev->dev.kobj, &tbt_attribute_group); wdev 72 drivers/platform/x86/intel-wmi-thunderbolt.c kobject_uevent(&wdev->dev.kobj, KOBJ_CHANGE); wdev 49 drivers/platform/x86/wmi-bmof.c static int wmi_bmof_probe(struct wmi_device *wdev, const void *context) wdev 54 drivers/platform/x86/wmi-bmof.c priv = devm_kzalloc(&wdev->dev, sizeof(struct bmof_priv), GFP_KERNEL); wdev 58 drivers/platform/x86/wmi-bmof.c dev_set_drvdata(&wdev->dev, priv); wdev 60 drivers/platform/x86/wmi-bmof.c priv->bmofdata = wmidev_block_query(wdev, 0); wdev 62 drivers/platform/x86/wmi-bmof.c dev_err(&wdev->dev, "failed to read Binary MOF\n"); wdev 67 drivers/platform/x86/wmi-bmof.c dev_err(&wdev->dev, "Binary MOF is not a buffer\n"); wdev 78 drivers/platform/x86/wmi-bmof.c ret = sysfs_create_bin_file(&wdev->dev.kobj, &priv->bmof_bin_attr); wdev 89 drivers/platform/x86/wmi-bmof.c static int wmi_bmof_remove(struct wmi_device *wdev) wdev 91 drivers/platform/x86/wmi-bmof.c struct bmof_priv *priv = dev_get_drvdata(&wdev->dev); wdev 93 drivers/platform/x86/wmi-bmof.c sysfs_remove_bin_file(&wdev->dev.kobj, &priv->bmof_bin_attr); wdev 208 drivers/platform/x86/wmi.c int set_required_buffer_size(struct wmi_device *wdev, u64 length) wdev 212 drivers/platform/x86/wmi.c wblock = container_of(wdev, struct wmi_block, dev); wdev 251 drivers/platform/x86/wmi.c acpi_status wmidev_evaluate_method(struct wmi_device *wdev, u8 instance, wdev 262 drivers/platform/x86/wmi.c wblock = container_of(wdev, struct wmi_block, dev); wdev 385 drivers/platform/x86/wmi.c union acpi_object *wmidev_block_query(struct wmi_device *wdev, u8 instance) wdev 388 drivers/platform/x86/wmi.c struct wmi_block *wblock = container_of(wdev, struct wmi_block, dev); wdev 747 drivers/platform/x86/wmi.c struct wmi_device *wdev = dev_to_wdev(dev); wdev 749 drivers/platform/x86/wmi.c return sprintf(buf, "%d\n", (int)wdev->setable); wdev 26 drivers/platform/x86/xiaomi-wmi.c int xiaomi_wmi_probe(struct wmi_device *wdev, const void *context) wdev 30 drivers/platform/x86/xiaomi-wmi.c if (wdev == NULL || context == NULL) wdev 33 drivers/platform/x86/xiaomi-wmi.c data = devm_kzalloc(&wdev->dev, sizeof(struct xiaomi_wmi), GFP_KERNEL); wdev 36 drivers/platform/x86/xiaomi-wmi.c dev_set_drvdata(&wdev->dev, data); wdev 38 drivers/platform/x86/xiaomi-wmi.c data->input_dev = devm_input_allocate_device(&wdev->dev); wdev 51 drivers/platform/x86/xiaomi-wmi.c void xiaomi_wmi_notify(struct wmi_device *wdev, union acpi_object *dummy) wdev 55 drivers/platform/x86/xiaomi-wmi.c if (wdev == NULL) wdev 58 drivers/platform/x86/xiaomi-wmi.c data = dev_get_drvdata(&wdev->dev); wdev 93 drivers/staging/rtl8723bs/include/ioctl_cfg80211.h void rtw_wdev_free(struct wireless_dev *wdev); wdev 94 drivers/staging/rtl8723bs/include/ioctl_cfg80211.h void rtw_wdev_unregister(struct wireless_dev *wdev); wdev 254 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c struct wireless_dev *wdev = padapter->rtw_wdev; wdev 255 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c struct wiphy *wiphy = wdev->wiphy; wdev 1512 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c struct net_device *ndev = wdev_to_ndev(request->wdev); wdev 2261 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c struct wireless_dev *wdev, wdev 2269 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c struct wireless_dev *wdev, wdev 2706 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c struct wireless_dev *wdev wdev 2709 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c struct net_device *ndev = wdev_to_ndev(wdev); wdev 3087 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c struct wireless_dev *wdev, wdev 3091 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c struct net_device *ndev = wdev_to_ndev(wdev); wdev 3179 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c struct wireless_dev *wdev, wdev 3182 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c struct net_device *ndev = wdev_to_ndev(wdev); wdev 3424 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c struct wireless_dev *wdev; wdev 3448 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c wdev = rtw_zmalloc(sizeof(struct wireless_dev)); wdev 3449 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (!wdev) { wdev 3454 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c wdev->wiphy = wiphy; wdev 3455 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c wdev->netdev = pnetdev; wdev 3457 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c wdev->iftype = NL80211_IFTYPE_STATION; /* will be init in rtw_hal_init() */ wdev 3460 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c padapter->rtw_wdev = wdev; wdev 3461 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c pnetdev->ieee80211_ptr = wdev; wdev 3465 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c pwdev_priv->rtw_wdev = wdev; wdev 3495 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c void rtw_wdev_free(struct wireless_dev *wdev) wdev 3497 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c DBG_8192C("%s(wdev =%p)\n", __func__, wdev); wdev 3499 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (!wdev) wdev 3502 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c rtw_spt_band_free(wdev->wiphy->bands[NL80211_BAND_2GHZ]); wdev 3504 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c wiphy_free(wdev->wiphy); wdev 3506 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c kfree((u8 *)wdev); wdev 3509 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c void rtw_wdev_unregister(struct wireless_dev *wdev) wdev 3515 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c DBG_8192C("%s(wdev =%p)\n", __func__, wdev); wdev 3517 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (!wdev) wdev 3520 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (!(ndev = wdev_to_ndev(wdev))) wdev 3533 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c wiphy_unregister(wdev->wiphy); wdev 897 drivers/staging/wilc1000/wilc_netdev.c ndev->ieee80211_ptr = &vif->priv.wdev; wdev 907 drivers/staging/wilc1000/wilc_netdev.c vif->priv.wdev.wiphy = wl->wiphy; wdev 908 drivers/staging/wilc1000/wilc_netdev.c vif->priv.wdev.netdev = ndev; wdev 909 drivers/staging/wilc1000/wilc_netdev.c vif->priv.wdev.iftype = type; wdev 228 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c struct wilc_vif *vif = netdev_priv(request->wdev->netdev); wdev 523 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c if (priv->wdev.iftype == NL80211_IFTYPE_AP) { wdev 550 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c if (priv->wdev.iftype == NL80211_IFTYPE_AP || wdev 551 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c priv->wdev.iftype == NL80211_IFTYPE_P2P_GO) { wdev 1041 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c cfg80211_mgmt_tx_status(&priv->wdev, priv->tx_cookie, buff, wdev 1050 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c cfg80211_rx_mgmt(&priv->wdev, freq, 0, buff, size, 0); wdev 1086 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c cfg80211_rx_mgmt(&priv->wdev, freq, 0, buff, size, 0); wdev 1108 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c cfg80211_remain_on_channel_expired(&priv->wdev, params->listen_cookie, wdev 1113 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c struct wireless_dev *wdev, wdev 1118 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c struct wilc_vif *vif = netdev_priv(wdev->netdev); wdev 1122 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c if (wdev->iftype == NL80211_IFTYPE_AP) { wdev 1145 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c cfg80211_ready_on_channel(wdev, *cookie, chan, duration, GFP_KERNEL); wdev 1153 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c struct wireless_dev *wdev, wdev 1156 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c struct wilc_vif *vif = netdev_priv(wdev->netdev); wdev 1217 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c struct wireless_dev *wdev, wdev 1227 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c struct wilc_vif *vif = netdev_priv(wdev->netdev); wdev 1300 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c wilc_wlan_txq_add_mgmt_pkt(wdev->netdev, mgmt_tx, wdev 1310 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c struct wireless_dev *wdev, wdev 1313 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c struct wilc_vif *vif = netdev_priv(wdev->netdev); wdev 1324 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c cfg80211_remain_on_channel_expired(wdev, wdev 1333 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c void wilc_mgmt_frame_register(struct wiphy *wiphy, struct wireless_dev *wdev, wdev 1337 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c struct wilc_vif *vif = netdev_priv(wdev->netdev); wdev 1417 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c priv->wdev.iftype = type; wdev 1434 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c priv->wdev.iftype = type; wdev 1445 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c priv->wdev.iftype = type; wdev 1455 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c priv->wdev.iftype = type; wdev 1590 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c struct wireless_dev *wdev; wdev 1614 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c wdev = &vif->priv.wdev; wdev 1615 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c return wdev; wdev 1646 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c return &vif->priv.wdev; wdev 1653 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c static int del_virtual_intf(struct wiphy *wiphy, struct wireless_dev *wdev) wdev 1659 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c if (wdev->iftype == NL80211_IFTYPE_AP || wdev 1660 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c wdev->iftype == NL80211_IFTYPE_P2P_GO) wdev 1662 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c vif = netdev_priv(wdev->netdev); wdev 1663 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c cfg80211_stop_iface(wiphy, wdev, GFP_KERNEL); wdev 1719 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c static int set_tx_power(struct wiphy *wiphy, struct wireless_dev *wdev, wdev 1724 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c struct wilc_vif *vif = netdev_priv(wdev->netdev); wdev 1737 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c static int get_tx_power(struct wiphy *wiphy, struct wireless_dev *wdev, wdev 1741 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c struct wilc_vif *vif = netdev_priv(wdev->netdev); wdev 24 drivers/staging/wilc1000/wilc_wfi_cfgoperations.h void wilc_mgmt_frame_register(struct wiphy *wiphy, struct wireless_dev *wdev, wdev 132 drivers/staging/wilc1000/wilc_wfi_netdevice.h struct wireless_dev wdev; wdev 293 drivers/staging/wlan-ng/cfg80211.c dev = request->wdev->netdev; wdev 574 drivers/staging/wlan-ng/cfg80211.c static int prism2_set_tx_power(struct wiphy *wiphy, struct wireless_dev *wdev, wdev 601 drivers/staging/wlan-ng/cfg80211.c static int prism2_get_tx_power(struct wiphy *wiphy, struct wireless_dev *wdev, wdev 722 drivers/staging/wlan-ng/p80211netdev.c struct wireless_dev *wdev; wdev 752 drivers/staging/wlan-ng/p80211netdev.c wdev = netdev_priv(netdev); wdev 753 drivers/staging/wlan-ng/p80211netdev.c wdev->wiphy = wiphy; wdev 754 drivers/staging/wlan-ng/p80211netdev.c wdev->iftype = NL80211_IFTYPE_STATION; wdev 755 drivers/staging/wlan-ng/p80211netdev.c netdev->ieee80211_ptr = wdev; wdev 791 drivers/staging/wlan-ng/p80211netdev.c struct wireless_dev *wdev; wdev 796 drivers/staging/wlan-ng/p80211netdev.c wdev = netdev_priv(wlandev->netdev); wdev 797 drivers/staging/wlan-ng/p80211netdev.c if (wdev->wiphy) wdev 798 drivers/staging/wlan-ng/p80211netdev.c wlan_free_wiphy(wdev->wiphy); wdev 40 drivers/watchdog/ebc-c384_wdt.c static int ebc_c384_wdt_start(struct watchdog_device *wdev) wdev 42 drivers/watchdog/ebc-c384_wdt.c unsigned t = wdev->timeout; wdev 53 drivers/watchdog/ebc-c384_wdt.c static int ebc_c384_wdt_stop(struct watchdog_device *wdev) wdev 60 drivers/watchdog/ebc-c384_wdt.c static int ebc_c384_wdt_set_timeout(struct watchdog_device *wdev, unsigned t) wdev 65 drivers/watchdog/ebc-c384_wdt.c wdev->timeout = roundup(t, 60); wdev 70 drivers/watchdog/ebc-c384_wdt.c wdev->timeout = t; wdev 95 drivers/watchdog/imx2_wdt.c struct imx2_wdt_device *wdev = watchdog_get_drvdata(wdog); wdev 99 drivers/watchdog/imx2_wdt.c if (wdev->ext_reset) wdev 105 drivers/watchdog/imx2_wdt.c regmap_write(wdev->regmap, IMX2_WDT_WCR, wcr_enable); wdev 113 drivers/watchdog/imx2_wdt.c regmap_write(wdev->regmap, IMX2_WDT_WCR, wcr_enable); wdev 114 drivers/watchdog/imx2_wdt.c regmap_write(wdev->regmap, IMX2_WDT_WCR, wcr_enable); wdev 124 drivers/watchdog/imx2_wdt.c struct imx2_wdt_device *wdev = watchdog_get_drvdata(wdog); wdev 127 drivers/watchdog/imx2_wdt.c regmap_read(wdev->regmap, IMX2_WDT_WCR, &val); wdev 134 drivers/watchdog/imx2_wdt.c if (!wdev->ext_reset) wdev 144 drivers/watchdog/imx2_wdt.c regmap_write(wdev->regmap, IMX2_WDT_WCR, val); wdev 148 drivers/watchdog/imx2_wdt.c regmap_write(wdev->regmap, IMX2_WDT_WCR, val); wdev 151 drivers/watchdog/imx2_wdt.c static inline bool imx2_wdt_is_running(struct imx2_wdt_device *wdev) wdev 155 drivers/watchdog/imx2_wdt.c regmap_read(wdev->regmap, IMX2_WDT_WCR, &val); wdev 162 drivers/watchdog/imx2_wdt.c struct imx2_wdt_device *wdev = watchdog_get_drvdata(wdog); wdev 164 drivers/watchdog/imx2_wdt.c regmap_write(wdev->regmap, IMX2_WDT_WSR, IMX2_WDT_SEQ1); wdev 165 drivers/watchdog/imx2_wdt.c regmap_write(wdev->regmap, IMX2_WDT_WSR, IMX2_WDT_SEQ2); wdev 172 drivers/watchdog/imx2_wdt.c struct imx2_wdt_device *wdev = watchdog_get_drvdata(wdog); wdev 174 drivers/watchdog/imx2_wdt.c regmap_update_bits(wdev->regmap, IMX2_WDT_WCR, IMX2_WDT_WCR_WT, wdev 192 drivers/watchdog/imx2_wdt.c struct imx2_wdt_device *wdev = watchdog_get_drvdata(wdog); wdev 199 drivers/watchdog/imx2_wdt.c regmap_update_bits(wdev->regmap, IMX2_WDT_WICR, wdev 208 drivers/watchdog/imx2_wdt.c struct imx2_wdt_device *wdev = watchdog_get_drvdata(wdog); wdev 210 drivers/watchdog/imx2_wdt.c regmap_write_bits(wdev->regmap, IMX2_WDT_WICR, wdev 220 drivers/watchdog/imx2_wdt.c struct imx2_wdt_device *wdev = watchdog_get_drvdata(wdog); wdev 222 drivers/watchdog/imx2_wdt.c if (imx2_wdt_is_running(wdev)) wdev 250 drivers/watchdog/imx2_wdt.c struct imx2_wdt_device *wdev; wdev 256 drivers/watchdog/imx2_wdt.c wdev = devm_kzalloc(&pdev->dev, sizeof(*wdev), GFP_KERNEL); wdev 257 drivers/watchdog/imx2_wdt.c if (!wdev) wdev 264 drivers/watchdog/imx2_wdt.c wdev->regmap = devm_regmap_init_mmio_clk(&pdev->dev, NULL, base, wdev 266 drivers/watchdog/imx2_wdt.c if (IS_ERR(wdev->regmap)) { wdev 268 drivers/watchdog/imx2_wdt.c return PTR_ERR(wdev->regmap); wdev 271 drivers/watchdog/imx2_wdt.c wdev->clk = devm_clk_get(&pdev->dev, NULL); wdev 272 drivers/watchdog/imx2_wdt.c if (IS_ERR(wdev->clk)) { wdev 274 drivers/watchdog/imx2_wdt.c return PTR_ERR(wdev->clk); wdev 277 drivers/watchdog/imx2_wdt.c wdog = &wdev->wdog; wdev 291 drivers/watchdog/imx2_wdt.c ret = clk_prepare_enable(wdev->clk); wdev 295 drivers/watchdog/imx2_wdt.c regmap_read(wdev->regmap, IMX2_WDT_WRSR, &val); wdev 298 drivers/watchdog/imx2_wdt.c wdev->ext_reset = of_property_read_bool(pdev->dev.of_node, wdev 301 drivers/watchdog/imx2_wdt.c watchdog_set_drvdata(wdog, wdev); wdev 306 drivers/watchdog/imx2_wdt.c if (imx2_wdt_is_running(wdev)) { wdev 316 drivers/watchdog/imx2_wdt.c regmap_write(wdev->regmap, IMX2_WDT_WMCR, 0); wdev 328 drivers/watchdog/imx2_wdt.c clk_disable_unprepare(wdev->clk); wdev 335 drivers/watchdog/imx2_wdt.c struct imx2_wdt_device *wdev = watchdog_get_drvdata(wdog); wdev 339 drivers/watchdog/imx2_wdt.c if (imx2_wdt_is_running(wdev)) { wdev 349 drivers/watchdog/imx2_wdt.c struct imx2_wdt_device *wdev = watchdog_get_drvdata(wdog); wdev 351 drivers/watchdog/imx2_wdt.c if (imx2_wdt_is_running(wdev)) { wdev 367 drivers/watchdog/imx2_wdt.c struct imx2_wdt_device *wdev = watchdog_get_drvdata(wdog); wdev 370 drivers/watchdog/imx2_wdt.c if (imx2_wdt_is_running(wdev)) { wdev 379 drivers/watchdog/imx2_wdt.c clk_disable_unprepare(wdev->clk); wdev 388 drivers/watchdog/imx2_wdt.c struct imx2_wdt_device *wdev = watchdog_get_drvdata(wdog); wdev 391 drivers/watchdog/imx2_wdt.c ret = clk_prepare_enable(wdev->clk); wdev 395 drivers/watchdog/imx2_wdt.c if (watchdog_active(wdog) && !imx2_wdt_is_running(wdev)) { wdev 403 drivers/watchdog/imx2_wdt.c if (imx2_wdt_is_running(wdev)) { wdev 71 drivers/watchdog/omap_wdt.c static void omap_wdt_reload(struct omap_wdt_dev *wdev) wdev 73 drivers/watchdog/omap_wdt.c void __iomem *base = wdev->base; wdev 79 drivers/watchdog/omap_wdt.c wdev->wdt_trgr_pattern = ~wdev->wdt_trgr_pattern; wdev 80 drivers/watchdog/omap_wdt.c writel_relaxed(wdev->wdt_trgr_pattern, (base + OMAP_WATCHDOG_TGR)); wdev 88 drivers/watchdog/omap_wdt.c static void omap_wdt_enable(struct omap_wdt_dev *wdev) wdev 90 drivers/watchdog/omap_wdt.c void __iomem *base = wdev->base; wdev 102 drivers/watchdog/omap_wdt.c static void omap_wdt_disable(struct omap_wdt_dev *wdev) wdev 104 drivers/watchdog/omap_wdt.c void __iomem *base = wdev->base; wdev 116 drivers/watchdog/omap_wdt.c static void omap_wdt_set_timer(struct omap_wdt_dev *wdev, wdev 120 drivers/watchdog/omap_wdt.c void __iomem *base = wdev->base; wdev 133 drivers/watchdog/omap_wdt.c struct omap_wdt_dev *wdev = to_omap_wdt_dev(wdog); wdev 134 drivers/watchdog/omap_wdt.c void __iomem *base = wdev->base; wdev 136 drivers/watchdog/omap_wdt.c mutex_lock(&wdev->lock); wdev 138 drivers/watchdog/omap_wdt.c wdev->omap_wdt_users = true; wdev 140 drivers/watchdog/omap_wdt.c pm_runtime_get_sync(wdev->dev); wdev 147 drivers/watchdog/omap_wdt.c omap_wdt_disable(wdev); wdev 157 drivers/watchdog/omap_wdt.c omap_wdt_set_timer(wdev, wdog->timeout); wdev 158 drivers/watchdog/omap_wdt.c omap_wdt_reload(wdev); /* trigger loading of new timeout value */ wdev 159 drivers/watchdog/omap_wdt.c omap_wdt_enable(wdev); wdev 161 drivers/watchdog/omap_wdt.c mutex_unlock(&wdev->lock); wdev 168 drivers/watchdog/omap_wdt.c struct omap_wdt_dev *wdev = to_omap_wdt_dev(wdog); wdev 170 drivers/watchdog/omap_wdt.c mutex_lock(&wdev->lock); wdev 171 drivers/watchdog/omap_wdt.c omap_wdt_disable(wdev); wdev 172 drivers/watchdog/omap_wdt.c pm_runtime_put_sync(wdev->dev); wdev 173 drivers/watchdog/omap_wdt.c wdev->omap_wdt_users = false; wdev 174 drivers/watchdog/omap_wdt.c mutex_unlock(&wdev->lock); wdev 180 drivers/watchdog/omap_wdt.c struct omap_wdt_dev *wdev = to_omap_wdt_dev(wdog); wdev 182 drivers/watchdog/omap_wdt.c mutex_lock(&wdev->lock); wdev 183 drivers/watchdog/omap_wdt.c omap_wdt_reload(wdev); wdev 184 drivers/watchdog/omap_wdt.c mutex_unlock(&wdev->lock); wdev 192 drivers/watchdog/omap_wdt.c struct omap_wdt_dev *wdev = to_omap_wdt_dev(wdog); wdev 194 drivers/watchdog/omap_wdt.c mutex_lock(&wdev->lock); wdev 195 drivers/watchdog/omap_wdt.c omap_wdt_disable(wdev); wdev 196 drivers/watchdog/omap_wdt.c omap_wdt_set_timer(wdev, timeout); wdev 197 drivers/watchdog/omap_wdt.c omap_wdt_enable(wdev); wdev 198 drivers/watchdog/omap_wdt.c omap_wdt_reload(wdev); wdev 200 drivers/watchdog/omap_wdt.c mutex_unlock(&wdev->lock); wdev 207 drivers/watchdog/omap_wdt.c struct omap_wdt_dev *wdev = to_omap_wdt_dev(wdog); wdev 208 drivers/watchdog/omap_wdt.c void __iomem *base = wdev->base; wdev 232 drivers/watchdog/omap_wdt.c struct omap_wdt_dev *wdev; wdev 235 drivers/watchdog/omap_wdt.c wdev = devm_kzalloc(&pdev->dev, sizeof(*wdev), GFP_KERNEL); wdev 236 drivers/watchdog/omap_wdt.c if (!wdev) wdev 239 drivers/watchdog/omap_wdt.c wdev->omap_wdt_users = false; wdev 240 drivers/watchdog/omap_wdt.c wdev->dev = &pdev->dev; wdev 241 drivers/watchdog/omap_wdt.c wdev->wdt_trgr_pattern = 0x1234; wdev 242 drivers/watchdog/omap_wdt.c mutex_init(&wdev->lock); wdev 245 drivers/watchdog/omap_wdt.c wdev->base = devm_platform_ioremap_resource(pdev, 0); wdev 246 drivers/watchdog/omap_wdt.c if (IS_ERR(wdev->base)) wdev 247 drivers/watchdog/omap_wdt.c return PTR_ERR(wdev->base); wdev 249 drivers/watchdog/omap_wdt.c wdev->wdog.info = &omap_wdt_info; wdev 250 drivers/watchdog/omap_wdt.c wdev->wdog.ops = &omap_wdt_ops; wdev 251 drivers/watchdog/omap_wdt.c wdev->wdog.min_timeout = TIMER_MARGIN_MIN; wdev 252 drivers/watchdog/omap_wdt.c wdev->wdog.max_timeout = TIMER_MARGIN_MAX; wdev 253 drivers/watchdog/omap_wdt.c wdev->wdog.timeout = TIMER_MARGIN_DEFAULT; wdev 254 drivers/watchdog/omap_wdt.c wdev->wdog.parent = &pdev->dev; wdev 256 drivers/watchdog/omap_wdt.c watchdog_init_timeout(&wdev->wdog, timer_margin, &pdev->dev); wdev 258 drivers/watchdog/omap_wdt.c watchdog_set_nowayout(&wdev->wdog, nowayout); wdev 260 drivers/watchdog/omap_wdt.c platform_set_drvdata(pdev, wdev); wdev 262 drivers/watchdog/omap_wdt.c pm_runtime_enable(wdev->dev); wdev 263 drivers/watchdog/omap_wdt.c pm_runtime_get_sync(wdev->dev); wdev 268 drivers/watchdog/omap_wdt.c wdev->wdog.bootstatus = WDIOF_CARDRESET; wdev 272 drivers/watchdog/omap_wdt.c omap_wdt_disable(wdev); wdev 274 drivers/watchdog/omap_wdt.c ret = watchdog_register_device(&wdev->wdog); wdev 276 drivers/watchdog/omap_wdt.c pm_runtime_disable(wdev->dev); wdev 281 drivers/watchdog/omap_wdt.c readl_relaxed(wdev->base + OMAP_WATCHDOG_REV) & 0xFF, wdev 282 drivers/watchdog/omap_wdt.c wdev->wdog.timeout); wdev 285 drivers/watchdog/omap_wdt.c omap_wdt_start(&wdev->wdog); wdev 287 drivers/watchdog/omap_wdt.c pm_runtime_put(wdev->dev); wdev 294 drivers/watchdog/omap_wdt.c struct omap_wdt_dev *wdev = platform_get_drvdata(pdev); wdev 296 drivers/watchdog/omap_wdt.c mutex_lock(&wdev->lock); wdev 297 drivers/watchdog/omap_wdt.c if (wdev->omap_wdt_users) { wdev 298 drivers/watchdog/omap_wdt.c omap_wdt_disable(wdev); wdev 299 drivers/watchdog/omap_wdt.c pm_runtime_put_sync(wdev->dev); wdev 301 drivers/watchdog/omap_wdt.c mutex_unlock(&wdev->lock); wdev 306 drivers/watchdog/omap_wdt.c struct omap_wdt_dev *wdev = platform_get_drvdata(pdev); wdev 308 drivers/watchdog/omap_wdt.c pm_runtime_disable(wdev->dev); wdev 309 drivers/watchdog/omap_wdt.c watchdog_unregister_device(&wdev->wdog); wdev 324 drivers/watchdog/omap_wdt.c struct omap_wdt_dev *wdev = platform_get_drvdata(pdev); wdev 326 drivers/watchdog/omap_wdt.c mutex_lock(&wdev->lock); wdev 327 drivers/watchdog/omap_wdt.c if (wdev->omap_wdt_users) { wdev 328 drivers/watchdog/omap_wdt.c omap_wdt_disable(wdev); wdev 329 drivers/watchdog/omap_wdt.c pm_runtime_put_sync(wdev->dev); wdev 331 drivers/watchdog/omap_wdt.c mutex_unlock(&wdev->lock); wdev 338 drivers/watchdog/omap_wdt.c struct omap_wdt_dev *wdev = platform_get_drvdata(pdev); wdev 340 drivers/watchdog/omap_wdt.c mutex_lock(&wdev->lock); wdev 341 drivers/watchdog/omap_wdt.c if (wdev->omap_wdt_users) { wdev 342 drivers/watchdog/omap_wdt.c pm_runtime_get_sync(wdev->dev); wdev 343 drivers/watchdog/omap_wdt.c omap_wdt_enable(wdev); wdev 344 drivers/watchdog/omap_wdt.c omap_wdt_reload(wdev); wdev 346 drivers/watchdog/omap_wdt.c mutex_unlock(&wdev->lock); wdev 35 drivers/watchdog/pm8916_wdt.c struct watchdog_device wdev; wdev 39 drivers/watchdog/pm8916_wdt.c static int pm8916_wdt_start(struct watchdog_device *wdev) wdev 41 drivers/watchdog/pm8916_wdt.c struct pm8916_wdt *wdt = watchdog_get_drvdata(wdev); wdev 48 drivers/watchdog/pm8916_wdt.c static int pm8916_wdt_stop(struct watchdog_device *wdev) wdev 50 drivers/watchdog/pm8916_wdt.c struct pm8916_wdt *wdt = watchdog_get_drvdata(wdev); wdev 57 drivers/watchdog/pm8916_wdt.c static int pm8916_wdt_ping(struct watchdog_device *wdev) wdev 59 drivers/watchdog/pm8916_wdt.c struct pm8916_wdt *wdt = watchdog_get_drvdata(wdev); wdev 66 drivers/watchdog/pm8916_wdt.c static int pm8916_wdt_configure_timers(struct watchdog_device *wdev) wdev 68 drivers/watchdog/pm8916_wdt.c struct pm8916_wdt *wdt = watchdog_get_drvdata(wdev); wdev 73 drivers/watchdog/pm8916_wdt.c wdev->timeout - wdev->pretimeout); wdev 79 drivers/watchdog/pm8916_wdt.c wdev->pretimeout); wdev 82 drivers/watchdog/pm8916_wdt.c static int pm8916_wdt_set_timeout(struct watchdog_device *wdev, wdev 85 drivers/watchdog/pm8916_wdt.c wdev->timeout = timeout; wdev 87 drivers/watchdog/pm8916_wdt.c return pm8916_wdt_configure_timers(wdev); wdev 90 drivers/watchdog/pm8916_wdt.c static int pm8916_wdt_set_pretimeout(struct watchdog_device *wdev, wdev 93 drivers/watchdog/pm8916_wdt.c wdev->pretimeout = pretimeout; wdev 95 drivers/watchdog/pm8916_wdt.c return pm8916_wdt_configure_timers(wdev); wdev 108 drivers/watchdog/pm8916_wdt.c watchdog_notify_pretimeout(&wdt->wdev); wdev 171 drivers/watchdog/pm8916_wdt.c wdt->wdev.info = &pm8916_wdt_pt_ident; wdev 176 drivers/watchdog/pm8916_wdt.c wdt->wdev.info = &pm8916_wdt_ident; wdev 188 drivers/watchdog/pm8916_wdt.c wdt->wdev.ops = &pm8916_wdt_ops, wdev 189 drivers/watchdog/pm8916_wdt.c wdt->wdev.parent = dev; wdev 190 drivers/watchdog/pm8916_wdt.c wdt->wdev.min_timeout = PM8916_WDT_MIN_TIMEOUT; wdev 191 drivers/watchdog/pm8916_wdt.c wdt->wdev.max_timeout = PM8916_WDT_MAX_TIMEOUT; wdev 192 drivers/watchdog/pm8916_wdt.c wdt->wdev.timeout = PM8916_WDT_DEFAULT_TIMEOUT; wdev 193 drivers/watchdog/pm8916_wdt.c wdt->wdev.pretimeout = 0; wdev 194 drivers/watchdog/pm8916_wdt.c watchdog_set_drvdata(&wdt->wdev, wdt); wdev 196 drivers/watchdog/pm8916_wdt.c watchdog_init_timeout(&wdt->wdev, 0, dev); wdev 197 drivers/watchdog/pm8916_wdt.c pm8916_wdt_configure_timers(&wdt->wdev); wdev 199 drivers/watchdog/pm8916_wdt.c return devm_watchdog_register_device(dev, &wdt->wdev); wdev 50 drivers/watchdog/renesas_wdt.c struct watchdog_device wdev; wdev 65 drivers/watchdog/renesas_wdt.c static int rwdt_init_timeout(struct watchdog_device *wdev) wdev 67 drivers/watchdog/renesas_wdt.c struct rwdt_priv *priv = watchdog_get_drvdata(wdev); wdev 69 drivers/watchdog/renesas_wdt.c rwdt_write(priv, 65536 - MUL_BY_CLKS_PER_SEC(priv, wdev->timeout), RWTCNT); wdev 83 drivers/watchdog/renesas_wdt.c static int rwdt_start(struct watchdog_device *wdev) wdev 85 drivers/watchdog/renesas_wdt.c struct rwdt_priv *priv = watchdog_get_drvdata(wdev); wdev 88 drivers/watchdog/renesas_wdt.c pm_runtime_get_sync(wdev->parent); wdev 96 drivers/watchdog/renesas_wdt.c rwdt_init_timeout(wdev); wdev 108 drivers/watchdog/renesas_wdt.c static int rwdt_stop(struct watchdog_device *wdev) wdev 110 drivers/watchdog/renesas_wdt.c struct rwdt_priv *priv = watchdog_get_drvdata(wdev); wdev 115 drivers/watchdog/renesas_wdt.c pm_runtime_put(wdev->parent); wdev 120 drivers/watchdog/renesas_wdt.c static unsigned int rwdt_get_timeleft(struct watchdog_device *wdev) wdev 122 drivers/watchdog/renesas_wdt.c struct rwdt_priv *priv = watchdog_get_drvdata(wdev); wdev 128 drivers/watchdog/renesas_wdt.c static int rwdt_restart(struct watchdog_device *wdev, unsigned long action, wdev 131 drivers/watchdog/renesas_wdt.c struct rwdt_priv *priv = watchdog_get_drvdata(wdev); wdev 133 drivers/watchdog/renesas_wdt.c rwdt_start(wdev); wdev 216 drivers/watchdog/renesas_wdt.c priv->wdev.bootstatus = (readb_relaxed(priv->base + RWTCSRA) & wdev 239 drivers/watchdog/renesas_wdt.c priv->wdev.info = &rwdt_ident; wdev 240 drivers/watchdog/renesas_wdt.c priv->wdev.ops = &rwdt_ops; wdev 241 drivers/watchdog/renesas_wdt.c priv->wdev.parent = dev; wdev 242 drivers/watchdog/renesas_wdt.c priv->wdev.min_timeout = 1; wdev 243 drivers/watchdog/renesas_wdt.c priv->wdev.max_timeout = DIV_BY_CLKS_PER_SEC(priv, 65536); wdev 244 drivers/watchdog/renesas_wdt.c priv->wdev.timeout = min(priv->wdev.max_timeout, RWDT_DEFAULT_TIMEOUT); wdev 247 drivers/watchdog/renesas_wdt.c watchdog_set_drvdata(&priv->wdev, priv); wdev 248 drivers/watchdog/renesas_wdt.c watchdog_set_nowayout(&priv->wdev, nowayout); wdev 249 drivers/watchdog/renesas_wdt.c watchdog_set_restart_priority(&priv->wdev, 0); wdev 250 drivers/watchdog/renesas_wdt.c watchdog_stop_on_unregister(&priv->wdev); wdev 253 drivers/watchdog/renesas_wdt.c watchdog_init_timeout(&priv->wdev, 0, dev); wdev 255 drivers/watchdog/renesas_wdt.c ret = watchdog_register_device(&priv->wdev); wdev 270 drivers/watchdog/renesas_wdt.c watchdog_unregister_device(&priv->wdev); wdev 280 drivers/watchdog/renesas_wdt.c if (watchdog_active(&priv->wdev)) wdev 281 drivers/watchdog/renesas_wdt.c rwdt_stop(&priv->wdev); wdev 290 drivers/watchdog/renesas_wdt.c if (watchdog_active(&priv->wdev)) wdev 291 drivers/watchdog/renesas_wdt.c rwdt_start(&priv->wdev); wdev 34 drivers/watchdog/retu_wdt.c static void retu_wdt_ping_enable(struct retu_wdt_dev *wdev) wdev 36 drivers/watchdog/retu_wdt.c retu_write(wdev->rdev, RETU_REG_WATCHDOG, RETU_WDT_MAX_TIMER); wdev 37 drivers/watchdog/retu_wdt.c schedule_delayed_work(&wdev->ping_work, wdev 41 drivers/watchdog/retu_wdt.c static void retu_wdt_ping_disable(struct retu_wdt_dev *wdev) wdev 43 drivers/watchdog/retu_wdt.c retu_write(wdev->rdev, RETU_REG_WATCHDOG, RETU_WDT_MAX_TIMER); wdev 44 drivers/watchdog/retu_wdt.c cancel_delayed_work_sync(&wdev->ping_work); wdev 49 drivers/watchdog/retu_wdt.c struct retu_wdt_dev *wdev = container_of(to_delayed_work(work), wdev 51 drivers/watchdog/retu_wdt.c retu_wdt_ping_enable(wdev); wdev 56 drivers/watchdog/retu_wdt.c struct retu_wdt_dev *wdev = watchdog_get_drvdata(wdog); wdev 58 drivers/watchdog/retu_wdt.c retu_wdt_ping_disable(wdev); wdev 60 drivers/watchdog/retu_wdt.c return retu_write(wdev->rdev, RETU_REG_WATCHDOG, wdog->timeout); wdev 65 drivers/watchdog/retu_wdt.c struct retu_wdt_dev *wdev = watchdog_get_drvdata(wdog); wdev 67 drivers/watchdog/retu_wdt.c retu_wdt_ping_enable(wdev); wdev 74 drivers/watchdog/retu_wdt.c struct retu_wdt_dev *wdev = watchdog_get_drvdata(wdog); wdev 76 drivers/watchdog/retu_wdt.c return retu_write(wdev->rdev, RETU_REG_WATCHDOG, wdog->timeout); wdev 82 drivers/watchdog/retu_wdt.c struct retu_wdt_dev *wdev = watchdog_get_drvdata(wdog); wdev 85 drivers/watchdog/retu_wdt.c return retu_write(wdev->rdev, RETU_REG_WATCHDOG, wdog->timeout); wdev 106 drivers/watchdog/retu_wdt.c struct retu_wdt_dev *wdev; wdev 113 drivers/watchdog/retu_wdt.c wdev = devm_kzalloc(&pdev->dev, sizeof(*wdev), GFP_KERNEL); wdev 114 drivers/watchdog/retu_wdt.c if (!wdev) wdev 124 drivers/watchdog/retu_wdt.c watchdog_set_drvdata(retu_wdt, wdev); wdev 127 drivers/watchdog/retu_wdt.c wdev->rdev = rdev; wdev 128 drivers/watchdog/retu_wdt.c wdev->dev = &pdev->dev; wdev 130 drivers/watchdog/retu_wdt.c INIT_DELAYED_WORK(&wdev->ping_work, retu_wdt_ping_work); wdev 139 drivers/watchdog/retu_wdt.c retu_wdt_ping_enable(wdev); wdev 149 drivers/watchdog/retu_wdt.c struct retu_wdt_dev *wdev = watchdog_get_drvdata(wdog); wdev 152 drivers/watchdog/retu_wdt.c cancel_delayed_work_sync(&wdev->ping_work); wdev 33 drivers/watchdog/rtd119x_wdt.c static int rtd119x_wdt_start(struct watchdog_device *wdev) wdev 35 drivers/watchdog/rtd119x_wdt.c struct rtd119x_watchdog_device *data = watchdog_get_drvdata(wdev); wdev 46 drivers/watchdog/rtd119x_wdt.c static int rtd119x_wdt_stop(struct watchdog_device *wdev) wdev 48 drivers/watchdog/rtd119x_wdt.c struct rtd119x_watchdog_device *data = watchdog_get_drvdata(wdev); wdev 59 drivers/watchdog/rtd119x_wdt.c static int rtd119x_wdt_ping(struct watchdog_device *wdev) wdev 61 drivers/watchdog/rtd119x_wdt.c struct rtd119x_watchdog_device *data = watchdog_get_drvdata(wdev); wdev 65 drivers/watchdog/rtd119x_wdt.c return rtd119x_wdt_start(wdev); wdev 68 drivers/watchdog/rtd119x_wdt.c static int rtd119x_wdt_set_timeout(struct watchdog_device *wdev, unsigned int val) wdev 70 drivers/watchdog/rtd119x_wdt.c struct rtd119x_watchdog_device *data = watchdog_get_drvdata(wdev); wdev 43 drivers/watchdog/rza_wdt.c struct watchdog_device wdev; wdev 74 drivers/watchdog/rza_wdt.c static int rza_wdt_start(struct watchdog_device *wdev) wdev 76 drivers/watchdog/rza_wdt.c struct rza_wdt *priv = watchdog_get_drvdata(wdev); wdev 85 drivers/watchdog/rza_wdt.c rza_wdt_calc_timeout(priv, wdev->timeout); wdev 95 drivers/watchdog/rza_wdt.c static int rza_wdt_stop(struct watchdog_device *wdev) wdev 97 drivers/watchdog/rza_wdt.c struct rza_wdt *priv = watchdog_get_drvdata(wdev); wdev 104 drivers/watchdog/rza_wdt.c static int rza_wdt_ping(struct watchdog_device *wdev) wdev 106 drivers/watchdog/rza_wdt.c struct rza_wdt *priv = watchdog_get_drvdata(wdev); wdev 110 drivers/watchdog/rza_wdt.c pr_debug("%s: timeout = %u\n", __func__, wdev->timeout); wdev 115 drivers/watchdog/rza_wdt.c static int rza_set_timeout(struct watchdog_device *wdev, unsigned int timeout) wdev 117 drivers/watchdog/rza_wdt.c wdev->timeout = timeout; wdev 118 drivers/watchdog/rza_wdt.c rza_wdt_start(wdev); wdev 122 drivers/watchdog/rza_wdt.c static int rza_wdt_restart(struct watchdog_device *wdev, unsigned long action, wdev 125 drivers/watchdog/rza_wdt.c struct rza_wdt *priv = watchdog_get_drvdata(wdev); wdev 192 drivers/watchdog/rza_wdt.c priv->wdev.info = &rza_wdt_ident, wdev 193 drivers/watchdog/rza_wdt.c priv->wdev.ops = &rza_wdt_ops, wdev 194 drivers/watchdog/rza_wdt.c priv->wdev.parent = dev; wdev 199 drivers/watchdog/rza_wdt.c priv->wdev.max_timeout = (DIVIDER_4BIT * U8_MAX) / rate; wdev 210 drivers/watchdog/rza_wdt.c priv->wdev.max_hw_heartbeat_ms = (1000 * U8_MAX) / rate; wdev 212 drivers/watchdog/rza_wdt.c priv->wdev.max_hw_heartbeat_ms); wdev 215 drivers/watchdog/rza_wdt.c priv->wdev.min_timeout = 1; wdev 216 drivers/watchdog/rza_wdt.c priv->wdev.timeout = DEFAULT_TIMEOUT; wdev 218 drivers/watchdog/rza_wdt.c watchdog_init_timeout(&priv->wdev, 0, dev); wdev 219 drivers/watchdog/rza_wdt.c watchdog_set_drvdata(&priv->wdev, priv); wdev 221 drivers/watchdog/rza_wdt.c ret = devm_watchdog_register_device(dev, &priv->wdev); wdev 57 drivers/watchdog/uniphier_wdt.c struct uniphier_wdt_dev *wdev = watchdog_get_drvdata(w); wdev 62 drivers/watchdog/uniphier_wdt.c ret = regmap_write_bits(wdev->regmap, WDTCTRL, wdev 69 drivers/watchdog/uniphier_wdt.c ret = regmap_read_poll_timeout(wdev->regmap, WDTCTRL, val, wdev 126 drivers/watchdog/uniphier_wdt.c struct uniphier_wdt_dev *wdev = watchdog_get_drvdata(w); wdev 131 drivers/watchdog/uniphier_wdt.c return __uniphier_watchdog_start(wdev->regmap, tmp_timeout); wdev 136 drivers/watchdog/uniphier_wdt.c struct uniphier_wdt_dev *wdev = watchdog_get_drvdata(w); wdev 138 drivers/watchdog/uniphier_wdt.c return __uniphier_watchdog_stop(wdev->regmap); wdev 144 drivers/watchdog/uniphier_wdt.c struct uniphier_wdt_dev *wdev = watchdog_get_drvdata(w); wdev 153 drivers/watchdog/uniphier_wdt.c ret = __uniphier_watchdog_restart(wdev->regmap, tmp_timeout); wdev 185 drivers/watchdog/uniphier_wdt.c struct uniphier_wdt_dev *wdev; wdev 190 drivers/watchdog/uniphier_wdt.c wdev = devm_kzalloc(dev, sizeof(*wdev), GFP_KERNEL); wdev 191 drivers/watchdog/uniphier_wdt.c if (!wdev) wdev 200 drivers/watchdog/uniphier_wdt.c wdev->regmap = regmap; wdev 201 drivers/watchdog/uniphier_wdt.c wdev->wdt_dev.info = &uniphier_wdt_info; wdev 202 drivers/watchdog/uniphier_wdt.c wdev->wdt_dev.ops = &uniphier_wdt_ops; wdev 203 drivers/watchdog/uniphier_wdt.c wdev->wdt_dev.max_timeout = WDT_PERIOD_MAX; wdev 204 drivers/watchdog/uniphier_wdt.c wdev->wdt_dev.min_timeout = WDT_PERIOD_MIN; wdev 205 drivers/watchdog/uniphier_wdt.c wdev->wdt_dev.timeout = WDT_DEFAULT_TIMEOUT; wdev 206 drivers/watchdog/uniphier_wdt.c wdev->wdt_dev.parent = dev; wdev 208 drivers/watchdog/uniphier_wdt.c watchdog_init_timeout(&wdev->wdt_dev, timeout, dev); wdev 209 drivers/watchdog/uniphier_wdt.c watchdog_set_nowayout(&wdev->wdt_dev, nowayout); wdev 210 drivers/watchdog/uniphier_wdt.c watchdog_stop_on_reboot(&wdev->wdt_dev); wdev 212 drivers/watchdog/uniphier_wdt.c watchdog_set_drvdata(&wdev->wdt_dev, wdev); wdev 214 drivers/watchdog/uniphier_wdt.c uniphier_watchdog_stop(&wdev->wdt_dev); wdev 215 drivers/watchdog/uniphier_wdt.c ret = regmap_write(wdev->regmap, WDTRSTSEL, WDTRSTSEL_RSTSEL_BOTH); wdev 219 drivers/watchdog/uniphier_wdt.c ret = devm_watchdog_register_device(dev, &wdev->wdt_dev); wdev 224 drivers/watchdog/uniphier_wdt.c wdev->wdt_dev.timeout, nowayout); wdev 24 include/linux/wmi.h extern acpi_status wmidev_evaluate_method(struct wmi_device *wdev, wdev 30 include/linux/wmi.h extern union acpi_object *wmidev_block_query(struct wmi_device *wdev, wdev 33 include/linux/wmi.h extern int set_required_buffer_size(struct wmi_device *wdev, u64 length); wdev 39 include/linux/wmi.h int (*probe)(struct wmi_device *wdev, const void *context); wdev 40 include/linux/wmi.h int (*remove)(struct wmi_device *wdev); wdev 42 include/linux/wmi.h long (*filter_callback)(struct wmi_device *wdev, unsigned int cmd, wdev 162 include/net/6lowpan.h struct net_device *wdev; /* wpan device ptr */ wdev 1943 include/net/cfg80211.h struct wireless_dev *wdev; wdev 3643 include/net/cfg80211.h struct wireless_dev *wdev); wdev 3731 include/net/cfg80211.h void (*abort_scan)(struct wiphy *wiphy, struct wireless_dev *wdev); wdev 3760 include/net/cfg80211.h int (*set_tx_power)(struct wiphy *wiphy, struct wireless_dev *wdev, wdev 3762 include/net/cfg80211.h int (*get_tx_power)(struct wiphy *wiphy, struct wireless_dev *wdev, wdev 3771 include/net/cfg80211.h int (*testmode_cmd)(struct wiphy *wiphy, struct wireless_dev *wdev, wdev 3793 include/net/cfg80211.h struct wireless_dev *wdev, wdev 3798 include/net/cfg80211.h struct wireless_dev *wdev, wdev 3801 include/net/cfg80211.h int (*mgmt_tx)(struct wiphy *wiphy, struct wireless_dev *wdev, wdev 3805 include/net/cfg80211.h struct wireless_dev *wdev, wdev 3824 include/net/cfg80211.h struct wireless_dev *wdev, wdev 3854 include/net/cfg80211.h struct wireless_dev *wdev, wdev 3858 include/net/cfg80211.h struct wireless_dev *wdev); wdev 3860 include/net/cfg80211.h struct wireless_dev *wdev); wdev 3874 include/net/cfg80211.h struct wireless_dev *wdev, wdev 3878 include/net/cfg80211.h struct wireless_dev *wdev); wdev 3906 include/net/cfg80211.h int (*start_nan)(struct wiphy *wiphy, struct wireless_dev *wdev, wdev 3908 include/net/cfg80211.h void (*stop_nan)(struct wiphy *wiphy, struct wireless_dev *wdev); wdev 3909 include/net/cfg80211.h int (*add_nan_func)(struct wiphy *wiphy, struct wireless_dev *wdev, wdev 3911 include/net/cfg80211.h void (*del_nan_func)(struct wiphy *wiphy, struct wireless_dev *wdev, wdev 3914 include/net/cfg80211.h struct wireless_dev *wdev, wdev 3923 include/net/cfg80211.h struct wireless_dev *wdev, wdev 3943 include/net/cfg80211.h int (*start_pmsr)(struct wiphy *wiphy, struct wireless_dev *wdev, wdev 3945 include/net/cfg80211.h void (*abort_pmsr)(struct wiphy *wiphy, struct wireless_dev *wdev, wdev 4304 include/net/cfg80211.h int (*doit)(struct wiphy *wiphy, struct wireless_dev *wdev, wdev 4306 include/net/cfg80211.h int (*dumpit)(struct wiphy *wiphy, struct wireless_dev *wdev, wdev 4978 include/net/cfg80211.h static inline u8 *wdev_address(struct wireless_dev *wdev) wdev 4980 include/net/cfg80211.h if (wdev->netdev) wdev 4981 include/net/cfg80211.h return wdev->netdev->dev_addr; wdev 4982 include/net/cfg80211.h return wdev->address; wdev 4985 include/net/cfg80211.h static inline bool wdev_running(struct wireless_dev *wdev) wdev 4987 include/net/cfg80211.h if (wdev->netdev) wdev 4988 include/net/cfg80211.h return netif_running(wdev->netdev); wdev 4989 include/net/cfg80211.h return wdev->is_running; wdev 4998 include/net/cfg80211.h static inline void *wdev_priv(struct wireless_dev *wdev) wdev 5000 include/net/cfg80211.h BUG_ON(!wdev); wdev 5001 include/net/cfg80211.h return wiphy_priv(wdev->wiphy); wdev 6111 include/net/cfg80211.h struct wireless_dev *wdev, wdev 6195 include/net/cfg80211.h cfg80211_vendor_event_alloc(struct wiphy *wiphy, struct wireless_dev *wdev, wdev 6198 include/net/cfg80211.h return __cfg80211_alloc_event_skb(wiphy, wdev, NL80211_CMD_VENDOR, wdev 6229 include/net/cfg80211.h struct wireless_dev *wdev, wdev 6233 include/net/cfg80211.h return __cfg80211_alloc_event_skb(wiphy, wdev, NL80211_CMD_VENDOR, wdev 6649 include/net/cfg80211.h void cfg80211_ready_on_channel(struct wireless_dev *wdev, u64 cookie, wdev 6660 include/net/cfg80211.h void cfg80211_remain_on_channel_expired(struct wireless_dev *wdev, u64 cookie, wdev 6671 include/net/cfg80211.h void cfg80211_tx_mgmt_expired(struct wireless_dev *wdev, u64 cookie, wdev 6765 include/net/cfg80211.h bool cfg80211_rx_mgmt(struct wireless_dev *wdev, int freq, int sig_dbm, wdev 6781 include/net/cfg80211.h void cfg80211_mgmt_tx_status(struct wireless_dev *wdev, u64 cookie, wdev 7098 include/net/cfg80211.h void cfg80211_unregister_wdev(struct wireless_dev *wdev); wdev 7218 include/net/cfg80211.h void cfg80211_report_wowlan_wakeup(struct wireless_dev *wdev, wdev 7232 include/net/cfg80211.h void cfg80211_crit_proto_stopped(struct wireless_dev *wdev, gfp_t gfp); wdev 7285 include/net/cfg80211.h void cfg80211_stop_iface(struct wiphy *wiphy, struct wireless_dev *wdev, wdev 7381 include/net/cfg80211.h void cfg80211_nan_match(struct wireless_dev *wdev, wdev 7395 include/net/cfg80211.h void cfg80211_nan_func_terminated(struct wireless_dev *wdev, wdev 7421 include/net/cfg80211.h void cfg80211_pmsr_report(struct wireless_dev *wdev, wdev 7435 include/net/cfg80211.h void cfg80211_pmsr_complete(struct wireless_dev *wdev, wdev 1657 include/net/mac80211.h struct ieee80211_vif *wdev_to_ieee80211_vif(struct wireless_dev *wdev); wdev 80 net/6lowpan/core.c struct wpan_dev *wpan_dev = lowpan_802154_dev(dev)->wdev->ieee802154_ptr; wdev 217 net/6lowpan/debugfs.c struct wpan_dev *wdev = data; wdev 220 net/6lowpan/debugfs.c *val = le16_to_cpu(wdev->short_addr); wdev 240 net/6lowpan/debugfs.c lowpan_802154_dev(dev)->wdev->ieee802154_ptr, wdev 143 net/6lowpan/ndisc.c wpan_dev = lowpan_802154_dev(dev)->wdev->ieee802154_ptr; wdev 186 net/6lowpan/ndisc.c wpan_dev = lowpan_802154_dev(dev)->wdev->ieee802154_ptr; wdev 88 net/ieee802154/6lowpan/core.c return lowpan_802154_dev(dev)->wdev->ifindex; wdev 127 net/ieee802154/6lowpan/core.c struct net_device *wdev; wdev 137 net/ieee802154/6lowpan/core.c wdev = dev_get_by_index(dev_net(ldev), nla_get_u32(tb[IFLA_LINK])); wdev 138 net/ieee802154/6lowpan/core.c if (!wdev) wdev 140 net/ieee802154/6lowpan/core.c if (wdev->type != ARPHRD_IEEE802154) { wdev 141 net/ieee802154/6lowpan/core.c dev_put(wdev); wdev 145 net/ieee802154/6lowpan/core.c if (wdev->ieee802154_ptr->lowpan_dev) { wdev 146 net/ieee802154/6lowpan/core.c dev_put(wdev); wdev 150 net/ieee802154/6lowpan/core.c lowpan_802154_dev(ldev)->wdev = wdev; wdev 152 net/ieee802154/6lowpan/core.c memcpy(ldev->dev_addr, wdev->dev_addr, IEEE802154_ADDR_LEN); wdev 160 net/ieee802154/6lowpan/core.c wdev->needed_headroom; wdev 161 net/ieee802154/6lowpan/core.c ldev->needed_tailroom = wdev->needed_tailroom; wdev 167 net/ieee802154/6lowpan/core.c dev_put(wdev); wdev 171 net/ieee802154/6lowpan/core.c wdev->ieee802154_ptr->lowpan_dev = ldev; wdev 177 net/ieee802154/6lowpan/core.c struct net_device *wdev = lowpan_802154_dev(ldev)->wdev; wdev 181 net/ieee802154/6lowpan/core.c wdev->ieee802154_ptr->lowpan_dev = NULL; wdev 183 net/ieee802154/6lowpan/core.c dev_put(wdev); wdev 271 net/ieee802154/6lowpan/rx.c static int lowpan_rcv(struct sk_buff *skb, struct net_device *wdev, wdev 276 net/ieee802154/6lowpan/rx.c if (wdev->type != ARPHRD_IEEE802154 || wdev 281 net/ieee802154/6lowpan/rx.c ldev = wdev->ieee802154_ptr->lowpan_dev; wdev 37 net/ieee802154/6lowpan/tx.c struct wpan_dev *wpan_dev = lowpan_802154_dev(ldev)->wdev->ieee802154_ptr; wdev 104 net/ieee802154/6lowpan/tx.c struct net_device *wdev = lowpan_802154_dev(skb->dev)->wdev; wdev 108 net/ieee802154/6lowpan/tx.c frag = alloc_skb(wdev->needed_headroom + wdev->needed_tailroom + size, wdev 112 net/ieee802154/6lowpan/tx.c frag->dev = wdev; wdev 114 net/ieee802154/6lowpan/tx.c skb_reserve(frag, wdev->needed_headroom); wdev 121 net/ieee802154/6lowpan/tx.c rc = wpan_dev_hard_header(frag, wdev, wdev 227 net/ieee802154/6lowpan/tx.c struct wpan_dev *wpan_dev = lowpan_802154_dev(ldev)->wdev->ieee802154_ptr; wdev 246 net/ieee802154/6lowpan/tx.c return wpan_dev_hard_header(skb, lowpan_802154_dev(ldev)->wdev, wdev 296 net/ieee802154/6lowpan/tx.c skb->dev = lowpan_802154_dev(ldev)->wdev; wdev 899 net/ieee802154/nl802154.c struct wpan_dev *wdev = info->user_ptr[1]; wdev 906 net/ieee802154/nl802154.c rdev, wdev) < 0) { wdev 122 net/mac80211/cfg.c struct wireless_dev *wdev; wdev 126 net/mac80211/cfg.c err = ieee80211_if_add(local, name, name_assign_type, &wdev, type, params); wdev 130 net/mac80211/cfg.c sdata = IEEE80211_WDEV_TO_SUB_IF(wdev); wdev 140 net/mac80211/cfg.c return wdev; wdev 143 net/mac80211/cfg.c static int ieee80211_del_iface(struct wiphy *wiphy, struct wireless_dev *wdev) wdev 145 net/mac80211/cfg.c ieee80211_if_remove(IEEE80211_WDEV_TO_SUB_IF(wdev)); wdev 179 net/mac80211/cfg.c struct wireless_dev *wdev) wdev 181 net/mac80211/cfg.c struct ieee80211_sub_if_data *sdata = IEEE80211_WDEV_TO_SUB_IF(wdev); wdev 190 net/mac80211/cfg.c return ieee80211_do_open(wdev, true); wdev 194 net/mac80211/cfg.c struct wireless_dev *wdev) wdev 196 net/mac80211/cfg.c ieee80211_sdata_stop(IEEE80211_WDEV_TO_SUB_IF(wdev)); wdev 200 net/mac80211/cfg.c struct wireless_dev *wdev, wdev 203 net/mac80211/cfg.c struct ieee80211_sub_if_data *sdata = IEEE80211_WDEV_TO_SUB_IF(wdev); wdev 212 net/mac80211/cfg.c ret = ieee80211_do_open(wdev, true); wdev 226 net/mac80211/cfg.c struct wireless_dev *wdev) wdev 228 net/mac80211/cfg.c struct ieee80211_sub_if_data *sdata = IEEE80211_WDEV_TO_SUB_IF(wdev); wdev 235 net/mac80211/cfg.c struct wireless_dev *wdev, wdev 239 net/mac80211/cfg.c struct ieee80211_sub_if_data *sdata = IEEE80211_WDEV_TO_SUB_IF(wdev); wdev 265 net/mac80211/cfg.c struct wireless_dev *wdev, wdev 268 net/mac80211/cfg.c struct ieee80211_sub_if_data *sdata = IEEE80211_WDEV_TO_SUB_IF(wdev); wdev 320 net/mac80211/cfg.c struct wireless_dev *wdev, u64 cookie) wdev 322 net/mac80211/cfg.c struct ieee80211_sub_if_data *sdata = IEEE80211_WDEV_TO_SUB_IF(wdev); wdev 1182 net/mac80211/cfg.c if (sdata->wdev.cac_started) { wdev 2295 net/mac80211/cfg.c sdata = IEEE80211_WDEV_TO_SUB_IF(req->wdev); wdev 2334 net/mac80211/cfg.c static void ieee80211_abort_scan(struct wiphy *wiphy, struct wireless_dev *wdev) wdev 2481 net/mac80211/cfg.c struct wireless_dev *wdev, wdev 2490 net/mac80211/cfg.c if (wdev) { wdev 2491 net/mac80211/cfg.c sdata = IEEE80211_WDEV_TO_SUB_IF(wdev); wdev 2569 net/mac80211/cfg.c struct wireless_dev *wdev, wdev 2573 net/mac80211/cfg.c struct ieee80211_sub_if_data *sdata = IEEE80211_WDEV_TO_SUB_IF(wdev); wdev 2605 net/mac80211/cfg.c struct wireless_dev *wdev, wdev 2614 net/mac80211/cfg.c if (wdev) { wdev 2617 net/mac80211/cfg.c sdata = IEEE80211_WDEV_TO_SUB_IF(wdev); wdev 2716 net/mac80211/cfg.c lockdep_assert_held(&sdata->wdev.mtx); wdev 2971 net/mac80211/cfg.c if (sdata->wdev.cac_started) { wdev 2973 net/mac80211/cfg.c sdata->wdev.cac_started = false; wdev 3157 net/mac80211/cfg.c cfg80211_stop_iface(sdata->local->hw.wiphy, &sdata->wdev, wdev 3339 net/mac80211/cfg.c if (sdata->wdev.cac_started) wdev 3470 net/mac80211/cfg.c struct wireless_dev *wdev, wdev 3474 net/mac80211/cfg.c struct ieee80211_sub_if_data *sdata = IEEE80211_WDEV_TO_SUB_IF(wdev); wdev 3631 net/mac80211/cfg.c struct wireless_dev *wdev, wdev 3634 net/mac80211/cfg.c struct ieee80211_sub_if_data *sdata = IEEE80211_WDEV_TO_SUB_IF(wdev); wdev 3893 net/mac80211/cfg.c struct wireless_dev *wdev, wdev 3906 net/mac80211/cfg.c if (wdev) { wdev 3907 net/mac80211/cfg.c sdata = IEEE80211_WDEV_TO_SUB_IF(wdev); wdev 1479 net/mac80211/chan.c &sdata->wdev, wdev 1572 net/mac80211/chan.c sdata->wdev.iftype); wdev 226 net/mac80211/ethtool.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 228 net/mac80211/ethtool.c regs->version = wdev->wiphy->hw_version; wdev 259 net/mac80211/ibss.c lockdep_is_held(&sdata->wdev.mtx)); wdev 516 net/mac80211/ibss.c lockdep_is_held(&sdata->wdev.mtx)); wdev 732 net/mac80211/ibss.c lockdep_is_held(&sdata->wdev.mtx)); wdev 1539 net/mac80211/ibss.c lockdep_is_held(&sdata->wdev.mtx)); wdev 1770 net/mac80211/ibss.c sdata->wdev.iftype); wdev 878 net/mac80211/ieee80211_i.h struct wireless_dev wdev; wdev 998 net/mac80211/ieee80211_i.h __acquires(&sdata->wdev.mtx) wdev 1000 net/mac80211/ieee80211_i.h mutex_lock(&sdata->wdev.mtx); wdev 1001 net/mac80211/ieee80211_i.h __acquire(&sdata->wdev.mtx); wdev 1005 net/mac80211/ieee80211_i.h __releases(&sdata->wdev.mtx) wdev 1007 net/mac80211/ieee80211_i.h mutex_unlock(&sdata->wdev.mtx); wdev 1008 net/mac80211/ieee80211_i.h __release(&sdata->wdev.mtx); wdev 1012 net/mac80211/ieee80211_i.h rcu_dereference_protected(p, lockdep_is_held(&sdata->wdev.mtx)) wdev 1017 net/mac80211/ieee80211_i.h lockdep_assert_held(&sdata->wdev.mtx); wdev 1420 net/mac80211/ieee80211_i.h IEEE80211_WDEV_TO_SUB_IF(struct wireless_dev *wdev) wdev 1422 net/mac80211/ieee80211_i.h return container_of(wdev, struct ieee80211_sub_if_data, wdev); wdev 1710 net/mac80211/ieee80211_i.h int ieee80211_remain_on_channel(struct wiphy *wiphy, struct wireless_dev *wdev, wdev 1714 net/mac80211/ieee80211_i.h struct wireless_dev *wdev, u64 cookie); wdev 1715 net/mac80211/ieee80211_i.h int ieee80211_mgmt_tx(struct wiphy *wiphy, struct wireless_dev *wdev, wdev 1718 net/mac80211/ieee80211_i.h struct wireless_dev *wdev, u64 cookie); wdev 1740 net/mac80211/ieee80211_i.h int ieee80211_do_open(struct wireless_dev *wdev, bool coming_up); wdev 409 net/mac80211/iface.c sdata->wdev.iftype = NL80211_IFTYPE_MONITOR; wdev 489 net/mac80211/iface.c int ieee80211_do_open(struct wireless_dev *wdev, bool coming_up) wdev 491 net/mac80211/iface.c struct ieee80211_sub_if_data *sdata = IEEE80211_WDEV_TO_SUB_IF(wdev); wdev 492 net/mac80211/iface.c struct net_device *dev = wdev->netdev; wdev 790 net/mac80211/iface.c return ieee80211_do_open(&sdata->wdev, true); wdev 900 net/mac80211/iface.c if (sdata->wdev.cac_started) { wdev 1399 net/mac80211/iface.c sdata->wdev.iftype = type; wdev 1557 net/mac80211/iface.c err = ieee80211_do_open(&sdata->wdev, false); wdev 1738 net/mac80211/iface.c struct wireless_dev *wdev; wdev 1744 net/mac80211/iface.c wdev = &sdata->wdev; wdev 1748 net/mac80211/iface.c ieee80211_assign_perm_addr(local, wdev->address, type); wdev 1749 net/mac80211/iface.c memcpy(sdata->vif.addr, wdev->address, ETH_ALEN); wdev 1808 net/mac80211/iface.c ndev->ieee80211_ptr = &sdata->wdev; wdev 1821 net/mac80211/iface.c sdata->wdev.wiphy = local->hw.wiphy; wdev 1893 net/mac80211/iface.c *new_wdev = &sdata->wdev; wdev 1914 net/mac80211/iface.c cfg80211_unregister_wdev(&sdata->wdev); wdev 1967 net/mac80211/iface.c cfg80211_unregister_wdev(&sdata->wdev); wdev 326 net/mac80211/main.c struct wireless_dev *wdev = ndev->ieee80211_ptr; wdev 334 net/mac80211/main.c if (!wdev) wdev 337 net/mac80211/main.c if (wdev->wiphy != local->hw.wiphy) wdev 385 net/mac80211/main.c struct wireless_dev *wdev = ndev->ieee80211_ptr; wdev 389 net/mac80211/main.c if (!wdev || wdev->wiphy != local->hw.wiphy) wdev 912 net/mac80211/mesh.c lockdep_is_held(&sdata->wdev.mtx)); wdev 1002 net/mac80211/mesh.c lockdep_is_held(&sdata->wdev.mtx)); wdev 1284 net/mac80211/mesh.c lockdep_is_held(&sdata->wdev.mtx)); wdev 1306 net/mac80211/mesh.c lockdep_assert_held(&sdata->wdev.mtx); wdev 1823 net/mac80211/mlme.c if (sdata->wdev.cac_started) { wdev 4600 net/mac80211/mlme.c ifmgd->powersave = sdata->wdev.ps; wdev 193 net/mac80211/offchannel.c cfg80211_mgmt_tx_status(&roc->sdata->wdev, roc->mgmt_tx_cookie, wdev 200 net/mac80211/offchannel.c cfg80211_remain_on_channel_expired(&roc->sdata->wdev, wdev 204 net/mac80211/offchannel.c cfg80211_tx_mgmt_expired(&roc->sdata->wdev, wdev 271 net/mac80211/offchannel.c cfg80211_ready_on_channel(&roc->sdata->wdev, roc->cookie, wdev 686 net/mac80211/offchannel.c int ieee80211_remain_on_channel(struct wiphy *wiphy, struct wireless_dev *wdev, wdev 690 net/mac80211/offchannel.c struct ieee80211_sub_if_data *sdata = IEEE80211_WDEV_TO_SUB_IF(wdev); wdev 772 net/mac80211/offchannel.c struct wireless_dev *wdev, u64 cookie) wdev 774 net/mac80211/offchannel.c struct ieee80211_sub_if_data *sdata = IEEE80211_WDEV_TO_SUB_IF(wdev); wdev 780 net/mac80211/offchannel.c int ieee80211_mgmt_tx(struct wiphy *wiphy, struct wireless_dev *wdev, wdev 783 net/mac80211/offchannel.c struct ieee80211_sub_if_data *sdata = IEEE80211_WDEV_TO_SUB_IF(wdev); wdev 966 net/mac80211/offchannel.c struct wireless_dev *wdev, u64 cookie) wdev 206 net/mac80211/pm.c cfg80211_report_wowlan_wakeup(&sdata->wdev, wakeup, gfp); wdev 3373 net/mac80211/rx.c if (cfg80211_rx_mgmt(&rx->sdata->wdev, status->freq, sig, wdev 536 net/mac80211/scan.c if (sdata_iter->wdev.cac_started) { wdev 653 net/mac80211/status.c cfg80211_mgmt_tx_status(&sdata->wdev, cookie, wdev 91 net/mac80211/tdls.c sdata->wdev.iftype)) { wdev 346 net/mac80211/tdls.c sdata->wdev.iftype))) wdev 1863 net/mac80211/tdls.c sdata->wdev.iftype)) { wdev 1190 net/mac80211/tx.c if (!tx->sta && sdata->wdev.use_4addr) wdev 2385 net/mac80211/tx.c } else if (sdata->wdev.use_4addr) { wdev 2408 net/mac80211/tx.c if (sdata->wdev.wiphy->flags & WIPHY_FLAG_SUPPORTS_TDLS) { wdev 2499 net/mac80211/tx.c if (sdata->wdev.use_4addr) { wdev 2518 net/mac80211/tx.c if (sdata->wdev.use_4addr) wdev 2972 net/mac80211/tx.c if (sdata->wdev.use_4addr) { wdev 3962 net/mac80211/tx.c if (sdata->wdev.use_4addr) wdev 823 net/mac80211/util.c struct ieee80211_vif *wdev_to_ieee80211_vif(struct wireless_dev *wdev) wdev 825 net/mac80211/util.c struct ieee80211_sub_if_data *sdata = IEEE80211_WDEV_TO_SUB_IF(wdev); wdev 847 net/mac80211/util.c return &sdata->wdev; wdev 1423 net/mac80211/util.c rrule = freq_reg_info(sdata->wdev.wiphy, MHZ_TO_KHZ(center_freq)); wdev 3332 net/mac80211/util.c if (sdata->wdev.cac_started) { wdev 3847 net/mac80211/util.c enum nl80211_iftype iftype = sdata->wdev.iftype; wdev 3908 net/mac80211/util.c wdev_iter = &sdata_iter->wdev; wdev 3957 net/mac80211/util.c params.iftype_num[sdata->wdev.iftype]++; wdev 13 net/wireless/ap.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 16 net/wireless/ap.c ASSERT_WDEV_LOCK(wdev); wdev 25 net/wireless/ap.c if (!wdev->beacon_interval) wdev 30 net/wireless/ap.c wdev->conn_owner_nlportid = 0; wdev 31 net/wireless/ap.c wdev->beacon_interval = 0; wdev 32 net/wireless/ap.c memset(&wdev->chandef, 0, sizeof(wdev->chandef)); wdev 33 net/wireless/ap.c wdev->ssid_len = 0; wdev 36 net/wireless/ap.c nl80211_send_ap_stopped(wdev); wdev 52 net/wireless/ap.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 55 net/wireless/ap.c wdev_lock(wdev); wdev 57 net/wireless/ap.c wdev_unlock(wdev); wdev 597 net/wireless/chan.c bool cfg80211_beaconing_iface_active(struct wireless_dev *wdev) wdev 601 net/wireless/chan.c ASSERT_WDEV_LOCK(wdev); wdev 603 net/wireless/chan.c if (!wdev->chandef.chan) wdev 606 net/wireless/chan.c switch (wdev->iftype) { wdev 609 net/wireless/chan.c active = wdev->beacon_interval != 0; wdev 612 net/wireless/chan.c active = wdev->ssid_len != 0; wdev 615 net/wireless/chan.c active = wdev->mesh_id_len != 0; wdev 638 net/wireless/chan.c struct wireless_dev *wdev; wdev 640 net/wireless/chan.c list_for_each_entry(wdev, &wiphy->wdev_list, list) { wdev 641 net/wireless/chan.c wdev_lock(wdev); wdev 642 net/wireless/chan.c if (!cfg80211_beaconing_iface_active(wdev)) { wdev 643 net/wireless/chan.c wdev_unlock(wdev); wdev 647 net/wireless/chan.c if (cfg80211_is_sub_chan(&wdev->chandef, chan)) { wdev 648 net/wireless/chan.c wdev_unlock(wdev); wdev 651 net/wireless/chan.c wdev_unlock(wdev); wdev 1003 net/wireless/chan.c struct wireless_dev *wdev; wdev 1032 net/wireless/chan.c list_for_each_entry(wdev, &rdev->wiphy.wdev_list, list) { wdev 1036 net/wireless/chan.c wdev_lock(wdev); wdev 1037 net/wireless/chan.c if (wdev->iftype == NL80211_IFTYPE_STATION && wdev 1038 net/wireless/chan.c wdev->current_bss) wdev 1039 net/wireless/chan.c other_chan = wdev->current_bss->pub.channel; wdev 1049 net/wireless/chan.c wdev->iftype == NL80211_IFTYPE_P2P_GO && wdev 1050 net/wireless/chan.c wdev->beacon_interval && wdev 1052 net/wireless/chan.c other_chan = wdev->chandef.chan; wdev 1053 net/wireless/chan.c wdev_unlock(wdev); wdev 1158 net/wireless/chan.c cfg80211_get_chan_state(struct wireless_dev *wdev, wdev 1168 net/wireless/chan.c ASSERT_WDEV_LOCK(wdev); wdev 1170 net/wireless/chan.c if (wdev->netdev && !netif_running(wdev->netdev)) wdev 1173 net/wireless/chan.c switch (wdev->iftype) { wdev 1175 net/wireless/chan.c if (wdev->current_bss) { wdev 1176 net/wireless/chan.c *chan = wdev->current_bss->pub.channel; wdev 1177 net/wireless/chan.c *chanmode = (wdev->ibss_fixed && wdev 1178 net/wireless/chan.c !wdev->ibss_dfs_possible) wdev 1184 net/wireless/chan.c if (wdev->ibss_dfs_possible) wdev 1185 net/wireless/chan.c *radar_detect |= BIT(wdev->chandef.width); wdev 1191 net/wireless/chan.c if (wdev->current_bss) { wdev 1192 net/wireless/chan.c *chan = wdev->current_bss->pub.channel; wdev 1199 net/wireless/chan.c if (wdev->cac_started) { wdev 1200 net/wireless/chan.c *chan = wdev->chandef.chan; wdev 1202 net/wireless/chan.c *radar_detect |= BIT(wdev->chandef.width); wdev 1203 net/wireless/chan.c } else if (wdev->beacon_interval) { wdev 1204 net/wireless/chan.c *chan = wdev->chandef.chan; wdev 1207 net/wireless/chan.c ret = cfg80211_chandef_dfs_required(wdev->wiphy, wdev 1208 net/wireless/chan.c &wdev->chandef, wdev 1209 net/wireless/chan.c wdev->iftype); wdev 1212 net/wireless/chan.c *radar_detect |= BIT(wdev->chandef.width); wdev 1216 net/wireless/chan.c if (wdev->mesh_id_len) { wdev 1217 net/wireless/chan.c *chan = wdev->chandef.chan; wdev 1220 net/wireless/chan.c ret = cfg80211_chandef_dfs_required(wdev->wiphy, wdev 1221 net/wireless/chan.c &wdev->chandef, wdev 1222 net/wireless/chan.c wdev->iftype); wdev 1225 net/wireless/chan.c *radar_detect |= BIT(wdev->chandef.width); wdev 1229 net/wireless/chan.c if (wdev->chandef.chan) { wdev 1230 net/wireless/chan.c *chan = wdev->chandef.chan; wdev 158 net/wireless/core.c struct wireless_dev *wdev; wdev 164 net/wireless/core.c list_for_each_entry(wdev, &rdev->wiphy.wdev_list, list) { wdev 165 net/wireless/core.c if (!wdev->netdev) wdev 167 net/wireless/core.c wdev->netdev->features &= ~NETIF_F_NETNS_LOCAL; wdev 168 net/wireless/core.c err = dev_change_net_namespace(wdev->netdev, net, "wlan%d"); wdev 171 net/wireless/core.c wdev->netdev->features |= NETIF_F_NETNS_LOCAL; wdev 178 net/wireless/core.c list_for_each_entry_continue_reverse(wdev, wdev 181 net/wireless/core.c if (!wdev->netdev) wdev 183 net/wireless/core.c wdev->netdev->features &= ~NETIF_F_NETNS_LOCAL; wdev 184 net/wireless/core.c err = dev_change_net_namespace(wdev->netdev, net, wdev 187 net/wireless/core.c wdev->netdev->features |= NETIF_F_NETNS_LOCAL; wdev 193 net/wireless/core.c list_for_each_entry(wdev, &rdev->wiphy.wdev_list, list) { wdev 194 net/wireless/core.c if (!wdev->netdev) wdev 196 net/wireless/core.c nl80211_notify_iface(rdev, wdev, NL80211_CMD_DEL_INTERFACE); wdev 206 net/wireless/core.c list_for_each_entry(wdev, &rdev->wiphy.wdev_list, list) { wdev 207 net/wireless/core.c if (!wdev->netdev) wdev 209 net/wireless/core.c nl80211_notify_iface(rdev, wdev, NL80211_CMD_NEW_INTERFACE); wdev 223 net/wireless/core.c struct wireless_dev *wdev) wdev 227 net/wireless/core.c if (WARN_ON(wdev->iftype != NL80211_IFTYPE_P2P_DEVICE)) wdev 230 net/wireless/core.c if (!wdev_running(wdev)) wdev 233 net/wireless/core.c rdev_stop_p2p_device(rdev, wdev); wdev 234 net/wireless/core.c wdev->is_running = false; wdev 238 net/wireless/core.c if (rdev->scan_req && rdev->scan_req->wdev == wdev) { wdev 246 net/wireless/core.c struct wireless_dev *wdev) wdev 250 net/wireless/core.c if (WARN_ON(wdev->iftype != NL80211_IFTYPE_NAN)) wdev 253 net/wireless/core.c if (!wdev_running(wdev)) wdev 256 net/wireless/core.c rdev_stop_nan(rdev, wdev); wdev 257 net/wireless/core.c wdev->is_running = false; wdev 265 net/wireless/core.c struct wireless_dev *wdev; wdev 269 net/wireless/core.c list_for_each_entry(wdev, &rdev->wiphy.wdev_list, list) { wdev 270 net/wireless/core.c if (wdev->netdev) { wdev 271 net/wireless/core.c dev_close(wdev->netdev); wdev 275 net/wireless/core.c switch (wdev->iftype) { wdev 277 net/wireless/core.c cfg80211_stop_p2p_device(rdev, wdev); wdev 280 net/wireless/core.c cfg80211_stop_nan(rdev, wdev); wdev 326 net/wireless/core.c struct wireless_dev *wdev, *tmp; wdev 330 net/wireless/core.c list_for_each_entry_safe(wdev, tmp, &rdev->wiphy.wdev_list, list) { wdev 331 net/wireless/core.c if (wdev->nl_owner_dead) wdev 332 net/wireless/core.c rdev_del_virtual_intf(rdev, wdev); wdev 1069 net/wireless/core.c void cfg80211_cqm_config_free(struct wireless_dev *wdev) wdev 1071 net/wireless/core.c kfree(wdev->cqm_config); wdev 1072 net/wireless/core.c wdev->cqm_config = NULL; wdev 1075 net/wireless/core.c static void __cfg80211_unregister_wdev(struct wireless_dev *wdev, bool sync) wdev 1077 net/wireless/core.c struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); wdev 1081 net/wireless/core.c flush_work(&wdev->pmsr_free_wk); wdev 1083 net/wireless/core.c nl80211_notify_iface(rdev, wdev, NL80211_CMD_DEL_INTERFACE); wdev 1085 net/wireless/core.c list_del_rcu(&wdev->list); wdev 1090 net/wireless/core.c cfg80211_mlme_purge_registrations(wdev); wdev 1092 net/wireless/core.c switch (wdev->iftype) { wdev 1094 net/wireless/core.c cfg80211_stop_p2p_device(rdev, wdev); wdev 1097 net/wireless/core.c cfg80211_stop_nan(rdev, wdev); wdev 1104 net/wireless/core.c kzfree(wdev->wext.keys); wdev 1105 net/wireless/core.c wdev->wext.keys = NULL; wdev 1108 net/wireless/core.c if (wdev->netdev) wdev 1109 net/wireless/core.c flush_work(&wdev->disconnect_wk); wdev 1111 net/wireless/core.c cfg80211_cqm_config_free(wdev); wdev 1114 net/wireless/core.c void cfg80211_unregister_wdev(struct wireless_dev *wdev) wdev 1116 net/wireless/core.c if (WARN_ON(wdev->netdev)) wdev 1119 net/wireless/core.c __cfg80211_unregister_wdev(wdev, true); wdev 1138 net/wireless/core.c struct wireless_dev *wdev) wdev 1140 net/wireless/core.c struct net_device *dev = wdev->netdev; wdev 1144 net/wireless/core.c ASSERT_WDEV_LOCK(wdev); wdev 1146 net/wireless/core.c cfg80211_pmsr_wdev_down(wdev); wdev 1148 net/wireless/core.c switch (wdev->iftype) { wdev 1161 net/wireless/core.c kfree(wdev->wext.ie); wdev 1162 net/wireless/core.c wdev->wext.ie = NULL; wdev 1163 net/wireless/core.c wdev->wext.ie_len = 0; wdev 1164 net/wireless/core.c wdev->wext.connect.auth_type = NL80211_AUTHTYPE_AUTOMATIC; wdev 1198 net/wireless/core.c struct wireless_dev *wdev) wdev 1200 net/wireless/core.c wdev_lock(wdev); wdev 1201 net/wireless/core.c __cfg80211_leave(rdev, wdev); wdev 1202 net/wireless/core.c wdev_unlock(wdev); wdev 1205 net/wireless/core.c void cfg80211_stop_iface(struct wiphy *wiphy, struct wireless_dev *wdev, wdev 1212 net/wireless/core.c trace_cfg80211_stop_iface(wiphy, wdev); wdev 1220 net/wireless/core.c spin_lock_irqsave(&wdev->event_lock, flags); wdev 1221 net/wireless/core.c list_add_tail(&ev->list, &wdev->event_list); wdev 1222 net/wireless/core.c spin_unlock_irqrestore(&wdev->event_lock, flags); wdev 1228 net/wireless/core.c struct wireless_dev *wdev) wdev 1230 net/wireless/core.c mutex_init(&wdev->mtx); wdev 1231 net/wireless/core.c INIT_LIST_HEAD(&wdev->event_list); wdev 1232 net/wireless/core.c spin_lock_init(&wdev->event_lock); wdev 1233 net/wireless/core.c INIT_LIST_HEAD(&wdev->mgmt_registrations); wdev 1234 net/wireless/core.c spin_lock_init(&wdev->mgmt_registrations_lock); wdev 1235 net/wireless/core.c INIT_LIST_HEAD(&wdev->pmsr_list); wdev 1236 net/wireless/core.c spin_lock_init(&wdev->pmsr_lock); wdev 1237 net/wireless/core.c INIT_WORK(&wdev->pmsr_free_wk, cfg80211_pmsr_free_wk); wdev 1246 net/wireless/core.c if (!wdev->identifier) wdev 1247 net/wireless/core.c wdev->identifier = ++rdev->wdev_id; wdev 1248 net/wireless/core.c list_add_rcu(&wdev->list, &rdev->wiphy.wdev_list); wdev 1251 net/wireless/core.c nl80211_notify_iface(rdev, wdev, NL80211_CMD_NEW_INTERFACE); wdev 1258 net/wireless/core.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 1262 net/wireless/core.c if (!wdev) wdev 1265 net/wireless/core.c rdev = wiphy_to_rdev(wdev->wiphy); wdev 1267 net/wireless/core.c WARN_ON(wdev->iftype == NL80211_IFTYPE_UNSPECIFIED); wdev 1286 net/wireless/core.c wdev->netdev = dev; wdev 1288 net/wireless/core.c wdev->wext.default_key = -1; wdev 1289 net/wireless/core.c wdev->wext.default_mgmt_key = -1; wdev 1290 net/wireless/core.c wdev->wext.connect.auth_type = NL80211_AUTHTYPE_AUTOMATIC; wdev 1293 net/wireless/core.c if (wdev->wiphy->flags & WIPHY_FLAG_PS_ON_BY_DEFAULT) wdev 1294 net/wireless/core.c wdev->ps = true; wdev 1296 net/wireless/core.c wdev->ps = false; wdev 1298 net/wireless/core.c wdev->ps_timeout = -1; wdev 1300 net/wireless/core.c if ((wdev->iftype == NL80211_IFTYPE_STATION || wdev 1301 net/wireless/core.c wdev->iftype == NL80211_IFTYPE_P2P_CLIENT || wdev 1302 net/wireless/core.c wdev->iftype == NL80211_IFTYPE_ADHOC) && !wdev->use_4addr) wdev 1305 net/wireless/core.c INIT_WORK(&wdev->disconnect_wk, cfg80211_autodisconnect_wk); wdev 1307 net/wireless/core.c cfg80211_init_wdev(rdev, wdev); wdev 1310 net/wireless/core.c cfg80211_leave(rdev, wdev); wdev 1313 net/wireless/core.c cfg80211_update_iface_num(rdev, wdev->iftype, -1); wdev 1314 net/wireless/core.c if (rdev->scan_req && rdev->scan_req->wdev == wdev) { wdev 1322 net/wireless/core.c if (WARN_ON(pos->dev == wdev->netdev)) wdev 1330 net/wireless/core.c cfg80211_update_iface_num(rdev, wdev->iftype, 1); wdev 1331 net/wireless/core.c wdev_lock(wdev); wdev 1332 net/wireless/core.c switch (wdev->iftype) { wdev 1335 net/wireless/core.c cfg80211_ibss_wext_join(rdev, wdev); wdev 1338 net/wireless/core.c cfg80211_mgd_wext_connect(rdev, wdev); wdev 1349 net/wireless/core.c setup.mesh_id = wdev->ssid; wdev 1350 net/wireless/core.c setup.mesh_id_len = wdev->mesh_id_up_len; wdev 1351 net/wireless/core.c if (wdev->mesh_id_up_len) wdev 1361 net/wireless/core.c wdev_unlock(wdev); wdev 1368 net/wireless/core.c if ((wdev->iftype == NL80211_IFTYPE_STATION || wdev 1369 net/wireless/core.c wdev->iftype == NL80211_IFTYPE_P2P_CLIENT) && wdev 1371 net/wireless/core.c rdev_set_power_mgmt(rdev, dev, wdev->ps, wdev 1372 net/wireless/core.c wdev->ps_timeout)) { wdev 1374 net/wireless/core.c wdev->ps = false; wdev 1385 net/wireless/core.c if (!list_empty(&wdev->list)) { wdev 1386 net/wireless/core.c __cfg80211_unregister_wdev(wdev, false); wdev 1396 net/wireless/core.c INIT_LIST_HEAD(&wdev->list); wdev 1401 net/wireless/core.c cfg80211_process_wdev_events(wdev); wdev 1403 net/wireless/core.c if (WARN_ON(wdev->current_bss)) { wdev 1404 net/wireless/core.c cfg80211_unhold_bss(wdev->current_bss); wdev 1405 net/wireless/core.c cfg80211_put_bss(wdev->wiphy, &wdev->current_bss->pub); wdev 1406 net/wireless/core.c wdev->current_bss = NULL; wdev 1410 net/wireless/core.c if (!cfg80211_iftype_allowed(wdev->wiphy, wdev->iftype, wdev 1411 net/wireless/core.c wdev->use_4addr, 0)) wdev 214 net/wireless/core.h struct wireless_dev *wdev); wdev 216 net/wireless/core.h static inline void wdev_lock(struct wireless_dev *wdev) wdev 217 net/wireless/core.h __acquires(wdev) wdev 219 net/wireless/core.h mutex_lock(&wdev->mtx); wdev 220 net/wireless/core.h __acquire(wdev->mtx); wdev 223 net/wireless/core.h static inline void wdev_unlock(struct wireless_dev *wdev) wdev 224 net/wireless/core.h __releases(wdev) wdev 226 net/wireless/core.h __release(wdev->mtx); wdev 227 net/wireless/core.h mutex_unlock(&wdev->mtx); wdev 230 net/wireless/core.h #define ASSERT_WDEV_LOCK(wdev) lockdep_assert_held(&(wdev)->mtx) wdev 309 net/wireless/core.h void cfg80211_update_assoc_bss_entry(struct wireless_dev *wdev, wdev 325 net/wireless/core.h struct wireless_dev *wdev); wdev 339 net/wireless/core.h struct wireless_dev *wdev, wdev 386 net/wireless/core.h int cfg80211_mlme_register_mgmt(struct wireless_dev *wdev, u32 snd_pid, wdev 390 net/wireless/core.h void cfg80211_mlme_unregister_socket(struct wireless_dev *wdev, u32 nlpid); wdev 391 net/wireless/core.h void cfg80211_mlme_purge_registrations(struct wireless_dev *wdev); wdev 393 net/wireless/core.h struct wireless_dev *wdev, wdev 415 net/wireless/core.h void __cfg80211_roamed(struct wireless_dev *wdev, wdev 417 net/wireless/core.h void __cfg80211_port_authorized(struct wireless_dev *wdev, const u8 *bssid); wdev 419 net/wireless/core.h struct wireless_dev *wdev); wdev 425 net/wireless/core.h bool cfg80211_sme_rx_assoc_resp(struct wireless_dev *wdev, u16 status); wdev 426 net/wireless/core.h void cfg80211_sme_rx_auth(struct wireless_dev *wdev, const u8 *buf, size_t len); wdev 427 net/wireless/core.h void cfg80211_sme_disassoc(struct wireless_dev *wdev); wdev 428 net/wireless/core.h void cfg80211_sme_deauth(struct wireless_dev *wdev); wdev 429 net/wireless/core.h void cfg80211_sme_auth_timeout(struct wireless_dev *wdev); wdev 430 net/wireless/core.h void cfg80211_sme_assoc_timeout(struct wireless_dev *wdev); wdev 431 net/wireless/core.h void cfg80211_sme_abandon_assoc(struct wireless_dev *wdev); wdev 451 net/wireless/core.h void cfg80211_upload_connect_keys(struct wireless_dev *wdev); wdev 456 net/wireless/core.h void cfg80211_process_wdev_events(struct wireless_dev *wdev); wdev 491 net/wireless/core.h bool cfg80211_beaconing_iface_active(struct wireless_dev *wdev); wdev 507 net/wireless/core.h cfg80211_get_chan_state(struct wireless_dev *wdev, wdev 526 net/wireless/core.h struct wireless_dev *wdev); wdev 528 net/wireless/core.h struct wireless_dev *wdev); wdev 531 net/wireless/core.h struct wireless_dev *wdev); wdev 534 net/wireless/core.h struct wireless_dev *wdev); wdev 551 net/wireless/core.h void cfg80211_cqm_config_free(struct wireless_dev *wdev); wdev 553 net/wireless/core.h void cfg80211_release_pmsr(struct wireless_dev *wdev, u32 portid); wdev 554 net/wireless/core.h void cfg80211_pmsr_wdev_down(struct wireless_dev *wdev); wdev 9 net/wireless/ethtool.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 10 net/wireless/ethtool.c struct device *pdev = wiphy_dev(wdev->wiphy); wdev 20 net/wireless/ethtool.c if (wdev->wiphy->fw_version[0]) wdev 21 net/wireless/ethtool.c strlcpy(info->fw_version, wdev->wiphy->fw_version, wdev 26 net/wireless/ethtool.c strlcpy(info->bus_info, dev_name(wiphy_dev(wdev->wiphy)), wdev 21 net/wireless/ibss.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 27 net/wireless/ibss.c if (WARN_ON(wdev->iftype != NL80211_IFTYPE_ADHOC)) wdev 30 net/wireless/ibss.c if (!wdev->ssid_len) wdev 33 net/wireless/ibss.c bss = cfg80211_get_bss(wdev->wiphy, channel, bssid, NULL, 0, wdev 39 net/wireless/ibss.c if (wdev->current_bss) { wdev 40 net/wireless/ibss.c cfg80211_unhold_bss(wdev->current_bss); wdev 41 net/wireless/ibss.c cfg80211_put_bss(wdev->wiphy, &wdev->current_bss->pub); wdev 45 net/wireless/ibss.c wdev->current_bss = bss_from_pub(bss); wdev 47 net/wireless/ibss.c if (!(wdev->wiphy->flags & WIPHY_FLAG_HAS_STATIC_WEP)) wdev 48 net/wireless/ibss.c cfg80211_upload_connect_keys(wdev); wdev 50 net/wireless/ibss.c nl80211_send_ibss_bssid(wiphy_to_rdev(wdev->wiphy), dev, bssid, wdev 62 net/wireless/ibss.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 63 net/wireless/ibss.c struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); wdev 80 net/wireless/ibss.c spin_lock_irqsave(&wdev->event_lock, flags); wdev 81 net/wireless/ibss.c list_add_tail(&ev->list, &wdev->event_list); wdev 82 net/wireless/ibss.c spin_unlock_irqrestore(&wdev->event_lock, flags); wdev 92 net/wireless/ibss.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 96 net/wireless/ibss.c ASSERT_WDEV_LOCK(wdev); wdev 98 net/wireless/ibss.c if (wdev->ssid_len) wdev 129 net/wireless/ibss.c if (WARN_ON(wdev->connect_keys)) wdev 130 net/wireless/ibss.c kzfree(wdev->connect_keys); wdev 131 net/wireless/ibss.c wdev->connect_keys = connkeys; wdev 133 net/wireless/ibss.c wdev->ibss_fixed = params->channel_fixed; wdev 134 net/wireless/ibss.c wdev->ibss_dfs_possible = params->userspace_handles_dfs; wdev 135 net/wireless/ibss.c wdev->chandef = params->chandef; wdev 142 net/wireless/ibss.c wdev->wext.ibss.chandef = params->chandef; wdev 146 net/wireless/ibss.c wdev->connect_keys = NULL; wdev 150 net/wireless/ibss.c memcpy(wdev->ssid, params->ssid, params->ssid_len); wdev 151 net/wireless/ibss.c wdev->ssid_len = params->ssid_len; wdev 158 net/wireless/ibss.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 159 net/wireless/ibss.c struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); wdev 162 net/wireless/ibss.c ASSERT_WDEV_LOCK(wdev); wdev 164 net/wireless/ibss.c kzfree(wdev->connect_keys); wdev 165 net/wireless/ibss.c wdev->connect_keys = NULL; wdev 177 net/wireless/ibss.c if (wdev->current_bss) { wdev 178 net/wireless/ibss.c cfg80211_unhold_bss(wdev->current_bss); wdev 179 net/wireless/ibss.c cfg80211_put_bss(wdev->wiphy, &wdev->current_bss->pub); wdev 182 net/wireless/ibss.c wdev->current_bss = NULL; wdev 183 net/wireless/ibss.c wdev->ssid_len = 0; wdev 184 net/wireless/ibss.c memset(&wdev->chandef, 0, sizeof(wdev->chandef)); wdev 187 net/wireless/ibss.c wdev->wext.ibss.ssid_len = 0; wdev 194 net/wireless/ibss.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 196 net/wireless/ibss.c wdev_lock(wdev); wdev 198 net/wireless/ibss.c wdev_unlock(wdev); wdev 204 net/wireless/ibss.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 207 net/wireless/ibss.c ASSERT_WDEV_LOCK(wdev); wdev 209 net/wireless/ibss.c if (!wdev->ssid_len) wdev 217 net/wireless/ibss.c wdev->conn_owner_nlportid = 0; wdev 226 net/wireless/ibss.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 229 net/wireless/ibss.c wdev_lock(wdev); wdev 231 net/wireless/ibss.c wdev_unlock(wdev); wdev 238 net/wireless/ibss.c struct wireless_dev *wdev) wdev 244 net/wireless/ibss.c ASSERT_WDEV_LOCK(wdev); wdev 246 net/wireless/ibss.c if (!wdev->wext.ibss.beacon_interval) wdev 247 net/wireless/ibss.c wdev->wext.ibss.beacon_interval = 100; wdev 250 net/wireless/ibss.c if (!wdev->wext.ibss.chandef.chan) { wdev 278 net/wireless/ibss.c cfg80211_chandef_create(&wdev->wext.ibss.chandef, new_chan, wdev 283 net/wireless/ibss.c if (!wdev->wext.ibss.ssid_len) wdev 286 net/wireless/ibss.c if (!netif_running(wdev->netdev)) wdev 289 net/wireless/ibss.c if (wdev->wext.keys) wdev 290 net/wireless/ibss.c wdev->wext.keys->def = wdev->wext.default_key; wdev 292 net/wireless/ibss.c wdev->wext.ibss.privacy = wdev->wext.default_key != -1; wdev 294 net/wireless/ibss.c if (wdev->wext.keys && wdev->wext.keys->def != -1) { wdev 295 net/wireless/ibss.c ck = kmemdup(wdev->wext.keys, sizeof(*ck), GFP_KERNEL); wdev 301 net/wireless/ibss.c err = __cfg80211_join_ibss(rdev, wdev->netdev, wdev 302 net/wireless/ibss.c &wdev->wext.ibss, ck); wdev 313 net/wireless/ibss.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 314 net/wireless/ibss.c struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); wdev 319 net/wireless/ibss.c if (WARN_ON(wdev->iftype != NL80211_IFTYPE_ADHOC)) wdev 330 net/wireless/ibss.c chan = ieee80211_get_channel(wdev->wiphy, freq); wdev 338 net/wireless/ibss.c if (wdev->wext.ibss.chandef.chan == chan) wdev 341 net/wireless/ibss.c wdev_lock(wdev); wdev 343 net/wireless/ibss.c if (wdev->ssid_len) wdev 345 net/wireless/ibss.c wdev_unlock(wdev); wdev 351 net/wireless/ibss.c cfg80211_chandef_create(&wdev->wext.ibss.chandef, chan, wdev 353 net/wireless/ibss.c wdev->wext.ibss.channel_fixed = true; wdev 356 net/wireless/ibss.c wdev->wext.ibss.channel_fixed = false; wdev 359 net/wireless/ibss.c wdev_lock(wdev); wdev 360 net/wireless/ibss.c err = cfg80211_ibss_wext_join(rdev, wdev); wdev 361 net/wireless/ibss.c wdev_unlock(wdev); wdev 370 net/wireless/ibss.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 374 net/wireless/ibss.c if (WARN_ON(wdev->iftype != NL80211_IFTYPE_ADHOC)) wdev 377 net/wireless/ibss.c wdev_lock(wdev); wdev 378 net/wireless/ibss.c if (wdev->current_bss) wdev 379 net/wireless/ibss.c chan = wdev->current_bss->pub.channel; wdev 380 net/wireless/ibss.c else if (wdev->wext.ibss.chandef.chan) wdev 381 net/wireless/ibss.c chan = wdev->wext.ibss.chandef.chan; wdev 382 net/wireless/ibss.c wdev_unlock(wdev); wdev 398 net/wireless/ibss.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 399 net/wireless/ibss.c struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); wdev 404 net/wireless/ibss.c if (WARN_ON(wdev->iftype != NL80211_IFTYPE_ADHOC)) wdev 410 net/wireless/ibss.c wdev_lock(wdev); wdev 412 net/wireless/ibss.c if (wdev->ssid_len) wdev 414 net/wireless/ibss.c wdev_unlock(wdev); wdev 423 net/wireless/ibss.c memcpy(wdev->ssid, ssid, len); wdev 424 net/wireless/ibss.c wdev->wext.ibss.ssid = wdev->ssid; wdev 425 net/wireless/ibss.c wdev->wext.ibss.ssid_len = len; wdev 427 net/wireless/ibss.c wdev_lock(wdev); wdev 428 net/wireless/ibss.c err = cfg80211_ibss_wext_join(rdev, wdev); wdev 429 net/wireless/ibss.c wdev_unlock(wdev); wdev 438 net/wireless/ibss.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 441 net/wireless/ibss.c if (WARN_ON(wdev->iftype != NL80211_IFTYPE_ADHOC)) wdev 446 net/wireless/ibss.c wdev_lock(wdev); wdev 447 net/wireless/ibss.c if (wdev->ssid_len) { wdev 449 net/wireless/ibss.c data->length = wdev->ssid_len; wdev 450 net/wireless/ibss.c memcpy(ssid, wdev->ssid, data->length); wdev 451 net/wireless/ibss.c } else if (wdev->wext.ibss.ssid && wdev->wext.ibss.ssid_len) { wdev 453 net/wireless/ibss.c data->length = wdev->wext.ibss.ssid_len; wdev 454 net/wireless/ibss.c memcpy(ssid, wdev->wext.ibss.ssid, data->length); wdev 456 net/wireless/ibss.c wdev_unlock(wdev); wdev 465 net/wireless/ibss.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 466 net/wireless/ibss.c struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); wdev 471 net/wireless/ibss.c if (WARN_ON(wdev->iftype != NL80211_IFTYPE_ADHOC)) wdev 488 net/wireless/ibss.c if (!bssid && !wdev->wext.ibss.bssid) wdev 492 net/wireless/ibss.c if (wdev->wext.ibss.bssid && bssid && wdev 493 net/wireless/ibss.c ether_addr_equal(bssid, wdev->wext.ibss.bssid)) wdev 496 net/wireless/ibss.c wdev_lock(wdev); wdev 498 net/wireless/ibss.c if (wdev->ssid_len) wdev 500 net/wireless/ibss.c wdev_unlock(wdev); wdev 506 net/wireless/ibss.c memcpy(wdev->wext.bssid, bssid, ETH_ALEN); wdev 507 net/wireless/ibss.c wdev->wext.ibss.bssid = wdev->wext.bssid; wdev 509 net/wireless/ibss.c wdev->wext.ibss.bssid = NULL; wdev 511 net/wireless/ibss.c wdev_lock(wdev); wdev 512 net/wireless/ibss.c err = cfg80211_ibss_wext_join(rdev, wdev); wdev 513 net/wireless/ibss.c wdev_unlock(wdev); wdev 522 net/wireless/ibss.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 525 net/wireless/ibss.c if (WARN_ON(wdev->iftype != NL80211_IFTYPE_ADHOC)) wdev 530 net/wireless/ibss.c wdev_lock(wdev); wdev 531 net/wireless/ibss.c if (wdev->current_bss) wdev 532 net/wireless/ibss.c memcpy(ap_addr->sa_data, wdev->current_bss->pub.bssid, ETH_ALEN); wdev 533 net/wireless/ibss.c else if (wdev->wext.ibss.bssid) wdev 534 net/wireless/ibss.c memcpy(ap_addr->sa_data, wdev->wext.ibss.bssid, ETH_ALEN); wdev 538 net/wireless/ibss.c wdev_unlock(wdev); wdev 102 net/wireless/mesh.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 107 net/wireless/mesh.c ASSERT_WDEV_LOCK(wdev); wdev 116 net/wireless/mesh.c if (wdev->mesh_id_len) wdev 127 net/wireless/mesh.c setup->chandef = wdev->preset_chandef; wdev 211 net/wireless/mesh.c memcpy(wdev->ssid, setup->mesh_id, setup->mesh_id_len); wdev 212 net/wireless/mesh.c wdev->mesh_id_len = setup->mesh_id_len; wdev 213 net/wireless/mesh.c wdev->chandef = setup->chandef; wdev 214 net/wireless/mesh.c wdev->beacon_interval = setup->beacon_interval; wdev 221 net/wireless/mesh.c struct wireless_dev *wdev, wdev 237 net/wireless/mesh.c if (!netif_running(wdev->netdev)) wdev 240 net/wireless/mesh.c err = rdev_libertas_set_mesh_channel(rdev, wdev->netdev, wdev 243 net/wireless/mesh.c wdev->chandef = *chandef; wdev 248 net/wireless/mesh.c if (wdev->mesh_id_len) wdev 251 net/wireless/mesh.c wdev->preset_chandef = *chandef; wdev 258 net/wireless/mesh.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 261 net/wireless/mesh.c ASSERT_WDEV_LOCK(wdev); wdev 269 net/wireless/mesh.c if (!wdev->mesh_id_len) wdev 274 net/wireless/mesh.c wdev->conn_owner_nlportid = 0; wdev 275 net/wireless/mesh.c wdev->mesh_id_len = 0; wdev 276 net/wireless/mesh.c wdev->beacon_interval = 0; wdev 277 net/wireless/mesh.c memset(&wdev->chandef, 0, sizeof(wdev->chandef)); wdev 288 net/wireless/mesh.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 291 net/wireless/mesh.c wdev_lock(wdev); wdev 293 net/wireless/mesh.c wdev_unlock(wdev); wdev 27 net/wireless/mlme.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 28 net/wireless/mlme.c struct wiphy *wiphy = wdev->wiphy; wdev 52 net/wireless/mlme.c if (cfg80211_sme_rx_assoc_resp(wdev, cr.status)) { wdev 65 net/wireless/mlme.c static void cfg80211_process_auth(struct wireless_dev *wdev, wdev 68 net/wireless/mlme.c struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); wdev 70 net/wireless/mlme.c nl80211_send_rx_auth(rdev, wdev->netdev, buf, len, GFP_KERNEL); wdev 71 net/wireless/mlme.c cfg80211_sme_rx_auth(wdev, buf, len); wdev 74 net/wireless/mlme.c static void cfg80211_process_deauth(struct wireless_dev *wdev, wdev 77 net/wireless/mlme.c struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); wdev 81 net/wireless/mlme.c bool from_ap = !ether_addr_equal(mgmt->sa, wdev->netdev->dev_addr); wdev 83 net/wireless/mlme.c nl80211_send_deauth(rdev, wdev->netdev, buf, len, GFP_KERNEL); wdev 85 net/wireless/mlme.c if (!wdev->current_bss || wdev 86 net/wireless/mlme.c !ether_addr_equal(wdev->current_bss->pub.bssid, bssid)) wdev 89 net/wireless/mlme.c __cfg80211_disconnected(wdev->netdev, NULL, 0, reason_code, from_ap); wdev 90 net/wireless/mlme.c cfg80211_sme_deauth(wdev); wdev 93 net/wireless/mlme.c static void cfg80211_process_disassoc(struct wireless_dev *wdev, wdev 96 net/wireless/mlme.c struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); wdev 100 net/wireless/mlme.c bool from_ap = !ether_addr_equal(mgmt->sa, wdev->netdev->dev_addr); wdev 102 net/wireless/mlme.c nl80211_send_disassoc(rdev, wdev->netdev, buf, len, GFP_KERNEL); wdev 104 net/wireless/mlme.c if (WARN_ON(!wdev->current_bss || wdev 105 net/wireless/mlme.c !ether_addr_equal(wdev->current_bss->pub.bssid, bssid))) wdev 108 net/wireless/mlme.c __cfg80211_disconnected(wdev->netdev, NULL, 0, reason_code, from_ap); wdev 109 net/wireless/mlme.c cfg80211_sme_disassoc(wdev); wdev 114 net/wireless/mlme.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 117 net/wireless/mlme.c ASSERT_WDEV_LOCK(wdev); wdev 125 net/wireless/mlme.c cfg80211_process_auth(wdev, buf, len); wdev 127 net/wireless/mlme.c cfg80211_process_deauth(wdev, buf, len); wdev 129 net/wireless/mlme.c cfg80211_process_disassoc(wdev, buf, len); wdev 135 net/wireless/mlme.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 136 net/wireless/mlme.c struct wiphy *wiphy = wdev->wiphy; wdev 142 net/wireless/mlme.c cfg80211_sme_auth_timeout(wdev); wdev 148 net/wireless/mlme.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 149 net/wireless/mlme.c struct wiphy *wiphy = wdev->wiphy; wdev 155 net/wireless/mlme.c cfg80211_sme_assoc_timeout(wdev); wdev 164 net/wireless/mlme.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 165 net/wireless/mlme.c struct wiphy *wiphy = wdev->wiphy; wdev 167 net/wireless/mlme.c cfg80211_sme_abandon_assoc(wdev); wdev 176 net/wireless/mlme.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 179 net/wireless/mlme.c ASSERT_WDEV_LOCK(wdev); wdev 187 net/wireless/mlme.c cfg80211_process_deauth(wdev, buf, len); wdev 189 net/wireless/mlme.c cfg80211_process_disassoc(wdev, buf, len); wdev 231 net/wireless/mlme.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 244 net/wireless/mlme.c ASSERT_WDEV_LOCK(wdev); wdev 250 net/wireless/mlme.c if (wdev->current_bss && wdev 251 net/wireless/mlme.c ether_addr_equal(bssid, wdev->current_bss->pub.bssid)) wdev 307 net/wireless/mlme.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 310 net/wireless/mlme.c ASSERT_WDEV_LOCK(wdev); wdev 312 net/wireless/mlme.c if (wdev->current_bss && wdev 313 net/wireless/mlme.c (!req->prev_bssid || !ether_addr_equal(wdev->current_bss->pub.bssid, wdev 342 net/wireless/mlme.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 351 net/wireless/mlme.c ASSERT_WDEV_LOCK(wdev); wdev 354 net/wireless/mlme.c (!wdev->current_bss || wdev 355 net/wireless/mlme.c !ether_addr_equal(wdev->current_bss->pub.bssid, bssid))) wdev 358 net/wireless/mlme.c if (ether_addr_equal(wdev->disconnect_bssid, bssid) || wdev 359 net/wireless/mlme.c (wdev->current_bss && wdev 360 net/wireless/mlme.c ether_addr_equal(wdev->current_bss->pub.bssid, bssid))) wdev 361 net/wireless/mlme.c wdev->conn_owner_nlportid = 0; wdev 371 net/wireless/mlme.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 380 net/wireless/mlme.c ASSERT_WDEV_LOCK(wdev); wdev 382 net/wireless/mlme.c if (!wdev->current_bss) wdev 385 net/wireless/mlme.c if (ether_addr_equal(wdev->current_bss->pub.bssid, bssid)) wdev 386 net/wireless/mlme.c req.bss = &wdev->current_bss->pub; wdev 395 net/wireless/mlme.c WARN_ON(wdev->current_bss); wdev 402 net/wireless/mlme.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 405 net/wireless/mlme.c ASSERT_WDEV_LOCK(wdev); wdev 410 net/wireless/mlme.c if (!wdev->current_bss) wdev 413 net/wireless/mlme.c memcpy(bssid, wdev->current_bss->pub.bssid, ETH_ALEN); wdev 420 net/wireless/mlme.c struct wireless_dev *wdev; wdev 448 net/wireless/mlme.c rdev_mgmt_frame_register(rdev, reg->wdev, wdev 471 net/wireless/mlme.c int cfg80211_mlme_register_mgmt(struct wireless_dev *wdev, u32 snd_portid, wdev 475 net/wireless/mlme.c struct wiphy *wiphy = wdev->wiphy; wdev 481 net/wireless/mlme.c if (!wdev->wiphy->mgmt_stypes) wdev 491 net/wireless/mlme.c if (!(wdev->wiphy->mgmt_stypes[wdev->iftype].rx & BIT(mgmt_type))) wdev 498 net/wireless/mlme.c spin_lock_bh(&wdev->mgmt_registrations_lock); wdev 500 net/wireless/mlme.c list_for_each_entry(reg, &wdev->mgmt_registrations, list) { wdev 521 net/wireless/mlme.c nreg->wdev = wdev; wdev 522 net/wireless/mlme.c list_add(&nreg->list, &wdev->mgmt_registrations); wdev 523 net/wireless/mlme.c spin_unlock_bh(&wdev->mgmt_registrations_lock); wdev 529 net/wireless/mlme.c rdev_mgmt_frame_register(rdev, wdev, frame_type, true); wdev 534 net/wireless/mlme.c spin_unlock_bh(&wdev->mgmt_registrations_lock); wdev 539 net/wireless/mlme.c void cfg80211_mlme_unregister_socket(struct wireless_dev *wdev, u32 nlportid) wdev 541 net/wireless/mlme.c struct wiphy *wiphy = wdev->wiphy; wdev 545 net/wireless/mlme.c spin_lock_bh(&wdev->mgmt_registrations_lock); wdev 547 net/wireless/mlme.c list_for_each_entry_safe(reg, tmp, &wdev->mgmt_registrations, list) { wdev 559 net/wireless/mlme.c spin_unlock_bh(&wdev->mgmt_registrations_lock); wdev 563 net/wireless/mlme.c rdev_crit_proto_stop(rdev, wdev); wdev 566 net/wireless/mlme.c if (nlportid == wdev->ap_unexpected_nlportid) wdev 567 net/wireless/mlme.c wdev->ap_unexpected_nlportid = 0; wdev 570 net/wireless/mlme.c void cfg80211_mlme_purge_registrations(struct wireless_dev *wdev) wdev 572 net/wireless/mlme.c struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); wdev 574 net/wireless/mlme.c spin_lock_bh(&wdev->mgmt_registrations_lock); wdev 576 net/wireless/mlme.c list_splice_tail_init(&wdev->mgmt_registrations, &rdev->mlme_unreg); wdev 578 net/wireless/mlme.c spin_unlock_bh(&wdev->mgmt_registrations_lock); wdev 584 net/wireless/mlme.c struct wireless_dev *wdev, wdev 590 net/wireless/mlme.c if (!wdev->wiphy->mgmt_stypes) wdev 605 net/wireless/mlme.c if (!(wdev->wiphy->mgmt_stypes[wdev->iftype].tx & BIT(stype >> 4))) wdev 612 net/wireless/mlme.c wdev_lock(wdev); wdev 614 net/wireless/mlme.c switch (wdev->iftype) { wdev 618 net/wireless/mlme.c if (!wdev->current_bss) { wdev 623 net/wireless/mlme.c if (!ether_addr_equal(wdev->current_bss->pub.bssid, wdev 633 net/wireless/mlme.c if (wdev->iftype == NL80211_IFTYPE_ADHOC) wdev 637 net/wireless/mlme.c if (!ether_addr_equal(wdev->current_bss->pub.bssid, wdev 646 net/wireless/mlme.c if (!ether_addr_equal(mgmt->bssid, wdev_address(wdev))) wdev 669 net/wireless/mlme.c wdev_unlock(wdev); wdev 675 net/wireless/mlme.c if (!ether_addr_equal(mgmt->sa, wdev_address(wdev))) { wdev 683 net/wireless/mlme.c if (!wdev->current_bss && wdev 688 net/wireless/mlme.c if (wdev->current_bss && wdev 696 net/wireless/mlme.c return rdev_mgmt_tx(rdev, wdev, params, cookie); wdev 699 net/wireless/mlme.c bool cfg80211_rx_mgmt(struct wireless_dev *wdev, int freq, int sig_dbm, wdev 702 net/wireless/mlme.c struct wiphy *wiphy = wdev->wiphy; wdev 706 net/wireless/mlme.c &wiphy->mgmt_stypes[wdev->iftype]; wdev 715 net/wireless/mlme.c trace_cfg80211_rx_mgmt(wdev, freq, sig_dbm); wdev 726 net/wireless/mlme.c spin_lock_bh(&wdev->mgmt_registrations_lock); wdev 728 net/wireless/mlme.c list_for_each_entry(reg, &wdev->mgmt_registrations, list) { wdev 741 net/wireless/mlme.c if (nl80211_send_mgmt(rdev, wdev, reg->nlportid, wdev 750 net/wireless/mlme.c spin_unlock_bh(&wdev->mgmt_registrations_lock); wdev 872 net/wireless/mlme.c struct wireless_dev *wdev = netdev->ieee80211_ptr; wdev 873 net/wireless/mlme.c struct wiphy *wiphy = wdev->wiphy; wdev 879 net/wireless/mlme.c if (WARN_ON(!wdev->cac_started && event != NL80211_RADAR_CAC_STARTED)) wdev 882 net/wireless/mlme.c if (WARN_ON(!wdev->chandef.chan)) wdev 887 net/wireless/mlme.c timeout = wdev->cac_start_time + wdev 888 net/wireless/mlme.c msecs_to_jiffies(wdev->cac_time_ms); wdev 897 net/wireless/mlme.c wdev->cac_started = false; wdev 900 net/wireless/mlme.c wdev->cac_started = true; wdev 89 net/wireless/nl80211.c struct wireless_dev *wdev; wdev 97 net/wireless/nl80211.c list_for_each_entry(wdev, &rdev->wiphy.wdev_list, list) { wdev 98 net/wireless/nl80211.c if (have_ifidx && wdev->netdev && wdev 99 net/wireless/nl80211.c wdev->netdev->ifindex == ifidx) { wdev 100 net/wireless/nl80211.c result = wdev; wdev 103 net/wireless/nl80211.c if (have_wdev_id && wdev->identifier == (u32)wdev_id) { wdev 104 net/wireless/nl80211.c result = wdev; wdev 137 net/wireless/nl80211.c struct wireless_dev *wdev; wdev 143 net/wireless/nl80211.c list_for_each_entry(wdev, &tmp->wiphy.wdev_list, list) { wdev 144 net/wireless/nl80211.c if (wdev->identifier != (u32)wdev_id) wdev 802 net/wireless/nl80211.c struct wireless_dev **wdev) wdev 823 net/wireless/nl80211.c *wdev = __cfg80211_wdev_from_attrs(sock_net(cb->skb->sk), wdev 826 net/wireless/nl80211.c if (IS_ERR(*wdev)) wdev 827 net/wireless/nl80211.c return PTR_ERR(*wdev); wdev 828 net/wireless/nl80211.c *rdev = wiphy_to_rdev((*wdev)->wiphy); wdev 831 net/wireless/nl80211.c cb->args[1] = (*wdev)->identifier; wdev 840 net/wireless/nl80211.c *wdev = NULL; wdev 844 net/wireless/nl80211.c *wdev = tmp; wdev 849 net/wireless/nl80211.c if (!*wdev) wdev 1277 net/wireless/nl80211.c static int nl80211_key_allowed(struct wireless_dev *wdev) wdev 1279 net/wireless/nl80211.c ASSERT_WDEV_LOCK(wdev); wdev 1281 net/wireless/nl80211.c switch (wdev->iftype) { wdev 1290 net/wireless/nl80211.c if (!wdev->current_bss) wdev 2639 net/wireless/nl80211.c static bool nl80211_can_set_dev_channel(struct wireless_dev *wdev) wdev 2656 net/wireless/nl80211.c return !wdev || wdev 2657 net/wireless/nl80211.c wdev->iftype == NL80211_IFTYPE_AP || wdev 2658 net/wireless/nl80211.c wdev->iftype == NL80211_IFTYPE_MESH_POINT || wdev 2659 net/wireless/nl80211.c wdev->iftype == NL80211_IFTYPE_MONITOR || wdev 2660 net/wireless/nl80211.c wdev->iftype == NL80211_IFTYPE_P2P_GO; wdev 2776 net/wireless/nl80211.c struct wireless_dev *wdev = NULL; wdev 2779 net/wireless/nl80211.c wdev = dev->ieee80211_ptr; wdev 2780 net/wireless/nl80211.c if (!nl80211_can_set_dev_channel(wdev)) wdev 2782 net/wireless/nl80211.c if (wdev) wdev 2783 net/wireless/nl80211.c iftype = wdev->iftype; wdev 2797 net/wireless/nl80211.c if (wdev->beacon_interval) { wdev 2806 net/wireless/nl80211.c if (chandef.chan != wdev->preset_chandef.chan) { wdev 2814 net/wireless/nl80211.c wdev->preset_chandef = chandef; wdev 2818 net/wireless/nl80211.c result = cfg80211_set_mesh_channel(rdev, wdev, &chandef); wdev 2842 net/wireless/nl80211.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 2854 net/wireless/nl80211.c if (wdev->iftype != NL80211_IFTYPE_WDS) wdev 2865 net/wireless/nl80211.c struct wireless_dev *wdev; wdev 2901 net/wireless/nl80211.c wdev = NULL; wdev 2905 net/wireless/nl80211.c wdev = netdev->ieee80211_ptr; wdev 2960 net/wireless/nl80211.c nl80211_can_set_dev_channel(wdev) ? netdev : NULL, wdev 2967 net/wireless/nl80211.c struct wireless_dev *txp_wdev = wdev; wdev 3186 net/wireless/nl80211.c struct wireless_dev *wdev, wdev 3189 net/wireless/nl80211.c struct net_device *dev = wdev->netdev; wdev 3206 net/wireless/nl80211.c nla_put_u32(msg, NL80211_ATTR_IFTYPE, wdev->iftype) || wdev 3207 net/wireless/nl80211.c nla_put_u64_64bit(msg, NL80211_ATTR_WDEV, wdev_id(wdev), wdev 3209 net/wireless/nl80211.c nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, wdev_address(wdev)) || wdev 3213 net/wireless/nl80211.c nla_put_u8(msg, NL80211_ATTR_4ADDR, wdev->use_4addr)) wdev 3220 net/wireless/nl80211.c ret = rdev_get_channel(rdev, wdev, &chandef); wdev 3230 net/wireless/nl80211.c ret = rdev_get_tx_power(rdev, wdev, &dbm); wdev 3237 net/wireless/nl80211.c wdev_lock(wdev); wdev 3238 net/wireless/nl80211.c switch (wdev->iftype) { wdev 3240 net/wireless/nl80211.c if (wdev->ssid_len && wdev 3241 net/wireless/nl80211.c nla_put(msg, NL80211_ATTR_SSID, wdev->ssid_len, wdev->ssid)) wdev 3248 net/wireless/nl80211.c if (!wdev->current_bss) wdev 3251 net/wireless/nl80211.c ssid_ie = ieee80211_bss_get_ie(&wdev->current_bss->pub, wdev 3263 net/wireless/nl80211.c wdev_unlock(wdev); wdev 3267 net/wireless/nl80211.c int ret = rdev_get_txq_stats(rdev, wdev, &txqstats); wdev 3281 net/wireless/nl80211.c wdev_unlock(wdev); wdev 3295 net/wireless/nl80211.c struct wireless_dev *wdev; wdev 3335 net/wireless/nl80211.c list_for_each_entry(wdev, &rdev->wiphy.wdev_list, list) { wdev 3342 net/wireless/nl80211.c rdev, wdev, wdev 3366 net/wireless/nl80211.c struct wireless_dev *wdev = info->user_ptr[1]; wdev 3373 net/wireless/nl80211.c rdev, wdev, NL80211_CMD_NEW_INTERFACE) < 0) { wdev 3521 net/wireless/nl80211.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 3528 net/wireless/nl80211.c wdev_lock(wdev); wdev 3531 net/wireless/nl80211.c wdev->mesh_id_up_len = wdev 3533 net/wireless/nl80211.c memcpy(wdev->ssid, nla_data(info->attrs[NL80211_ATTR_MESH_ID]), wdev 3534 net/wireless/nl80211.c wdev->mesh_id_up_len); wdev 3535 net/wireless/nl80211.c wdev_unlock(wdev); wdev 3563 net/wireless/nl80211.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 3565 net/wireless/nl80211.c nl80211_notify_iface(rdev, wdev, NL80211_CMD_SET_INTERFACE); wdev 3575 net/wireless/nl80211.c struct wireless_dev *wdev; wdev 3621 net/wireless/nl80211.c wdev = rdev_add_virtual_intf(rdev, wdev 3624 net/wireless/nl80211.c if (WARN_ON(!wdev)) { wdev 3627 net/wireless/nl80211.c } else if (IS_ERR(wdev)) { wdev 3629 net/wireless/nl80211.c return PTR_ERR(wdev); wdev 3633 net/wireless/nl80211.c wdev->owner_nlportid = info->snd_portid; wdev 3639 net/wireless/nl80211.c wdev_lock(wdev); wdev 3642 net/wireless/nl80211.c wdev->mesh_id_up_len = wdev 3644 net/wireless/nl80211.c memcpy(wdev->ssid, nla_data(info->attrs[NL80211_ATTR_MESH_ID]), wdev 3645 net/wireless/nl80211.c wdev->mesh_id_up_len); wdev 3646 net/wireless/nl80211.c wdev_unlock(wdev); wdev 3654 net/wireless/nl80211.c cfg80211_init_wdev(rdev, wdev); wdev 3661 net/wireless/nl80211.c rdev, wdev, NL80211_CMD_NEW_INTERFACE) < 0) { wdev 3672 net/wireless/nl80211.c struct wireless_dev *wdev = info->user_ptr[1]; wdev 3684 net/wireless/nl80211.c if (!wdev->netdev) wdev 3687 net/wireless/nl80211.c return rdev_del_virtual_intf(rdev, wdev); wdev 4562 net/wireless/nl80211.c struct wireless_dev *wdev; wdev 4565 net/wireless/nl80211.c list_for_each_entry(wdev, &rdev->wiphy.wdev_list, list) { wdev 4566 net/wireless/nl80211.c if (wdev->iftype != NL80211_IFTYPE_AP && wdev 4567 net/wireless/nl80211.c wdev->iftype != NL80211_IFTYPE_P2P_GO) wdev 4570 net/wireless/nl80211.c if (!wdev->preset_chandef.chan) wdev 4573 net/wireless/nl80211.c params->chandef = wdev->preset_chandef; wdev 4636 net/wireless/nl80211.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 4647 net/wireless/nl80211.c if (wdev->beacon_interval) wdev 4741 net/wireless/nl80211.c } else if (wdev->preset_chandef.chan) { wdev 4742 net/wireless/nl80211.c params.chandef = wdev->preset_chandef; wdev 4747 net/wireless/nl80211.c wdev->iftype)) wdev 4809 net/wireless/nl80211.c wdev_lock(wdev); wdev 4812 net/wireless/nl80211.c wdev->preset_chandef = params.chandef; wdev 4813 net/wireless/nl80211.c wdev->beacon_interval = params.beacon_interval; wdev 4814 net/wireless/nl80211.c wdev->chandef = params.chandef; wdev 4815 net/wireless/nl80211.c wdev->ssid_len = params.ssid_len; wdev 4816 net/wireless/nl80211.c memcpy(wdev->ssid, params.ssid, wdev->ssid_len); wdev 4819 net/wireless/nl80211.c wdev->conn_owner_nlportid = info->snd_portid; wdev 4821 net/wireless/nl80211.c wdev_unlock(wdev); wdev 4833 net/wireless/nl80211.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 4844 net/wireless/nl80211.c if (!wdev->beacon_interval) wdev 4851 net/wireless/nl80211.c wdev_lock(wdev); wdev 4853 net/wireless/nl80211.c wdev_unlock(wdev); wdev 5282 net/wireless/nl80211.c struct wireless_dev *wdev; wdev 5288 net/wireless/nl80211.c err = nl80211_prepare_wdev_dump(cb, &rdev, &wdev); wdev 5292 net/wireless/nl80211.c if (!wdev->netdev) { wdev 5304 net/wireless/nl80211.c err = rdev_dump_station(rdev, wdev->netdev, sta_idx, wdev 5314 net/wireless/nl80211.c rdev, wdev->netdev, mac_addr, wdev 6164 net/wireless/nl80211.c struct wireless_dev *wdev; wdev 6171 net/wireless/nl80211.c err = nl80211_prepare_wdev_dump(cb, &rdev, &wdev); wdev 6180 net/wireless/nl80211.c if (wdev->iftype != NL80211_IFTYPE_MESH_POINT) { wdev 6186 net/wireless/nl80211.c err = rdev_dump_mpath(rdev, wdev->netdev, path_idx, dst, wdev 6195 net/wireless/nl80211.c wdev->netdev, dst, next_hop, wdev 6363 net/wireless/nl80211.c struct wireless_dev *wdev; wdev 6370 net/wireless/nl80211.c err = nl80211_prepare_wdev_dump(cb, &rdev, &wdev); wdev 6379 net/wireless/nl80211.c if (wdev->iftype != NL80211_IFTYPE_MESH_POINT) { wdev 6385 net/wireless/nl80211.c err = rdev_dump_mpp(rdev, wdev->netdev, path_idx, dst, wdev 6394 net/wireless/nl80211.c wdev->netdev, dst, mpp, wdev 6413 net/wireless/nl80211.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 6477 net/wireless/nl80211.c wdev_lock(wdev); wdev 6479 net/wireless/nl80211.c wdev_unlock(wdev); wdev 6539 net/wireless/nl80211.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 6546 net/wireless/nl80211.c if (wdev->iftype != NL80211_IFTYPE_MESH_POINT) wdev 6552 net/wireless/nl80211.c wdev_lock(wdev); wdev 6554 net/wireless/nl80211.c if (!wdev->mesh_id_len) wdev 6558 net/wireless/nl80211.c wdev_unlock(wdev); wdev 6908 net/wireless/nl80211.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 6913 net/wireless/nl80211.c if (wdev->iftype != NL80211_IFTYPE_MESH_POINT) wdev 6923 net/wireless/nl80211.c wdev_lock(wdev); wdev 6924 net/wireless/nl80211.c if (!wdev->mesh_id_len) wdev 6930 net/wireless/nl80211.c wdev_unlock(wdev); wdev 7400 net/wireless/nl80211.c static bool cfg80211_off_channel_oper_allowed(struct wireless_dev *wdev) wdev 7402 net/wireless/nl80211.c ASSERT_WDEV_LOCK(wdev); wdev 7404 net/wireless/nl80211.c if (!cfg80211_beaconing_iface_active(wdev)) wdev 7407 net/wireless/nl80211.c if (!(wdev->chandef.chan->flags & IEEE80211_CHAN_RADAR)) wdev 7410 net/wireless/nl80211.c return regulatory_pre_cac_allowed(wdev->wiphy); wdev 7424 net/wireless/nl80211.c nl80211_check_scan_flags(struct wiphy *wiphy, struct wireless_dev *wdev, wdev 7438 net/wireless/nl80211.c randomness_flag = wdev ? wdev 7490 net/wireless/nl80211.c (wdev && wdev->current_bss)) wdev 7504 net/wireless/nl80211.c struct wireless_dev *wdev = info->user_ptr[1]; wdev 7513 net/wireless/nl80211.c if (wdev->iftype == NL80211_IFTYPE_NAN) wdev 7623 net/wireless/nl80211.c wdev_lock(wdev); wdev 7624 net/wireless/nl80211.c if (!cfg80211_off_channel_oper_allowed(wdev)) { wdev 7628 net/wireless/nl80211.c wdev_unlock(wdev); wdev 7634 net/wireless/nl80211.c if (chan->center_freq != wdev->chandef.chan->center_freq) { wdev 7635 net/wireless/nl80211.c wdev_unlock(wdev); wdev 7640 net/wireless/nl80211.c wdev_unlock(wdev); wdev 7703 net/wireless/nl80211.c err = nl80211_check_scan_flags(wiphy, wdev, request, info->attrs, wdev 7730 net/wireless/nl80211.c request->wdev = wdev; wdev 7738 net/wireless/nl80211.c nl80211_send_scan_start(rdev, wdev); wdev 7739 net/wireless/nl80211.c if (wdev->netdev) wdev 7740 net/wireless/nl80211.c dev_hold(wdev->netdev); wdev 7754 net/wireless/nl80211.c struct wireless_dev *wdev = info->user_ptr[1]; wdev 7765 net/wireless/nl80211.c rdev_abort_scan(rdev, wdev); wdev 7890 net/wireless/nl80211.c nl80211_parse_sched_scan(struct wiphy *wiphy, struct wireless_dev *wdev, wdev 8202 net/wireless/nl80211.c err = nl80211_check_scan_flags(wiphy, wdev, request, attrs, true); wdev 8248 net/wireless/nl80211.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 8261 net/wireless/nl80211.c sched_scan_req = nl80211_parse_sched_scan(&rdev->wiphy, wdev, wdev 8329 net/wireless/nl80211.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 8330 net/wireless/nl80211.c struct wiphy *wiphy = wdev->wiphy; wdev 8347 net/wireless/nl80211.c if (wdev->cac_started) wdev 8350 net/wireless/nl80211.c err = cfg80211_chandef_dfs_required(wiphy, &chandef, wdev->iftype); wdev 8373 net/wireless/nl80211.c wdev->chandef = chandef; wdev 8374 net/wireless/nl80211.c wdev->cac_started = true; wdev 8375 net/wireless/nl80211.c wdev->cac_start_time = jiffies; wdev 8376 net/wireless/nl80211.c wdev->cac_time_ms = cac_time_ms; wdev 8386 net/wireless/nl80211.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 8387 net/wireless/nl80211.c struct wiphy *wiphy = wdev->wiphy; wdev 8405 net/wireless/nl80211.c err = cfg80211_chandef_dfs_required(wiphy, &chandef, wdev->iftype); wdev 8439 net/wireless/nl80211.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 8467 net/wireless/nl80211.c if (!wdev->beacon_interval) wdev 8471 net/wireless/nl80211.c if (!wdev->ssid_len) wdev 8475 net/wireless/nl80211.c if (!wdev->mesh_id_len) wdev 8579 net/wireless/nl80211.c wdev->iftype)) wdev 8582 net/wireless/nl80211.c err = cfg80211_chandef_dfs_required(wdev->wiphy, wdev 8584 net/wireless/nl80211.c wdev->iftype); wdev 8599 net/wireless/nl80211.c wdev_lock(wdev); wdev 8601 net/wireless/nl80211.c wdev_unlock(wdev); wdev 8609 net/wireless/nl80211.c struct wireless_dev *wdev, wdev 8617 net/wireless/nl80211.c ASSERT_WDEV_LOCK(wdev); wdev 8628 net/wireless/nl80211.c if (wdev->netdev && wdev 8629 net/wireless/nl80211.c nla_put_u32(msg, NL80211_ATTR_IFINDEX, wdev->netdev->ifindex)) wdev 8631 net/wireless/nl80211.c if (nla_put_u64_64bit(msg, NL80211_ATTR_WDEV, wdev_id(wdev), wdev 8713 net/wireless/nl80211.c switch (wdev->iftype) { wdev 8716 net/wireless/nl80211.c if (intbss == wdev->current_bss && wdev 8722 net/wireless/nl80211.c if (intbss == wdev->current_bss && wdev 8747 net/wireless/nl80211.c struct wireless_dev *wdev; wdev 8752 net/wireless/nl80211.c err = nl80211_prepare_wdev_dump(cb, &rdev, &wdev); wdev 8758 net/wireless/nl80211.c wdev_lock(wdev); wdev 8777 net/wireless/nl80211.c rdev, wdev, scan) < 0) { wdev 8784 net/wireless/nl80211.c wdev_unlock(wdev); wdev 8871 net/wireless/nl80211.c struct wireless_dev *wdev; wdev 8881 net/wireless/nl80211.c res = nl80211_prepare_wdev_dump(cb, &rdev, &wdev); wdev 8888 net/wireless/nl80211.c if (!wdev->netdev) { wdev 8899 net/wireless/nl80211.c res = rdev_dump_survey(rdev, wdev->netdev, survey_idx, &survey); wdev 8915 net/wireless/nl80211.c wdev->netdev, radio_stats, &survey) < 0) wdev 9631 net/wireless/nl80211.c struct wireless_dev *wdev, int approxlen, wdev 9663 net/wireless/nl80211.c if (wdev) { wdev 9665 net/wireless/nl80211.c wdev_id(wdev), NL80211_ATTR_PAD)) wdev 9667 net/wireless/nl80211.c if (wdev->netdev && wdev 9669 net/wireless/nl80211.c wdev->netdev->ifindex)) wdev 9689 net/wireless/nl80211.c struct wireless_dev *wdev, wdev 9716 net/wireless/nl80211.c return __cfg80211_alloc_vendor_skb(rdev, wdev, approxlen, portid, 0, wdev 9752 net/wireless/nl80211.c struct wireless_dev *wdev = wdev 9759 net/wireless/nl80211.c if (IS_ERR(wdev)) { wdev 9760 net/wireless/nl80211.c err = PTR_ERR(wdev); wdev 9763 net/wireless/nl80211.c wdev = NULL; wdev 9764 net/wireless/nl80211.c } else if (wdev->wiphy != &rdev->wiphy) { wdev 9772 net/wireless/nl80211.c err = rdev_testmode_cmd(rdev, wdev, wdev 10123 net/wireless/nl80211.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 10189 net/wireless/nl80211.c if (!wdev->current_bss) wdev 10393 net/wireless/nl80211.c struct wireless_dev *wdev = info->user_ptr[1]; wdev 10424 net/wireless/nl80211.c wdev_lock(wdev); wdev 10425 net/wireless/nl80211.c if (!cfg80211_off_channel_oper_allowed(wdev) && wdev 10426 net/wireless/nl80211.c !cfg80211_chandef_identical(&wdev->chandef, &chandef)) { wdev 10427 net/wireless/nl80211.c compat_chandef = cfg80211_chandef_compatible(&wdev->chandef, wdev 10430 net/wireless/nl80211.c wdev_unlock(wdev); wdev 10434 net/wireless/nl80211.c wdev_unlock(wdev); wdev 10447 net/wireless/nl80211.c err = rdev_remain_on_channel(rdev, wdev, chandef.chan, wdev 10472 net/wireless/nl80211.c struct wireless_dev *wdev = info->user_ptr[1]; wdev 10483 net/wireless/nl80211.c return rdev_cancel_remain_on_channel(rdev, wdev, cookie); wdev 10507 net/wireless/nl80211.c struct wireless_dev *wdev = info->user_ptr[1]; wdev 10516 net/wireless/nl80211.c switch (wdev->iftype) { wdev 10535 net/wireless/nl80211.c return cfg80211_mlme_register_mgmt(wdev, info->snd_portid, frame_type, wdev 10543 net/wireless/nl80211.c struct wireless_dev *wdev = info->user_ptr[1]; wdev 10560 net/wireless/nl80211.c switch (wdev->iftype) { wdev 10611 net/wireless/nl80211.c wdev_lock(wdev); wdev 10612 net/wireless/nl80211.c if (params.offchan && !cfg80211_off_channel_oper_allowed(wdev)) { wdev 10613 net/wireless/nl80211.c wdev_unlock(wdev); wdev 10616 net/wireless/nl80211.c wdev_unlock(wdev); wdev 10653 net/wireless/nl80211.c err = cfg80211_mlme_mgmt_tx(rdev, wdev, ¶ms, &cookie); wdev 10678 net/wireless/nl80211.c struct wireless_dev *wdev = info->user_ptr[1]; wdev 10687 net/wireless/nl80211.c switch (wdev->iftype) { wdev 10703 net/wireless/nl80211.c return rdev_mgmt_tx_cancel_wait(rdev, wdev, cookie); wdev 10709 net/wireless/nl80211.c struct wireless_dev *wdev; wdev 10720 net/wireless/nl80211.c wdev = dev->ieee80211_ptr; wdev 10727 net/wireless/nl80211.c if (state == wdev->ps) wdev 10730 net/wireless/nl80211.c err = rdev_set_power_mgmt(rdev, dev, state, wdev->ps_timeout); wdev 10732 net/wireless/nl80211.c wdev->ps = state; wdev 10740 net/wireless/nl80211.c struct wireless_dev *wdev; wdev 10746 net/wireless/nl80211.c wdev = dev->ieee80211_ptr; wdev 10762 net/wireless/nl80211.c if (wdev->ps) wdev 10796 net/wireless/nl80211.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 10804 net/wireless/nl80211.c if (wdev->iftype != NL80211_IFTYPE_STATION && wdev 10805 net/wireless/nl80211.c wdev->iftype != NL80211_IFTYPE_P2P_CLIENT) wdev 10814 net/wireless/nl80211.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 10821 net/wireless/nl80211.c if (!wdev->cqm_config) wdev 10830 net/wireless/nl80211.c if (!wdev->cqm_config->last_rssi_event_value && wdev->current_bss && wdev 10835 net/wireless/nl80211.c mac_addr = wdev->current_bss->pub.bssid; wdev 10843 net/wireless/nl80211.c wdev->cqm_config->last_rssi_event_value = wdev 10847 net/wireless/nl80211.c last = wdev->cqm_config->last_rssi_event_value; wdev 10848 net/wireless/nl80211.c hyst = wdev->cqm_config->rssi_hyst; wdev 10849 net/wireless/nl80211.c n = wdev->cqm_config->n_rssi_thresholds; wdev 10853 net/wireless/nl80211.c if (last < wdev->cqm_config->rssi_thresholds[i]) wdev 10860 net/wireless/nl80211.c low = wdev->cqm_config->rssi_thresholds[low_index] - hyst; wdev 10866 net/wireless/nl80211.c high = wdev->cqm_config->rssi_thresholds[i] + hyst - 1; wdev 10880 net/wireless/nl80211.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 10892 net/wireless/nl80211.c if (wdev->iftype != NL80211_IFTYPE_STATION && wdev 10893 net/wireless/nl80211.c wdev->iftype != NL80211_IFTYPE_P2P_CLIENT) wdev 10896 net/wireless/nl80211.c wdev_lock(wdev); wdev 10897 net/wireless/nl80211.c cfg80211_cqm_config_free(wdev); wdev 10898 net/wireless/nl80211.c wdev_unlock(wdev); wdev 10915 net/wireless/nl80211.c wdev_lock(wdev); wdev 10931 net/wireless/nl80211.c wdev->cqm_config = cqm_config; wdev 10937 net/wireless/nl80211.c wdev_unlock(wdev); wdev 12028 net/wireless/nl80211.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 12056 net/wireless/nl80211.c wdev_lock(wdev); wdev 12057 net/wireless/nl80211.c if (!wdev->current_bss) { wdev 12069 net/wireless/nl80211.c wdev_unlock(wdev); wdev 12077 net/wireless/nl80211.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 12079 net/wireless/nl80211.c if (wdev->iftype != NL80211_IFTYPE_AP && wdev 12080 net/wireless/nl80211.c wdev->iftype != NL80211_IFTYPE_P2P_GO) wdev 12083 net/wireless/nl80211.c if (wdev->ap_unexpected_nlportid) wdev 12086 net/wireless/nl80211.c wdev->ap_unexpected_nlportid = info->snd_portid; wdev 12095 net/wireless/nl80211.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 12102 net/wireless/nl80211.c if (wdev->iftype != NL80211_IFTYPE_AP && wdev 12103 net/wireless/nl80211.c wdev->iftype != NL80211_IFTYPE_P2P_GO) wdev 12181 net/wireless/nl80211.c struct wireless_dev *wdev = info->user_ptr[1]; wdev 12187 net/wireless/nl80211.c if (wdev->iftype != NL80211_IFTYPE_P2P_DEVICE) wdev 12190 net/wireless/nl80211.c if (wdev_running(wdev)) wdev 12196 net/wireless/nl80211.c err = rdev_start_p2p_device(rdev, wdev); wdev 12200 net/wireless/nl80211.c wdev->is_running = true; wdev 12209 net/wireless/nl80211.c struct wireless_dev *wdev = info->user_ptr[1]; wdev 12211 net/wireless/nl80211.c if (wdev->iftype != NL80211_IFTYPE_P2P_DEVICE) wdev 12217 net/wireless/nl80211.c cfg80211_stop_p2p_device(rdev, wdev); wdev 12225 net/wireless/nl80211.c struct wireless_dev *wdev = info->user_ptr[1]; wdev 12229 net/wireless/nl80211.c if (wdev->iftype != NL80211_IFTYPE_NAN) wdev 12232 net/wireless/nl80211.c if (wdev_running(wdev)) wdev 12247 net/wireless/nl80211.c if (bands & ~(u32)wdev->wiphy->nan_supported_bands) wdev 12256 net/wireless/nl80211.c err = rdev_start_nan(rdev, wdev, &conf); wdev 12260 net/wireless/nl80211.c wdev->is_running = true; wdev 12269 net/wireless/nl80211.c struct wireless_dev *wdev = info->user_ptr[1]; wdev 12271 net/wireless/nl80211.c if (wdev->iftype != NL80211_IFTYPE_NAN) wdev 12274 net/wireless/nl80211.c cfg80211_stop_nan(rdev, wdev); wdev 12334 net/wireless/nl80211.c struct wireless_dev *wdev = info->user_ptr[1]; wdev 12341 net/wireless/nl80211.c if (wdev->iftype != NL80211_IFTYPE_NAN) wdev 12344 net/wireless/nl80211.c if (!wdev_running(wdev)) wdev 12538 net/wireless/nl80211.c err = rdev_add_nan_func(rdev, wdev, func); wdev 12573 net/wireless/nl80211.c struct wireless_dev *wdev = info->user_ptr[1]; wdev 12576 net/wireless/nl80211.c if (wdev->iftype != NL80211_IFTYPE_NAN) wdev 12579 net/wireless/nl80211.c if (!wdev_running(wdev)) wdev 12587 net/wireless/nl80211.c rdev_del_nan_func(rdev, wdev, cookie); wdev 12596 net/wireless/nl80211.c struct wireless_dev *wdev = info->user_ptr[1]; wdev 12600 net/wireless/nl80211.c if (wdev->iftype != NL80211_IFTYPE_NAN) wdev 12603 net/wireless/nl80211.c if (!wdev_running(wdev)) wdev 12618 net/wireless/nl80211.c if (bands & ~(u32)wdev->wiphy->nan_supported_bands) wdev 12631 net/wireless/nl80211.c return rdev_nan_change_conf(rdev, wdev, &conf, changed); wdev 12634 net/wireless/nl80211.c void cfg80211_nan_match(struct wireless_dev *wdev, wdev 12637 net/wireless/nl80211.c struct wiphy *wiphy = wdev->wiphy; wdev 12657 net/wireless/nl80211.c (wdev->netdev && nla_put_u32(msg, NL80211_ATTR_IFINDEX, wdev 12658 net/wireless/nl80211.c wdev->netdev->ifindex)) || wdev 12659 net/wireless/nl80211.c nla_put_u64_64bit(msg, NL80211_ATTR_WDEV, wdev_id(wdev), wdev 12700 net/wireless/nl80211.c if (!wdev->owner_nlportid) wdev 12705 net/wireless/nl80211.c wdev->owner_nlportid); wdev 12714 net/wireless/nl80211.c void cfg80211_nan_func_terminated(struct wireless_dev *wdev, wdev 12719 net/wireless/nl80211.c struct wiphy *wiphy = wdev->wiphy; wdev 12739 net/wireless/nl80211.c (wdev->netdev && nla_put_u32(msg, NL80211_ATTR_IFINDEX, wdev 12740 net/wireless/nl80211.c wdev->netdev->ifindex)) || wdev 12741 net/wireless/nl80211.c nla_put_u64_64bit(msg, NL80211_ATTR_WDEV, wdev_id(wdev), wdev 12760 net/wireless/nl80211.c if (!wdev->owner_nlportid) wdev 12765 net/wireless/nl80211.c wdev->owner_nlportid); wdev 12826 net/wireless/nl80211.c struct wireless_dev *wdev = info->user_ptr[1]; wdev 12857 net/wireless/nl80211.c ret = rdev_crit_proto_start(rdev, wdev, proto, duration); wdev 12868 net/wireless/nl80211.c struct wireless_dev *wdev = info->user_ptr[1]; wdev 12875 net/wireless/nl80211.c rdev_crit_proto_stop(rdev, wdev); wdev 12906 net/wireless/nl80211.c struct wireless_dev *wdev = wdev 12914 net/wireless/nl80211.c if (IS_ERR(wdev)) { wdev 12915 net/wireless/nl80211.c err = PTR_ERR(wdev); wdev 12918 net/wireless/nl80211.c wdev = NULL; wdev 12919 net/wireless/nl80211.c } else if (wdev->wiphy != &rdev->wiphy) { wdev 12941 net/wireless/nl80211.c if (!wdev) wdev 12944 net/wireless/nl80211.c !wdev->netdev) wdev 12948 net/wireless/nl80211.c if (!wdev_running(wdev)) wdev 12955 net/wireless/nl80211.c wdev = NULL; wdev 12970 net/wireless/nl80211.c err = vcmd->doit(&rdev->wiphy, wdev, data, len); wdev 12981 net/wireless/nl80211.c struct wireless_dev **wdev) wdev 12999 net/wireless/nl80211.c *wdev = NULL; wdev 13004 net/wireless/nl80211.c *wdev = tmp; wdev 13031 net/wireless/nl80211.c *wdev = __cfg80211_wdev_from_attrs(sock_net(skb->sk), attrbuf); wdev 13032 net/wireless/nl80211.c if (IS_ERR(*wdev)) wdev 13033 net/wireless/nl80211.c *wdev = NULL; wdev 13081 net/wireless/nl80211.c cb->args[1] = *wdev ? (*wdev)->identifier + 1 : 0; wdev 13097 net/wireless/nl80211.c struct wireless_dev *wdev; wdev 13106 net/wireless/nl80211.c err = nl80211_prepare_vendor_dump(skb, cb, &rdev, &wdev); wdev 13117 net/wireless/nl80211.c if (!wdev) { wdev 13122 net/wireless/nl80211.c !wdev->netdev) { wdev 13128 net/wireless/nl80211.c if (!wdev_running(wdev)) { wdev 13143 net/wireless/nl80211.c (wdev && nla_put_u64_64bit(skb, NL80211_ATTR_WDEV, wdev 13144 net/wireless/nl80211.c wdev_id(wdev), wdev 13157 net/wireless/nl80211.c err = vcmd->dumpit(&rdev->wiphy, wdev, skb, data, data_len, wdev 13281 net/wireless/nl80211.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 13315 net/wireless/nl80211.c wdev_lock(wdev); wdev 13316 net/wireless/nl80211.c switch (wdev->iftype) { wdev 13319 net/wireless/nl80211.c if (wdev->current_bss) wdev 13331 net/wireless/nl80211.c wdev_unlock(wdev); wdev 13339 net/wireless/nl80211.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 13350 net/wireless/nl80211.c wdev_lock(wdev); wdev 13352 net/wireless/nl80211.c wdev_unlock(wdev); wdev 13362 net/wireless/nl80211.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 13400 net/wireless/nl80211.c wdev->iftype)) wdev 13404 net/wireless/nl80211.c if (cfg80211_chandef_dfs_required(wdev->wiphy, &chandef, wdev->iftype)) wdev 13410 net/wireless/nl80211.c wdev_lock(wdev); wdev 13412 net/wireless/nl80211.c wdev_unlock(wdev); wdev 13422 net/wireless/nl80211.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 13443 net/wireless/nl80211.c wdev_lock(wdev); wdev 13445 net/wireless/nl80211.c wdev_unlock(wdev); wdev 13455 net/wireless/nl80211.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 13462 net/wireless/nl80211.c if (wdev->iftype != NL80211_IFTYPE_AP && wdev 13463 net/wireless/nl80211.c wdev->iftype != NL80211_IFTYPE_P2P_GO) wdev 13476 net/wireless/nl80211.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 13480 net/wireless/nl80211.c if (wdev->iftype != NL80211_IFTYPE_STATION && wdev 13481 net/wireless/nl80211.c wdev->iftype != NL80211_IFTYPE_P2P_CLIENT) wdev 13491 net/wireless/nl80211.c wdev_lock(wdev); wdev 13492 net/wireless/nl80211.c if (!wdev->current_bss) { wdev 13498 net/wireless/nl80211.c if (memcmp(pmk_conf.aa, wdev->current_bss->pub.bssid, ETH_ALEN)) { wdev 13525 net/wireless/nl80211.c wdev_unlock(wdev); wdev 13533 net/wireless/nl80211.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 13537 net/wireless/nl80211.c if (wdev->iftype != NL80211_IFTYPE_STATION && wdev 13538 net/wireless/nl80211.c wdev->iftype != NL80211_IFTYPE_P2P_CLIENT) wdev 13548 net/wireless/nl80211.c wdev_lock(wdev); wdev 13551 net/wireless/nl80211.c wdev_unlock(wdev); wdev 13603 net/wireless/nl80211.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 13625 net/wireless/nl80211.c wdev_lock(wdev); wdev 13627 net/wireless/nl80211.c switch (wdev->iftype) { wdev 13635 net/wireless/nl80211.c if (wdev->current_bss) wdev 13644 net/wireless/nl80211.c wdev_unlock(wdev); wdev 13657 net/wireless/nl80211.c wdev_unlock(wdev); wdev 13666 net/wireless/nl80211.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 13673 net/wireless/nl80211.c if (wdev->iftype != NL80211_IFTYPE_AP || !wdev->beacon_interval) wdev 13761 net/wireless/nl80211.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 13777 net/wireless/nl80211.c if (wdev->iftype != NL80211_IFTYPE_MESH_POINT) wdev 13816 net/wireless/nl80211.c struct wireless_dev *wdev; wdev 13835 net/wireless/nl80211.c wdev = __cfg80211_wdev_from_attrs(genl_info_net(info), wdev 13837 net/wireless/nl80211.c if (IS_ERR(wdev)) { wdev 13840 net/wireless/nl80211.c return PTR_ERR(wdev); wdev 13843 net/wireless/nl80211.c dev = wdev->netdev; wdev 13844 net/wireless/nl80211.c rdev = wiphy_to_rdev(wdev->wiphy); wdev 13855 net/wireless/nl80211.c info->user_ptr[1] = wdev; wdev 13859 net/wireless/nl80211.c !wdev_running(wdev)) { wdev 13879 net/wireless/nl80211.c struct wireless_dev *wdev = info->user_ptr[1]; wdev 13881 net/wireless/nl80211.c if (wdev->netdev) wdev 13882 net/wireless/nl80211.c dev_put(wdev->netdev); wdev 14798 net/wireless/nl80211.c struct wireless_dev *wdev, wdev 14807 net/wireless/nl80211.c if (nl80211_send_iface(msg, 0, 0, 0, rdev, wdev, cmd) < 0) { wdev 14866 net/wireless/nl80211.c struct wireless_dev *wdev, wdev 14877 net/wireless/nl80211.c (wdev->netdev && nla_put_u32(msg, NL80211_ATTR_IFINDEX, wdev 14878 net/wireless/nl80211.c wdev->netdev->ifindex)) || wdev 14879 net/wireless/nl80211.c nla_put_u64_64bit(msg, NL80211_ATTR_WDEV, wdev_id(wdev), wdev 14920 net/wireless/nl80211.c struct wireless_dev *wdev) wdev 14928 net/wireless/nl80211.c if (nl80211_prep_scan_msg(msg, rdev, wdev, 0, 0, 0, wdev 14939 net/wireless/nl80211.c struct wireless_dev *wdev, bool aborted) wdev 14947 net/wireless/nl80211.c if (nl80211_prep_scan_msg(msg, rdev, wdev, 0, 0, 0, wdev 15153 net/wireless/nl80211.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 15154 net/wireless/nl80211.c struct wiphy *wiphy = wdev->wiphy; wdev 15435 net/wireless/nl80211.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 15436 net/wireless/nl80211.c struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); wdev 15440 net/wireless/nl80211.c if (WARN_ON(wdev->iftype != NL80211_IFTYPE_MESH_POINT)) wdev 15570 net/wireless/nl80211.c struct wireless_dev *wdev, u64 cookie, wdev 15588 net/wireless/nl80211.c (wdev->netdev && nla_put_u32(msg, NL80211_ATTR_IFINDEX, wdev 15589 net/wireless/nl80211.c wdev->netdev->ifindex)) || wdev 15590 net/wireless/nl80211.c nla_put_u64_64bit(msg, NL80211_ATTR_WDEV, wdev_id(wdev), wdev 15613 net/wireless/nl80211.c void cfg80211_ready_on_channel(struct wireless_dev *wdev, u64 cookie, wdev 15617 net/wireless/nl80211.c struct wiphy *wiphy = wdev->wiphy; wdev 15620 net/wireless/nl80211.c trace_cfg80211_ready_on_channel(wdev, cookie, chan, duration); wdev 15622 net/wireless/nl80211.c rdev, wdev, cookie, chan, wdev 15627 net/wireless/nl80211.c void cfg80211_remain_on_channel_expired(struct wireless_dev *wdev, u64 cookie, wdev 15631 net/wireless/nl80211.c struct wiphy *wiphy = wdev->wiphy; wdev 15634 net/wireless/nl80211.c trace_cfg80211_ready_on_channel_expired(wdev, cookie, chan); wdev 15636 net/wireless/nl80211.c rdev, wdev, cookie, chan, 0, gfp); wdev 15640 net/wireless/nl80211.c void cfg80211_tx_mgmt_expired(struct wireless_dev *wdev, u64 cookie, wdev 15644 net/wireless/nl80211.c struct wiphy *wiphy = wdev->wiphy; wdev 15647 net/wireless/nl80211.c trace_cfg80211_tx_mgmt_expired(wdev, cookie, chan); wdev 15649 net/wireless/nl80211.c rdev, wdev, cookie, chan, 0, gfp); wdev 15745 net/wireless/nl80211.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 15746 net/wireless/nl80211.c struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); wdev 15749 net/wireless/nl80211.c u32 nlportid = READ_ONCE(wdev->ap_unexpected_nlportid); wdev 15781 net/wireless/nl80211.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 15786 net/wireless/nl80211.c if (WARN_ON(wdev->iftype != NL80211_IFTYPE_AP && wdev 15787 net/wireless/nl80211.c wdev->iftype != NL80211_IFTYPE_P2P_GO)) { wdev 15801 net/wireless/nl80211.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 15806 net/wireless/nl80211.c if (WARN_ON(wdev->iftype != NL80211_IFTYPE_AP && wdev 15807 net/wireless/nl80211.c wdev->iftype != NL80211_IFTYPE_P2P_GO && wdev 15808 net/wireless/nl80211.c wdev->iftype != NL80211_IFTYPE_AP_VLAN)) { wdev 15821 net/wireless/nl80211.c struct wireless_dev *wdev, u32 nlportid, wdev 15825 net/wireless/nl80211.c struct net_device *netdev = wdev->netdev; wdev 15842 net/wireless/nl80211.c nla_put_u64_64bit(msg, NL80211_ATTR_WDEV, wdev_id(wdev), wdev 15861 net/wireless/nl80211.c void cfg80211_mgmt_tx_status(struct wireless_dev *wdev, u64 cookie, wdev 15864 net/wireless/nl80211.c struct wiphy *wiphy = wdev->wiphy; wdev 15866 net/wireless/nl80211.c struct net_device *netdev = wdev->netdev; wdev 15870 net/wireless/nl80211.c trace_cfg80211_mgmt_tx_status(wdev, cookie, ack); wdev 15885 net/wireless/nl80211.c nla_put_u64_64bit(msg, NL80211_ATTR_WDEV, wdev_id(wdev), wdev 15908 net/wireless/nl80211.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 15909 net/wireless/nl80211.c struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); wdev 15917 net/wireless/nl80211.c u32 nlportid = READ_ONCE(wdev->conn_owner_nlportid); wdev 15934 net/wireless/nl80211.c nla_put_u64_64bit(msg, NL80211_ATTR_WDEV, wdev_id(wdev), wdev 15971 net/wireless/nl80211.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 15972 net/wireless/nl80211.c struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); wdev 16025 net/wireless/nl80211.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 16026 net/wireless/nl80211.c struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); wdev 16034 net/wireless/nl80211.c if (wdev->cqm_config) { wdev 16035 net/wireless/nl80211.c wdev->cqm_config->last_rssi_event_value = rssi_level; wdev 16040 net/wireless/nl80211.c rssi_level = wdev->cqm_config->last_rssi_event_value; wdev 16178 net/wireless/nl80211.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 16179 net/wireless/nl80211.c struct wiphy *wiphy = wdev->wiphy; wdev 16235 net/wireless/nl80211.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 16236 net/wireless/nl80211.c struct wiphy *wiphy = wdev->wiphy; wdev 16287 net/wireless/nl80211.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 16288 net/wireless/nl80211.c struct wiphy *wiphy = wdev->wiphy; wdev 16291 net/wireless/nl80211.c ASSERT_WDEV_LOCK(wdev); wdev 16295 net/wireless/nl80211.c wdev->chandef = *chandef; wdev 16296 net/wireless/nl80211.c wdev->preset_chandef = *chandef; wdev 16298 net/wireless/nl80211.c if (wdev->iftype == NL80211_IFTYPE_STATION && wdev 16299 net/wireless/nl80211.c !WARN_ON(!wdev->current_bss)) wdev 16300 net/wireless/nl80211.c cfg80211_update_assoc_bss_entry(wdev, chandef->chan); wdev 16313 net/wireless/nl80211.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 16314 net/wireless/nl80211.c struct wiphy *wiphy = wdev->wiphy; wdev 16348 net/wireless/nl80211.c struct wireless_dev *wdev = netdev->ieee80211_ptr; wdev 16351 net/wireless/nl80211.c nla_put_u64_64bit(msg, NL80211_ATTR_WDEV, wdev_id(wdev), wdev 16377 net/wireless/nl80211.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 16378 net/wireless/nl80211.c struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); wdev 16431 net/wireless/nl80211.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 16432 net/wireless/nl80211.c struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); wdev 16574 net/wireless/nl80211.c void cfg80211_report_wowlan_wakeup(struct wireless_dev *wdev, wdev 16578 net/wireless/nl80211.c struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); wdev 16583 net/wireless/nl80211.c trace_cfg80211_report_wowlan_wakeup(wdev->wiphy, wdev, wakeup); wdev 16597 net/wireless/nl80211.c nla_put_u64_64bit(msg, NL80211_ATTR_WDEV, wdev_id(wdev), wdev 16601 net/wireless/nl80211.c if (wdev->netdev && nla_put_u32(msg, NL80211_ATTR_IFINDEX, wdev 16602 net/wireless/nl80211.c wdev->netdev->ifindex)) wdev 16693 net/wireless/nl80211.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 16694 net/wireless/nl80211.c struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); wdev 16698 net/wireless/nl80211.c trace_cfg80211_tdls_oper_request(wdev->wiphy, dev, peer, oper, wdev 16736 net/wireless/nl80211.c struct wireless_dev *wdev; wdev 16756 net/wireless/nl80211.c list_for_each_entry_rcu(wdev, &rdev->wiphy.wdev_list, list) { wdev 16757 net/wireless/nl80211.c cfg80211_mlme_unregister_socket(wdev, notify->portid); wdev 16759 net/wireless/nl80211.c if (wdev->owner_nlportid == notify->portid) { wdev 16760 net/wireless/nl80211.c wdev->nl_owner_dead = true; wdev 16762 net/wireless/nl80211.c } else if (wdev->conn_owner_nlportid == notify->portid) { wdev 16763 net/wireless/nl80211.c schedule_work(&wdev->disconnect_wk); wdev 16766 net/wireless/nl80211.c cfg80211_release_pmsr(wdev, notify->portid); wdev 16840 net/wireless/nl80211.c void cfg80211_crit_proto_stopped(struct wireless_dev *wdev, gfp_t gfp) wdev 16847 net/wireless/nl80211.c rdev = wiphy_to_rdev(wdev->wiphy); wdev 16863 net/wireless/nl80211.c nla_put_u64_64bit(msg, NL80211_ATTR_WDEV, wdev_id(wdev), wdev 16877 net/wireless/nl80211.c void nl80211_send_ap_stopped(struct wireless_dev *wdev) wdev 16879 net/wireless/nl80211.c struct wiphy *wiphy = wdev->wiphy; wdev 16893 net/wireless/nl80211.c nla_put_u32(msg, NL80211_ATTR_IFINDEX, wdev->netdev->ifindex) || wdev 16894 net/wireless/nl80211.c nla_put_u64_64bit(msg, NL80211_ATTR_WDEV, wdev_id(wdev), wdev 16911 net/wireless/nl80211.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 16912 net/wireless/nl80211.c struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); wdev 16916 net/wireless/nl80211.c if (!wdev->conn_owner_nlportid) wdev 16939 net/wireless/nl80211.c wdev->conn_owner_nlportid); wdev 21 net/wireless/nl80211.h static inline u64 wdev_id(struct wireless_dev *wdev) wdev 23 net/wireless/nl80211.h return (u64)wdev->identifier | wdev 24 net/wireless/nl80211.h ((u64)wiphy_to_rdev(wdev->wiphy)->wiphy_idx << 32); wdev 29 net/wireless/nl80211.h struct wireless_dev **wdev); wdev 40 net/wireless/nl80211.h struct wireless_dev *wdev, wdev 43 net/wireless/nl80211.h struct wireless_dev *wdev); wdev 45 net/wireless/nl80211.h struct wireless_dev *wdev, bool aborted); wdev 113 net/wireless/nl80211.h struct wireless_dev *wdev, u32 nlpid, wdev 123 net/wireless/nl80211.h void nl80211_send_ap_stopped(struct wireless_dev *wdev); wdev 21 net/wireless/ocb.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 24 net/wireless/ocb.c ASSERT_WDEV_LOCK(wdev); wdev 37 net/wireless/ocb.c wdev->chandef = setup->chandef; wdev 46 net/wireless/ocb.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 49 net/wireless/ocb.c wdev_lock(wdev); wdev 51 net/wireless/ocb.c wdev_unlock(wdev); wdev 59 net/wireless/ocb.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 62 net/wireless/ocb.c ASSERT_WDEV_LOCK(wdev); wdev 72 net/wireless/ocb.c memset(&wdev->chandef, 0, sizeof(wdev->chandef)); wdev 80 net/wireless/ocb.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 83 net/wireless/ocb.c wdev_lock(wdev); wdev 85 net/wireless/ocb.c wdev_unlock(wdev); wdev 213 net/wireless/pmsr.c struct wireless_dev *wdev = info->user_ptr[1]; wdev 261 net/wireless/pmsr.c memcpy(req->mac_addr, wdev_address(wdev), ETH_ALEN); wdev 278 net/wireless/pmsr.c err = rdev_start_pmsr(rdev, wdev, req); wdev 282 net/wireless/pmsr.c list_add_tail(&req->list, &wdev->pmsr_list); wdev 291 net/wireless/pmsr.c void cfg80211_pmsr_complete(struct wireless_dev *wdev, wdev 295 net/wireless/pmsr.c struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); wdev 299 net/wireless/pmsr.c trace_cfg80211_pmsr_complete(wdev->wiphy, wdev, req->cookie); wdev 311 net/wireless/pmsr.c nla_put_u64_64bit(msg, NL80211_ATTR_WDEV, wdev_id(wdev), wdev 320 net/wireless/pmsr.c genlmsg_unicast(wiphy_net(wdev->wiphy), msg, req->nl_portid); wdev 325 net/wireless/pmsr.c spin_lock_bh(&wdev->pmsr_lock); wdev 327 net/wireless/pmsr.c spin_unlock_bh(&wdev->pmsr_lock); wdev 486 net/wireless/pmsr.c void cfg80211_pmsr_report(struct wireless_dev *wdev, wdev 491 net/wireless/pmsr.c struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); wdev 496 net/wireless/pmsr.c trace_cfg80211_pmsr_report(wdev->wiphy, wdev, req->cookie, wdev 513 net/wireless/pmsr.c nla_put_u64_64bit(msg, NL80211_ATTR_WDEV, wdev_id(wdev), wdev 528 net/wireless/pmsr.c genlmsg_unicast(wiphy_net(wdev->wiphy), msg, req->nl_portid); wdev 535 net/wireless/pmsr.c static void cfg80211_pmsr_process_abort(struct wireless_dev *wdev) wdev 537 net/wireless/pmsr.c struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); wdev 541 net/wireless/pmsr.c lockdep_assert_held(&wdev->mtx); wdev 543 net/wireless/pmsr.c spin_lock_bh(&wdev->pmsr_lock); wdev 544 net/wireless/pmsr.c list_for_each_entry_safe(req, tmp, &wdev->pmsr_list, list) { wdev 549 net/wireless/pmsr.c spin_unlock_bh(&wdev->pmsr_lock); wdev 552 net/wireless/pmsr.c rdev_abort_pmsr(rdev, wdev, req); wdev 560 net/wireless/pmsr.c struct wireless_dev *wdev = container_of(work, struct wireless_dev, wdev 563 net/wireless/pmsr.c wdev_lock(wdev); wdev 564 net/wireless/pmsr.c cfg80211_pmsr_process_abort(wdev); wdev 565 net/wireless/pmsr.c wdev_unlock(wdev); wdev 568 net/wireless/pmsr.c void cfg80211_pmsr_wdev_down(struct wireless_dev *wdev) wdev 573 net/wireless/pmsr.c spin_lock_bh(&wdev->pmsr_lock); wdev 574 net/wireless/pmsr.c list_for_each_entry(req, &wdev->pmsr_list, list) { wdev 578 net/wireless/pmsr.c spin_unlock_bh(&wdev->pmsr_lock); wdev 581 net/wireless/pmsr.c cfg80211_pmsr_process_abort(wdev); wdev 583 net/wireless/pmsr.c WARN_ON(!list_empty(&wdev->pmsr_list)); wdev 586 net/wireless/pmsr.c void cfg80211_release_pmsr(struct wireless_dev *wdev, u32 portid) wdev 590 net/wireless/pmsr.c spin_lock_bh(&wdev->pmsr_lock); wdev 591 net/wireless/pmsr.c list_for_each_entry(req, &wdev->pmsr_list, list) { wdev 594 net/wireless/pmsr.c schedule_work(&wdev->pmsr_free_wk); wdev 597 net/wireless/pmsr.c spin_unlock_bh(&wdev->pmsr_lock); wdev 53 net/wireless/rdev-ops.h struct wireless_dev *wdev) wdev 56 net/wireless/rdev-ops.h trace_rdev_del_virtual_intf(&rdev->wiphy, wdev); wdev 57 net/wireless/rdev-ops.h ret = rdev->ops->del_virtual_intf(&rdev->wiphy, wdev); wdev 432 net/wireless/rdev-ops.h struct wireless_dev *wdev) wdev 434 net/wireless/rdev-ops.h trace_rdev_abort_scan(&rdev->wiphy, wdev); wdev 435 net/wireless/rdev-ops.h rdev->ops->abort_scan(&rdev->wiphy, wdev); wdev 552 net/wireless/rdev-ops.h struct wireless_dev *wdev, wdev 556 net/wireless/rdev-ops.h trace_rdev_set_tx_power(&rdev->wiphy, wdev, type, mbm); wdev 557 net/wireless/rdev-ops.h ret = rdev->ops->set_tx_power(&rdev->wiphy, wdev, type, mbm); wdev 563 net/wireless/rdev-ops.h struct wireless_dev *wdev, int *dbm) wdev 566 net/wireless/rdev-ops.h trace_rdev_get_tx_power(&rdev->wiphy, wdev); wdev 567 net/wireless/rdev-ops.h ret = rdev->ops->get_tx_power(&rdev->wiphy, wdev, dbm); wdev 596 net/wireless/rdev-ops.h struct wireless_dev *wdev, wdev 600 net/wireless/rdev-ops.h trace_rdev_get_txq_stats(&rdev->wiphy, wdev); wdev 601 net/wireless/rdev-ops.h ret = rdev->ops->get_txq_stats(&rdev->wiphy, wdev, txqstats); wdev 616 net/wireless/rdev-ops.h struct wireless_dev *wdev, wdev 620 net/wireless/rdev-ops.h trace_rdev_testmode_cmd(&rdev->wiphy, wdev); wdev 621 net/wireless/rdev-ops.h ret = rdev->ops->testmode_cmd(&rdev->wiphy, wdev, data, len); wdev 699 net/wireless/rdev-ops.h struct wireless_dev *wdev, wdev 704 net/wireless/rdev-ops.h trace_rdev_remain_on_channel(&rdev->wiphy, wdev, chan, duration); wdev 705 net/wireless/rdev-ops.h ret = rdev->ops->remain_on_channel(&rdev->wiphy, wdev, chan, wdev 713 net/wireless/rdev-ops.h struct wireless_dev *wdev, u64 cookie) wdev 716 net/wireless/rdev-ops.h trace_rdev_cancel_remain_on_channel(&rdev->wiphy, wdev, cookie); wdev 717 net/wireless/rdev-ops.h ret = rdev->ops->cancel_remain_on_channel(&rdev->wiphy, wdev, cookie); wdev 723 net/wireless/rdev-ops.h struct wireless_dev *wdev, wdev 728 net/wireless/rdev-ops.h trace_rdev_mgmt_tx(&rdev->wiphy, wdev, params); wdev 729 net/wireless/rdev-ops.h ret = rdev->ops->mgmt_tx(&rdev->wiphy, wdev, params, cookie); wdev 751 net/wireless/rdev-ops.h struct wireless_dev *wdev, u64 cookie) wdev 754 net/wireless/rdev-ops.h trace_rdev_mgmt_tx_cancel_wait(&rdev->wiphy, wdev, cookie); wdev 755 net/wireless/rdev-ops.h ret = rdev->ops->mgmt_tx_cancel_wait(&rdev->wiphy, wdev, cookie); wdev 810 net/wireless/rdev-ops.h struct wireless_dev *wdev, u16 frame_type, bool reg) wdev 814 net/wireless/rdev-ops.h trace_rdev_mgmt_frame_register(&rdev->wiphy, wdev , frame_type, reg); wdev 815 net/wireless/rdev-ops.h rdev->ops->mgmt_frame_register(&rdev->wiphy, wdev , frame_type, reg); wdev 927 net/wireless/rdev-ops.h struct wireless_dev *wdev, wdev 932 net/wireless/rdev-ops.h trace_rdev_get_channel(&rdev->wiphy, wdev); wdev 933 net/wireless/rdev-ops.h ret = rdev->ops->get_channel(&rdev->wiphy, wdev, chandef); wdev 940 net/wireless/rdev-ops.h struct wireless_dev *wdev) wdev 944 net/wireless/rdev-ops.h trace_rdev_start_p2p_device(&rdev->wiphy, wdev); wdev 945 net/wireless/rdev-ops.h ret = rdev->ops->start_p2p_device(&rdev->wiphy, wdev); wdev 951 net/wireless/rdev-ops.h struct wireless_dev *wdev) wdev 953 net/wireless/rdev-ops.h trace_rdev_stop_p2p_device(&rdev->wiphy, wdev); wdev 954 net/wireless/rdev-ops.h rdev->ops->stop_p2p_device(&rdev->wiphy, wdev); wdev 959 net/wireless/rdev-ops.h struct wireless_dev *wdev, wdev 964 net/wireless/rdev-ops.h trace_rdev_start_nan(&rdev->wiphy, wdev, conf); wdev 965 net/wireless/rdev-ops.h ret = rdev->ops->start_nan(&rdev->wiphy, wdev, conf); wdev 971 net/wireless/rdev-ops.h struct wireless_dev *wdev) wdev 973 net/wireless/rdev-ops.h trace_rdev_stop_nan(&rdev->wiphy, wdev); wdev 974 net/wireless/rdev-ops.h rdev->ops->stop_nan(&rdev->wiphy, wdev); wdev 980 net/wireless/rdev-ops.h struct wireless_dev *wdev, wdev 985 net/wireless/rdev-ops.h trace_rdev_add_nan_func(&rdev->wiphy, wdev, nan_func); wdev 986 net/wireless/rdev-ops.h ret = rdev->ops->add_nan_func(&rdev->wiphy, wdev, nan_func); wdev 992 net/wireless/rdev-ops.h struct wireless_dev *wdev, u64 cookie) wdev 994 net/wireless/rdev-ops.h trace_rdev_del_nan_func(&rdev->wiphy, wdev, cookie); wdev 995 net/wireless/rdev-ops.h rdev->ops->del_nan_func(&rdev->wiphy, wdev, cookie); wdev 1001 net/wireless/rdev-ops.h struct wireless_dev *wdev, wdev 1006 net/wireless/rdev-ops.h trace_rdev_nan_change_conf(&rdev->wiphy, wdev, conf, changes); wdev 1008 net/wireless/rdev-ops.h ret = rdev->ops->nan_change_conf(&rdev->wiphy, wdev, conf, wdev 1041 net/wireless/rdev-ops.h struct wireless_dev *wdev, wdev 1047 net/wireless/rdev-ops.h trace_rdev_crit_proto_start(&rdev->wiphy, wdev, protocol, duration); wdev 1048 net/wireless/rdev-ops.h ret = rdev->ops->crit_proto_start(&rdev->wiphy, wdev, wdev 1055 net/wireless/rdev-ops.h struct wireless_dev *wdev) wdev 1057 net/wireless/rdev-ops.h trace_rdev_crit_proto_stop(&rdev->wiphy, wdev); wdev 1058 net/wireless/rdev-ops.h rdev->ops->crit_proto_stop(&rdev->wiphy, wdev); wdev 1267 net/wireless/rdev-ops.h struct wireless_dev *wdev, wdev 1272 net/wireless/rdev-ops.h trace_rdev_start_pmsr(&rdev->wiphy, wdev, request->cookie); wdev 1274 net/wireless/rdev-ops.h ret = rdev->ops->start_pmsr(&rdev->wiphy, wdev, request); wdev 1281 net/wireless/rdev-ops.h struct wireless_dev *wdev, wdev 1284 net/wireless/rdev-ops.h trace_rdev_abort_pmsr(&rdev->wiphy, wdev, request->cookie); wdev 1286 net/wireless/rdev-ops.h rdev->ops->abort_pmsr(&rdev->wiphy, wdev, request); wdev 2109 net/wireless/reg.c static bool reg_wdev_chan_valid(struct wiphy *wiphy, struct wireless_dev *wdev) wdev 2115 net/wireless/reg.c wdev_lock(wdev); wdev 2116 net/wireless/reg.c iftype = wdev->iftype; wdev 2119 net/wireless/reg.c if (!wdev->netdev || !netif_running(wdev->netdev)) wdev 2125 net/wireless/reg.c if (!wdev->beacon_interval) wdev 2127 net/wireless/reg.c chandef = wdev->chandef; wdev 2130 net/wireless/reg.c if (!wdev->ssid_len) wdev 2132 net/wireless/reg.c chandef = wdev->chandef; wdev 2136 net/wireless/reg.c if (!wdev->current_bss || wdev 2137 net/wireless/reg.c !wdev->current_bss->pub.channel) wdev 2141 net/wireless/reg.c rdev_get_channel(rdev, wdev, &chandef)) wdev 2143 net/wireless/reg.c wdev->current_bss->pub.channel, wdev 2157 net/wireless/reg.c wdev_unlock(wdev); wdev 2175 net/wireless/reg.c wdev_unlock(wdev); wdev 2181 net/wireless/reg.c struct wireless_dev *wdev; wdev 2186 net/wireless/reg.c list_for_each_entry(wdev, &rdev->wiphy.wdev_list, list) wdev 2187 net/wireless/reg.c if (!reg_wdev_chan_valid(wiphy, wdev)) wdev 2188 net/wireless/reg.c cfg80211_leave(rdev, wdev); wdev 3275 net/wireless/reg.c struct wireless_dev *wdev; wdev 3278 net/wireless/reg.c list_for_each_entry(wdev, &rdev->wiphy.wdev_list, list) { wdev 3279 net/wireless/reg.c wdev_lock(wdev); wdev 3280 net/wireless/reg.c if (!(wdev->wiphy->regulatory_flags & flag)) { wdev 3281 net/wireless/reg.c wdev_unlock(wdev); wdev 3284 net/wireless/reg.c wdev_unlock(wdev); wdev 3897 net/wireless/reg.c struct wireless_dev *wdev; wdev 3907 net/wireless/reg.c list_for_each_entry(wdev, &rdev->wiphy.wdev_list, list) { wdev 3908 net/wireless/reg.c if (wdev->cac_started && wdev 3909 net/wireless/reg.c !cfg80211_chandef_dfs_usable(&rdev->wiphy, &wdev->chandef)) wdev 3910 net/wireless/reg.c rdev_end_cac(rdev, wdev->netdev); wdev 455 net/wireless/scan.c struct wireless_dev *wdev; wdev 473 net/wireless/scan.c wdev = request->wdev; wdev 480 net/wireless/scan.c if (wdev->netdev) wdev 481 net/wireless/scan.c cfg80211_sme_scan_done(wdev->netdev); wdev 491 net/wireless/scan.c msg = nl80211_build_scan_msg(rdev, wdev, request->info.aborted); wdev 494 net/wireless/scan.c if (wdev->netdev && !request->info.aborted) { wdev 497 net/wireless/scan.c wireless_send_event(wdev->netdev, SIOCGIWSCAN, &wrqu, NULL); wdev 501 net/wireless/scan.c if (wdev->netdev) wdev 502 net/wireless/scan.c dev_put(wdev->netdev); wdev 2012 net/wireless/scan.c void cfg80211_update_assoc_bss_entry(struct wireless_dev *wdev, wdev 2015 net/wireless/scan.c struct wiphy *wiphy = wdev->wiphy; wdev 2017 net/wireless/scan.c struct cfg80211_internal_bss *cbss = wdev->current_bss; wdev 2043 net/wireless/scan.c wdev->conn_bss_type)) wdev 2159 net/wireless/scan.c creq->wdev = dev->ieee80211_ptr; wdev 54 net/wireless/sme.c static void cfg80211_sme_free(struct wireless_dev *wdev) wdev 56 net/wireless/sme.c if (!wdev->conn) wdev 59 net/wireless/sme.c kfree(wdev->conn->ie); wdev 60 net/wireless/sme.c kfree(wdev->conn); wdev 61 net/wireless/sme.c wdev->conn = NULL; wdev 64 net/wireless/sme.c static int cfg80211_conn_scan(struct wireless_dev *wdev) wdev 66 net/wireless/sme.c struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); wdev 71 net/wireless/sme.c ASSERT_WDEV_LOCK(wdev); wdev 76 net/wireless/sme.c if (wdev->conn->params.channel) wdev 79 net/wireless/sme.c n_channels = ieee80211_get_num_supported_channels(wdev->wiphy); wdev 87 net/wireless/sme.c if (wdev->conn->params.channel) { wdev 88 net/wireless/sme.c enum nl80211_band band = wdev->conn->params.channel->band; wdev 90 net/wireless/sme.c wdev->wiphy->bands[band]; wdev 96 net/wireless/sme.c request->channels[0] = wdev->conn->params.channel; wdev 105 net/wireless/sme.c bands = wdev->wiphy->bands[band]; wdev 122 net/wireless/sme.c memcpy(request->ssids[0].ssid, wdev->conn->params.ssid, wdev 123 net/wireless/sme.c wdev->conn->params.ssid_len); wdev 124 net/wireless/sme.c request->ssids[0].ssid_len = wdev->conn->params.ssid_len; wdev 128 net/wireless/sme.c request->wdev = wdev; wdev 136 net/wireless/sme.c wdev->conn->state = CFG80211_CONN_SCANNING; wdev 137 net/wireless/sme.c nl80211_send_scan_start(rdev, wdev); wdev 138 net/wireless/sme.c dev_hold(wdev->netdev); wdev 146 net/wireless/sme.c static int cfg80211_conn_do_work(struct wireless_dev *wdev, wdev 149 net/wireless/sme.c struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); wdev 154 net/wireless/sme.c ASSERT_WDEV_LOCK(wdev); wdev 156 net/wireless/sme.c if (!wdev->conn) wdev 159 net/wireless/sme.c params = &wdev->conn->params; wdev 161 net/wireless/sme.c switch (wdev->conn->state) { wdev 166 net/wireless/sme.c return cfg80211_conn_scan(wdev); wdev 170 net/wireless/sme.c wdev->conn->state = CFG80211_CONN_AUTHENTICATING; wdev 171 net/wireless/sme.c return cfg80211_mlme_auth(rdev, wdev->netdev, wdev 184 net/wireless/sme.c wdev->conn->state = CFG80211_CONN_ASSOCIATING; wdev 185 net/wireless/sme.c if (wdev->conn->prev_bssid_valid) wdev 186 net/wireless/sme.c req.prev_bssid = wdev->conn->prev_bssid; wdev 197 net/wireless/sme.c err = cfg80211_mlme_assoc(rdev, wdev->netdev, params->channel, wdev 201 net/wireless/sme.c cfg80211_mlme_deauth(rdev, wdev->netdev, params->bssid, wdev 210 net/wireless/sme.c cfg80211_mlme_deauth(rdev, wdev->netdev, params->bssid, wdev 215 net/wireless/sme.c cfg80211_mlme_deauth(rdev, wdev->netdev, params->bssid, wdev 221 net/wireless/sme.c cfg80211_sme_free(wdev); wdev 232 net/wireless/sme.c struct wireless_dev *wdev; wdev 238 net/wireless/sme.c list_for_each_entry(wdev, &rdev->wiphy.wdev_list, list) { wdev 239 net/wireless/sme.c if (!wdev->netdev) wdev 242 net/wireless/sme.c wdev_lock(wdev); wdev 243 net/wireless/sme.c if (!netif_running(wdev->netdev)) { wdev 244 net/wireless/sme.c wdev_unlock(wdev); wdev 247 net/wireless/sme.c if (!wdev->conn || wdev 248 net/wireless/sme.c wdev->conn->state == CFG80211_CONN_CONNECTED) { wdev 249 net/wireless/sme.c wdev_unlock(wdev); wdev 252 net/wireless/sme.c if (wdev->conn->params.bssid) { wdev 253 net/wireless/sme.c memcpy(bssid_buf, wdev->conn->params.bssid, ETH_ALEN); wdev 257 net/wireless/sme.c if (cfg80211_conn_do_work(wdev, &treason)) { wdev 264 net/wireless/sme.c __cfg80211_connect_result(wdev->netdev, &cr, false); wdev 266 net/wireless/sme.c wdev_unlock(wdev); wdev 273 net/wireless/sme.c static struct cfg80211_bss *cfg80211_get_conn_bss(struct wireless_dev *wdev) wdev 275 net/wireless/sme.c struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); wdev 278 net/wireless/sme.c ASSERT_WDEV_LOCK(wdev); wdev 280 net/wireless/sme.c bss = cfg80211_get_bss(wdev->wiphy, wdev->conn->params.channel, wdev 281 net/wireless/sme.c wdev->conn->params.bssid, wdev 282 net/wireless/sme.c wdev->conn->params.ssid, wdev 283 net/wireless/sme.c wdev->conn->params.ssid_len, wdev 284 net/wireless/sme.c wdev->conn_bss_type, wdev 285 net/wireless/sme.c IEEE80211_PRIVACY(wdev->conn->params.privacy)); wdev 289 net/wireless/sme.c memcpy(wdev->conn->bssid, bss->bssid, ETH_ALEN); wdev 290 net/wireless/sme.c wdev->conn->params.bssid = wdev->conn->bssid; wdev 291 net/wireless/sme.c wdev->conn->params.channel = bss->channel; wdev 292 net/wireless/sme.c wdev->conn->state = CFG80211_CONN_AUTHENTICATE_NEXT; wdev 300 net/wireless/sme.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 301 net/wireless/sme.c struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); wdev 304 net/wireless/sme.c ASSERT_WDEV_LOCK(wdev); wdev 306 net/wireless/sme.c if (!wdev->conn) wdev 309 net/wireless/sme.c if (wdev->conn->state != CFG80211_CONN_SCANNING && wdev 310 net/wireless/sme.c wdev->conn->state != CFG80211_CONN_SCAN_AGAIN) wdev 313 net/wireless/sme.c bss = cfg80211_get_conn_bss(wdev); wdev 322 net/wireless/sme.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 324 net/wireless/sme.c wdev_lock(wdev); wdev 326 net/wireless/sme.c wdev_unlock(wdev); wdev 329 net/wireless/sme.c void cfg80211_sme_rx_auth(struct wireless_dev *wdev, const u8 *buf, size_t len) wdev 331 net/wireless/sme.c struct wiphy *wiphy = wdev->wiphy; wdev 336 net/wireless/sme.c ASSERT_WDEV_LOCK(wdev); wdev 338 net/wireless/sme.c if (!wdev->conn || wdev->conn->state == CFG80211_CONN_CONNECTED) wdev 342 net/wireless/sme.c wdev->conn->auto_auth && wdev 343 net/wireless/sme.c wdev->conn->params.auth_type != NL80211_AUTHTYPE_NETWORK_EAP) { wdev 345 net/wireless/sme.c switch (wdev->conn->params.auth_type) { wdev 347 net/wireless/sme.c if (wdev->connect_keys) wdev 348 net/wireless/sme.c wdev->conn->params.auth_type = wdev 351 net/wireless/sme.c wdev->conn->params.auth_type = wdev 355 net/wireless/sme.c wdev->conn->params.auth_type = wdev 360 net/wireless/sme.c wdev->conn->params.auth_type = wdev 364 net/wireless/sme.c wdev->conn->state = CFG80211_CONN_AUTHENTICATE_NEXT; wdev 373 net/wireless/sme.c __cfg80211_connect_result(wdev->netdev, &cr, false); wdev 374 net/wireless/sme.c } else if (wdev->conn->state == CFG80211_CONN_AUTHENTICATING) { wdev 375 net/wireless/sme.c wdev->conn->state = CFG80211_CONN_ASSOCIATE_NEXT; wdev 380 net/wireless/sme.c bool cfg80211_sme_rx_assoc_resp(struct wireless_dev *wdev, u16 status) wdev 382 net/wireless/sme.c struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); wdev 384 net/wireless/sme.c if (!wdev->conn) wdev 388 net/wireless/sme.c wdev->conn->state = CFG80211_CONN_CONNECTED; wdev 392 net/wireless/sme.c if (wdev->conn->prev_bssid_valid) { wdev 398 net/wireless/sme.c wdev->conn->prev_bssid_valid = false; wdev 399 net/wireless/sme.c wdev->conn->state = CFG80211_CONN_ASSOCIATE_NEXT; wdev 404 net/wireless/sme.c wdev->conn->state = CFG80211_CONN_ASSOC_FAILED; wdev 409 net/wireless/sme.c void cfg80211_sme_deauth(struct wireless_dev *wdev) wdev 411 net/wireless/sme.c cfg80211_sme_free(wdev); wdev 414 net/wireless/sme.c void cfg80211_sme_auth_timeout(struct wireless_dev *wdev) wdev 416 net/wireless/sme.c struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); wdev 418 net/wireless/sme.c if (!wdev->conn) wdev 421 net/wireless/sme.c wdev->conn->state = CFG80211_CONN_AUTH_FAILED_TIMEOUT; wdev 425 net/wireless/sme.c void cfg80211_sme_disassoc(struct wireless_dev *wdev) wdev 427 net/wireless/sme.c struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); wdev 429 net/wireless/sme.c if (!wdev->conn) wdev 432 net/wireless/sme.c wdev->conn->state = CFG80211_CONN_DEAUTH; wdev 436 net/wireless/sme.c void cfg80211_sme_assoc_timeout(struct wireless_dev *wdev) wdev 438 net/wireless/sme.c struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); wdev 440 net/wireless/sme.c if (!wdev->conn) wdev 443 net/wireless/sme.c wdev->conn->state = CFG80211_CONN_ASSOC_FAILED_TIMEOUT; wdev 447 net/wireless/sme.c void cfg80211_sme_abandon_assoc(struct wireless_dev *wdev) wdev 449 net/wireless/sme.c struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); wdev 451 net/wireless/sme.c if (!wdev->conn) wdev 454 net/wireless/sme.c wdev->conn->state = CFG80211_CONN_ABANDON; wdev 458 net/wireless/sme.c static int cfg80211_sme_get_conn_ies(struct wireless_dev *wdev, wdev 462 net/wireless/sme.c struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); wdev 514 net/wireless/sme.c static int cfg80211_sme_connect(struct wireless_dev *wdev, wdev 518 net/wireless/sme.c struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); wdev 525 net/wireless/sme.c if (wdev->current_bss) { wdev 526 net/wireless/sme.c cfg80211_unhold_bss(wdev->current_bss); wdev 527 net/wireless/sme.c cfg80211_put_bss(wdev->wiphy, &wdev->current_bss->pub); wdev 528 net/wireless/sme.c wdev->current_bss = NULL; wdev 530 net/wireless/sme.c cfg80211_sme_free(wdev); wdev 533 net/wireless/sme.c if (WARN_ON(wdev->conn)) wdev 536 net/wireless/sme.c wdev->conn = kzalloc(sizeof(*wdev->conn), GFP_KERNEL); wdev 537 net/wireless/sme.c if (!wdev->conn) wdev 543 net/wireless/sme.c memcpy(&wdev->conn->params, connect, sizeof(*connect)); wdev 545 net/wireless/sme.c wdev->conn->params.bssid = wdev->conn->bssid; wdev 546 net/wireless/sme.c memcpy(wdev->conn->bssid, connect->bssid, ETH_ALEN); wdev 549 net/wireless/sme.c if (cfg80211_sme_get_conn_ies(wdev, connect->ie, connect->ie_len, wdev 550 net/wireless/sme.c &wdev->conn->ie, wdev 551 net/wireless/sme.c &wdev->conn->params.ie_len)) { wdev 552 net/wireless/sme.c kfree(wdev->conn); wdev 553 net/wireless/sme.c wdev->conn = NULL; wdev 556 net/wireless/sme.c wdev->conn->params.ie = wdev->conn->ie; wdev 559 net/wireless/sme.c wdev->conn->auto_auth = true; wdev 561 net/wireless/sme.c wdev->conn->params.auth_type = wdev 564 net/wireless/sme.c wdev->conn->auto_auth = false; wdev 567 net/wireless/sme.c wdev->conn->params.ssid = wdev->ssid; wdev 568 net/wireless/sme.c wdev->conn->params.ssid_len = wdev->ssid_len; wdev 571 net/wireless/sme.c bss = cfg80211_get_conn_bss(wdev); wdev 574 net/wireless/sme.c memcpy(wdev->conn->prev_bssid, prev_bssid, ETH_ALEN); wdev 575 net/wireless/sme.c wdev->conn->prev_bssid_valid = true; wdev 582 net/wireless/sme.c err = cfg80211_conn_do_work(wdev, &treason); wdev 583 net/wireless/sme.c cfg80211_put_bss(wdev->wiphy, bss); wdev 586 net/wireless/sme.c err = cfg80211_conn_scan(wdev); wdev 595 net/wireless/sme.c wdev->conn->state = CFG80211_CONN_SCAN_AGAIN; wdev 600 net/wireless/sme.c cfg80211_sme_free(wdev); wdev 605 net/wireless/sme.c static int cfg80211_sme_disconnect(struct wireless_dev *wdev, u16 reason) wdev 607 net/wireless/sme.c struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); wdev 610 net/wireless/sme.c if (!wdev->conn) wdev 616 net/wireless/sme.c if (wdev->conn->state == CFG80211_CONN_SCANNING || wdev 617 net/wireless/sme.c wdev->conn->state == CFG80211_CONN_SCAN_AGAIN) { wdev 623 net/wireless/sme.c err = cfg80211_mlme_deauth(rdev, wdev->netdev, wdev 624 net/wireless/sme.c wdev->conn->params.bssid, wdev 627 net/wireless/sme.c cfg80211_sme_free(wdev); wdev 638 net/wireless/sme.c struct wireless_dev *wdev; wdev 650 net/wireless/sme.c list_for_each_entry(wdev, &rdev->wiphy.wdev_list, list) { wdev 651 net/wireless/sme.c wdev_lock(wdev); wdev 652 net/wireless/sme.c if (wdev->conn || wdev->current_bss || wdev 653 net/wireless/sme.c cfg80211_beaconing_iface_active(wdev)) wdev 655 net/wireless/sme.c wdev_unlock(wdev); wdev 683 net/wireless/sme.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 689 net/wireless/sme.c ASSERT_WDEV_LOCK(wdev); wdev 691 net/wireless/sme.c if (WARN_ON(wdev->iftype != NL80211_IFTYPE_STATION && wdev 692 net/wireless/sme.c wdev->iftype != NL80211_IFTYPE_P2P_CLIENT)) { wdev 693 net/wireless/sme.c cfg80211_put_bss(wdev->wiphy, cr->bss); wdev 697 net/wireless/sme.c nl80211_send_connect_result(wiphy_to_rdev(wdev->wiphy), dev, cr, wdev 720 net/wireless/sme.c memcpy(wdev->wext.prev_bssid, cr->bssid, ETH_ALEN); wdev 721 net/wireless/sme.c wdev->wext.prev_bssid_valid = true; wdev 728 net/wireless/sme.c WARN_ON_ONCE(!wiphy_to_rdev(wdev->wiphy)->ops->connect); wdev 729 net/wireless/sme.c cr->bss = cfg80211_get_bss(wdev->wiphy, NULL, cr->bssid, wdev 730 net/wireless/sme.c wdev->ssid, wdev->ssid_len, wdev 731 net/wireless/sme.c wdev->conn_bss_type, wdev 737 net/wireless/sme.c if (wdev->current_bss) { wdev 738 net/wireless/sme.c cfg80211_unhold_bss(wdev->current_bss); wdev 739 net/wireless/sme.c cfg80211_put_bss(wdev->wiphy, &wdev->current_bss->pub); wdev 740 net/wireless/sme.c wdev->current_bss = NULL; wdev 744 net/wireless/sme.c kzfree(wdev->connect_keys); wdev 745 net/wireless/sme.c wdev->connect_keys = NULL; wdev 746 net/wireless/sme.c wdev->ssid_len = 0; wdev 747 net/wireless/sme.c wdev->conn_owner_nlportid = 0; wdev 750 net/wireless/sme.c cfg80211_put_bss(wdev->wiphy, cr->bss); wdev 752 net/wireless/sme.c cfg80211_sme_free(wdev); wdev 759 net/wireless/sme.c wdev->current_bss = bss_from_pub(cr->bss); wdev 761 net/wireless/sme.c if (!(wdev->wiphy->flags & WIPHY_FLAG_HAS_STATIC_WEP)) wdev 762 net/wireless/sme.c cfg80211_upload_connect_keys(wdev); wdev 782 net/wireless/sme.c regulatory_hint_country_ie(wdev->wiphy, cr->bss->channel->band, wdev 792 net/wireless/sme.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 793 net/wireless/sme.c struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); wdev 804 net/wireless/sme.c found = cfg80211_get_bss(wdev->wiphy, NULL, wdev 806 net/wireless/sme.c wdev->ssid, wdev->ssid_len, wdev 807 net/wireless/sme.c wdev->conn_bss_type, wdev 828 net/wireless/sme.c cfg80211_put_bss(wdev->wiphy, tmp); wdev 837 net/wireless/sme.c cfg80211_put_bss(wdev->wiphy, params->bss); wdev 891 net/wireless/sme.c spin_lock_irqsave(&wdev->event_lock, flags); wdev 892 net/wireless/sme.c list_add_tail(&ev->list, &wdev->event_list); wdev 893 net/wireless/sme.c spin_unlock_irqrestore(&wdev->event_lock, flags); wdev 899 net/wireless/sme.c void __cfg80211_roamed(struct wireless_dev *wdev, wdev 905 net/wireless/sme.c ASSERT_WDEV_LOCK(wdev); wdev 907 net/wireless/sme.c if (WARN_ON(wdev->iftype != NL80211_IFTYPE_STATION && wdev 908 net/wireless/sme.c wdev->iftype != NL80211_IFTYPE_P2P_CLIENT)) wdev 911 net/wireless/sme.c if (WARN_ON(!wdev->current_bss)) wdev 914 net/wireless/sme.c cfg80211_unhold_bss(wdev->current_bss); wdev 915 net/wireless/sme.c cfg80211_put_bss(wdev->wiphy, &wdev->current_bss->pub); wdev 916 net/wireless/sme.c wdev->current_bss = NULL; wdev 922 net/wireless/sme.c wdev->current_bss = bss_from_pub(info->bss); wdev 924 net/wireless/sme.c nl80211_send_roamed(wiphy_to_rdev(wdev->wiphy), wdev 925 net/wireless/sme.c wdev->netdev, info, GFP_KERNEL); wdev 931 net/wireless/sme.c wireless_send_event(wdev->netdev, IWEVASSOCREQIE, wdev 938 net/wireless/sme.c wireless_send_event(wdev->netdev, IWEVASSOCRESPIE, wdev 945 net/wireless/sme.c memcpy(wdev->wext.prev_bssid, info->bss->bssid, ETH_ALEN); wdev 946 net/wireless/sme.c wdev->wext.prev_bssid_valid = true; wdev 947 net/wireless/sme.c wireless_send_event(wdev->netdev, SIOCGIWAP, &wrqu, NULL); wdev 952 net/wireless/sme.c cfg80211_put_bss(wdev->wiphy, info->bss); wdev 959 net/wireless/sme.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 960 net/wireless/sme.c struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); wdev 966 net/wireless/sme.c info->bss = cfg80211_get_bss(wdev->wiphy, info->channel, wdev 967 net/wireless/sme.c info->bssid, wdev->ssid, wdev 968 net/wireless/sme.c wdev->ssid_len, wdev 969 net/wireless/sme.c wdev->conn_bss_type, wdev 980 net/wireless/sme.c cfg80211_put_bss(wdev->wiphy, info->bss); wdev 1024 net/wireless/sme.c spin_lock_irqsave(&wdev->event_lock, flags); wdev 1025 net/wireless/sme.c list_add_tail(&ev->list, &wdev->event_list); wdev 1026 net/wireless/sme.c spin_unlock_irqrestore(&wdev->event_lock, flags); wdev 1031 net/wireless/sme.c void __cfg80211_port_authorized(struct wireless_dev *wdev, const u8 *bssid) wdev 1033 net/wireless/sme.c ASSERT_WDEV_LOCK(wdev); wdev 1035 net/wireless/sme.c if (WARN_ON(wdev->iftype != NL80211_IFTYPE_STATION)) wdev 1038 net/wireless/sme.c if (WARN_ON(!wdev->current_bss) || wdev 1039 net/wireless/sme.c WARN_ON(!ether_addr_equal(wdev->current_bss->pub.bssid, bssid))) wdev 1042 net/wireless/sme.c nl80211_send_port_authorized(wiphy_to_rdev(wdev->wiphy), wdev->netdev, wdev 1049 net/wireless/sme.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 1050 net/wireless/sme.c struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); wdev 1068 net/wireless/sme.c spin_lock_irqsave(&wdev->event_lock, flags); wdev 1069 net/wireless/sme.c list_add_tail(&ev->list, &wdev->event_list); wdev 1070 net/wireless/sme.c spin_unlock_irqrestore(&wdev->event_lock, flags); wdev 1078 net/wireless/sme.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 1079 net/wireless/sme.c struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); wdev 1085 net/wireless/sme.c ASSERT_WDEV_LOCK(wdev); wdev 1087 net/wireless/sme.c if (WARN_ON(wdev->iftype != NL80211_IFTYPE_STATION && wdev 1088 net/wireless/sme.c wdev->iftype != NL80211_IFTYPE_P2P_CLIENT)) wdev 1091 net/wireless/sme.c if (wdev->current_bss) { wdev 1092 net/wireless/sme.c cfg80211_unhold_bss(wdev->current_bss); wdev 1093 net/wireless/sme.c cfg80211_put_bss(wdev->wiphy, &wdev->current_bss->pub); wdev 1096 net/wireless/sme.c wdev->current_bss = NULL; wdev 1097 net/wireless/sme.c wdev->ssid_len = 0; wdev 1098 net/wireless/sme.c wdev->conn_owner_nlportid = 0; wdev 1099 net/wireless/sme.c kzfree(wdev->connect_keys); wdev 1100 net/wireless/sme.c wdev->connect_keys = NULL; wdev 1107 net/wireless/sme.c rdev_crit_proto_stop(rdev, wdev); wdev 1124 net/wireless/sme.c wdev->wext.connect.ssid_len = 0; wdev 1134 net/wireless/sme.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 1135 net/wireless/sme.c struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); wdev 1150 net/wireless/sme.c spin_lock_irqsave(&wdev->event_lock, flags); wdev 1151 net/wireless/sme.c list_add_tail(&ev->list, &wdev->event_list); wdev 1152 net/wireless/sme.c spin_unlock_irqrestore(&wdev->event_lock, flags); wdev 1166 net/wireless/sme.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 1169 net/wireless/sme.c ASSERT_WDEV_LOCK(wdev); wdev 1176 net/wireless/sme.c if (wdev->ssid_len && wdev 1177 net/wireless/sme.c (wdev->ssid_len != connect->ssid_len || wdev 1178 net/wireless/sme.c memcmp(wdev->ssid, connect->ssid, wdev->ssid_len))) wdev 1185 net/wireless/sme.c if (wdev->current_bss) { wdev 1188 net/wireless/sme.c if (!ether_addr_equal(prev_bssid, wdev->current_bss->pub.bssid)) wdev 1197 net/wireless/sme.c if (wdev->connect_keys) wdev 1238 net/wireless/sme.c wdev->connect_keys = connkeys; wdev 1239 net/wireless/sme.c memcpy(wdev->ssid, connect->ssid, connect->ssid_len); wdev 1240 net/wireless/sme.c wdev->ssid_len = connect->ssid_len; wdev 1242 net/wireless/sme.c wdev->conn_bss_type = connect->pbss ? IEEE80211_BSS_TYPE_PBSS : wdev 1246 net/wireless/sme.c err = cfg80211_sme_connect(wdev, connect, prev_bssid); wdev 1251 net/wireless/sme.c wdev->connect_keys = NULL; wdev 1256 net/wireless/sme.c if (!wdev->current_bss) wdev 1257 net/wireless/sme.c wdev->ssid_len = 0; wdev 1267 net/wireless/sme.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 1270 net/wireless/sme.c ASSERT_WDEV_LOCK(wdev); wdev 1272 net/wireless/sme.c kzfree(wdev->connect_keys); wdev 1273 net/wireless/sme.c wdev->connect_keys = NULL; wdev 1275 net/wireless/sme.c wdev->conn_owner_nlportid = 0; wdev 1277 net/wireless/sme.c if (wdev->conn) wdev 1278 net/wireless/sme.c err = cfg80211_sme_disconnect(wdev, reason); wdev 1281 net/wireless/sme.c else if (wdev->ssid_len) wdev 1289 net/wireless/sme.c if (!wdev->current_bss) wdev 1290 net/wireless/sme.c wdev->ssid_len = 0; wdev 1301 net/wireless/sme.c struct wireless_dev *wdev = wdev 1303 net/wireless/sme.c struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); wdev 1305 net/wireless/sme.c wdev_lock(wdev); wdev 1307 net/wireless/sme.c if (wdev->conn_owner_nlportid) { wdev 1308 net/wireless/sme.c switch (wdev->iftype) { wdev 1310 net/wireless/sme.c __cfg80211_leave_ibss(rdev, wdev->netdev, false); wdev 1314 net/wireless/sme.c __cfg80211_stop_ap(rdev, wdev->netdev, false); wdev 1317 net/wireless/sme.c __cfg80211_leave_mesh(rdev, wdev->netdev); wdev 1326 net/wireless/sme.c if (rdev->ops->disconnect || wdev->current_bss) wdev 1327 net/wireless/sme.c cfg80211_disconnect(rdev, wdev->netdev, wdev 1331 net/wireless/sme.c cfg80211_mlme_deauth(rdev, wdev->netdev, wdev 1332 net/wireless/sme.c wdev->disconnect_bssid, wdev 1342 net/wireless/sme.c wdev_unlock(wdev); wdev 93 net/wireless/sysfs.c struct wireless_dev *wdev; wdev 95 net/wireless/sysfs.c list_for_each_entry(wdev, &rdev->wiphy.wdev_list, list) wdev 96 net/wireless/sysfs.c cfg80211_leave(rdev, wdev); wdev 32 net/wireless/trace.h #define WDEV_ASSIGN (__entry->id) = (!IS_ERR_OR_NULL(wdev) \ wdev 33 net/wireless/trace.h ? wdev->identifier : 0) wdev 351 net/wireless/trace.h TP_PROTO(struct wiphy *wiphy, struct wireless_dev *wdev), wdev 352 net/wireless/trace.h TP_ARGS(wiphy, wdev), wdev 365 net/wireless/trace.h TP_PROTO(struct wiphy *wiphy, struct wireless_dev *wdev, u64 cookie), wdev 366 net/wireless/trace.h TP_ARGS(wiphy, wdev, cookie), wdev 383 net/wireless/trace.h TP_PROTO(struct wiphy *wiphy, struct wireless_dev *wdev), wdev 384 net/wireless/trace.h TP_ARGS(wiphy, wdev) wdev 388 net/wireless/trace.h TP_PROTO(struct wiphy *wiphy, struct wireless_dev *wdev), wdev 389 net/wireless/trace.h TP_ARGS(wiphy, wdev) wdev 1252 net/wireless/trace.h struct wireless_dev *wdev, u64 cookie), wdev 1253 net/wireless/trace.h TP_ARGS(wiphy, wdev, cookie), wdev 1481 net/wireless/trace.h TP_PROTO(struct wiphy *wiphy, struct wireless_dev *wdev), wdev 1482 net/wireless/trace.h TP_ARGS(wiphy, wdev) wdev 1486 net/wireless/trace.h TP_PROTO(struct wiphy *wiphy, struct wireless_dev *wdev, wdev 1488 net/wireless/trace.h TP_ARGS(wiphy, wdev, type, mbm), wdev 1524 net/wireless/trace.h TP_PROTO(struct wiphy *wiphy, struct wireless_dev *wdev), wdev 1525 net/wireless/trace.h TP_ARGS(wiphy, wdev), wdev 1569 net/wireless/trace.h TP_PROTO(struct wiphy *wiphy, struct wireless_dev *wdev, wdev 1571 net/wireless/trace.h TP_ARGS(wiphy, wdev, frame_type, reg), wdev 1845 net/wireless/trace.h TP_PROTO(struct wiphy *wiphy, struct wireless_dev *wdev, wdev 1848 net/wireless/trace.h TP_ARGS(wiphy, wdev, chan, duration), wdev 1883 net/wireless/trace.h TP_PROTO(struct wiphy *wiphy, struct wireless_dev *wdev, u64 cookie), wdev 1884 net/wireless/trace.h TP_ARGS(wiphy, wdev, cookie), wdev 1900 net/wireless/trace.h TP_PROTO(struct wiphy *wiphy, struct wireless_dev *wdev, wdev 1902 net/wireless/trace.h TP_ARGS(wiphy, wdev, params), wdev 1974 net/wireless/trace.h TP_PROTO(struct wiphy *wiphy, struct wireless_dev *wdev), wdev 1975 net/wireless/trace.h TP_ARGS(wiphy, wdev) wdev 2000 net/wireless/trace.h TP_PROTO(struct wiphy *wiphy, struct wireless_dev *wdev), wdev 2001 net/wireless/trace.h TP_ARGS(wiphy, wdev) wdev 2005 net/wireless/trace.h TP_PROTO(struct wiphy *wiphy, struct wireless_dev *wdev), wdev 2006 net/wireless/trace.h TP_ARGS(wiphy, wdev) wdev 2010 net/wireless/trace.h TP_PROTO(struct wiphy *wiphy, struct wireless_dev *wdev, wdev 2012 net/wireless/trace.h TP_ARGS(wiphy, wdev, conf), wdev 2032 net/wireless/trace.h TP_PROTO(struct wiphy *wiphy, struct wireless_dev *wdev, wdev 2034 net/wireless/trace.h TP_ARGS(wiphy, wdev, conf, changes), wdev 2056 net/wireless/trace.h TP_PROTO(struct wiphy *wiphy, struct wireless_dev *wdev), wdev 2057 net/wireless/trace.h TP_ARGS(wiphy, wdev) wdev 2061 net/wireless/trace.h TP_PROTO(struct wiphy *wiphy, struct wireless_dev *wdev, wdev 2063 net/wireless/trace.h TP_ARGS(wiphy, wdev, func), wdev 2082 net/wireless/trace.h TP_PROTO(struct wiphy *wiphy, struct wireless_dev *wdev, wdev 2084 net/wireless/trace.h TP_ARGS(wiphy, wdev, cookie), wdev 2138 net/wireless/trace.h TP_PROTO(struct wiphy *wiphy, struct wireless_dev *wdev, wdev 2140 net/wireless/trace.h TP_ARGS(wiphy, wdev, protocol, duration), wdev 2158 net/wireless/trace.h TP_PROTO(struct wiphy *wiphy, struct wireless_dev *wdev), wdev 2159 net/wireless/trace.h TP_ARGS(wiphy, wdev), wdev 2478 net/wireless/trace.h TP_PROTO(struct wiphy *wiphy, struct wireless_dev *wdev), wdev 2479 net/wireless/trace.h TP_ARGS(wiphy, wdev) wdev 2502 net/wireless/trace.h TP_PROTO(struct wiphy *wiphy, struct wireless_dev *wdev), wdev 2503 net/wireless/trace.h TP_ARGS(wiphy, wdev) wdev 2551 net/wireless/trace.h TP_PROTO(struct wiphy *wiphy, struct wireless_dev *wdev, u64 cookie), wdev 2552 net/wireless/trace.h TP_ARGS(wiphy, wdev, cookie) wdev 2556 net/wireless/trace.h TP_PROTO(struct wiphy *wiphy, struct wireless_dev *wdev, u64 cookie), wdev 2557 net/wireless/trace.h TP_ARGS(wiphy, wdev, cookie) wdev 2722 net/wireless/trace.h TP_PROTO(struct wireless_dev *wdev, u64 cookie, wdev 2725 net/wireless/trace.h TP_ARGS(wdev, cookie, chan, duration), wdev 2744 net/wireless/trace.h TP_PROTO(struct wireless_dev *wdev, u64 cookie, wdev 2746 net/wireless/trace.h TP_ARGS(wdev, cookie, chan), wdev 2762 net/wireless/trace.h TP_PROTO(struct wireless_dev *wdev, u64 cookie, wdev 2764 net/wireless/trace.h TP_ARGS(wdev, cookie, chan), wdev 2803 net/wireless/trace.h TP_PROTO(struct wireless_dev *wdev, int freq, int sig_dbm), wdev 2804 net/wireless/trace.h TP_ARGS(wdev, freq, sig_dbm), wdev 2820 net/wireless/trace.h TP_PROTO(struct wireless_dev *wdev, u64 cookie, bool ack), wdev 2821 net/wireless/trace.h TP_ARGS(wdev, cookie, ack), wdev 3144 net/wireless/trace.h __entry->wdev_id = request->wdev ? wdev 3145 net/wireless/trace.h request->wdev->identifier : 0; wdev 3293 net/wireless/trace.h TP_PROTO(struct wiphy *wiphy, struct wireless_dev *wdev, wdev 3295 net/wireless/trace.h TP_ARGS(wiphy, wdev, wakeup), wdev 3357 net/wireless/trace.h TP_PROTO(struct wiphy *wiphy, struct wireless_dev *wdev), wdev 3358 net/wireless/trace.h TP_ARGS(wiphy, wdev), wdev 3372 net/wireless/trace.h TP_PROTO(struct wiphy *wiphy, struct wireless_dev *wdev, wdev 3374 net/wireless/trace.h TP_ARGS(wiphy, wdev, cookie, addr), wdev 3394 net/wireless/trace.h TP_PROTO(struct wiphy *wiphy, struct wireless_dev *wdev, u64 cookie), wdev 3395 net/wireless/trace.h TP_ARGS(wiphy, wdev, cookie), wdev 827 net/wireless/util.c void cfg80211_upload_connect_keys(struct wireless_dev *wdev) wdev 829 net/wireless/util.c struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); wdev 830 net/wireless/util.c struct net_device *dev = wdev->netdev; wdev 833 net/wireless/util.c if (!wdev->connect_keys) wdev 837 net/wireless/util.c if (!wdev->connect_keys->params[i].cipher) wdev 840 net/wireless/util.c &wdev->connect_keys->params[i])) { wdev 844 net/wireless/util.c if (wdev->connect_keys->def == i && wdev 851 net/wireless/util.c kzfree(wdev->connect_keys); wdev 852 net/wireless/util.c wdev->connect_keys = NULL; wdev 855 net/wireless/util.c void cfg80211_process_wdev_events(struct wireless_dev *wdev) wdev 860 net/wireless/util.c spin_lock_irqsave(&wdev->event_lock, flags); wdev 861 net/wireless/util.c while (!list_empty(&wdev->event_list)) { wdev 862 net/wireless/util.c ev = list_first_entry(&wdev->event_list, wdev 865 net/wireless/util.c spin_unlock_irqrestore(&wdev->event_lock, flags); wdev 867 net/wireless/util.c wdev_lock(wdev); wdev 871 net/wireless/util.c wdev->netdev, wdev 876 net/wireless/util.c __cfg80211_roamed(wdev, &ev->rm); wdev 879 net/wireless/util.c __cfg80211_disconnected(wdev->netdev, wdev 885 net/wireless/util.c __cfg80211_ibss_joined(wdev->netdev, ev->ij.bssid, wdev 889 net/wireless/util.c __cfg80211_leave(wiphy_to_rdev(wdev->wiphy), wdev); wdev 892 net/wireless/util.c __cfg80211_port_authorized(wdev, ev->pa.bssid); wdev 895 net/wireless/util.c wdev_unlock(wdev); wdev 899 net/wireless/util.c spin_lock_irqsave(&wdev->event_lock, flags); wdev 901 net/wireless/util.c spin_unlock_irqrestore(&wdev->event_lock, flags); wdev 906 net/wireless/util.c struct wireless_dev *wdev; wdev 910 net/wireless/util.c list_for_each_entry(wdev, &rdev->wiphy.wdev_list, list) wdev 911 net/wireless/util.c cfg80211_process_wdev_events(wdev); wdev 1672 net/wireless/util.c struct wireless_dev *wdev; wdev 1677 net/wireless/util.c list_for_each_entry(wdev, &wiphy->wdev_list, list) { wdev 1678 net/wireless/util.c if (!wdev->beacon_interval) wdev 1682 net/wireless/util.c *beacon_int_gcd = wdev->beacon_interval; wdev 1686 net/wireless/util.c if (wdev->beacon_interval == *beacon_int_gcd) wdev 1690 net/wireless/util.c *beacon_int_gcd = gcd(*beacon_int_gcd, wdev->beacon_interval); wdev 1905 net/wireless/util.c struct wireless_dev *wdev; wdev 1907 net/wireless/util.c wdev = dev->ieee80211_ptr; wdev 1908 net/wireless/util.c if (!wdev) wdev 1911 net/wireless/util.c rdev = wiphy_to_rdev(wdev->wiphy); wdev 38 net/wireless/wext-compat.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 43 net/wireless/wext-compat.c rdev = wiphy_to_rdev(wdev->wiphy); wdev 62 net/wireless/wext-compat.c if (type == wdev->iftype) wdev 74 net/wireless/wext-compat.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 76 net/wireless/wext-compat.c if (!wdev) wdev 79 net/wireless/wext-compat.c switch (wdev->iftype) { wdev 111 net/wireless/wext-compat.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 116 net/wireless/wext-compat.c if (!wdev) wdev 137 net/wireless/wext-compat.c switch (wdev->wiphy->signal_type) { wdev 161 net/wireless/wext-compat.c for (i = 0; i < wdev->wiphy->n_cipher_suites; i++) { wdev 162 net/wireless/wext-compat.c switch (wdev->wiphy->cipher_suites[i]) { wdev 188 net/wireless/wext-compat.c sband = wdev->wiphy->bands[band]; wdev 213 net/wireless/wext-compat.c if (wdev->wiphy->max_scan_ssids > 0) wdev 255 net/wireless/wext-compat.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 256 net/wireless/wext-compat.c struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); wdev 257 net/wireless/wext-compat.c u32 orts = wdev->wiphy->rts_threshold; wdev 261 net/wireless/wext-compat.c wdev->wiphy->rts_threshold = (u32) -1; wdev 265 net/wireless/wext-compat.c wdev->wiphy->rts_threshold = rts->value; wdev 269 net/wireless/wext-compat.c wdev->wiphy->rts_threshold = orts; wdev 279 net/wireless/wext-compat.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 281 net/wireless/wext-compat.c rts->value = wdev->wiphy->rts_threshold; wdev 293 net/wireless/wext-compat.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 294 net/wireless/wext-compat.c struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); wdev 295 net/wireless/wext-compat.c u32 ofrag = wdev->wiphy->frag_threshold; wdev 299 net/wireless/wext-compat.c wdev->wiphy->frag_threshold = (u32) -1; wdev 304 net/wireless/wext-compat.c wdev->wiphy->frag_threshold = frag->value & ~0x1; wdev 309 net/wireless/wext-compat.c wdev->wiphy->frag_threshold = ofrag; wdev 319 net/wireless/wext-compat.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 321 net/wireless/wext-compat.c frag->value = wdev->wiphy->frag_threshold; wdev 333 net/wireless/wext-compat.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 334 net/wireless/wext-compat.c struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); wdev 336 net/wireless/wext-compat.c u8 olong = wdev->wiphy->retry_long; wdev 337 net/wireless/wext-compat.c u8 oshort = wdev->wiphy->retry_short; wdev 345 net/wireless/wext-compat.c wdev->wiphy->retry_long = retry->value; wdev 348 net/wireless/wext-compat.c wdev->wiphy->retry_short = retry->value; wdev 351 net/wireless/wext-compat.c wdev->wiphy->retry_short = retry->value; wdev 352 net/wireless/wext-compat.c wdev->wiphy->retry_long = retry->value; wdev 359 net/wireless/wext-compat.c wdev->wiphy->retry_short = oshort; wdev 360 net/wireless/wext-compat.c wdev->wiphy->retry_long = olong; wdev 370 net/wireless/wext-compat.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 380 net/wireless/wext-compat.c retry->value = wdev->wiphy->retry_short; wdev 381 net/wireless/wext-compat.c if (wdev->wiphy->retry_long == wdev->wiphy->retry_short) wdev 389 net/wireless/wext-compat.c retry->value = wdev->wiphy->retry_long; wdev 401 net/wireless/wext-compat.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 412 net/wireless/wext-compat.c if (!wdev->wext.keys) { wdev 413 net/wireless/wext-compat.c wdev->wext.keys = kzalloc(sizeof(*wdev->wext.keys), wdev 415 net/wireless/wext-compat.c if (!wdev->wext.keys) wdev 418 net/wireless/wext-compat.c wdev->wext.keys->params[i].key = wdev 419 net/wireless/wext-compat.c wdev->wext.keys->data[i]; wdev 422 net/wireless/wext-compat.c if (wdev->iftype != NL80211_IFTYPE_ADHOC && wdev 423 net/wireless/wext-compat.c wdev->iftype != NL80211_IFTYPE_STATION) wdev 427 net/wireless/wext-compat.c if (!wdev->current_bss) wdev 440 net/wireless/wext-compat.c if (wdev->current_bss) { wdev 445 net/wireless/wext-compat.c if (idx == wdev->wext.default_key && wdev 446 net/wireless/wext-compat.c wdev->iftype == NL80211_IFTYPE_ADHOC) { wdev 447 net/wireless/wext-compat.c __cfg80211_leave_ibss(rdev, wdev->netdev, true); wdev 458 net/wireless/wext-compat.c wdev->wext.connect.privacy = false; wdev 467 net/wireless/wext-compat.c memset(wdev->wext.keys->data[idx], 0, wdev 468 net/wireless/wext-compat.c sizeof(wdev->wext.keys->data[idx])); wdev 469 net/wireless/wext-compat.c wdev->wext.keys->params[idx].key_len = 0; wdev 470 net/wireless/wext-compat.c wdev->wext.keys->params[idx].cipher = 0; wdev 472 net/wireless/wext-compat.c if (idx == wdev->wext.default_key) wdev 473 net/wireless/wext-compat.c wdev->wext.default_key = -1; wdev 474 net/wireless/wext-compat.c else if (idx == wdev->wext.default_mgmt_key) wdev 475 net/wireless/wext-compat.c wdev->wext.default_mgmt_key = -1; wdev 479 net/wireless/wext-compat.c err = cfg80211_ibss_wext_join(rdev, wdev); wdev 491 net/wireless/wext-compat.c if (wdev->current_bss) wdev 506 net/wireless/wext-compat.c wdev->wext.keys->params[idx] = *params; wdev 507 net/wireless/wext-compat.c memcpy(wdev->wext.keys->data[idx], wdev 509 net/wireless/wext-compat.c wdev->wext.keys->params[idx].key = wdev 510 net/wireless/wext-compat.c wdev->wext.keys->data[idx]; wdev 515 net/wireless/wext-compat.c (tx_key || (!addr && wdev->wext.default_key == -1))) { wdev 516 net/wireless/wext-compat.c if (wdev->current_bss) { wdev 522 net/wireless/wext-compat.c if (wdev->iftype == NL80211_IFTYPE_ADHOC && wdev 523 net/wireless/wext-compat.c wdev->wext.default_key == -1) { wdev 524 net/wireless/wext-compat.c __cfg80211_leave_ibss(rdev, wdev->netdev, true); wdev 530 net/wireless/wext-compat.c wdev->wext.default_key = idx; wdev 532 net/wireless/wext-compat.c err = cfg80211_ibss_wext_join(rdev, wdev); wdev 538 net/wireless/wext-compat.c (tx_key || (!addr && wdev->wext.default_mgmt_key == -1))) { wdev 539 net/wireless/wext-compat.c if (wdev->current_bss) wdev 542 net/wireless/wext-compat.c wdev->wext.default_mgmt_key = idx; wdev 568 net/wireless/wext-compat.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 569 net/wireless/wext-compat.c struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); wdev 574 net/wireless/wext-compat.c if (wdev->iftype != NL80211_IFTYPE_STATION && wdev 575 net/wireless/wext-compat.c wdev->iftype != NL80211_IFTYPE_ADHOC) wdev 586 net/wireless/wext-compat.c idx = wdev->wext.default_key; wdev 599 net/wireless/wext-compat.c wdev_lock(wdev); wdev 600 net/wireless/wext-compat.c if (wdev->current_bss) wdev 604 net/wireless/wext-compat.c wdev->wext.default_key = idx; wdev 605 net/wireless/wext-compat.c wdev_unlock(wdev); wdev 620 net/wireless/wext-compat.c wdev->wext.default_key == -1, wdev 628 net/wireless/wext-compat.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 629 net/wireless/wext-compat.c struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); wdev 637 net/wireless/wext-compat.c if (wdev->iftype != NL80211_IFTYPE_STATION && wdev 638 net/wireless/wext-compat.c wdev->iftype != NL80211_IFTYPE_ADHOC) wdev 679 net/wireless/wext-compat.c idx = wdev->wext.default_mgmt_key; wdev 686 net/wireless/wext-compat.c idx = wdev->wext.default_key; wdev 719 net/wireless/wext-compat.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 722 net/wireless/wext-compat.c if (wdev->iftype != NL80211_IFTYPE_STATION && wdev 723 net/wireless/wext-compat.c wdev->iftype != NL80211_IFTYPE_ADHOC) wdev 728 net/wireless/wext-compat.c idx = wdev->wext.default_key; wdev 738 net/wireless/wext-compat.c if (!wdev->wext.keys || !wdev->wext.keys->params[idx].cipher) { wdev 745 net/wireless/wext-compat.c wdev->wext.keys->params[idx].key_len); wdev 746 net/wireless/wext-compat.c memcpy(keybuf, wdev->wext.keys->params[idx].key, erq->length); wdev 756 net/wireless/wext-compat.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 757 net/wireless/wext-compat.c struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); wdev 763 net/wireless/wext-compat.c switch (wdev->iftype) { wdev 789 net/wireless/wext-compat.c return cfg80211_set_mesh_channel(rdev, wdev, &chandef); wdev 799 net/wireless/wext-compat.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 800 net/wireless/wext-compat.c struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); wdev 804 net/wireless/wext-compat.c switch (wdev->iftype) { wdev 813 net/wireless/wext-compat.c ret = rdev_get_channel(rdev, wdev, &chandef); wdev 828 net/wireless/wext-compat.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 829 net/wireless/wext-compat.c struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); wdev 873 net/wireless/wext-compat.c return rdev_set_tx_power(rdev, wdev, type, DBM_TO_MBM(dbm)); wdev 880 net/wireless/wext-compat.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 881 net/wireless/wext-compat.c struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); wdev 892 net/wireless/wext-compat.c err = rdev_get_tx_power(rdev, wdev, &val); wdev 905 net/wireless/wext-compat.c static int cfg80211_set_auth_alg(struct wireless_dev *wdev, wdev 920 net/wireless/wext-compat.c wdev->wext.connect.auth_type = NL80211_AUTHTYPE_OPEN_SYSTEM; wdev 925 net/wireless/wext-compat.c wdev->wext.connect.auth_type = NL80211_AUTHTYPE_SHARED_KEY; wdev 930 net/wireless/wext-compat.c wdev->wext.connect.auth_type = NL80211_AUTHTYPE_NETWORK_EAP; wdev 934 net/wireless/wext-compat.c wdev->wext.connect.auth_type = NL80211_AUTHTYPE_AUTOMATIC; wdev 939 net/wireless/wext-compat.c static int cfg80211_set_wpa_version(struct wireless_dev *wdev, u32 wpa_versions) wdev 952 net/wireless/wext-compat.c wdev->wext.connect.crypto.wpa_versions &= wdev 956 net/wireless/wext-compat.c wdev->wext.connect.crypto.wpa_versions |= wdev 960 net/wireless/wext-compat.c wdev->wext.connect.crypto.wpa_versions |= wdev 966 net/wireless/wext-compat.c static int cfg80211_set_cipher_group(struct wireless_dev *wdev, u32 cipher) wdev 969 net/wireless/wext-compat.c wdev->wext.connect.crypto.cipher_group = wdev 972 net/wireless/wext-compat.c wdev->wext.connect.crypto.cipher_group = wdev 975 net/wireless/wext-compat.c wdev->wext.connect.crypto.cipher_group = wdev 978 net/wireless/wext-compat.c wdev->wext.connect.crypto.cipher_group = wdev 981 net/wireless/wext-compat.c wdev->wext.connect.crypto.cipher_group = wdev 984 net/wireless/wext-compat.c wdev->wext.connect.crypto.cipher_group = 0; wdev 991 net/wireless/wext-compat.c static int cfg80211_set_cipher_pairwise(struct wireless_dev *wdev, u32 cipher) wdev 994 net/wireless/wext-compat.c u32 *ciphers_pairwise = wdev->wext.connect.crypto.ciphers_pairwise; wdev 1023 net/wireless/wext-compat.c wdev->wext.connect.crypto.n_ciphers_pairwise = nr_ciphers; wdev 1029 net/wireless/wext-compat.c static int cfg80211_set_key_mgt(struct wireless_dev *wdev, u32 key_mgt) wdev 1038 net/wireless/wext-compat.c wdev->wext.connect.crypto.akm_suites[nr_akm_suites] = wdev 1044 net/wireless/wext-compat.c wdev->wext.connect.crypto.akm_suites[nr_akm_suites] = wdev 1049 net/wireless/wext-compat.c wdev->wext.connect.crypto.n_akm_suites = nr_akm_suites; wdev 1058 net/wireless/wext-compat.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 1060 net/wireless/wext-compat.c if (wdev->iftype != NL80211_IFTYPE_STATION) wdev 1065 net/wireless/wext-compat.c wdev->wext.connect.privacy = data->value; wdev 1068 net/wireless/wext-compat.c return cfg80211_set_wpa_version(wdev, data->value); wdev 1070 net/wireless/wext-compat.c return cfg80211_set_cipher_group(wdev, data->value); wdev 1072 net/wireless/wext-compat.c return cfg80211_set_key_mgt(wdev, data->value); wdev 1074 net/wireless/wext-compat.c return cfg80211_set_cipher_pairwise(wdev, data->value); wdev 1076 net/wireless/wext-compat.c return cfg80211_set_auth_alg(wdev, data->value); wdev 1100 net/wireless/wext-compat.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 1101 net/wireless/wext-compat.c struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); wdev 1102 net/wireless/wext-compat.c bool ps = wdev->ps; wdev 1103 net/wireless/wext-compat.c int timeout = wdev->ps_timeout; wdev 1106 net/wireless/wext-compat.c if (wdev->iftype != NL80211_IFTYPE_STATION) wdev 1136 net/wireless/wext-compat.c wdev->ps = ps; wdev 1137 net/wireless/wext-compat.c wdev->ps_timeout = timeout; wdev 1147 net/wireless/wext-compat.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 1149 net/wireless/wext-compat.c wrq->disabled = !wdev->ps; wdev 1158 net/wireless/wext-compat.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 1159 net/wireless/wext-compat.c struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); wdev 1162 net/wireless/wext-compat.c if (WARN_ON(wdev->iftype != NL80211_IFTYPE_WDS)) wdev 1178 net/wireless/wext-compat.c memcpy(&wdev->wext.bssid, (u8 *) &addr->sa_data, ETH_ALEN); wdev 1187 net/wireless/wext-compat.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 1189 net/wireless/wext-compat.c if (WARN_ON(wdev->iftype != NL80211_IFTYPE_WDS)) wdev 1193 net/wireless/wext-compat.c memcpy(&addr->sa_data, wdev->wext.bssid, ETH_ALEN); wdev 1202 net/wireless/wext-compat.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 1203 net/wireless/wext-compat.c struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); wdev 1226 net/wireless/wext-compat.c sband = wdev->wiphy->bands[band]; wdev 1253 net/wireless/wext-compat.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 1254 net/wireless/wext-compat.c struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); wdev 1259 net/wireless/wext-compat.c if (wdev->iftype != NL80211_IFTYPE_STATION) wdev 1266 net/wireless/wext-compat.c wdev_lock(wdev); wdev 1267 net/wireless/wext-compat.c if (wdev->current_bss) wdev 1268 net/wireless/wext-compat.c memcpy(addr, wdev->current_bss->pub.bssid, ETH_ALEN); wdev 1271 net/wireless/wext-compat.c wdev_unlock(wdev); wdev 1294 net/wireless/wext-compat.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 1295 net/wireless/wext-compat.c struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); wdev 1308 net/wireless/wext-compat.c wdev_lock(wdev); wdev 1309 net/wireless/wext-compat.c if (!wdev->current_bss) { wdev 1310 net/wireless/wext-compat.c wdev_unlock(wdev); wdev 1313 net/wireless/wext-compat.c memcpy(bssid, wdev->current_bss->pub.bssid, ETH_ALEN); wdev 1314 net/wireless/wext-compat.c wdev_unlock(wdev); wdev 1368 net/wireless/wext-compat.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 1370 net/wireless/wext-compat.c switch (wdev->iftype) { wdev 1386 net/wireless/wext-compat.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 1388 net/wireless/wext-compat.c switch (wdev->iftype) { wdev 1404 net/wireless/wext-compat.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 1406 net/wireless/wext-compat.c switch (wdev->iftype) { wdev 1420 net/wireless/wext-compat.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 1425 net/wireless/wext-compat.c switch (wdev->iftype) { wdev 1439 net/wireless/wext-compat.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 1440 net/wireless/wext-compat.c struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); wdev 1446 net/wireless/wext-compat.c if (wdev->iftype != NL80211_IFTYPE_STATION) wdev 19 net/wireless/wext-sme.c struct wireless_dev *wdev) wdev 26 net/wireless/wext-sme.c ASSERT_WDEV_LOCK(wdev); wdev 28 net/wireless/wext-sme.c if (!netif_running(wdev->netdev)) wdev 31 net/wireless/wext-sme.c wdev->wext.connect.ie = wdev->wext.ie; wdev 32 net/wireless/wext-sme.c wdev->wext.connect.ie_len = wdev->wext.ie_len; wdev 35 net/wireless/wext-sme.c wdev->wext.connect.bg_scan_period = -1; wdev 37 net/wireless/wext-sme.c if (wdev->wext.keys) { wdev 38 net/wireless/wext-sme.c wdev->wext.keys->def = wdev->wext.default_key; wdev 39 net/wireless/wext-sme.c if (wdev->wext.default_key != -1) wdev 40 net/wireless/wext-sme.c wdev->wext.connect.privacy = true; wdev 43 net/wireless/wext-sme.c if (!wdev->wext.connect.ssid_len) wdev 46 net/wireless/wext-sme.c if (wdev->wext.keys && wdev->wext.keys->def != -1) { wdev 47 net/wireless/wext-sme.c ck = kmemdup(wdev->wext.keys, sizeof(*ck), GFP_KERNEL); wdev 54 net/wireless/wext-sme.c if (wdev->wext.prev_bssid_valid) wdev 55 net/wireless/wext-sme.c prev_bssid = wdev->wext.prev_bssid; wdev 57 net/wireless/wext-sme.c err = cfg80211_connect(rdev, wdev->netdev, wdev 58 net/wireless/wext-sme.c &wdev->wext.connect, ck, prev_bssid); wdev 69 net/wireless/wext-sme.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 70 net/wireless/wext-sme.c struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); wdev 75 net/wireless/wext-sme.c if (WARN_ON(wdev->iftype != NL80211_IFTYPE_STATION)) wdev 83 net/wireless/wext-sme.c chan = ieee80211_get_channel(wdev->wiphy, freq); wdev 90 net/wireless/wext-sme.c wdev_lock(wdev); wdev 92 net/wireless/wext-sme.c if (wdev->conn) { wdev 95 net/wireless/wext-sme.c if (wdev->wext.connect.channel == chan) { wdev 101 net/wireless/wext-sme.c if (wdev->wext.connect.ssid_len) wdev 109 net/wireless/wext-sme.c wdev->wext.connect.channel = chan; wdev 110 net/wireless/wext-sme.c err = cfg80211_mgd_wext_connect(rdev, wdev); wdev 112 net/wireless/wext-sme.c wdev_unlock(wdev); wdev 120 net/wireless/wext-sme.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 124 net/wireless/wext-sme.c if (WARN_ON(wdev->iftype != NL80211_IFTYPE_STATION)) wdev 127 net/wireless/wext-sme.c wdev_lock(wdev); wdev 128 net/wireless/wext-sme.c if (wdev->current_bss) wdev 129 net/wireless/wext-sme.c chan = wdev->current_bss->pub.channel; wdev 130 net/wireless/wext-sme.c else if (wdev->wext.connect.channel) wdev 131 net/wireless/wext-sme.c chan = wdev->wext.connect.channel; wdev 132 net/wireless/wext-sme.c wdev_unlock(wdev); wdev 148 net/wireless/wext-sme.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 149 net/wireless/wext-sme.c struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); wdev 154 net/wireless/wext-sme.c if (WARN_ON(wdev->iftype != NL80211_IFTYPE_STATION)) wdev 164 net/wireless/wext-sme.c wdev_lock(wdev); wdev 168 net/wireless/wext-sme.c if (wdev->conn) { wdev 171 net/wireless/wext-sme.c if (wdev->wext.connect.ssid && len && wdev 172 net/wireless/wext-sme.c len == wdev->wext.connect.ssid_len && wdev 173 net/wireless/wext-sme.c memcmp(wdev->wext.connect.ssid, ssid, len) == 0) wdev 185 net/wireless/wext-sme.c wdev->wext.prev_bssid_valid = false; wdev 186 net/wireless/wext-sme.c wdev->wext.connect.ssid = wdev->wext.ssid; wdev 187 net/wireless/wext-sme.c memcpy(wdev->wext.ssid, ssid, len); wdev 188 net/wireless/wext-sme.c wdev->wext.connect.ssid_len = len; wdev 190 net/wireless/wext-sme.c wdev->wext.connect.crypto.control_port = false; wdev 191 net/wireless/wext-sme.c wdev->wext.connect.crypto.control_port_ethertype = wdev 194 net/wireless/wext-sme.c err = cfg80211_mgd_wext_connect(rdev, wdev); wdev 196 net/wireless/wext-sme.c wdev_unlock(wdev); wdev 204 net/wireless/wext-sme.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 208 net/wireless/wext-sme.c if (WARN_ON(wdev->iftype != NL80211_IFTYPE_STATION)) wdev 213 net/wireless/wext-sme.c wdev_lock(wdev); wdev 214 net/wireless/wext-sme.c if (wdev->current_bss) { wdev 218 net/wireless/wext-sme.c ie = ieee80211_bss_get_ie(&wdev->current_bss->pub, wdev 229 net/wireless/wext-sme.c } else if (wdev->wext.connect.ssid && wdev->wext.connect.ssid_len) { wdev 231 net/wireless/wext-sme.c data->length = wdev->wext.connect.ssid_len; wdev 232 net/wireless/wext-sme.c memcpy(ssid, wdev->wext.connect.ssid, data->length); wdev 234 net/wireless/wext-sme.c wdev_unlock(wdev); wdev 243 net/wireless/wext-sme.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 244 net/wireless/wext-sme.c struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); wdev 249 net/wireless/wext-sme.c if (WARN_ON(wdev->iftype != NL80211_IFTYPE_STATION)) wdev 259 net/wireless/wext-sme.c wdev_lock(wdev); wdev 261 net/wireless/wext-sme.c if (wdev->conn) { wdev 264 net/wireless/wext-sme.c if (!bssid && !wdev->wext.connect.bssid) wdev 268 net/wireless/wext-sme.c if (wdev->wext.connect.bssid && bssid && wdev 269 net/wireless/wext-sme.c ether_addr_equal(bssid, wdev->wext.connect.bssid)) wdev 279 net/wireless/wext-sme.c memcpy(wdev->wext.bssid, bssid, ETH_ALEN); wdev 280 net/wireless/wext-sme.c wdev->wext.connect.bssid = wdev->wext.bssid; wdev 282 net/wireless/wext-sme.c wdev->wext.connect.bssid = NULL; wdev 284 net/wireless/wext-sme.c err = cfg80211_mgd_wext_connect(rdev, wdev); wdev 286 net/wireless/wext-sme.c wdev_unlock(wdev); wdev 294 net/wireless/wext-sme.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 297 net/wireless/wext-sme.c if (WARN_ON(wdev->iftype != NL80211_IFTYPE_STATION)) wdev 302 net/wireless/wext-sme.c wdev_lock(wdev); wdev 303 net/wireless/wext-sme.c if (wdev->current_bss) wdev 304 net/wireless/wext-sme.c memcpy(ap_addr->sa_data, wdev->current_bss->pub.bssid, ETH_ALEN); wdev 307 net/wireless/wext-sme.c wdev_unlock(wdev); wdev 316 net/wireless/wext-sme.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 317 net/wireless/wext-sme.c struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); wdev 321 net/wireless/wext-sme.c if (wdev->iftype != NL80211_IFTYPE_STATION) wdev 327 net/wireless/wext-sme.c wdev_lock(wdev); wdev 331 net/wireless/wext-sme.c if (wdev->wext.ie_len == ie_len && wdev 332 net/wireless/wext-sme.c memcmp(wdev->wext.ie, ie, ie_len) == 0) wdev 344 net/wireless/wext-sme.c kfree(wdev->wext.ie); wdev 345 net/wireless/wext-sme.c wdev->wext.ie = ie; wdev 346 net/wireless/wext-sme.c wdev->wext.ie_len = ie_len; wdev 348 net/wireless/wext-sme.c if (wdev->conn) { wdev 358 net/wireless/wext-sme.c wdev_unlock(wdev); wdev 366 net/wireless/wext-sme.c struct wireless_dev *wdev = dev->ieee80211_ptr; wdev 371 net/wireless/wext-sme.c if (!wdev) wdev 374 net/wireless/wext-sme.c rdev = wiphy_to_rdev(wdev->wiphy); wdev 376 net/wireless/wext-sme.c if (wdev->iftype != NL80211_IFTYPE_STATION) wdev 382 net/wireless/wext-sme.c wdev_lock(wdev); wdev 392 net/wireless/wext-sme.c wdev_unlock(wdev);