Eyal Shapira
ed21a384bb
iwlwifi: mvm: rs: fix success ratio comparison in rs_get_best_rate
...
success_ratio is actually 128 * SR in percentage while
IWL_MVM_RS_SR_NO_DECREASE is 85%. Fix this by using RS_PERCENT().
This bug caused the if branch to be always executed. This in turn
led to always selecting a rate, following a column switch, in which
the expected throughput would exceed the best expected current throughput.
In some scenarios where the success ratio isn't >85% such a rate
could be too aggressive leading us to avoid the new column.
This has the potential of causing sub optimal performance.
Reported-by: Moshe Harel <moshe.harel@intel.com >
Signed-off-by: Eyal Shapira <eyalx.shapira@intel.com >
Signed-off-by: Luca Coelho <luciano.coelho@intel.com >
2015-10-05 14:33:30 +03:00
..
2015-09-08 18:19:17 -07:00
2015-09-10 13:29:01 -07:00
2015-09-03 16:55:55 -07:00
2015-09-10 13:53:15 -07:00
2015-08-18 09:08:47 +03:00
2015-09-10 16:21:11 -07:00
2015-08-28 21:09:14 +02:00
2015-09-08 16:48:55 -07:00
2015-09-08 18:19:17 -07:00
2015-09-10 17:59:04 -07:00
2015-09-04 11:35:03 -07:00
2015-09-10 17:59:04 -07:00
2015-09-03 16:27:01 -07:00
2015-09-10 13:29:01 -07:00
2015-09-04 11:10:18 -07:00
2015-09-01 18:34:22 -07:00
2015-08-31 15:49:19 -07:00
2015-09-10 13:29:01 -07:00
2015-09-04 15:49:32 -07:00
2015-09-11 09:35:56 -07:00
2015-09-04 12:02:11 -07:00
2015-09-10 13:29:01 -07:00
2015-08-27 07:53:19 -07:00
2015-09-08 16:16:26 -07:00
2015-09-04 10:07:45 -07:00
2015-09-10 13:29:01 -07:00
2015-09-10 16:21:11 -07:00
2015-09-08 17:22:35 -07:00
2015-09-08 11:36:56 -07:00
2015-09-08 14:35:59 -07:00
2015-09-04 11:40:40 -07:00
2015-09-03 16:41:38 -07:00
2015-09-05 18:11:04 -07:00
2015-09-05 17:52:22 -07:00
2015-09-10 13:29:01 -07:00
2015-09-08 17:22:35 -07:00
2015-08-26 07:11:45 -07:00
2015-09-04 15:49:32 -07:00
2015-09-10 13:29:01 -07:00
2015-09-08 16:33:16 -07:00
2015-09-09 11:17:33 -07:00
2015-10-05 14:33:30 +03:00
2015-09-04 10:07:45 -07:00
2015-09-08 14:35:59 -07:00
2015-09-08 16:16:26 -07:00
2015-09-10 13:29:01 -07:00
2015-09-10 13:29:01 -07:00
2015-09-03 16:01:03 +01:00
2015-09-04 10:07:45 -07:00
2015-09-04 10:22:09 -07:00
2015-09-08 16:26:18 -07:00
2015-09-01 19:45:46 -07:00
2015-08-29 01:46:40 +02:00
2015-09-09 10:55:32 -07:00
2015-09-08 16:48:55 -07:00
2015-09-01 14:48:40 +02:00
2015-09-05 19:37:31 +02:00
2015-09-10 13:29:01 -07:00
2015-09-10 16:21:11 -07:00
2015-09-10 17:59:04 -07:00
2015-08-31 14:45:45 +01:00
2015-09-01 14:33:35 -07:00
2015-09-10 13:29:01 -07:00
2015-09-02 13:22:38 -07:00
2015-09-08 16:48:55 -07:00
2015-09-10 16:21:11 -07:00
2015-09-01 18:46:42 -07:00
2015-09-10 18:19:42 -07:00
2015-09-08 13:32:11 +03:00
2015-09-01 18:46:42 -07:00
2015-09-04 11:35:03 -07:00
2015-09-10 18:19:42 -07:00
2015-09-03 16:27:01 -07:00
2015-09-04 10:22:09 -07:00