Helmut Schaa
3d2bc1036a
rt2x00: Fix tx status reporting when falling back to the lowest rate
...
In some corner cases the reported tx rates/retries didn't match the really
used ones.
The hardware lowers the tx rate on each consecutive retry by 1 (but won't
fall back from MCS to legacy rates) _until_ it reaches the lowest one.
In case the frame wasn't sent succesful the number of retries is 7 and if
a rate index <7 was used the previous code reported negative rate indexes
which were then ignored by the rate control algorithm and mac80211.
Instead, report the remaining number of retries to have happened with
the lowest rate (index 0). This should give the rate control algorithm
slightly more accurate information about the used tx rates/retries.
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com >
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com >
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com >
Signed-off-by: John W. Linville <linville@tuxdriver.com >
2010-06-15 16:00:50 -04:00
..
2010-05-14 00:19:28 -07:00
2010-05-17 23:23:15 -07:00
2010-05-12 00:05:35 -07:00
2010-05-14 00:19:28 -07:00
2010-05-14 00:19:28 -07:00
2010-05-14 00:19:28 -07:00
2010-05-14 00:19:28 -07:00
2010-05-06 00:48:51 -07:00
2010-04-28 12:55:10 -07:00
2010-05-20 23:21:45 -07:00
2010-04-14 16:11:33 -07:00
2010-05-10 05:01:31 -07:00
2010-05-14 00:19:28 -07:00
2010-05-18 15:16:46 -07:00
2010-05-14 03:06:19 -07:00
2010-05-20 21:04:44 -07:00
2010-05-17 22:47:34 -07:00
2010-05-17 22:50:19 -07:00
2010-05-10 05:01:31 -07:00
2010-05-14 00:19:28 -07:00
2010-04-11 14:53:53 -07:00
2010-05-14 00:19:28 -07:00
2010-05-20 21:04:44 -07:00
2010-05-17 22:47:34 -07:00
2010-05-14 03:06:19 -07:00
2010-05-20 23:07:06 -07:00
2010-05-14 00:19:28 -07:00
2010-05-10 05:01:31 -07:00
2010-05-17 22:47:34 -07:00
2010-04-14 16:11:33 -07:00
2010-05-14 00:19:28 -07:00
2010-05-14 00:19:28 -07:00
2010-05-20 21:04:44 -07:00
2010-05-14 00:19:28 -07:00
2010-05-17 17:30:56 -07:00
2010-05-14 00:19:28 -07:00
2010-05-02 22:02:06 -07:00
2010-05-17 22:47:34 -07:00
2010-05-14 00:19:28 -07:00
2010-05-14 00:19:28 -07:00
2010-05-14 00:19:28 -07:00
2010-05-20 21:26:12 -07:00
2010-05-17 22:55:10 -07:00
2010-05-14 00:19:28 -07:00
2010-05-10 05:01:31 -07:00
2010-05-20 21:26:12 -07:00
2010-06-15 16:00:50 -04:00
2010-05-14 00:19:28 -07:00
2010-05-14 00:19:28 -07:00
2010-05-14 00:19:28 -07:00
2010-05-10 05:01:31 -07:00
2010-05-14 00:19:28 -07:00
2010-05-14 00:19:28 -07:00
2010-05-14 00:19:28 -07:00
2010-05-10 05:01:31 -07:00
2010-04-03 14:22:15 -07:00
2010-05-14 00:19:28 -07:00
2010-05-14 00:19:28 -07:00
2010-05-10 05:01:31 -07:00
2010-05-10 05:01:31 -07:00
2010-05-18 23:01:55 -07:00
2010-05-14 00:19:28 -07:00
2010-05-14 00:19:28 -07:00
2010-04-01 18:38:33 -07:00
2010-05-10 05:01:31 -07:00
2010-05-14 00:19:28 -07:00
2010-05-18 23:01:55 -07:00
2010-05-14 00:19:28 -07:00
2010-05-10 05:01:31 -07:00
2010-05-14 00:19:28 -07:00
2010-05-10 05:01:31 -07:00
2010-04-07 02:07:49 -07:00
2010-05-14 00:19:28 -07:00
2010-06-04 16:00:42 -04:00
2010-05-10 05:01:31 -07:00
2010-05-17 17:21:01 -07:00
2010-05-17 17:20:59 -07:00
2010-05-14 00:19:28 -07:00
2010-05-17 17:34:43 -07:00
2010-05-17 17:32:56 -07:00
2010-03-29 15:41:47 +02:00
2010-03-24 14:10:38 -07:00
2010-05-17 17:35:38 -07:00
2010-04-19 13:17:05 -07:00
2010-04-23 00:10:52 -07:00
2010-05-17 22:47:34 -07:00
2010-05-18 15:16:44 -07:00
2010-05-18 15:16:44 -07:00
2010-05-10 05:01:31 -07:00
2010-05-14 00:19:28 -07:00
2010-05-10 05:01:31 -07:00
2010-05-10 05:01:31 -07:00
2010-05-10 05:01:31 -07:00
2010-05-14 00:19:28 -07:00
2010-04-03 14:22:15 -07:00
2010-05-14 00:19:28 -07:00
2010-05-14 00:19:28 -07:00
2010-05-17 17:45:48 -07:00
2010-05-10 05:01:31 -07:00
2010-05-10 05:01:31 -07:00
2010-05-14 00:19:28 -07:00
2010-05-10 05:01:31 -07:00
2010-05-14 00:19:28 -07:00
2010-05-10 05:01:31 -07:00
2010-05-14 00:19:28 -07:00
2010-05-17 22:47:34 -07:00
2010-05-14 00:19:28 -07:00
2010-05-10 05:01:31 -07:00
2010-05-10 05:01:31 -07:00
2010-05-14 00:19:28 -07:00
2010-05-10 05:01:31 -07:00
2010-03-30 22:02:32 +09:00
2010-05-10 05:01:31 -07:00
2010-05-12 00:05:35 -07:00
2010-05-10 05:01:31 -07:00
2010-05-17 17:44:46 -07:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-05-17 17:44:35 -07:00
2010-04-13 01:41:31 -07:00
2010-04-11 14:53:53 -07:00
2010-05-14 00:19:28 -07:00
2010-05-10 05:01:31 -07:00
2010-05-14 00:19:28 -07:00
2010-05-14 00:19:28 -07:00
2010-03-30 22:02:32 +09:00
2010-05-17 21:37:41 +02:00
2010-04-11 14:53:53 -07:00
2010-05-17 22:55:10 -07:00
2010-05-10 05:01:31 -07:00
2010-05-10 05:01:31 -07:00
2010-04-11 14:53:53 -07:00
2010-03-30 23:42:26 -07:00
2010-04-11 14:53:53 -07:00
2010-03-30 22:02:32 +09:00
2010-05-17 22:47:34 -07:00
2010-03-18 21:14:00 -07:00
2010-05-17 17:19:40 -07:00
2010-04-03 14:22:15 -07:00
2010-04-21 16:33:29 -07:00
2010-04-11 14:53:53 -07:00
2010-05-05 21:27:45 -07:00
2010-05-05 21:27:44 -07:00
2010-05-17 22:55:10 -07:00
2010-05-10 05:01:31 -07:00
2010-03-30 22:02:32 +09:00
2010-05-14 00:19:28 -07:00
2010-05-17 22:47:34 -07:00
2010-05-10 05:01:31 -07:00
2010-03-30 22:02:32 +09:00
2010-04-13 01:33:44 -07:00
2010-05-14 00:19:28 -07:00
2010-05-10 05:01:31 -07:00
2010-05-10 05:01:31 -07:00
2010-05-14 00:19:28 -07:00
2010-05-10 05:01:31 -07:00
2010-04-11 14:53:53 -07:00
2010-05-10 05:01:31 -07:00
2010-03-30 22:02:32 +09:00
2010-05-16 00:42:15 -07:00
2010-05-04 01:35:47 +03:00
2010-04-27 12:49:13 -07:00
2010-05-14 00:19:28 -07:00
2010-05-17 22:55:08 -07:00
2010-03-30 22:02:32 +09:00
2010-05-17 22:47:34 -07:00
2010-05-10 05:01:31 -07:00
2010-05-14 00:19:28 -07:00
2010-05-14 00:19:28 -07:00
2010-05-14 00:19:28 -07:00
2010-05-14 00:19:28 -07:00
2010-05-14 00:19:28 -07:00
2010-05-06 00:47:21 -07:00
2010-05-10 05:01:31 -07:00
2010-05-10 05:01:31 -07:00
2010-05-10 05:01:31 -07:00
2010-05-14 00:19:28 -07:00
2010-04-22 15:48:17 -07:00
2010-04-22 15:48:17 -07:00
2010-03-30 22:02:32 +09:00
2010-05-14 00:19:28 -07:00
2010-05-10 05:01:31 -07:00
2010-05-14 00:19:28 -07:00
2010-05-14 00:19:28 -07:00
2010-03-30 22:02:32 +09:00
2010-05-03 15:45:52 -07:00
2010-03-30 22:02:32 +09:00
2010-05-17 23:23:10 -07:00
2010-03-30 22:02:32 +09:00
2010-05-10 05:01:31 -07:00
2010-05-20 21:04:44 -07:00
2010-05-14 00:19:28 -07:00
2010-04-13 02:54:17 -07:00
2010-05-17 17:44:36 -07:00
2010-04-30 16:20:39 -07:00
2010-03-30 22:02:32 +09:00
2010-05-10 05:01:31 -07:00
2010-05-14 00:19:28 -07:00
2010-05-10 05:01:31 -07:00
2010-05-14 00:19:28 -07:00
2010-05-10 05:01:31 -07:00
2010-05-10 05:01:31 -07:00
2010-05-14 00:19:28 -07:00
2010-05-10 05:01:31 -07:00
2010-05-20 23:13:45 -07:00
2010-04-11 14:53:53 -07:00
2010-05-14 00:19:28 -07:00
2010-05-15 23:29:31 -07:00
2010-05-15 23:29:31 -07:00
2010-05-14 03:06:22 -07:00
2010-04-28 10:07:44 -07:00
2010-05-14 00:19:28 -07:00
2010-05-17 22:47:34 -07:00
2010-05-10 05:01:31 -07:00
2010-03-10 07:37:06 -08:00
2010-05-10 05:01:31 -07:00
2010-05-14 00:19:28 -07:00
2010-05-14 00:19:28 -07:00
2010-05-14 00:19:28 -07:00
2010-05-14 00:19:28 -07:00
2010-05-20 21:04:44 -07:00
2010-05-10 05:01:31 -07:00
2010-03-30 22:02:32 +09:00
2010-05-10 05:01:31 -07:00
2010-05-14 00:19:28 -07:00
2010-05-14 00:19:28 -07:00
2010-05-14 00:19:28 -07:00
2010-05-10 05:01:31 -07:00
2010-05-10 05:01:31 -07:00
2010-05-17 22:47:34 -07:00
2010-05-14 00:19:28 -07:00
2010-05-14 00:19:28 -07:00
2010-05-17 22:47:34 -07:00
2010-05-17 22:47:34 -07:00
2010-05-10 05:01:31 -07:00
2010-05-10 05:01:31 -07:00
2010-05-10 05:01:31 -07:00
2010-05-06 22:10:40 -07:00
2010-03-30 22:02:32 +09:00
2010-04-27 12:49:13 -07:00
2010-04-13 02:54:16 -07:00
2010-05-10 05:01:31 -07:00
2010-04-14 16:11:33 -07:00
2010-05-17 22:47:34 -07:00
2010-05-10 05:01:31 -07:00
2010-03-30 22:02:32 +09:00
2010-05-10 05:01:31 -07:00
2010-05-06 00:53:53 -07:00
2010-05-10 05:01:31 -07:00
2010-05-10 05:01:31 -07:00
2010-04-06 14:24:53 -07:00
2010-04-14 06:45:44 -07:00
2010-05-14 00:19:28 -07:00
2010-03-30 22:02:32 +09:00
2010-05-10 05:01:31 -07:00
2010-03-30 22:02:32 +09:00
2010-05-14 00:19:28 -07:00
2010-05-14 00:19:28 -07:00
2010-05-18 23:01:55 -07:00