aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/mac80211.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/mac80211.h')
-rw-r--r--include/net/mac80211.h28
1 files changed, 12 insertions, 16 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h
index 53856003aa18..1b8ed421feaa 100644
--- a/include/net/mac80211.h
+++ b/include/net/mac80211.h
@@ -74,11 +74,19 @@
74 */ 74 */
75 75
76/** 76/**
77 * enum ieee80211_notification_type - Low level driver notification 77 * struct ieee80211_ht_bss_info - describing BSS's HT characteristics
78 * @IEEE80211_NOTIFY_RE_ASSOC: start the re-association sequence 78 *
79 * This structure describes most essential parameters needed
80 * to describe 802.11n HT characteristics in a BSS.
81 *
82 * @primary_channel: channel number of primery channel
83 * @bss_cap: 802.11n's general BSS capabilities (e.g. channel width)
84 * @bss_op_mode: 802.11n's BSS operation modes (e.g. HT protection)
79 */ 85 */
80enum ieee80211_notification_types { 86struct ieee80211_ht_bss_info {
81 IEEE80211_NOTIFY_RE_ASSOC, 87 u8 primary_channel;
88 u8 bss_cap; /* use IEEE80211_HT_IE_CHA_ */
89 u8 bss_op_mode; /* use IEEE80211_HT_IE_ */
82}; 90};
83 91
84/** 92/**
@@ -1855,18 +1863,6 @@ void ieee80211_stop_tx_ba_cb_irqsafe(struct ieee80211_hw *hw, const u8 *ra,
1855 u16 tid); 1863 u16 tid);
1856 1864
1857/** 1865/**
1858 * ieee80211_notify_mac - low level driver notification
1859 * @hw: pointer as obtained from ieee80211_alloc_hw().
1860 * @notif_type: enum ieee80211_notification_types
1861 *
1862 * This function must be called by low level driver to inform mac80211 of
1863 * low level driver status change or force mac80211 to re-assoc for low
1864 * level driver internal error that require re-assoc.
1865 */
1866void ieee80211_notify_mac(struct ieee80211_hw *hw,
1867 enum ieee80211_notification_types notif_type);
1868
1869/**
1870 * ieee80211_find_sta - find a station 1866 * ieee80211_find_sta - find a station
1871 * 1867 *
1872 * @hw: pointer as obtained from ieee80211_alloc_hw() 1868 * @hw: pointer as obtained from ieee80211_alloc_hw()