]> git.karo-electronics.de Git - linux-beck.git/commit
iwlwifi: mvm: rs: refactor rate scale action decision
authorEyal Shapira <eyal@wizery.com>
Tue, 10 Dec 2013 22:55:36 +0000 (00:55 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Tue, 17 Dec 2013 17:39:56 +0000 (19:39 +0200)
commit4e4b815c08ce6257c15cede80b29247f1b88de04
tree75b31bb07178c7969afdda515caeecea31c938c4
parent4107dbd27758ada08303cfb51db4553156870554
iwlwifi: mvm: rs: refactor rate scale action decision

Extract the scale action decision to a different function
in preparation of modifying it. While at it also convert
the scale action values from hardcoded values to a clear enum.

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