Files
linux/drivers/net
Ivo van Doorn bc8a979e2d rt2x00: Improve TX status entry validation
The TX_STA_FIFO contains some information for identifying
a outgoing frame, however matching by WCID and ACK status is
not sufficient to 100% identify the macthing queue_entry structure
(containing the SKB buffer) which belongs to the status report.

Within TX_STA_FIFO we have a 4-bit field named PACKETID, which is
currently used to encode the queue id. The queue ID is however
limited to values from 0 to 3, which means 2 bits are sufficient
to encode the value. With the remaining 2 bits we can encode a
partial queue_entry index number. The value of PACKETID is not
allowed to become 0, with the queue ID ranging from 0 to 3, at least
one of the bits for the entry identification must be 1.

That leaves us with 3 possible values we can still encode in the
bits. Altough this doesn't allow 100% accurate matching of the
TX_STA_FIFO queue to a queue_entry structure, it at least improves
the accuracy. This allows us to better detect if we have missed the
TX_STA_FIFO report, which in turn reduces the number of watchdog
warnings regarding the TX status timeout.

Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2010-10-05 13:35:28 -04:00
..
2010-06-03 03:18:23 -07:00
2010-07-26 21:05:03 -07:00
2010-08-02 16:26:44 -07:00
2010-05-10 05:01:31 -07:00
2010-07-25 16:48:44 -07:00
…
…
2010-05-10 05:01:31 -07:00
…
2010-05-10 05:01:31 -07:00
…
2010-06-16 18:05:05 +02:00
2010-06-03 03:18:23 -07:00
…
…
…
…
2010-07-19 15:27:13 -07:00
…
2010-07-11 18:15:08 -07:00
2010-05-10 05:01:31 -07:00
…
2010-07-11 18:15:08 -07:00
2010-05-10 05:01:31 -07:00
…
2010-07-08 23:42:40 -07:00
2010-07-07 18:24:29 -07:00
…
…
…
2010-07-19 20:30:07 -07:00
2010-07-14 13:36:18 -07:00
2010-06-25 20:37:21 -07:00
2010-07-19 13:32:57 -07:00
2010-07-14 13:40:36 -07:00
2010-05-10 05:01:31 -07:00
…
2010-05-10 05:01:31 -07:00
…
…
…
…
2010-06-03 03:18:23 -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-07-14 17:57:19 -07:00
…
…
…
…
…
…
2010-05-10 05:01:31 -07:00
2010-05-17 22:47:34 -07:00
2010-03-18 21:14:00 -07:00
2010-07-30 22:10:01 -07:00
2010-07-27 22:24:37 -07:00
2010-05-10 05:01:31 -07:00
…
…
2010-05-10 05:01:31 -07:00
…
…
…
2010-06-21 13:40:25 -07:00
2010-07-05 20:08:05 -07:00
2010-05-10 05:01:31 -07:00
…
2010-05-10 05:01:31 -07:00
…
…
2010-04-22 15:48:17 -07:00
2010-05-10 05:01:31 -07:00
2010-08-04 21:53:17 -07:00
2010-08-04 21:53:17 -07:00
2010-08-04 21:53:17 -07:00
2010-05-10 05:01:31 -07:00
2010-07-21 21:10:49 -07:00
2010-05-10 05:01:31 -07:00
…
2010-07-15 20:46:22 -07:00
2010-07-23 13:05:13 -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-07-30 23:59:04 -07:00
2010-06-03 03:18:23 -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-07-14 12:17:35 -07:00
2010-05-10 05:01:31 -07:00
…
…
…
…
2010-05-10 05:01:31 -07:00
…
2010-06-03 03:18:23 -07:00
2010-08-02 15:46:33 -07:00
2010-08-02 15:46:33 -07:00
2010-05-10 05:01:31 -07:00
…
2010-04-14 16:11:33 -07:00
2010-06-03 03:18:23 -07:00
2010-06-03 03:18:23 -07:00
2010-05-10 05:01:31 -07:00
2010-07-14 17:53:18 -07:00