diff options
author | Shahar Levi <shahar_levi@ti.com> | 2010-10-13 10:09:39 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-11-15 13:25:09 -0500 |
commit | e8b03a2b8debc6056f6f43d24f98f601097301a1 (patch) | |
tree | 7be9ef063b952ad910243492666c146bd243cd57 /drivers/net/wireless/wl12xx/wl1271.h | |
parent | 2fe33e8cff354a3f320549544bffebbbab680145 (diff) |
wl1271: 11n Support, Add Definitions
Two acx commands: ht_capabilities & ht_information, 11n sta capabilities
macro.
Signed-off-by: Shahar Levi <shahar_levi@ti.com>
Reviewed-by: Luciano Coelho <luciano.coelho@nokia.com>
Signed-off-by: Luciano Coelho <luciano.coelho@nokia.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/wl1271.h')
-rw-r--r-- | drivers/net/wireless/wl12xx/wl1271.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/drivers/net/wireless/wl12xx/wl1271.h b/drivers/net/wireless/wl12xx/wl1271.h index 718e96d97d0b..ab53162b4343 100644 --- a/drivers/net/wireless/wl12xx/wl1271.h +++ b/drivers/net/wireless/wl12xx/wl1271.h | |||
@@ -434,7 +434,12 @@ struct wl1271 { | |||
434 | /* Our association ID */ | 434 | /* Our association ID */ |
435 | u16 aid; | 435 | u16 aid; |
436 | 436 | ||
437 | /* currently configured rate set */ | 437 | /* |
438 | * currently configured rate set: | ||
439 | * bits 0-15 - 802.11abg rates | ||
440 | * bits 16-23 - 802.11n MCS index mask | ||
441 | * support only 1 stream, thus only 8 bits for the MCS rates (0-7). | ||
442 | */ | ||
438 | u32 sta_rate_set; | 443 | u32 sta_rate_set; |
439 | u32 basic_rate_set; | 444 | u32 basic_rate_set; |
440 | u32 basic_rate; | 445 | u32 basic_rate; |
@@ -511,4 +516,8 @@ int wl1271_plt_stop(struct wl1271 *wl); | |||
511 | #define WL1271_PRE_POWER_ON_SLEEP 20 /* in miliseconds */ | 516 | #define WL1271_PRE_POWER_ON_SLEEP 20 /* in miliseconds */ |
512 | #define WL1271_POWER_ON_SLEEP 200 /* in miliseconds */ | 517 | #define WL1271_POWER_ON_SLEEP 200 /* in miliseconds */ |
513 | 518 | ||
519 | /* Macros to handle wl1271.sta_rate_set */ | ||
520 | #define HW_BG_RATES_MASK 0xffff | ||
521 | #define HW_HT_RATES_OFFSET 16 | ||
522 | |||
514 | #endif | 523 | #endif |