Return-path: Received: from mail-qw0-f46.google.com ([209.85.216.46]:57598 "EHLO mail-qw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756309Ab0KPTdl (ORCPT ); Tue, 16 Nov 2010 14:33:41 -0500 Received: by qwh6 with SMTP id 6so873780qwh.19 for ; Tue, 16 Nov 2010 11:33:40 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <1289935603.3673.3.camel@jlt3.sipsolutions.net> References: <201011131911.47346.IvDoorn@gmail.com> <201011161742.08503.helmut.schaa@googlemail.com> <20101116165302.GA29570@sig21.net> <201011161800.40654.helmut.schaa@googlemail.com> <20101116190654.GA3659@sig21.net> <1289935603.3673.3.camel@jlt3.sipsolutions.net> Date: Tue, 16 Nov 2010 20:33:39 +0100 Message-ID: Subject: Re: [PATCH 7/9] rt2x00: Fix rt2800 USB TX Path DMA issue From: Ivo Van Doorn To: Johannes Berg Cc: Johannes Stezenbach , Helmut Schaa , jay_hung@ralinktech.com, linux-wireless@vger.kernel.org, users@rt2x00.serialmonkey.com, Walter Goldens , "John W. Linville" Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-wireless-owner@vger.kernel.org List-ID: On Tue, Nov 16, 2010 at 8:26 PM, Johannes Berg wrote: > On Tue, 2010-11-16 at 20:23 +0100, Ivo Van Doorn wrote: > >> However what I meant, is when skb->priority is 0, must the highest or the lowest >> priority be assumed? If it is the highest priority, then rt2x00 uses >> the incorrect >> naming, and all what is needed is to rename the fields everywhere in rt2x00. >> However is it is the lowest priority, then the naming is correct, and we must >> change the meaning, in which case we must rename and meaning. > > I'm working on this: > http://johannes.sipsolutions.net/patches/kernel/all/LATEST/012-mac80211-ac-defines.patch > > 0 is highest prio (AC_VO) Excellent. :) So that makes the bug in rt2x00 fortunately a naming-only thing. We don't need to map from mac80211 to rt2x00 values, but we simply need to search & replace the enumeration names to match the meaning. Ivo