diff options
author | Lennert Buytenhek <buytenh@wantstofly.org> | 2010-01-12 13:48:56 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-01-12 14:21:15 -0500 |
commit | 854783444bab0024556c0aefdb0a860f2f1da286 (patch) | |
tree | ab03e580902c04e6d0b69a7cffedc1cf14399eb4 /drivers/net/macmace.c | |
parent | 4eae9edd38c0a9ce34e39100ccc69ff520bc1224 (diff) |
mwl8k: properly set receive status rate index on 5 GHz receive
The mwl8k firmware uses indices into the 2.4 GHz band rate table for
the receive descriptor channel field even if the packet was received
on a 5 GHz channel, while mac80211 expects an index into the 5 GHz
band rate table when packets are received on the 5 GHz band, which
presents a mismatch as the 5 GHz band rate table lacks the five
non-OFDM rates that the 2.4 GHz rate table starts with.
To handle this properly, we need to substract 5 from the rate index
field if the packet was received on a 5 GHz channel (and was not
received at an MCS rate).
Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/macmace.c')
0 files changed, 0 insertions, 0 deletions