iwlagn: fix agn rate scaling
authorMohamed Abbas <mohamed.abbas@intel.com>
Fri, 12 Dec 2008 16:22:15 +0000 (08:22 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 19 Dec 2008 20:23:10 +0000 (15:23 -0500)
commitd5e490362feb648048ef20db9b0b2531d5425775
treed7e3147748bfb7a6c9bd82fdc350f0a80e60153b
parentb8d476c8cb64a1640d8762aa442b8a73fa74b7d5
iwlagn: fix agn rate scaling

    Rate scaling in agn can be broken because of these two problems
    1- the LQ command could not sent, we try to call LQ command before
       post association will be rejected, this will cause the driver to
       break in rs_tx_status reporting initial rate does not match.
    2- In rs_rate_init we can get a value of 12, rate 60, for
       last_txrate_idx, this rate only valid in SISO/MIMO mode only

Signed-off-by: Mohamed Abbas <mohamed.abbas@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-agn-rs.c