]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
iwlwifi: mvm: rs: overhaul search cycle state machine
authorEyal Shapira <eyal@wizery.com>
Sun, 24 Nov 2013 19:30:13 +0000 (21:30 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 9 Dec 2013 20:29:48 +0000 (22:29 +0200)
commitb3b06a32547fd2b0ba0f3f95ff37fbf94ad997dd
tree21d1cbbf6ff4d941d659bd1aae6c82ffaced047c
parenta56db7d100dc9695dad262e0c7f2ec3d6f6f186b
iwlwifi: mvm: rs: overhaul search cycle state machine

Rewrite the search cycle state machine to use a more data
oriented approach where the different Tx columns (configs)
limitations and next columns to search are reprsented in
tables which are easy to change. This overhaul also includes
several major fixes:

1. Prevent going back to a specific Tx column in a search
cycle if it was already explored.

2. Avoid switching to a Tx column that doesn't have any chance
if it performs perfectly to beat the current throughput we're
getting.

These issues were degrading throughput as they were causing
switching to "bad" Tx columns.

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