OSDN Git Service

iwlwifi: mvm: force TCM re-evaluation on TCM resume
authorAvraham Stern <avraham.stern@intel.com>
Wed, 15 Aug 2018 09:23:39 +0000 (12:23 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 14 Dec 2018 11:04:47 +0000 (13:04 +0200)
commit7bc2468277033e05401d5f8fd48a772f407338c2
treee466b68ab975d365637fab90362131b95125e849
parentcc2af963f5dac19e1f0a9725c52927be98a80193
iwlwifi: mvm: force TCM re-evaluation on TCM resume

When traffic load is not low or low latency is active, TCM schedules
re-evaluation work so in case traffic stops TCM will detect that
traffic load has become low or that low latency is no longer active.
However, if TCM is paused when the re-evaluation work runs, it does
not re-evaluate and the re-evaluation work is no longer scheduled.
As a result, TCM will not indicate that low latency is no longer
active or that traffic load is low when traffic stops.

Fix this by forcing TCM re-evaluation when TCM is resumed in case
low latency is active or traffic load is not low.

Signed-off-by: Avraham Stern <avraham.stern@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/utils.c