linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Johannes Berg <johannes@sipsolutions.net>
To: Nikolay Martynov <mar.kolya@gmail.com>
Cc: linville@tuxdriver.com, linux-wireless@vger.kernel.org
Subject: Re: [PATCH] mac80211: reset addba retries after timeout
Date: Tue, 29 Nov 2011 23:35:59 +0100	[thread overview]
Message-ID: <1322606159.11282.2.camel@jlt3.sipsolutions.net> (raw)
In-Reply-To: <CALGY4ftCLvwUuRZbH30PyUxAd6U7-p9hGwu8SjzLmqV4=XryZg@mail.gmail.com> (sfid-20111129_232917_739824_BB56AB1A)

On Tue, 2011-11-29 at 17:28 -0500, Nikolay Martynov wrote:
> Hi.
> 
> 2011/11/29 Johannes Berg <johannes@sipsolutions.net>:
> > On Tue, 2011-11-29 at 17:01 -0500, Nikolay Martynov wrote:
> >
> >> >>   Do APs broken is such way exist? I.e. APs which declare aggregation
> >> >> support but do not respond to addba.
> >> >
> >> > I seem to remember something ... not really sure.
> >>
> >>   If such APs exist I think it might be possible to extend my patch to
> >> do something like the following. For the first time make 10 attempts
> >> to establish addba. If this fails - make no more attempts for the
> >> duration of the connection. If this succeeds - use logic I've added in
> >> the patch. This should handle broken APs and won't allow agg to be
> >> disable because of some random blackout.
> >
> > Wouldn't that be equivalent to just bumping the number of tries?
> 
>   Well, sort of if you are willing to bump it to 10-15, I guess it
> would be kind of same thing.
>   I've seen couple of times when 3 wasn't enough and agg got disabled,
> but 10-15 seems reasonably large to give up completely.

Maybe the better approach would be to bump it up, but also only allow an
attempt once every say 15 seconds or so? It seems kinda useless to try 3
(or 10/15) times in quick succession and then give up, vs. just trying
more spaced out?

johannes


  reply	other threads:[~2011-11-29 22:36 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-29  2:27 [PATCH] mac80211: reset addba retries after timeout Nikolay Martynov
2011-11-29  8:24 ` Johannes Berg
2011-11-29 15:14   ` Nikolay Martynov
2011-11-29 15:19     ` Johannes Berg
2011-11-29 22:01       ` Nikolay Martynov
2011-11-29 22:14         ` Johannes Berg
2011-11-29 22:28           ` Nikolay Martynov
2011-11-29 22:35             ` Johannes Berg [this message]
2011-11-29 22:46               ` Nikolay Martynov
2011-11-30  8:32                 ` Johannes Berg
2011-11-30 14:16                   ` Nikolay Martynov
2011-12-06  3:03                   ` Nikolay Martynov
2011-12-06  9:09                     ` Johannes Berg
2011-12-09  3:43                       ` [PATCH v2] mac80211: split addba retries in time Nikolay Martynov
2011-12-09  8:02                         ` Helmut Schaa
     [not found]                           ` <CALGY4fvo7DMp+_+=wU+072v7sfA6EWfd_weM-G4B3ZxVYEaWhA@mail.gmail.com>
2011-12-12 18:53                             ` Helmut Schaa
2011-12-13 20:25                         ` John W. Linville
2011-12-18  0:39                           ` [PATCH v3] " Nikolay Martynov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1322606159.11282.2.camel@jlt3.sipsolutions.net \
    --to=johannes@sipsolutions.net \
    --cc=linux-wireless@vger.kernel.org \
    --cc=linville@tuxdriver.com \
    --cc=mar.kolya@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).