Return-path: Received: from he.sipsolutions.net ([78.46.109.217]:51673 "EHLO sipsolutions.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750896Ab1IGSOW (ORCPT ); Wed, 7 Sep 2011 14:14:22 -0400 Subject: Re: [PATCH 0/2] QoS headers for mesh From: Johannes Berg To: Javier Cardona Cc: "John W. Linville" , Thomas Pedersen , devel@lists.open80211s.org, linux-wireless@vger.kernel.org, jlopex@gmail.com In-Reply-To: <1315418920.4002.13.camel@jlt3.sipsolutions.net> (sfid-20110907_200849_198439_CB225490) References: <1315347976-13950-1-git-send-email-javier@cozybit.com> (sfid-20110907_002659_987760_30CFF5E1) <1315418920.4002.13.camel@jlt3.sipsolutions.net> (sfid-20110907_200849_198439_CB225490) Content-Type: text/plain; charset="UTF-8" Date: Wed, 07 Sep 2011 20:14:19 +0200 Message-ID: <1315419259.4002.16.camel@jlt3.sipsolutions.net> (sfid-20110907_201430_485095_CCFAA6C0) Mime-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org List-ID: On Wed, 2011-09-07 at 20:08 +0200, Johannes Berg wrote: > On Tue, 2011-09-06 at 15:26 -0700, Javier Cardona wrote: > > Mesh frames are required to have QoS headers to indicate the presence of a Mesh > > Control Header in the payload. These patches add QoS headers to mesh frames, > > but note that they don't implement full QoS support: mesh stations don't > > currently advertise QoS capabilities. > > Uh, so does mesh want full QoS support or just QoS headers? The latter > seems a little odd to me. But if it wants QoS how about zd1211rw? I > don't think that even supports QoS? > > That's one thing that bothers me a little bit about this patchset -- > previously, QoS frames could only happen when the device actually > supported 4 queues, now this rule seems to be broken. I don't expect > this to be a major issue, but it certainly is unexpected and will > probably be forgotten by a lot of people in the future ... So after looking at this again -- what I'd much rather see instead of the second patch, and what will also require fewer changes, is *only* doing the change to ieee80211_set_qos_hdr(). Then, if the peer is a QoS station, we'll get the right header -- if it isn't then we can't really mesh with it but we'll accept that for legacy reasons (for now). I'd rather not send QoS frames to mesh stations that don't advertise QoS capability, and I'd also rather not have to worry about sending QoS frames when we don't actually support it locally. johannes