diff options
author | Shahar Levi | 2010-10-13 16:09:39 +0200 |
---|---|---|
committer | John W. Linville | 2010-11-15 19:25:09 +0100 |
commit | e8b03a2b8debc6056f6f43d24f98f601097301a1 (patch) | |
tree | 7be9ef063b952ad910243492666c146bd243cd57 /drivers/net/wireless/wl12xx/wl1271.h | |
parent | wl1271: Fix TX queue low watermark handling (diff) | |
download | kernel-qcow2-linux-e8b03a2b8debc6056f6f43d24f98f601097301a1.tar.gz kernel-qcow2-linux-e8b03a2b8debc6056f6f43d24f98f601097301a1.tar.xz kernel-qcow2-linux-e8b03a2b8debc6056f6f43d24f98f601097301a1.zip |
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 { /* Our association ID */ u16 aid; - /* currently configured rate set */ + /* + * currently configured rate set: + * bits 0-15 - 802.11abg rates + * bits 16-23 - 802.11n MCS index mask + * support only 1 stream, thus only 8 bits for the MCS rates (0-7). + */ u32 sta_rate_set; u32 basic_rate_set; u32 basic_rate; @@ -511,4 +516,8 @@ int wl1271_plt_stop(struct wl1271 *wl); #define WL1271_PRE_POWER_ON_SLEEP 20 /* in miliseconds */ #define WL1271_POWER_ON_SLEEP 200 /* in miliseconds */ +/* Macros to handle wl1271.sta_rate_set */ +#define HW_BG_RATES_MASK 0xffff +#define HW_HT_RATES_OFFSET 16 + #endif |