aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/mac80211.h
diff options
context:
space:
mode:
authorJohn W. Linville <linville@tuxdriver.com>2010-05-05 16:14:16 -0400
committerJohn W. Linville <linville@tuxdriver.com>2010-05-05 16:14:16 -0400
commit83163244f845c296a118ce85c653872dbff6abfe (patch)
treece2eac695a1c198f23d537e20ed86c16ece21f7e /include/net/mac80211.h
parent0a12761bcd5646691c5d16dd93df84d1b8849285 (diff)
parentadfba3c7c026a6a5560d2a43fefc9b198cb74462 (diff)
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 into for-davem
Conflicts: drivers/net/wireless/libertas_tf/cmd.c drivers/net/wireless/libertas_tf/main.c
Diffstat (limited to 'include/net/mac80211.h')
-rw-r--r--include/net/mac80211.h21
1 files changed, 11 insertions, 10 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h
index 78908b516f42..54aa16b98b76 100644
--- a/include/net/mac80211.h
+++ b/include/net/mac80211.h
@@ -145,6 +145,7 @@ struct ieee80211_low_level_stats {
145 * @BSS_CHANGED_BEACON_ENABLED: Beaconing should be 145 * @BSS_CHANGED_BEACON_ENABLED: Beaconing should be
146 * enabled/disabled (beaconing modes) 146 * enabled/disabled (beaconing modes)
147 * @BSS_CHANGED_CQM: Connection quality monitor config changed 147 * @BSS_CHANGED_CQM: Connection quality monitor config changed
148 * @BSS_CHANGED_IBSS: IBSS join status changed
148 */ 149 */
149enum ieee80211_bss_change { 150enum ieee80211_bss_change {
150 BSS_CHANGED_ASSOC = 1<<0, 151 BSS_CHANGED_ASSOC = 1<<0,
@@ -158,6 +159,7 @@ enum ieee80211_bss_change {
158 BSS_CHANGED_BEACON = 1<<8, 159 BSS_CHANGED_BEACON = 1<<8,
159 BSS_CHANGED_BEACON_ENABLED = 1<<9, 160 BSS_CHANGED_BEACON_ENABLED = 1<<9,
160 BSS_CHANGED_CQM = 1<<10, 161 BSS_CHANGED_CQM = 1<<10,
162 BSS_CHANGED_IBSS = 1<<11,
161}; 163};
162 164
163/** 165/**
@@ -167,6 +169,8 @@ enum ieee80211_bss_change {
167 * to that BSS) that can change during the lifetime of the BSS. 169 * to that BSS) that can change during the lifetime of the BSS.
168 * 170 *
169 * @assoc: association status 171 * @assoc: association status
172 * @ibss_joined: indicates whether this station is part of an IBSS
173 * or not
170 * @aid: association ID number, valid only when @assoc is true 174 * @aid: association ID number, valid only when @assoc is true
171 * @use_cts_prot: use CTS protection 175 * @use_cts_prot: use CTS protection
172 * @use_short_preamble: use 802.11b short preamble; 176 * @use_short_preamble: use 802.11b short preamble;
@@ -194,7 +198,7 @@ enum ieee80211_bss_change {
194struct ieee80211_bss_conf { 198struct ieee80211_bss_conf {
195 const u8 *bssid; 199 const u8 *bssid;
196 /* association related data */ 200 /* association related data */
197 bool assoc; 201 bool assoc, ibss_joined;
198 u16 aid; 202 u16 aid;
199 /* erp related data */ 203 /* erp related data */
200 bool use_cts_prot; 204 bool use_cts_prot;
@@ -556,7 +560,6 @@ enum mac80211_rx_flags {
556 * @signal: signal strength when receiving this frame, either in dBm, in dB or 560 * @signal: signal strength when receiving this frame, either in dBm, in dB or
557 * unspecified depending on the hardware capabilities flags 561 * unspecified depending on the hardware capabilities flags
558 * @IEEE80211_HW_SIGNAL_* 562 * @IEEE80211_HW_SIGNAL_*
559 * @noise: noise when receiving this frame, in dBm (DEPRECATED).
560 * @antenna: antenna used 563 * @antenna: antenna used
561 * @rate_idx: index of data rate into band's supported rates or MCS index if 564 * @rate_idx: index of data rate into band's supported rates or MCS index if
562 * HT rates are use (RX_FLAG_HT) 565 * HT rates are use (RX_FLAG_HT)
@@ -567,7 +570,6 @@ struct ieee80211_rx_status {
567 enum ieee80211_band band; 570 enum ieee80211_band band;
568 int freq; 571 int freq;
569 int signal; 572 int signal;
570 int noise __deprecated;
571 int antenna; 573 int antenna;
572 int rate_idx; 574 int rate_idx;
573 int flag; 575 int flag;
@@ -668,6 +670,9 @@ enum ieee80211_smps_mode {
668 * @dynamic_ps_timeout: The dynamic powersave timeout (in ms), see the 670 * @dynamic_ps_timeout: The dynamic powersave timeout (in ms), see the
669 * powersave documentation below. This variable is valid only when 671 * powersave documentation below. This variable is valid only when
670 * the CONF_PS flag is set. 672 * the CONF_PS flag is set.
673 * @dynamic_ps_forced_timeout: The dynamic powersave timeout (in ms) configured
674 * by cfg80211 (essentially, wext) If set, this value overrules the value
675 * chosen by mac80211 based on ps qos network latency.
671 * 676 *
672 * @power_level: requested transmit power (in dBm) 677 * @power_level: requested transmit power (in dBm)
673 * 678 *
@@ -687,7 +692,7 @@ enum ieee80211_smps_mode {
687 */ 692 */
688struct ieee80211_conf { 693struct ieee80211_conf {
689 u32 flags; 694 u32 flags;
690 int power_level, dynamic_ps_timeout; 695 int power_level, dynamic_ps_timeout, dynamic_ps_forced_timeout;
691 int max_sleep_period; 696 int max_sleep_period;
692 697
693 u16 listen_interval; 698 u16 listen_interval;
@@ -927,10 +932,6 @@ enum ieee80211_tkip_key_type {
927 * one milliwatt. This is the preferred method since it is standardized 932 * one milliwatt. This is the preferred method since it is standardized
928 * between different devices. @max_signal does not need to be set. 933 * between different devices. @max_signal does not need to be set.
929 * 934 *
930 * @IEEE80211_HW_NOISE_DBM:
931 * Hardware can provide noise (radio interference) values in units dBm,
932 * decibel difference from one milliwatt.
933 *
934 * @IEEE80211_HW_SPECTRUM_MGMT: 935 * @IEEE80211_HW_SPECTRUM_MGMT:
935 * Hardware supports spectrum management defined in 802.11h 936 * Hardware supports spectrum management defined in 802.11h
936 * Measurement, Channel Switch, Quieting, TPC 937 * Measurement, Channel Switch, Quieting, TPC
@@ -994,7 +995,7 @@ enum ieee80211_hw_flags {
994 IEEE80211_HW_2GHZ_SHORT_PREAMBLE_INCAPABLE = 1<<4, 995 IEEE80211_HW_2GHZ_SHORT_PREAMBLE_INCAPABLE = 1<<4,
995 IEEE80211_HW_SIGNAL_UNSPEC = 1<<5, 996 IEEE80211_HW_SIGNAL_UNSPEC = 1<<5,
996 IEEE80211_HW_SIGNAL_DBM = 1<<6, 997 IEEE80211_HW_SIGNAL_DBM = 1<<6,
997 IEEE80211_HW_NOISE_DBM = 1<<7, 998 /* use this hole */
998 IEEE80211_HW_SPECTRUM_MGMT = 1<<8, 999 IEEE80211_HW_SPECTRUM_MGMT = 1<<8,
999 IEEE80211_HW_AMPDU_AGGREGATION = 1<<9, 1000 IEEE80211_HW_AMPDU_AGGREGATION = 1<<9,
1000 IEEE80211_HW_SUPPORTS_PS = 1<<10, 1001 IEEE80211_HW_SUPPORTS_PS = 1<<10,
@@ -1654,7 +1655,7 @@ struct ieee80211_ops {
1654 struct ieee80211_key_conf *conf, 1655 struct ieee80211_key_conf *conf,
1655 struct ieee80211_sta *sta, 1656 struct ieee80211_sta *sta,
1656 u32 iv32, u16 *phase1key); 1657 u32 iv32, u16 *phase1key);
1657 int (*hw_scan)(struct ieee80211_hw *hw, 1658 int (*hw_scan)(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
1658 struct cfg80211_scan_request *req); 1659 struct cfg80211_scan_request *req);
1659 void (*sw_scan_start)(struct ieee80211_hw *hw); 1660 void (*sw_scan_start)(struct ieee80211_hw *hw);
1660 void (*sw_scan_complete)(struct ieee80211_hw *hw); 1661 void (*sw_scan_complete)(struct ieee80211_hw *hw);