Lines Matching defs:wdev

2502  * @wdev: the wireless device to scan for
2529 struct wireless_dev *wdev;
4030 * also set the address member in the wdev.
4041 * the wdev->link[] data structure has been updated, so the new link
4193 * wdev may be %NULL if power was set for the wiphy, and will
4216 * @testmode_cmd: run a test mode command; @wdev may be %NULL
4351 * @get_txq_stats: Get TXQ stats for interface or phy. If wdev is %NULL, this
4393 * or receive frames and it is bounded to a running wdev.
4416 struct wireless_dev *wdev);
4423 struct wireless_dev *wdev,
4426 struct wireless_dev *wdev,
4520 void (*abort_scan)(struct wiphy *wiphy, struct wireless_dev *wdev);
4549 int (*set_tx_power)(struct wiphy *wiphy, struct wireless_dev *wdev,
4551 int (*get_tx_power)(struct wiphy *wiphy, struct wireless_dev *wdev,
4557 int (*testmode_cmd)(struct wiphy *wiphy, struct wireless_dev *wdev,
4580 struct wireless_dev *wdev,
4585 struct wireless_dev *wdev,
4588 int (*mgmt_tx)(struct wiphy *wiphy, struct wireless_dev *wdev,
4592 struct wireless_dev *wdev,
4611 struct wireless_dev *wdev,
4642 struct wireless_dev *wdev,
4647 struct wireless_dev *wdev);
4649 struct wireless_dev *wdev);
4663 struct wireless_dev *wdev,
4667 struct wireless_dev *wdev);
4696 int (*start_nan)(struct wiphy *wiphy, struct wireless_dev *wdev,
4698 void (*stop_nan)(struct wiphy *wiphy, struct wireless_dev *wdev);
4699 int (*add_nan_func)(struct wiphy *wiphy, struct wireless_dev *wdev,
4701 void (*del_nan_func)(struct wiphy *wiphy, struct wireless_dev *wdev,
4704 struct wireless_dev *wdev,
4713 struct wireless_dev *wdev,
4734 int (*start_pmsr)(struct wiphy *wiphy, struct wireless_dev *wdev,
4736 void (*abort_pmsr)(struct wiphy *wiphy, struct wireless_dev *wdev,
5061 * @WIPHY_VENDOR_CMD_NEED_WDEV: vendor command requires wdev
5063 * @WIPHY_VENDOR_CMD_NEED_RUNNING: interface/wdev must be up & running
5107 * @doit: callback for the operation, note that wdev is %NULL if the
5108 * flags didn't ask for a wdev and non-%NULL otherwise; the data
5124 int (*doit)(struct wiphy *wiphy, struct wireless_dev *wdev,
5126 int (*dumpit)(struct wiphy *wiphy, struct wireless_dev *wdev,
5912 * @registered: is this wdev already registered with cfg80211
6092 static inline const u8 *wdev_address(struct wireless_dev *wdev)
6094 if (wdev->netdev)
6095 return wdev->netdev->dev_addr;
6096 return wdev->address;
6099 static inline bool wdev_running(struct wireless_dev *wdev)
6101 if (wdev->netdev)
6102 return netif_running(wdev->netdev);
6103 return wdev->is_running;
6109 * @wdev: The wireless device whose wiphy's priv pointer to return
6110 * Return: The wiphy priv of @wdev.
6112 static inline void *wdev_priv(struct wireless_dev *wdev)
6114 BUG_ON(!wdev);
6115 return wiphy_priv(wdev->wiphy);
6120 * @wdev: the wdev
6125 struct cfg80211_chan_def *wdev_chandef(struct wireless_dev *wdev,
6128 static inline void WARN_INVALID_LINK_ID(struct wireless_dev *wdev,
6131 WARN_ON(link_id && !wdev->valid_links);
6132 WARN_ON(wdev->valid_links &&
6133 !(wdev->valid_links & BIT(link_id)));
7219 * This function may sleep. The caller must hold the corresponding wdev's mutex.
7228 * This function may sleep. The caller must hold the corresponding wdev's
7271 * This function may sleep. The caller must hold the corresponding wdev's mutex.
7296 * This function may sleep. The caller must hold the corresponding wdev's mutex.
7311 * corresponding wdev's mutex.
7457 struct wireless_dev *wdev,
7522 * @wdev: the wireless device
7531 * If wdev != NULL, both the ifindex and identifier of the specified
7541 cfg80211_vendor_event_alloc(struct wiphy *wiphy, struct wireless_dev *wdev,
7544 return __cfg80211_alloc_event_skb(wiphy, wdev, NL80211_CMD_VENDOR,
7552 * @wdev: the wireless device
7564 * If wdev != NULL, both the ifindex and identifier of the specified
7575 struct wireless_dev *wdev,
7579 return __cfg80211_alloc_event_skb(wiphy, wdev, NL80211_CMD_VENDOR,
8027 * @wdev: wireless device
8034 void cfg80211_ready_on_channel(struct wireless_dev *wdev, u64 cookie,
8040 * @wdev: wireless device
8045 void cfg80211_remain_on_channel_expired(struct wireless_dev *wdev, u64 cookie,
8051 * @wdev: wireless device
8056 void cfg80211_tx_mgmt_expired(struct wireless_dev *wdev, u64 cookie,
8161 * @wdev: wireless device receiving the frame
8172 bool cfg80211_rx_mgmt_ext(struct wireless_dev *wdev,
8177 * @wdev: wireless device receiving the frame
8192 static inline bool cfg80211_rx_mgmt_khz(struct wireless_dev *wdev, int freq,
8204 return cfg80211_rx_mgmt_ext(wdev, &info);
8209 * @wdev: wireless device receiving the frame
8224 static inline bool cfg80211_rx_mgmt(struct wireless_dev *wdev, int freq,
8236 return cfg80211_rx_mgmt_ext(wdev, &info);
8260 * @wdev: wireless device receiving the frame
8268 void cfg80211_mgmt_tx_status_ext(struct wireless_dev *wdev,
8273 * @wdev: wireless device receiving the frame
8284 static inline void cfg80211_mgmt_tx_status(struct wireless_dev *wdev,
8295 cfg80211_mgmt_tx_status_ext(wdev, &status, gfp);
8301 * @wdev: wireless device receiving the frame
8312 void cfg80211_control_port_tx_status(struct wireless_dev *wdev, u64 cookie,
8588 * cfg80211_ch_switch_notify - update wdev channel and notify userspace
8682 * cfg80211_unregister_wdev - remove the given wdev
8683 * @wdev: struct wireless_dev to remove
8688 * when the driver wishes to unregister the wdev, e.g. when the hardware device
8693 void cfg80211_unregister_wdev(struct wireless_dev *wdev);
8835 * @wdev: the wireless device reporting the wakeup
8844 void cfg80211_report_wowlan_wakeup(struct wireless_dev *wdev,
8851 * @wdev: the wireless device for which critical protocol is stopped.
8858 void cfg80211_crit_proto_stopped(struct wireless_dev *wdev, gfp_t gfp);
8903 * @wdev: wireless device
8911 void cfg80211_stop_iface(struct wiphy *wiphy, struct wireless_dev *wdev,
8999 * @wdev: the wireless device reporting the match
9007 void cfg80211_nan_match(struct wireless_dev *wdev,
9013 * @wdev: the wireless device reporting the match
9021 void cfg80211_nan_func_terminated(struct wireless_dev *wdev,
9042 * @wdev: the wireless device reporting the measurement
9047 void cfg80211_pmsr_report(struct wireless_dev *wdev,
9054 * @wdev: the wireless device reporting the measurement
9061 void cfg80211_pmsr_complete(struct wireless_dev *wdev,
9087 * this function may sleep. the caller must hold the corresponding wdev's mutex.
9244 * Also note that the wdev mutex must be held.