Lines Matching defs:wdev

2659  * @wdev: the wireless device to scan for
2687 struct wireless_dev *wdev;
4205 * also set the address member in the wdev.
4216 * the wdev->link[] data structure has been updated, so the new link
4368 * wdev may be %NULL if power was set for the wiphy, and will
4391 * @testmode_cmd: run a test mode command; @wdev may be %NULL
4526 * @get_txq_stats: Get TXQ stats for interface or phy. If wdev is %NULL, this
4568 * or receive frames and it is bounded to a running wdev.
4592 struct wireless_dev *wdev);
4599 struct wireless_dev *wdev,
4602 struct wireless_dev *wdev,
4696 void (*abort_scan)(struct wiphy *wiphy, struct wireless_dev *wdev);
4725 int (*set_tx_power)(struct wiphy *wiphy, struct wireless_dev *wdev,
4727 int (*get_tx_power)(struct wiphy *wiphy, struct wireless_dev *wdev,
4733 int (*testmode_cmd)(struct wiphy *wiphy, struct wireless_dev *wdev,
4756 struct wireless_dev *wdev,
4761 struct wireless_dev *wdev,
4764 int (*mgmt_tx)(struct wiphy *wiphy, struct wireless_dev *wdev,
4768 struct wireless_dev *wdev,
4787 struct wireless_dev *wdev,
4818 struct wireless_dev *wdev,
4823 struct wireless_dev *wdev);
4825 struct wireless_dev *wdev);
4839 struct wireless_dev *wdev,
4843 struct wireless_dev *wdev);
4872 int (*start_nan)(struct wiphy *wiphy, struct wireless_dev *wdev,
4874 void (*stop_nan)(struct wiphy *wiphy, struct wireless_dev *wdev);
4875 int (*add_nan_func)(struct wiphy *wiphy, struct wireless_dev *wdev,
4877 void (*del_nan_func)(struct wiphy *wiphy, struct wireless_dev *wdev,
4880 struct wireless_dev *wdev,
4889 struct wireless_dev *wdev,
4910 int (*start_pmsr)(struct wiphy *wiphy, struct wireless_dev *wdev,
4912 void (*abort_pmsr)(struct wiphy *wiphy, struct wireless_dev *wdev,
5246 * @WIPHY_VENDOR_CMD_NEED_WDEV: vendor command requires wdev
5248 * @WIPHY_VENDOR_CMD_NEED_RUNNING: interface/wdev must be up & running
5292 * @doit: callback for the operation, note that wdev is %NULL if the
5293 * flags didn't ask for a wdev and non-%NULL otherwise; the data
5309 int (*doit)(struct wiphy *wiphy, struct wireless_dev *wdev,
5311 int (*dumpit)(struct wiphy *wiphy, struct wireless_dev *wdev,
6103 * @registered: is this wdev already registered with cfg80211
6276 static inline const u8 *wdev_address(struct wireless_dev *wdev)
6278 if (wdev->netdev)
6279 return wdev->netdev->dev_addr;
6280 return wdev->address;
6283 static inline bool wdev_running(struct wireless_dev *wdev)
6285 if (wdev->netdev)
6286 return netif_running(wdev->netdev);
6287 return wdev->is_running;
6293 * @wdev: The wireless device whose wiphy's priv pointer to return
6294 * Return: The wiphy priv of @wdev.
6296 static inline void *wdev_priv(struct wireless_dev *wdev)
6298 BUG_ON(!wdev);
6299 return wiphy_priv(wdev->wiphy);
6304 * @wdev: the wdev
6309 struct cfg80211_chan_def *wdev_chandef(struct wireless_dev *wdev,
6312 static inline void WARN_INVALID_LINK_ID(struct wireless_dev *wdev,
6315 WARN_ON(link_id && !wdev->valid_links);
6316 WARN_ON(wdev->valid_links &&
6317 !(wdev->valid_links & BIT(link_id)));
7443 * This function may sleep. The caller must hold the corresponding wdev's mutex.
7452 * This function may sleep. The caller must hold the corresponding wdev's
7495 * This function may sleep. The caller must hold the corresponding wdev's mutex.
7520 * This function may sleep. The caller must hold the corresponding wdev's mutex.
7535 * corresponding wdev's mutex.
7681 struct wireless_dev *wdev,
7747 * @wdev: the wireless device
7756 * If wdev != NULL, both the ifindex and identifier of the specified
7766 cfg80211_vendor_event_alloc(struct wiphy *wiphy, struct wireless_dev *wdev,
7769 return __cfg80211_alloc_event_skb(wiphy, wdev, NL80211_CMD_VENDOR,
7777 * @wdev: the wireless device
7789 * If wdev != NULL, both the ifindex and identifier of the specified
7800 struct wireless_dev *wdev,
7804 return __cfg80211_alloc_event_skb(wiphy, wdev, NL80211_CMD_VENDOR,
8256 * @wdev: wireless device
8263 void cfg80211_ready_on_channel(struct wireless_dev *wdev, u64 cookie,
8269 * @wdev: wireless device
8274 void cfg80211_remain_on_channel_expired(struct wireless_dev *wdev, u64 cookie,
8280 * @wdev: wireless device
8285 void cfg80211_tx_mgmt_expired(struct wireless_dev *wdev, u64 cookie,
8392 * @wdev: wireless device receiving the frame
8403 bool cfg80211_rx_mgmt_ext(struct wireless_dev *wdev,
8408 * @wdev: wireless device receiving the frame
8423 static inline bool cfg80211_rx_mgmt_khz(struct wireless_dev *wdev, int freq,
8435 return cfg80211_rx_mgmt_ext(wdev, &info);
8440 * @wdev: wireless device receiving the frame
8455 static inline bool cfg80211_rx_mgmt(struct wireless_dev *wdev, int freq,
8467 return cfg80211_rx_mgmt_ext(wdev, &info);
8491 * @wdev: wireless device receiving the frame
8499 void cfg80211_mgmt_tx_status_ext(struct wireless_dev *wdev,
8504 * @wdev: wireless device receiving the frame
8515 static inline void cfg80211_mgmt_tx_status(struct wireless_dev *wdev,
8526 cfg80211_mgmt_tx_status_ext(wdev, &status, gfp);
8532 * @wdev: wireless device receiving the frame
8543 void cfg80211_control_port_tx_status(struct wireless_dev *wdev, u64 cookie,
8819 * cfg80211_ch_switch_notify - update wdev channel and notify userspace
8924 * cfg80211_unregister_wdev - remove the given wdev
8925 * @wdev: struct wireless_dev to remove
8930 * when the driver wishes to unregister the wdev, e.g. when the hardware device
8935 void cfg80211_unregister_wdev(struct wireless_dev *wdev);
9091 * @wdev: the wireless device reporting the wakeup
9100 void cfg80211_report_wowlan_wakeup(struct wireless_dev *wdev,
9107 * @wdev: the wireless device for which critical protocol is stopped.
9114 void cfg80211_crit_proto_stopped(struct wireless_dev *wdev, gfp_t gfp);
9163 * @wdev: wireless device
9171 void cfg80211_stop_iface(struct wiphy *wiphy, struct wireless_dev *wdev,
9261 * @wdev: the wireless device reporting the match
9269 void cfg80211_nan_match(struct wireless_dev *wdev,
9275 * @wdev: the wireless device reporting the match
9283 void cfg80211_nan_func_terminated(struct wireless_dev *wdev,
9304 * @wdev: the wireless device reporting the measurement
9309 void cfg80211_pmsr_report(struct wireless_dev *wdev,
9316 * @wdev: the wireless device reporting the measurement
9323 void cfg80211_pmsr_complete(struct wireless_dev *wdev,
9351 * this function may sleep. the caller must hold the corresponding wdev's mutex.
9514 * Also note that the wdev mutex must be held.
9520 * @wdev: the wireless device to check
9526 void cfg80211_schedule_channels_check(struct wireless_dev *wdev);