iwl3945: place CCK rates in front of OFDM for supported rates
authorMohamed Abbas <mabbas@linux.intel.com>
Mon, 12 Nov 2007 03:37:42 +0000 (11:37 +0800)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 15 Nov 2007 02:16:46 +0000 (21:16 -0500)
commit14577f239fe5193d556ef1471c8667dabd556418
tree1b6c69370bcb0f3b83d492c304471e7d80a921c0
parenta0af5f14542a2e0687f95e093a33ea7301fe8cc5
iwl3945: place CCK rates in front of OFDM for supported rates

The patch fixes association failure (reason = 18) bug by arranging CCK
rates before OFDM rates. This patch will register with mac80211 the
modified rate arrangement with CCK rate first. Change rate scale algorithm
also to deal with rate change. Fix Txpower and rate Table commands to be
constructed correctly after rearrangement.

Signed-off-by: Mohamed Abbas <mabbas@linux.intel.com>
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-3945-rs.c
drivers/net/wireless/iwlwifi/iwl-3945-rs.h
drivers/net/wireless/iwlwifi/iwl-3945.c
drivers/net/wireless/iwlwifi/iwl3945-base.c