On Mon, 2011-02-14 at 13:58 -0800, Nathaniel Smith wrote: > > This sounds nice -- but couldn't it just as well be implemented in > > mac80211, at least for most devices (that have accurate TX status > > reporting)? > > I don't know. I take it you're imagining a scheme where mac80211 keeps > a hash table or similar of all packets that have been queued to the > device, and does its own tx rate estimation and calls start/stop_queue > as needed? If that works, then it would be lovely. (Heck, it should > probably go in the generic net layer eventually; ethernet cards have > the same problem.) Well, no, why would it keep a hash table?? And no -- it can't be done in the generic net layer. mac80211 has the advantage that TX status is reported back, so it could pretty accurately know how many frames are queued up -- more generically this cannot be done. But since it's not perfectly accurate right now, it may not be the best idea to do this at this time. johannes -- 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