iwl3945 : fix rate scaling
authorAbhijeet Kolekar <abhijeet.kolekar@intel.com>
Wed, 11 Mar 2009 18:17:56 +0000 (11:17 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 16 Mar 2009 22:09:46 +0000 (18:09 -0400)
commitdd5b687edacab6cfacf7b9983e86a60c0612e994
tree9c6458bfe9e40666d5ca5e69b38496dae14b565c
parent5c8df2d56a160a31386ee7807adfc1c74e826535
iwl3945 : fix rate scaling

Patch fixes the bug 1900 at
http://www.intellinuxwireless.org/bugzilla/show_bug.cgi?id=1900

Issues:
Throughput and success ratio calculations were not done properly.
Number of retries were exceeding 16.

Fix:
Patch fixes above issues by doing window calculations inline with iwlwifi
Patch adds sanity check to limit number of retries to 16.

Signed-off-by: Abhijeet Kolekar <abhijeet.kolekar@intel.com>
Acked-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-3945-rs.c