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)
commitb503ed603ec9acc25dd31808fe87575bdaeab4e7
treedb641b050fa0db8cb881c22af4fedee72e927fc1
parente0456717e483bb8a9431b80a5bdc99a928b9b003
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
This page took 0.027466 seconds and 5 git commands to generate.