On Tue, Nov 16, 2010 at 05:42:08PM +0100, Helmut Schaa wrote: > Am Dienstag 16 November 2010 schrieb Johannes Stezenbach: > > > > Hm, yes, rt2x00mac_conf_tx() has the same issue that it calls > > rt2x00queue_get_queue() with an argument which is a mac80211 AC, > > but expects an enum data_queue_qid. So one could says one > > bug cancels the other out. > > Right. We could of course add a mac80211-queue <-> rt2x00-queue mapping in > the appropriate places or rename the QID_* identifiers accordingly. Not sure > if it's worth it ... Hm, reducing confusion enhances maintainability. > > > And btw. queue 0 is used for managment frames as well. > > > > Queue 0 means QID_AC_BE? Or AC_VI? > > It's AC_VO. Ah, right got it now. This explains the output of /sys/kernel/debug/ieee80211/phy0/rt2800usb/queue/queue, qid 0 is used by management frames and queue 2 for BE data. Thanks, 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