On Fri, 2012-03-02 at 02:41 +0100, Dmitry Tarnyagin wrote: > +/* ******************************************************************** */ > +/* Queue mapping: WSM <---> linux */ > +/* Linux: VO VI BE BK */ > +/* WSM: BE BK VI VO */ > + > +static inline u8 wsm_queue_id_to_linux(u8 queueId) > +{ > + static const u8 queue_mapping[] = { > + 2, 3, 1, 0 > + }; > + return queue_mapping[queueId]; > +} This could use the IEEE80211_AC_* defines I think. 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