On Thursday 02 August 2007 11:09:47 Johannes Berg wrote: > On Thu, 2007-08-02 at 00:14 +0200, Michael Buesch wrote: > > > Though, I have no idea how we can easily track the information for each > > packet if it was sent with LONGFRAME bit or without. > > It needs to be a per-frame-attribute. > > I think the txstatus doesn't tell us (but I'm not sure). > > Why do you need to know when you get a tx status? Oh I see. Hm. Well, > mac80211 tells you how much to retry now (Daniel made a patch); you can > select long/short based on that and on tx status simply compare with > that number from the tx control struct. We don't get a "I failed to transmit this" bit from the firmware, so we must work around this my comparing the retries count to the maximum possible retry count. Of course, that's not an ideal solution. Especially because I think When it succeed on the exact last retry, we take it as failure. Though, that's very unlikely it fails 7 times give or take and then suddenly succeeds. -- Greetings Michael. - To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html