Return-path: Received: from mail-ee0-f51.google.com ([74.125.83.51]:55015 "EHLO mail-ee0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753160AbaAVUrh (ORCPT ); Wed, 22 Jan 2014 15:47:37 -0500 Received: by mail-ee0-f51.google.com with SMTP id b57so23897eek.10 for ; Wed, 22 Jan 2014 12:47:36 -0800 (PST) In-Reply-To: <1390418495.4334.49.camel@jlt4.sipsolutions.net> References: <1390391564-18481-1-git-send-email-karl.beldan@gmail.com> <1390394079.4334.30.camel@jlt4.sipsolutions.net> <20140122130924.GA18365@magnum.frso.rivierawaves.com> <20140122152845.GB18365@magnum.frso.rivierawaves.com> <20140122164122.GC18365@magnum.frso.rivierawaves.com> <1390416713.4334.46.camel@jlt4.sipsolutions.net> <20140122191610.GD18365@magnum.frso.rivierawaves.com> (sfid-20140122_201711_730750_BBD5790C) <1390418495.4334.49.camel@jlt4.sipsolutions.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Subject: Re: [PATCH] mac80211: send {add,del}ba on AC_VO like other mgmt frames, as per spec From: Helmut Schaa Date: Wed, 22 Jan 2014 21:47:27 +0100 To: Johannes Berg , Karl Beldan CC: linux-wireless , Karl Beldan , Emmanuel Grumbach Message-ID: <970cacf7-158d-4f3f-8a7e-c77a43f3185b@email.android.com> (sfid-20140122_214741_839099_BD1DC81E) Sender: linux-wireless-owner@vger.kernel.org List-ID: Johannes Berg schrieb: >On Wed, 2014-01-22 at 20:16 +0100, Karl Beldan wrote: > >> > Given the fact that we only send the frame from >> > ieee80211_stop_tx_ba_cb() I don't see any problem. Even if we were >to >> > send the frame directly after calling the ampdu_action, it seems it >> > would be fine, since the callback (now) requires sending the >remaining >> > frames unaggregated. (Given that, I'm not even sure why we required >the >> > packets to be sent unaggregated, Emmanuel, do you remember?) >> > >> I'd expect most device to not block ack such frames, and they'd be >> right to do so, sending them unaggregated seems the right thing to >do. > >Oh, I roughly remember now - we didn't want to separate the cases of us >sending a delBA and us receiving a delBA. If we receive a delBA, we >should stop sending aggregated frames immediately (actually for iwlwifi >the firmware will do that) or as quickly as possible, hence the >requirement > >If we decide to tear down the session ourselves then we could continue >sending until later, but it's not worth it. > >> So, I guess you are taking what I sent ? > >Haven't really made up my mind yet ... I think it's more correct, so I >should, but I also don't really want to break the ralink drivers over >what seems to me to be a fairly small issue. I think I'm fine with this now. Let's just see if someone experiences any issues ... Furthermore I think i even remember that you can force ralink HW to stop a BA session. But all in all lets better comply with the spec ... Helmut