From: Lennert Buytenhek Date: Tue, 12 Jan 2010 12:49:15 +0000 (+0100) Subject: mwl8k: handle 5 GHz legacy rate bitmaps in firmware commands X-Git-Tag: v2.6.34-rc1~233^2~556^2~56 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8707d0262585423cdc053bf8db0912e53915e5e4;p=pandora-kernel.git mwl8k: handle 5 GHz legacy rate bitmaps in firmware commands Whenever mac80211 gives us a legacy rate bitmap in the context of the 5 GHz band, we need to remember to shift the bitmap left by 5 positions before giving it to the firmware, as the firmware follows the bitmap bit assignment of the 2.4 GHz rate table even if we're on the 5 GHz band, and the 2.4 GHz rate table includes five non-OFDM rates at the start that are not valid in the 5 GHz band. Signed-off-by: Lennert Buytenhek Signed-off-by: John W. Linville --- Reading git-diff-tree failed