iwlwifi: mvm: rs: fix logic in case of multiple TIDs
authorEyal Shapira <eyal@wizery.com>
Sun, 14 Sep 2014 12:58:53 +0000 (15:58 +0300)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sun, 21 Sep 2014 10:25:49 +0000 (13:25 +0300)
commitefed66407d465549e0457b2c1f5419503edfb79b
treeedc8df865cb43876428efc8bd827c5f35526a928
parenta7130442b03e095f3a86efac799fbf0374a5adb9
iwlwifi: mvm: rs: fix logic in case of multiple TIDs

In case of traffic on multiple TIDs where one is aggregated
and the other is not RS would toggle between considering
traffic vs. the station as aggregated and not aggregated.
Instead consider the sta state as aggregated as long as
there's at least one TID aggregated.
This limitation is because the rates table is kept per
station and not per TID.

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