Felix Fietkau
bbf807bc06
ath9k: fix duration calculation for non-aggregated packets
...
When not aggregating packets, fi->framelen should be passed in as length
to calculate the duration. Before the tx path rework, ath_tx_fill_desc
was called for either one aggregate, or one single frame, with the
length of the packet or the aggregate as a parameter.
After the rework, ath_tx_sched_aggr can pass a burst of single frames to
ath_tx_fill_desc and sets len=0.
Fix broken duration calculation by overriding the length in ath_tx_fill_desc
before passing it to ath_buf_set_rate.
Cc: stable@vger.kernel.org
Reported-by: Simon Wunderlich <sw@simonwunderlich.de >
Signed-off-by: Felix Fietkau <nbd@openwrt.org >
Signed-off-by: John W. Linville <linville@tuxdriver.com >
2013-12-09 14:59:13 -05:00
..
2013-11-19 15:50:47 -08:00
2013-10-31 14:48:38 +00:00
2013-11-15 09:32:21 +09:00
2013-11-19 15:53:02 -05:00
2013-10-29 12:53:07 +02:00
2013-11-15 16:47:22 -08:00
2013-11-13 17:40:34 +09:00
2013-11-15 16:33:41 -08:00
2013-11-05 15:58:21 -05:00
2013-11-14 08:51:29 +09:00
2013-11-16 10:19:15 -08:00
2013-11-15 16:47:22 -08:00
2013-10-22 22:36:50 +02:00
2013-11-14 17:19:20 -05:00
2013-11-15 16:47:22 -08:00
2013-11-14 13:41:48 +09:00
2013-11-15 09:32:21 +09:00
2013-11-07 19:24:20 +01:00
2013-11-15 16:47:22 -08:00
2013-11-18 14:51:52 -08:00
2013-11-15 09:32:21 +09:00
2013-11-14 07:55:21 +09:00
2013-11-14 08:51:29 +09:00
2013-11-18 15:50:07 -08:00
2013-11-15 16:48:22 -08:00
2013-11-15 16:35:10 -08:00
2013-11-18 15:50:07 -08:00
2013-11-14 18:21:25 -05:00
2013-11-14 13:41:48 +09:00
2013-11-15 09:32:23 +09:00
2013-11-18 15:36:04 -08:00
2013-11-15 16:48:22 -08:00
2013-11-15 18:57:42 -08:00
2013-11-14 08:51:29 +09:00
2013-11-20 21:52:30 -05:00
2013-10-25 10:13:25 -07:00
2013-11-07 12:13:05 +10:30
2013-11-12 16:52:17 +09:00
2013-11-15 16:47:22 -08:00
2013-11-18 15:50:07 -08:00
2013-11-15 09:32:21 +09:00
2013-11-13 12:09:26 +09:00
2013-11-15 16:47:22 -08:00
2013-11-18 15:50:07 -08:00
2013-11-18 14:47:30 -08:00
2013-11-15 16:47:22 -08:00
2013-12-09 14:59:13 -05:00
2013-11-14 07:55:21 +09:00
2013-11-15 14:05:15 -08:00
2013-11-15 09:32:23 +09:00
2013-11-12 16:52:17 +09:00
2013-10-24 16:18:40 +01:00
2013-11-14 10:43:17 -08:00
2013-11-15 09:32:21 +09:00
2013-11-14 13:41:48 +09:00
2013-11-18 15:35:09 -08:00
2013-11-05 02:36:57 +01:00
2013-11-13 12:09:35 +09:00
2013-11-01 11:17:57 +01:00
2013-11-15 16:47:22 -08:00
2013-10-29 11:28:11 +10:30
2013-11-15 09:32:21 +09:00
2013-11-19 11:43:21 -08:00
2013-11-19 16:27:39 -08:00
2013-11-15 09:32:21 +09:00
2013-11-18 15:10:05 -08:00
2013-10-25 10:42:09 -07:00
2013-11-19 15:50:47 -08:00
2013-11-15 13:34:37 +09:00
2013-11-13 12:09:23 +09:00
2013-11-15 16:47:22 -08:00
2013-11-07 11:42:15 +09:00
2013-10-25 11:03:34 -07:00
2013-11-16 12:45:55 -08:00
2013-11-15 13:28:47 +09:00
2013-11-15 09:32:21 +09:00
2013-11-18 21:34:19 +01:00
2013-11-15 13:34:37 +09:00
2013-11-14 13:41:48 +09:00
2013-11-14 13:41:48 +09:00