diff options
author | Arik Nemtsov <arik@wizery.com> | 2012-05-10 12:13:33 +0300 |
---|---|---|
committer | Luciano Coelho <coelho@ti.com> | 2012-06-05 15:55:40 +0300 |
commit | b3a47ee0ec07b16f68c38052e8cd1b5cb417bdca (patch) | |
tree | 15e6d165143e4b0ac8e59aa01d0adfcf23c50a3f /drivers/net/wireless/ti/wlcore/tx.c | |
parent | f13af3484f04f61794d90dbdab28df8bf8b9d667 (diff) | |
download | op-kernel-dev-b3a47ee0ec07b16f68c38052e8cd1b5cb417bdca.zip op-kernel-dev-b3a47ee0ec07b16f68c38052e8cd1b5cb417bdca.tar.gz |
wlcore: support peer MIMO rates
Parse the peer ht_cap element containing MCS8-MCS15 rates and pass it
to the FW. Rates unsupported by the HW will be sanitized by mac80211
before reaching us.
Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'drivers/net/wireless/ti/wlcore/tx.c')
-rw-r--r-- | drivers/net/wireless/ti/wlcore/tx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/ti/wlcore/tx.c b/drivers/net/wireless/ti/wlcore/tx.c index 44e4e7b..200d091 100644 --- a/drivers/net/wireless/ti/wlcore/tx.c +++ b/drivers/net/wireless/ti/wlcore/tx.c @@ -428,10 +428,10 @@ u32 wl1271_tx_enabled_rates_get(struct wl1271 *wl, u32 rate_set, rate_set >>= 1; } - /* MCS rates indication are on bits 16 - 23 */ + /* MCS rates indication are on bits 16 - 31 */ rate_set >>= HW_HT_RATES_OFFSET - band->n_bitrates; - for (bit = 0; bit < 8; bit++) { + for (bit = 0; bit < 16; bit++) { if (rate_set & 0x1) enabled_rates |= (CONF_HW_BIT_RATE_MCS_0 << bit); rate_set >>= 1; |