linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Marco Porsch <marco@cozybit.com>
To: devel@lists.open80211s.org
Cc: Thomas Pedersen <thomas@cozybit.com>,
	Johannes Berg <johannes@sipsolutions.net>,
	linux-wireless@vger.kernel.org
Subject: Re: [PATCH] {nl, cfg, mac}80211: set beacon interval and DTIM period on mesh join
Date: Fri, 07 Dec 2012 12:46:24 -0800	[thread overview]
Message-ID: <50C255A0.7070306@cozybit.com> (raw)
In-Reply-To: <CAG6hwVMkhScnykjjzzDExo_vcPUWcAopZQn4s8rjC_6LH4g58w@mail.gmail.com>

On 12/07/2012 12:25 PM, Thomas Pedersen wrote:
> On Thu, Dec 6, 2012 at 2:50 AM, Johannes Berg <johannes@sipsolutions.net> wrote:
>> On Wed, 2012-12-05 at 14:57 -0800, Thomas Pedersen wrote:
>>> On Wed, Dec 5, 2012 at 2:06 PM, Marco Porsch
>>> <marco.porsch@etit.tu-chemnitz.de> wrote:
>>>> Move the default mesh beacon interval and DTIM period to cfg80211 and
>>>> make it accessible to nl80211. This enables setting both values when joining
>>>> an MBSS.
>>>>
>>>> NOTE: In a mesh with links in PS mode it is not advised to use the default
>>>> parameters 1000:4, as these cause excessive buffering delays that exceed
>>>> various timeouts (e.g. HWMP path request).
>>>
>>> Then make the default parameters reasonable? How is 1000:2?
>>
>> That's still ~2 seconds, no?
>
> Yeah I guess those would both be unsuitable for PS anyway, so it's fine as is.

Snap, I just see carl9170 has a check for beacon interval and DTIM 
period [1].

I'll change the DTIM period default value.
To my best knowledge, it does not do any difference out of powersave 
mode, and for powersave DTIM period 1 is favourable. Any objections?

--Marco


[1]
/*
  * Therefore a hard limit for the broadcast traffic should
  * prevent false alarms.
  */
if (vif->type != NL80211_IFTYPE_STATION &&
     (bss_conf->beacon_int * bss_conf->dtim_period >=
      (CARL9170_QUEUE_STUCK_TIMEOUT / 2))) {
	err = -EINVAL;
	goto out;
}

(CARL9170_QUEUE_STUCK_TIMEOUT is 5500.)


  reply	other threads:[~2012-12-07 20:46 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-05 22:06 [PATCH] {nl,cfg,mac}80211: set beacon interval and DTIM period on mesh join Marco Porsch
2012-12-05 22:57 ` [PATCH] {nl, cfg, mac}80211: " Thomas Pedersen
2012-12-06 10:50   ` Johannes Berg
2012-12-07 20:25     ` Thomas Pedersen
2012-12-07 20:46       ` Marco Porsch [this message]
2012-12-07 20:10 ` [RFC] iw: add beacon interval and DTIM period parameters to " Marco Porsch

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=50C255A0.7070306@cozybit.com \
    --to=marco@cozybit.com \
    --cc=devel@lists.open80211s.org \
    --cc=johannes@sipsolutions.net \
    --cc=linux-wireless@vger.kernel.org \
    --cc=thomas@cozybit.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).