aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/cfg80211.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/cfg80211.h')
-rw-r--r--include/net/cfg80211.h17
1 files changed, 15 insertions, 2 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h
index fb94a8bd8ab5..81174f9b8d14 100644
--- a/include/net/cfg80211.h
+++ b/include/net/cfg80211.h
@@ -1775,6 +1775,8 @@ enum cfg80211_signal_type {
1775 * by %parent_bssid. 1775 * by %parent_bssid.
1776 * @parent_bssid: the BSS according to which %parent_tsf is set. This is set to 1776 * @parent_bssid: the BSS according to which %parent_tsf is set. This is set to
1777 * the BSS that requested the scan in which the beacon/probe was received. 1777 * the BSS that requested the scan in which the beacon/probe was received.
1778 * @chains: bitmask for filled values in @chain_signal.
1779 * @chain_signal: per-chain signal strength of last received BSS in dBm.
1778 */ 1780 */
1779struct cfg80211_inform_bss { 1781struct cfg80211_inform_bss {
1780 struct ieee80211_channel *chan; 1782 struct ieee80211_channel *chan;
@@ -1783,6 +1785,8 @@ struct cfg80211_inform_bss {
1783 u64 boottime_ns; 1785 u64 boottime_ns;
1784 u64 parent_tsf; 1786 u64 parent_tsf;
1785 u8 parent_bssid[ETH_ALEN] __aligned(2); 1787 u8 parent_bssid[ETH_ALEN] __aligned(2);
1788 u8 chains;
1789 s8 chain_signal[IEEE80211_MAX_CHAINS];
1786}; 1790};
1787 1791
1788/** 1792/**
@@ -1826,6 +1830,8 @@ struct cfg80211_bss_ies {
1826 * that holds the beacon data. @beacon_ies is still valid, of course, and 1830 * that holds the beacon data. @beacon_ies is still valid, of course, and
1827 * points to the same data as hidden_beacon_bss->beacon_ies in that case. 1831 * points to the same data as hidden_beacon_bss->beacon_ies in that case.
1828 * @signal: signal strength value (type depends on the wiphy's signal_type) 1832 * @signal: signal strength value (type depends on the wiphy's signal_type)
1833 * @chains: bitmask for filled values in @chain_signal.
1834 * @chain_signal: per-chain signal strength of last received BSS in dBm.
1829 * @priv: private area for driver use, has at least wiphy->bss_priv_size bytes 1835 * @priv: private area for driver use, has at least wiphy->bss_priv_size bytes
1830 */ 1836 */
1831struct cfg80211_bss { 1837struct cfg80211_bss {
@@ -1844,6 +1850,8 @@ struct cfg80211_bss {
1844 u16 capability; 1850 u16 capability;
1845 1851
1846 u8 bssid[ETH_ALEN]; 1852 u8 bssid[ETH_ALEN];
1853 u8 chains;
1854 s8 chain_signal[IEEE80211_MAX_CHAINS];
1847 1855
1848 u8 priv[0] __aligned(sizeof(void *)); 1856 u8 priv[0] __aligned(sizeof(void *));
1849}; 1857};
@@ -2023,6 +2031,9 @@ struct cfg80211_disassoc_request {
2023 * @ht_capa: HT Capabilities over-rides. Values set in ht_capa_mask 2031 * @ht_capa: HT Capabilities over-rides. Values set in ht_capa_mask
2024 * will be used in ht_capa. Un-supported values will be ignored. 2032 * will be used in ht_capa. Un-supported values will be ignored.
2025 * @ht_capa_mask: The bits of ht_capa which are to be used. 2033 * @ht_capa_mask: The bits of ht_capa which are to be used.
2034 * @wep_keys: static WEP keys, if not NULL points to an array of
2035 * CFG80211_MAX_WEP_KEYS WEP keys
2036 * @wep_tx_key: key index (0..3) of the default TX static WEP key
2026 */ 2037 */
2027struct cfg80211_ibss_params { 2038struct cfg80211_ibss_params {
2028 const u8 *ssid; 2039 const u8 *ssid;
@@ -2039,6 +2050,8 @@ struct cfg80211_ibss_params {
2039 int mcast_rate[NUM_NL80211_BANDS]; 2050 int mcast_rate[NUM_NL80211_BANDS];
2040 struct ieee80211_ht_cap ht_capa; 2051 struct ieee80211_ht_cap ht_capa;
2041 struct ieee80211_ht_cap ht_capa_mask; 2052 struct ieee80211_ht_cap ht_capa_mask;
2053 struct key_params *wep_keys;
2054 int wep_tx_key;
2042}; 2055};
2043 2056
2044/** 2057/**
@@ -5577,7 +5590,7 @@ void cfg80211_conn_failed(struct net_device *dev, const u8 *mac_addr,
5577 * cfg80211_rx_mgmt - notification of received, unprocessed management frame 5590 * cfg80211_rx_mgmt - notification of received, unprocessed management frame
5578 * @wdev: wireless device receiving the frame 5591 * @wdev: wireless device receiving the frame
5579 * @freq: Frequency on which the frame was received in MHz 5592 * @freq: Frequency on which the frame was received in MHz
5580 * @sig_dbm: signal strength in mBm, or 0 if unknown 5593 * @sig_dbm: signal strength in dBm, or 0 if unknown
5581 * @buf: Management frame (header + body) 5594 * @buf: Management frame (header + body)
5582 * @len: length of the frame data 5595 * @len: length of the frame data
5583 * @flags: flags, as defined in enum nl80211_rxmgmt_flags 5596 * @flags: flags, as defined in enum nl80211_rxmgmt_flags
@@ -5756,7 +5769,7 @@ void cfg80211_probe_status(struct net_device *dev, const u8 *addr,
5756 * @frame: the frame 5769 * @frame: the frame
5757 * @len: length of the frame 5770 * @len: length of the frame
5758 * @freq: frequency the frame was received on 5771 * @freq: frequency the frame was received on
5759 * @sig_dbm: signal strength in mBm, or 0 if unknown 5772 * @sig_dbm: signal strength in dBm, or 0 if unknown
5760 * 5773 *
5761 * Use this function to report to userspace when a beacon was 5774 * Use this function to report to userspace when a beacon was
5762 * received. It is not useful to call this when there is no 5775 * received. It is not useful to call this when there is no