]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - drivers/net/wireless/intel/iwlwifi/mvm/rs.c
iwlwifi: mvm: rs: fix mapping from HT/VHT rates to legacy
authorEyal Shapira <eyal@wizery.com>
Thu, 28 Nov 2013 10:27:03 +0000 (12:27 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 9 Dec 2013 20:29:48 +0000 (22:29 +0200)
commitda87d7d5e787d35a85ab821888e2f0e115dc18cc
tree96c38753c40ca0b1d062225baaac6e7b1a6a3612
parent809bccfa313e4703b64572986fce6321fb0c039f
iwlwifi: mvm: rs: fix mapping from HT/VHT rates to legacy

The table rs_ht_to_legacy is used to get the next legacy rate
following the last HT or VHT rate in the LQ rates table.
The mapping wasn't correct as well as didn't include entries
for MCS8/9 which led to out of bounds access. This didn't
trigger a crash but led to legacy rate entries using 1Mbps
rate.
In 5Ghz this probably caused the Tx to fail completely given
that Tx attempt would have reached the legacy entries and 1Mbps
isn't valid.

Signed-off-by: Eyal Shapira <eyal@wizery.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/rs.c