Lines Matching defs:wdev

2152  * @wdev: the wireless device to scan for
2179 struct wireless_dev *wdev;
3599 * also set the address member in the wdev.
3736 * wdev may be %NULL if power was set for the wiphy, and will
3761 * @testmode_cmd: run a test mode command; @wdev may be %NULL
3896 * @get_txq_stats: Get TXQ stats for interface or phy. If wdev is %NULL, this
3939 struct wireless_dev *wdev);
4030 void (*abort_scan)(struct wiphy *wiphy, struct wireless_dev *wdev);
4059 int (*set_tx_power)(struct wiphy *wiphy, struct wireless_dev *wdev,
4061 int (*get_tx_power)(struct wiphy *wiphy, struct wireless_dev *wdev,
4070 int (*testmode_cmd)(struct wiphy *wiphy, struct wireless_dev *wdev,
4092 struct wireless_dev *wdev,
4097 struct wireless_dev *wdev,
4100 int (*mgmt_tx)(struct wiphy *wiphy, struct wireless_dev *wdev,
4104 struct wireless_dev *wdev,
4123 struct wireless_dev *wdev,
4153 struct wireless_dev *wdev,
4157 struct wireless_dev *wdev);
4159 struct wireless_dev *wdev);
4173 struct wireless_dev *wdev,
4177 struct wireless_dev *wdev);
4205 int (*start_nan)(struct wiphy *wiphy, struct wireless_dev *wdev,
4207 void (*stop_nan)(struct wiphy *wiphy, struct wireless_dev *wdev);
4208 int (*add_nan_func)(struct wiphy *wiphy, struct wireless_dev *wdev,
4210 void (*del_nan_func)(struct wiphy *wiphy, struct wireless_dev *wdev,
4213 struct wireless_dev *wdev,
4222 struct wireless_dev *wdev,
4243 int (*start_pmsr)(struct wiphy *wiphy, struct wireless_dev *wdev,
4245 void (*abort_pmsr)(struct wiphy *wiphy, struct wireless_dev *wdev,
4548 * @WIPHY_VENDOR_CMD_NEED_WDEV: vendor command requires wdev
4550 * @WIPHY_VENDOR_CMD_NEED_RUNNING: interface/wdev must be up & running
4594 * @doit: callback for the operation, note that wdev is %NULL if the
4595 * flags didn't ask for a wdev and non-%NULL otherwise; the data
4611 int (*doit)(struct wiphy *wiphy, struct wireless_dev *wdev,
4613 int (*dumpit)(struct wiphy *wiphy, struct wireless_dev *wdev,
5322 static inline u8 *wdev_address(struct wireless_dev *wdev)
5324 if (wdev->netdev)
5325 return wdev->netdev->dev_addr;
5326 return wdev->address;
5329 static inline bool wdev_running(struct wireless_dev *wdev)
5331 if (wdev->netdev)
5332 return netif_running(wdev->netdev);
5333 return wdev->is_running;
5339 * @wdev: The wireless device whose wiphy's priv pointer to return
5340 * Return: The wiphy priv of @wdev.
5342 static inline void *wdev_priv(struct wireless_dev *wdev)
5344 BUG_ON(!wdev);
5345 return wiphy_priv(wdev->wiphy);
6348 * This function may sleep. The caller must hold the corresponding wdev's mutex.
6357 * This function may sleep. The caller must hold the corresponding wdev's
6377 * This function may sleep. The caller must hold the corresponding wdev's mutex.
6390 * This function may sleep. The caller must hold the corresponding wdev's mutex.
6401 * This function may sleep. The caller must hold the corresponding wdev's mutex.
6414 * corresponding wdev's mutex.
6547 struct wireless_dev *wdev,
6612 * @wdev: the wireless device
6621 * If wdev != NULL, both the ifindex and identifier of the specified
6631 cfg80211_vendor_event_alloc(struct wiphy *wiphy, struct wireless_dev *wdev,
6634 return __cfg80211_alloc_event_skb(wiphy, wdev, NL80211_CMD_VENDOR,
6642 * @wdev: the wireless device
6654 * If wdev != NULL, both the ifindex and identifier of the specified
6665 struct wireless_dev *wdev,
6669 return __cfg80211_alloc_event_skb(wiphy, wdev, NL80211_CMD_VENDOR,
7078 * @wdev: wireless device
7085 void cfg80211_ready_on_channel(struct wireless_dev *wdev, u64 cookie,
7091 * @wdev: wireless device
7096 void cfg80211_remain_on_channel_expired(struct wireless_dev *wdev, u64 cookie,
7102 * @wdev: wireless device
7107 void cfg80211_tx_mgmt_expired(struct wireless_dev *wdev, u64 cookie,
7186 * @wdev: wireless device receiving the frame
7201 bool cfg80211_rx_mgmt_khz(struct wireless_dev *wdev, int freq, int sig_dbm,
7206 * @wdev: wireless device receiving the frame
7221 static inline bool cfg80211_rx_mgmt(struct wireless_dev *wdev, int freq,
7225 return cfg80211_rx_mgmt_khz(wdev, MHZ_TO_KHZ(freq), sig_dbm, buf, len,
7231 * @wdev: wireless device receiving the frame
7242 void cfg80211_mgmt_tx_status(struct wireless_dev *wdev, u64 cookie,
7248 * @wdev: wireless device receiving the frame
7259 void cfg80211_control_port_tx_status(struct wireless_dev *wdev, u64 cookie,
7508 * cfg80211_ch_switch_notify - update wdev channel and notify userspace
7595 * cfg80211_unregister_wdev - remove the given wdev
7596 * @wdev: struct wireless_dev to remove
7603 * be called when the driver wishes to unregister the wdev, e.g.
7608 void cfg80211_unregister_wdev(struct wireless_dev *wdev);
7719 * @wdev: the wireless device reporting the wakeup
7728 void cfg80211_report_wowlan_wakeup(struct wireless_dev *wdev,
7735 * @wdev: the wireless device for which critical protocol is stopped.
7742 void cfg80211_crit_proto_stopped(struct wireless_dev *wdev, gfp_t gfp);
7787 * @wdev: wireless device
7795 void cfg80211_stop_iface(struct wiphy *wiphy, struct wireless_dev *wdev,
7883 * @wdev: the wireless device reporting the match
7891 void cfg80211_nan_match(struct wireless_dev *wdev,
7897 * @wdev: the wireless device reporting the match
7905 void cfg80211_nan_func_terminated(struct wireless_dev *wdev,
7926 * @wdev: the wireless device reporting the measurement
7931 void cfg80211_pmsr_report(struct wireless_dev *wdev,
7938 * @wdev: the wireless device reporting the measurement
7945 void cfg80211_pmsr_complete(struct wireless_dev *wdev,