aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2008-09-10 18:01:57 -0400
committerJohn W. Linville <linville@tuxdriver.com>2008-09-15 16:48:22 -0400
commit96dd22ac06b0dbfb069fdf530c72046a941e9694 (patch)
tree4dbf19921a1d4add0ca03a0ff1d7db37c4ecb8be /include
parentccd7b36286f8c42b3fa95c5a8d402162ffab41df (diff)
mac80211: inform driver of basic rateset
Drivers need to know the basic rateset to be able to configure the ACK/CTS programming in hardware correctly. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include')
-rw-r--r--include/net/mac80211.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h
index d67882dd3604..c81e579c17f3 100644
--- a/include/net/mac80211.h
+++ b/include/net/mac80211.h
@@ -160,6 +160,7 @@ struct ieee80211_low_level_stats {
160 * @BSS_CHANGED_ERP_PREAMBLE: preamble changed 160 * @BSS_CHANGED_ERP_PREAMBLE: preamble changed
161 * @BSS_CHANGED_ERP_SLOT: slot timing changed 161 * @BSS_CHANGED_ERP_SLOT: slot timing changed
162 * @BSS_CHANGED_HT: 802.11n parameters changed 162 * @BSS_CHANGED_HT: 802.11n parameters changed
163 * @BSS_CHANGED_BASIC_RATES: Basic rateset changed
163 */ 164 */
164enum ieee80211_bss_change { 165enum ieee80211_bss_change {
165 BSS_CHANGED_ASSOC = 1<<0, 166 BSS_CHANGED_ASSOC = 1<<0,
@@ -167,6 +168,7 @@ enum ieee80211_bss_change {
167 BSS_CHANGED_ERP_PREAMBLE = 1<<2, 168 BSS_CHANGED_ERP_PREAMBLE = 1<<2,
168 BSS_CHANGED_ERP_SLOT = 1<<3, 169 BSS_CHANGED_ERP_SLOT = 1<<3,
169 BSS_CHANGED_HT = 1<<4, 170 BSS_CHANGED_HT = 1<<4,
171 BSS_CHANGED_BASIC_RATES = 1<<5,
170}; 172};
171 173
172/** 174/**
@@ -187,6 +189,9 @@ enum ieee80211_bss_change {
187 * @assoc_ht: association in HT mode 189 * @assoc_ht: association in HT mode
188 * @ht_conf: ht capabilities 190 * @ht_conf: ht capabilities
189 * @ht_bss_conf: ht extended capabilities 191 * @ht_bss_conf: ht extended capabilities
192 * @basic_rates: bitmap of basic rates, each bit stands for an
193 * index into the rate table configured by the driver in
194 * the current band.
190 */ 195 */
191struct ieee80211_bss_conf { 196struct ieee80211_bss_conf {
192 /* association related data */ 197 /* association related data */
@@ -200,6 +205,7 @@ struct ieee80211_bss_conf {
200 u16 beacon_int; 205 u16 beacon_int;
201 u16 assoc_capability; 206 u16 assoc_capability;
202 u64 timestamp; 207 u64 timestamp;
208 u64 basic_rates;
203 /* ht related data */ 209 /* ht related data */
204 bool assoc_ht; 210 bool assoc_ht;
205 struct ieee80211_ht_info *ht_conf; 211 struct ieee80211_ht_info *ht_conf;