aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/wl12xx/wl1271.h
diff options
context:
space:
mode:
authorJuuso Oikarinen <juuso.oikarinen@nokia.com>2009-12-11 08:41:06 -0500
committerJohn W. Linville <linville@tuxdriver.com>2009-12-28 16:31:35 -0500
commit830fb67b8e37fb03cf703b4e1217fe30ce32d579 (patch)
tree475d121a2ac44bcf33e6bb82f8011a53ddbb56a8 /drivers/net/wireless/wl12xx/wl1271.h
parentec078d943b89c03e55ac9c8b28f39256d4d4045e (diff)
wl1271: Fix supported rate management
Previously, only basic rates were used for data transmission - resulting in reduced transfer rates. This patch takes enables the firmware to take advantage of the full set of data rates supported by the AP. Signed-off-by: Juuso Oikarinen <juuso.oikarinen@nokia.com> Reviewed-by: Luciano Coelho <luciano.coelho@nokia.com> Signed-off-by: Luciano Coelho <luciano.coelho@nokia.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/wl1271.h')
-rw-r--r--drivers/net/wireless/wl12xx/wl1271.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/net/wireless/wl12xx/wl1271.h b/drivers/net/wireless/wl12xx/wl1271.h
index c965c4a718f3..9290c92522b4 100644
--- a/drivers/net/wireless/wl12xx/wl1271.h
+++ b/drivers/net/wireless/wl12xx/wl1271.h
@@ -322,6 +322,10 @@ struct wl1271 {
322 enum wl1271_state state; 322 enum wl1271_state state;
323 struct mutex mutex; 323 struct mutex mutex;
324 324
325#define WL1271_FLAG_STA_RATES_CHANGED (0)
326#define WL1271_FLAG_STA_ASSOCIATED (1)
327 unsigned long flags;
328
325 struct wl1271_partition_set part; 329 struct wl1271_partition_set part;
326 330
327 struct wl1271_chip chip; 331 struct wl1271_chip chip;
@@ -394,7 +398,9 @@ struct wl1271 {
394 u16 aid; 398 u16 aid;
395 399
396 /* currently configured rate set */ 400 /* currently configured rate set */
401 u32 sta_rate_set;
397 u32 basic_rate_set; 402 u32 basic_rate_set;
403 u32 rate_set;
398 404
399 /* The current band */ 405 /* The current band */
400 enum ieee80211_band band; 406 enum ieee80211_band band;
@@ -416,7 +422,6 @@ struct wl1271 {
416 422
417 /* PSM mode requested */ 423 /* PSM mode requested */
418 bool psm_requested; 424 bool psm_requested;
419 bool associated;
420 425
421 /* retry counter for PSM entries */ 426 /* retry counter for PSM entries */
422 u8 psm_entry_retry; 427 u8 psm_entry_retry;