Adrian Chadd
57af292d36
[ath] fix thresholds for deciding to queue to the software queue and populate hardware frames
...
This is two fixes, which establishes what I /think/ is pretty close to the
theoretical PHY maximum speed on the AR9380 devices.
* When doing A-MPDU on a TID, don't queue to the hardware directly if
the hardware queue is busy. This gives us time to get more packets
queued up (and the hardware is busy, so there's no point in queuing
more to the hardware right now) to potentially form an A-MPDU.
This fixes up the throughput issue I was seeing where a couple hundred
single frames were being sent a second interspersed between A-MPDU
frames. It just happened that the software queue had exactly one
frame in it at that point. Queuing it until the hardware finishes
transmitting isn't exactly costly.
* When determining whether to dequeue from a software node/TID queue into
the hardware queue, fix up the checks to work right for EDMA chips
(ar9380 and later.) Before it was not dispatching anything until
the FIFO was empty. Now we allow it to dispatch another aggregate
up to the hardware aggregate limit, like I intended with the earlier
work.
This allows a 5GHz HT40, short-GI, "htprotmode off" test at MCS23
to achieve 357 Mbit/sec in a one-way UDP test. The stars have to be
aligned /just right/ so there are no retries but it can happen.
Just don't expect it to work in an OTA test if your 2yo is running
around the room - MCS23 is very very sensitive to channel conditions.
Tested:
* AR9380 STA (test) -> AR9580 hostap
TODO:
* More thorough testing on pre-AR9380 chips (AR5416, AR9160, AR9280)
* (Finally) teach ath_rate_sample about throughput/latency rather than
air time, so I can get good transmit rates with a 2yo running around.
2017-01-23 04:30:08 +00:00
..
2017-01-04 20:26:42 +00:00
2017-01-04 20:26:42 +00:00
2016-11-12 05:09:39 +00:00
2017-01-05 21:28:25 +00:00
2016-04-21 19:57:40 +00:00
2017-01-05 02:54:03 +00:00
2016-04-21 20:30:38 +00:00
2016-04-26 15:03:15 +00:00
2017-01-04 22:27:19 +00:00
2017-01-05 03:08:57 +00:00
2017-01-05 03:08:57 +00:00
2017-01-10 10:56:33 +00:00
2017-01-05 03:08:57 +00:00
2017-01-04 20:26:42 +00:00
2016-10-20 11:31:11 +00:00
2017-01-16 03:03:47 +00:00
2016-04-19 23:37:24 +00:00
2016-05-03 03:41:25 +00:00
2016-12-28 14:10:33 +00:00
2016-09-24 07:59:54 +00:00
2016-05-22 13:58:32 +00:00
2017-01-04 20:26:42 +00:00
2016-05-24 13:57:23 +00:00
2017-01-04 20:26:42 +00:00
2016-05-03 17:11:33 +00:00
2017-01-04 20:26:42 +00:00
2017-01-23 04:30:08 +00:00
2016-11-03 00:56:59 +00:00
2016-08-09 19:32:06 +00:00
2016-05-03 03:41:25 +00:00
2016-10-25 16:28:30 +00:00
2016-06-01 05:15:11 +00:00
2017-01-15 17:54:01 +00:00
2016-08-09 19:32:06 +00:00
2017-01-02 00:56:33 +00:00
2017-01-04 20:26:42 +00:00
2016-10-02 20:35:55 +00:00
2016-11-26 23:22:32 +00:00
2016-11-05 16:17:07 +00:00
2016-04-26 23:09:47 +00:00
2016-05-03 03:41:25 +00:00
2016-05-03 03:41:25 +00:00
2016-06-03 18:54:16 +00:00
2016-08-01 16:26:08 +00:00
2016-02-04 22:39:27 +00:00
2016-10-30 12:15:33 +00:00
2017-01-05 03:08:57 +00:00
2016-02-27 03:38:01 +00:00
2016-05-03 03:41:25 +00:00
2016-05-22 13:58:32 +00:00
2016-05-03 03:41:25 +00:00
2016-11-11 18:57:41 +00:00
2016-09-06 20:43:26 +00:00
2016-05-03 03:41:25 +00:00
2016-02-27 03:38:01 +00:00
2016-03-18 01:28:41 +00:00
2016-05-03 03:41:25 +00:00
2017-01-10 18:39:53 +00:00
2017-01-18 03:35:42 +00:00
2016-04-26 15:03:15 +00:00
2016-10-30 12:15:33 +00:00
2016-05-03 03:41:25 +00:00
2016-04-21 20:30:38 +00:00
2016-11-17 14:43:13 +00:00
2016-11-16 05:24:42 +00:00
2017-01-05 03:08:57 +00:00
2016-05-03 03:41:25 +00:00
2016-12-26 14:28:23 +00:00
2016-07-10 18:28:15 +00:00
2017-01-22 18:04:57 +00:00
2016-05-03 03:41:25 +00:00
2016-10-16 06:07:43 +00:00
2016-02-20 01:32:58 +00:00
2016-04-21 19:57:40 +00:00
2016-02-01 17:41:21 +00:00
2017-01-04 20:26:42 +00:00
2016-05-03 03:41:25 +00:00
2017-01-15 10:21:25 +00:00
2016-12-26 17:48:13 +00:00
2016-04-21 19:57:40 +00:00
2016-12-12 16:43:31 +00:00
2016-05-03 03:41:25 +00:00
2016-10-01 17:43:02 +00:00
2016-05-04 23:00:57 +00:00
2017-01-15 17:54:01 +00:00
2016-05-03 03:41:25 +00:00
2016-05-27 22:14:39 +00:00
2016-08-12 16:05:53 +00:00
2017-01-05 03:08:57 +00:00
2016-07-21 15:48:41 +00:00
2016-05-03 03:41:25 +00:00
2017-01-16 15:36:36 +00:00
2016-05-03 03:41:25 +00:00
2016-12-29 14:08:24 +00:00
2016-05-03 03:41:25 +00:00
2017-01-04 20:26:42 +00:00
2017-01-04 20:26:42 +00:00
2017-01-04 20:26:42 +00:00
2017-01-04 20:26:42 +00:00
2017-01-04 20:26:42 +00:00
2017-01-04 02:15:03 +00:00
2017-01-09 03:38:41 +00:00
2016-11-19 16:00:05 +00:00
2016-12-26 22:13:43 +00:00
2016-11-09 08:57:59 +00:00
2016-03-24 23:24:00 +00:00
2016-05-11 17:38:09 +00:00
2016-05-03 03:41:25 +00:00
2016-11-11 15:11:54 +00:00
2017-01-04 20:26:42 +00:00
2016-12-27 22:37:24 +00:00
2016-11-11 15:08:12 +00:00
2016-12-04 04:04:57 +00:00
2016-03-22 06:24:52 +00:00
2016-05-03 03:41:25 +00:00
2016-05-19 22:19:35 +00:00
2017-01-04 20:26:42 +00:00
2016-09-05 23:12:24 +00:00
2017-01-13 18:36:46 +00:00
2016-08-25 05:22:53 +00:00
2016-10-30 12:15:33 +00:00
2017-01-15 17:54:01 +00:00
2016-04-11 10:53:25 +00:00
2016-05-03 03:41:25 +00:00
2016-11-17 20:00:20 +00:00
2016-12-21 22:35:26 +00:00
2016-08-09 19:32:06 +00:00
2017-01-20 17:16:48 +00:00
2017-01-03 14:52:39 +00:00
2016-10-22 08:00:46 +00:00
2016-05-03 03:41:25 +00:00
2017-01-07 15:58:57 +00:00
2016-11-15 04:12:19 +00:00
2016-05-18 23:39:31 +00:00
2016-05-03 03:41:25 +00:00
2016-10-01 22:21:10 +00:00
2016-04-29 22:14:11 +00:00
2016-03-18 01:28:41 +00:00
2016-03-09 19:36:25 +00:00
2017-01-04 20:26:42 +00:00
2016-05-03 03:41:25 +00:00
2016-10-31 05:58:11 +00:00
2016-05-03 03:41:25 +00:00
2016-12-23 20:14:05 +00:00
2017-01-20 15:47:29 +00:00
2017-01-05 03:08:57 +00:00
2017-01-15 17:54:01 +00:00
2016-05-03 03:41:25 +00:00
2017-01-19 21:47:50 +00:00
2017-01-19 21:47:50 +00:00
2017-01-15 17:54:01 +00:00
2017-01-04 20:26:42 +00:00
2016-02-27 03:38:01 +00:00
2016-08-09 15:51:11 +00:00
2017-01-04 20:26:42 +00:00
2016-12-07 22:16:07 +00:00
2016-05-12 03:36:49 +00:00
2017-01-12 18:05:12 +00:00
2017-01-05 03:08:57 +00:00
2016-04-20 01:17:18 +00:00
2016-01-27 02:23:54 +00:00
2016-05-03 03:41:25 +00:00
2017-01-12 16:24:10 +00:00
2016-04-19 23:37:24 +00:00
2016-05-03 03:41:25 +00:00
2016-05-03 03:41:25 +00:00
2017-01-11 20:23:45 +00:00
2016-12-10 16:20:39 +00:00
2017-01-12 08:53:10 +00:00
2017-01-05 03:08:57 +00:00
2016-07-24 08:35:45 +00:00
2016-06-03 15:33:21 +00:00
2016-09-22 22:51:11 +00:00
2016-09-23 14:11:23 +00:00
2016-10-12 20:50:13 +00:00
2016-12-22 00:09:53 +00:00
2016-05-03 03:41:25 +00:00
2016-02-27 03:38:01 +00:00
2016-04-21 15:38:28 +00:00
2017-01-15 17:54:01 +00:00
2016-05-03 03:41:25 +00:00
2017-01-16 03:03:47 +00:00
2016-05-03 03:41:25 +00:00
2017-01-04 20:26:42 +00:00
2017-01-04 20:26:42 +00:00
2016-03-18 01:28:41 +00:00
2016-03-18 01:28:41 +00:00
2016-12-07 14:24:53 +00:00
2016-07-21 16:34:56 +00:00
2016-10-17 10:20:38 +00:00
2016-05-03 03:41:25 +00:00
2016-10-06 21:39:04 +00:00
2016-06-07 04:51:50 +00:00
2016-03-02 03:26:56 +00:00
2016-10-02 20:35:55 +00:00
2016-06-09 14:44:05 +00:00
2016-05-03 03:41:25 +00:00
2016-12-31 02:23:15 +00:00
2016-10-27 02:20:13 +00:00
2016-09-21 14:15:15 +00:00
2016-04-21 19:40:10 +00:00
2016-02-27 03:38:01 +00:00
2016-04-20 14:47:16 +00:00
2017-01-21 15:03:58 +00:00
2016-05-03 03:41:25 +00:00
2016-03-02 03:26:56 +00:00
2017-01-17 17:41:14 +00:00
2016-05-03 03:41:25 +00:00
2017-01-12 15:26:23 +00:00
2016-04-21 15:38:28 +00:00
2016-06-04 19:53:47 +00:00
2017-01-04 20:26:42 +00:00
2016-05-03 03:41:25 +00:00
2016-05-03 03:41:25 +00:00
2016-11-11 14:41:02 +00:00
2016-03-01 17:47:32 +00:00
2016-05-03 03:41:25 +00:00
2016-05-03 03:41:25 +00:00
2017-01-17 08:15:10 +00:00
2016-04-19 23:37:24 +00:00
2017-01-16 15:23:55 +00:00
2016-01-27 02:23:54 +00:00
2016-04-19 23:37:24 +00:00
2016-04-23 20:29:55 +00:00
2017-01-04 20:26:42 +00:00
2016-12-10 18:07:16 +00:00
2016-04-10 23:07:00 +00:00
2016-05-03 03:41:25 +00:00
2016-05-03 03:41:25 +00:00
2016-08-09 19:32:06 +00:00
2017-01-04 20:26:42 +00:00
2016-08-30 01:58:49 +00:00
2017-01-05 03:08:57 +00:00
2016-05-03 03:41:25 +00:00
2017-01-04 20:26:42 +00:00
2016-05-03 03:41:25 +00:00
2017-01-12 16:30:27 +00:00
2017-01-19 18:33:27 +00:00
2017-01-04 20:26:42 +00:00
2016-04-19 23:37:24 +00:00
2016-07-18 14:40:13 +00:00
2016-08-19 10:52:39 +00:00
2016-03-01 17:47:32 +00:00
2016-12-10 18:07:16 +00:00
2016-02-18 01:24:10 +00:00
2016-05-03 03:41:25 +00:00
2016-05-03 03:41:25 +00:00
2016-05-02 16:47:28 +00:00
2016-05-20 08:58:06 +00:00
2016-10-08 20:41:08 +00:00
2016-05-02 16:47:28 +00:00
2016-12-30 16:26:54 +00:00
2016-05-03 03:41:25 +00:00
2017-01-03 17:24:56 +00:00
2016-12-18 14:54:20 +00:00
2016-05-03 03:41:25 +00:00