]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: rs: report last tx rate based on RSSI and caps
authorEyal Shapira <eyal@wizery.com>
Wed, 27 May 2015 19:20:46 +0000 (22:20 +0300)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Fri, 26 Jun 2015 06:00:24 +0000 (09:00 +0300)
commit634fb2f3bad55d0fa1547452a5962f013fd071ee
treedb641b050fa0db8cb881c22af4fedee72e927fc1
parentdcbff2957825258b8d3082a03026cef93786b2c3
iwlwifi: mvm: rs: report last tx rate based on RSSI and caps

In scenarios where we haven't converged yet to a specific modulation
and rate it could be better to report to userspace the last tx rate
based on the STA capabilities and RSSI. This is important as sometimes
userspace displays the last tx rate as the link speed.
This avoids being presented with low legacy rates when rs just begins
its search or after an idle period in which it resets itself.

Signed-off-by: Eyal Shapira <eyalx.shapira@intel.com>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/rs.c
drivers/net/wireless/iwlwifi/mvm/rs.h