cfg80211.h (29ce6ecbb83c9185d76e3a7c340c9702d2a54961) cfg80211.h (b34939b9836950d261610132853311054b507247)
1#ifndef __NET_CFG80211_H
2#define __NET_CFG80211_H
3/*
4 * 802.11 device and configuration interface
5 *
6 * Copyright 2006-2010 Johannes Berg <johannes@sipsolutions.net>
7 * Copyright 2013-2014 Intel Mobile Communications GmbH
8 * Copyright 2015-2017 Intel Deutschland GmbH

--- 1652 unchanged lines hidden (view full) ---

1661 * @ie: optional information element(s) to add into Probe Request or %NULL
1662 * @ie_len: length of ie in octets
1663 * @flags: bit field of flags controlling operation
1664 * @match_sets: sets of parameters to be matched for a scan result
1665 * entry to be considered valid and to be passed to the host
1666 * (others are filtered out).
1667 * If ommited, all results are passed.
1668 * @n_match_sets: number of match sets
1#ifndef __NET_CFG80211_H
2#define __NET_CFG80211_H
3/*
4 * 802.11 device and configuration interface
5 *
6 * Copyright 2006-2010 Johannes Berg <johannes@sipsolutions.net>
7 * Copyright 2013-2014 Intel Mobile Communications GmbH
8 * Copyright 2015-2017 Intel Deutschland GmbH

--- 1652 unchanged lines hidden (view full) ---

1661 * @ie: optional information element(s) to add into Probe Request or %NULL
1662 * @ie_len: length of ie in octets
1663 * @flags: bit field of flags controlling operation
1664 * @match_sets: sets of parameters to be matched for a scan result
1665 * entry to be considered valid and to be passed to the host
1666 * (others are filtered out).
1667 * If ommited, all results are passed.
1668 * @n_match_sets: number of match sets
1669 * @results_wk: worker for processing results notification.
1669 * @wiphy: the wiphy this was for
1670 * @dev: the interface
1671 * @scan_start: start time of the scheduled scan
1672 * @channels: channels to scan
1673 * @min_rssi_thold: for drivers only supporting a single threshold, this
1674 * contains the minimum over all matchsets
1675 * @mac_addr: MAC address used with randomisation
1676 * @mac_addr_mask: MAC address mask used with randomisation, bits that

--- 44 unchanged lines hidden (view full) ---

1721 bool relative_rssi_set;
1722 s8 relative_rssi;
1723 struct cfg80211_bss_select_adjust rssi_adjust;
1724
1725 /* internal */
1726 struct wiphy *wiphy;
1727 struct net_device *dev;
1728 unsigned long scan_start;
1670 * @wiphy: the wiphy this was for
1671 * @dev: the interface
1672 * @scan_start: start time of the scheduled scan
1673 * @channels: channels to scan
1674 * @min_rssi_thold: for drivers only supporting a single threshold, this
1675 * contains the minimum over all matchsets
1676 * @mac_addr: MAC address used with randomisation
1677 * @mac_addr_mask: MAC address mask used with randomisation, bits that

--- 44 unchanged lines hidden (view full) ---

1722 bool relative_rssi_set;
1723 s8 relative_rssi;
1724 struct cfg80211_bss_select_adjust rssi_adjust;
1725
1726 /* internal */
1727 struct wiphy *wiphy;
1728 struct net_device *dev;
1729 unsigned long scan_start;
1730 bool report_results;
1729 struct rcu_head rcu_head;
1730 u32 owner_nlportid;
1731 bool nl_owner_dead;
1732 struct list_head list;
1733
1734 /* keep last */
1735 struct ieee80211_channel *channels[0];
1736};

--- 2822 unchanged lines hidden (view full) ---

4559 */
4560void cfg80211_scan_done(struct cfg80211_scan_request *request,
4561 struct cfg80211_scan_info *info);
4562
4563/**
4564 * cfg80211_sched_scan_results - notify that new scan results are available
4565 *
4566 * @wiphy: the wiphy which got scheduled scan results
1731 struct rcu_head rcu_head;
1732 u32 owner_nlportid;
1733 bool nl_owner_dead;
1734 struct list_head list;
1735
1736 /* keep last */
1737 struct ieee80211_channel *channels[0];
1738};

--- 2822 unchanged lines hidden (view full) ---

4561 */
4562void cfg80211_scan_done(struct cfg80211_scan_request *request,
4563 struct cfg80211_scan_info *info);
4564
4565/**
4566 * cfg80211_sched_scan_results - notify that new scan results are available
4567 *
4568 * @wiphy: the wiphy which got scheduled scan results
4569 * @reqid: identifier for the related scheduled scan request
4567 */
4570 */
4568void cfg80211_sched_scan_results(struct wiphy *wiphy);
4571void cfg80211_sched_scan_results(struct wiphy *wiphy, u64 reqid);
4569
4570/**
4571 * cfg80211_sched_scan_stopped - notify that the scheduled scan has stopped
4572 *
4573 * @wiphy: the wiphy on which the scheduled scan stopped
4572
4573/**
4574 * cfg80211_sched_scan_stopped - notify that the scheduled scan has stopped
4575 *
4576 * @wiphy: the wiphy on which the scheduled scan stopped
4577 * @reqid: identifier for the related scheduled scan request
4574 *
4575 * The driver can call this function to inform cfg80211 that the
4576 * scheduled scan had to be stopped, for whatever reason. The driver
4577 * is then called back via the sched_scan_stop operation when done.
4578 */
4578 *
4579 * The driver can call this function to inform cfg80211 that the
4580 * scheduled scan had to be stopped, for whatever reason. The driver
4581 * is then called back via the sched_scan_stop operation when done.
4582 */
4579void cfg80211_sched_scan_stopped(struct wiphy *wiphy);
4583void cfg80211_sched_scan_stopped(struct wiphy *wiphy, u64 reqid);
4580
4581/**
4582 * cfg80211_sched_scan_stopped_rtnl - notify that the scheduled scan has stopped
4583 *
4584 * @wiphy: the wiphy on which the scheduled scan stopped
4584
4585/**
4586 * cfg80211_sched_scan_stopped_rtnl - notify that the scheduled scan has stopped
4587 *
4588 * @wiphy: the wiphy on which the scheduled scan stopped
4589 * @reqid: identifier for the related scheduled scan request
4585 *
4586 * The driver can call this function to inform cfg80211 that the
4587 * scheduled scan had to be stopped, for whatever reason. The driver
4588 * is then called back via the sched_scan_stop operation when done.
4589 * This function should be called with rtnl locked.
4590 */
4590 *
4591 * The driver can call this function to inform cfg80211 that the
4592 * scheduled scan had to be stopped, for whatever reason. The driver
4593 * is then called back via the sched_scan_stop operation when done.
4594 * This function should be called with rtnl locked.
4595 */
4591void cfg80211_sched_scan_stopped_rtnl(struct wiphy *wiphy);
4596void cfg80211_sched_scan_stopped_rtnl(struct wiphy *wiphy, u64 reqid);
4592
4593/**
4594 * cfg80211_inform_bss_frame_data - inform cfg80211 of a received BSS frame
4595 * @wiphy: the wiphy reporting the BSS
4596 * @data: the BSS metadata
4597 * @mgmt: the management frame (probe response or beacon)
4598 * @len: length of the management frame
4599 * @gfp: context flags

--- 1589 unchanged lines hidden ---
4597
4598/**
4599 * cfg80211_inform_bss_frame_data - inform cfg80211 of a received BSS frame
4600 * @wiphy: the wiphy reporting the BSS
4601 * @data: the BSS metadata
4602 * @mgmt: the management frame (probe response or beacon)
4603 * @len: length of the management frame
4604 * @gfp: context flags

--- 1589 unchanged lines hidden ---