Re: [RFC][PATCH] TX status reporting with help of an ack queue
From: Mattias Nissler <hidden>
Date: 2008-09-18 20:37:04
On Tue, 2008-09-16 at 20:18 +0200, Ivo van Doorn wrote:
quoted
quoted
Good point :-) So I suggest we have one function that adds new packets to the ACK queue (which is represented by a struct an instance of which a driver can keep in its queue information) and another one that matches a received ACK with the queue, reports the status to mac80211 and purges the queue entries up to the match (reporting them as failed). Mikko: I could hack this up, but since your initial patch is not far from what's been discussed, I rather wait for a comment on whether you want to do it. MattiasFeel free to hack up a patch. The functions rt2x00lib_get_match_from_ack_queue and rt2x00lib_push_to_ack_queue are already generic handlers for the queue.Mattias, please note my comments on Mikko's patch if you are going to copy them. :)
Ok, I'm picking this thingy up. I've got some time tomorrow, but I'll be away for the weekend, so expect something at the beginning of next week. Mattias