avos
a6044b10a0
net80211: ieee80211_ratectl*: switch to reusable KPI
...
Replace various void * / int argument combinations with common structures:
- ieee80211_ratectl_tx_status for *_tx_complete();
- ieee80211_ratectl_tx_stats for *_tx_update();
While here, improve amrr_tx_update() for a bit:
1. In case, if receiver is not known (typical for Ralink USB drivers),
refresh Tx rate for all nodes on the interface.
2. There was a misuse:
- otus(4) sends non-decreasing counters (as originally intended);
- but ural(4), rum(4) and run(4) are using 'read & clear' registers
to obtain statistics for some period of time (and those 'last period'
values are used as arguments for tx_update()). If arguments are not big
enough, they are just discarded after the next call.
Fix: move counting into *_tx_update()
(now otus(4) will zero out all node counters after every tx_update() call)
Tested with:
- Intel 3945BG (wpi(4)), STA mode.
- WUSB54GC (rum(4)), STA / HOSTAP mode.
- RTL8188EU (urtwn(4)), STA mode.
Reviewed by: adrian
Differential Revision: https://reviews.freebsd.org/D8037
2016-10-02 20:35:55 +00:00
..
2016-05-03 03:41:25 +00:00
2016-05-03 03:41:25 +00:00
2016-05-22 13:58:32 +00:00
2016-08-17 09:52:09 +00:00
2016-04-21 19:57:40 +00:00
2016-05-03 03:41:25 +00:00
2016-04-21 20:30:38 +00:00
2016-04-26 15:03:15 +00:00
2016-04-21 19:57:40 +00:00
2016-05-03 03:41:25 +00:00
2016-05-03 03:41:25 +00:00
2016-09-07 13:51:34 +00:00
2016-04-21 19:48:28 +00:00
2016-08-09 19:41:46 +00:00
2016-08-22 03:28:06 +00:00
2016-04-19 23:37:24 +00:00
2016-05-03 03:41:25 +00:00
2016-05-14 18:44:30 +00:00
2016-09-24 07:59:54 +00:00
2016-05-22 13:58:32 +00:00
2016-05-03 03:41:25 +00:00
2016-05-24 13:57:23 +00:00
2016-03-15 05:17:29 +00:00
2016-05-03 17:11:33 +00:00
2016-05-03 03:41:25 +00:00
2016-09-26 02:05:02 +00:00
2016-09-30 03:03:42 +00:00
2016-08-09 19:32:06 +00:00
2016-05-03 03:41:25 +00:00
2016-06-01 05:15:11 +00:00
2016-09-24 04:08:16 +00:00
2016-08-09 19:32:06 +00:00
2016-05-04 06:24:10 +00:00
2016-10-02 20:35:55 +00:00
2016-10-02 20:35:55 +00:00
2016-09-30 18:08:16 +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-05-24 01:42:21 +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-07-06 14:09:49 +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
2016-09-03 19:01:11 +00:00
2016-09-30 00:16:54 +00:00
2016-04-26 15:03:15 +00:00
2016-05-03 03:41:25 +00:00
2016-04-21 20:30:38 +00:00
2016-05-25 01:23:19 +00:00
2016-05-03 03:41:25 +00:00
2016-05-03 03:41:25 +00:00
2016-09-03 13:33:28 +00:00
2016-07-10 18:28:15 +00:00
2016-08-15 11:24:30 +00:00
2016-05-03 03:41:25 +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
2016-05-04 06:24:51 +00:00
2016-05-03 03:41:25 +00:00
2016-08-09 19:41:46 +00:00
2016-10-02 03:20:31 +00:00
2016-04-21 19:57:40 +00:00
2016-07-10 18:28:15 +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
2016-10-01 01:10:51 +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
2016-05-10 10:21:03 +00:00
2016-07-21 15:48:41 +00:00
2016-05-03 03:41:25 +00:00
2016-09-09 04:54:41 +00:00
2016-05-03 03:41:25 +00:00
2016-05-03 03:41:25 +00:00
2016-02-27 03:34:01 +00:00
2016-05-04 01:43:07 +00:00
2016-05-03 03:41:25 +00:00
2016-05-03 03:41:25 +00:00
2016-05-03 03:41:25 +00:00
2016-09-20 12:56:03 +00:00
2016-09-30 06:58:45 +00:00
2016-05-03 03:41:25 +00:00
2016-05-30 09:05:24 +00:00
2016-02-27 03:38:01 +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-10-02 17:36:55 +00:00
2016-05-03 03:41:25 +00:00
2016-09-22 21:34:35 +00:00
2016-09-11 20:15:41 +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
2016-07-06 20:48:42 +00:00
2016-09-05 23:12:24 +00:00
2016-08-30 19:20:26 +00:00
2016-08-25 05:22:53 +00:00
2016-05-20 11:56:16 +00:00
2016-04-11 10:53:25 +00:00
2016-05-03 03:41:25 +00:00
2016-10-02 20:35:55 +00:00
2016-10-02 20:35:55 +00:00
2016-08-09 19:32:06 +00:00
2016-08-09 19:32:06 +00:00
2016-09-01 01:08:18 +00:00
2016-05-03 03:41:25 +00:00
2016-07-26 13:36:28 +00:00
2016-08-30 12:36:14 +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
2016-08-29 01:59:18 +00:00
2016-05-03 03:41:25 +00:00
2016-07-23 18:16:40 +00:00
2016-05-03 03:41:25 +00:00
2016-09-30 08:23:06 +00:00
2016-09-29 16:35:52 +00:00
2016-05-03 03:41:25 +00:00
2016-05-13 15:15:54 +00:00
2016-05-03 03:41:25 +00:00
2016-07-12 19:34:10 +00:00
2016-07-12 19:34:10 +00:00
2016-08-09 15:52:17 +00:00
2016-09-20 12:59:30 +00:00
2016-02-27 03:38:01 +00:00
2016-08-09 15:51:11 +00:00
2016-05-03 03:41:25 +00:00
2016-05-19 22:28:46 +00:00
2016-05-12 03:36:49 +00:00
2016-08-09 15:56:33 +00:00
2016-05-03 03:41:25 +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
2016-09-01 01:08:18 +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
2016-07-30 21:06:59 +00:00
2016-07-19 19:19:03 +00:00
2016-07-28 22:40:31 +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-02 20:35:55 +00:00
2016-05-17 12:52:31 +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
2016-05-20 00:03:22 +00:00
2016-05-03 03:41:25 +00:00
2016-09-27 06:00:10 +00:00
2016-05-03 03:41:25 +00:00
2016-05-17 12:52:31 +00:00
2016-09-03 13:48:44 +00:00
2016-03-18 01:28:41 +00:00
2016-03-18 01:28:41 +00:00
2016-07-21 16:34:56 +00:00
2016-03-02 03:26:56 +00:00
2016-05-03 03:41:25 +00:00
2016-09-30 19:21:02 +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-09-21 14:15:15 +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
2016-09-06 11:08:32 +00:00
2016-05-03 03:41:25 +00:00
2016-03-02 03:26:56 +00:00
2016-05-26 02:55:41 +00:00
2016-05-03 03:41:25 +00:00
2016-06-09 12:33:53 +00:00
2016-04-21 15:38:28 +00:00
2016-06-04 19:53:47 +00:00
2016-05-03 03:41:25 +00:00
2016-05-03 03:41:25 +00:00
2016-05-03 03:41:25 +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
2016-08-09 19:32:06 +00:00
2016-04-19 23:37:24 +00:00
2016-05-26 07:02:20 +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
2016-06-01 14:03:13 +00:00
2016-09-01 19:18:26 +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
2016-05-03 03:41:25 +00:00
2016-08-30 01:58:49 +00:00
2016-02-19 03:37:56 +00:00
2016-05-03 03:41:25 +00:00
2016-08-09 15:50:03 +00:00
2016-05-03 03:41:25 +00:00
2016-08-28 21:31:21 +00:00
2016-10-02 20:35:55 +00:00
2016-10-02 20:35:55 +00:00
2016-09-17 16:03:33 +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-08-18 16:22:40 +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-02 20:35:55 +00:00
2016-05-02 16:47:28 +00:00
2016-05-03 03:41:25 +00:00
2016-08-05 15:48:56 +00:00
2016-04-19 15:36:18 +00:00
2016-05-03 03:41:25 +00:00