Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1236639

Re: Rate limiting AP bandwidth change messages in ieee80211_config_bw?

From Johannes Berg <johannes@sipsolutions.net>
Newsgroups linux.kernel
Subject Re: Rate limiting AP bandwidth change messages in ieee80211_config_bw?
Date 2015-09-30 20:40 +0200
Message-ID <qeusi-4KD-23@gated-at.bofh.it> (permalink)
References <qet3c-2QO-11@gated-at.bofh.it> <qeusi-4KD-25@gated-at.bofh.it> <qet3c-2QO-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, 2015-09-30 at 13:02 -0400, Josh Boyer wrote:
> Hi Johannes,
> 
> We've seen a handful of reports that seem to have verbose output from
> the ieee80211_config_bw function in net/mac80211/mlme.c.  It looks
> similar to this:
> 
> [   66.578652] wlp3s0: AP xx:xx:xx:xx:xx changed bandwidth, new config
> is 2437 MHz, width 2 (2447/0 MHz)
> [   68.522437] wlp3s0: AP xx:xx:xx:xx:xx changed bandwidth, new config
> is 2437 MHz, width 1 (2437/0 MHz)

> Essentially, this looks like the AP is changing the bandwidth (and
> only the width) every second or so.  Why it is doing this, I'm not
> sure.  However, this doesn't seem to actually be an error case yet the
> kernel logs are getting spammed with this message.
> 
> I'm wondering if we could either change this message to use sdata_dbg
> instead of sdata_info, or if we could possibly ratelimit it somehow.
> I'd be happy to come up with a patch for either, but I wanted to get
> your feedback on it before I started.  Do you have any objections or
> preference?
> 

I'm not sure ratelimiting it would even work - it's not *that* high
frequency? Not really sure though.

I think we can do either, it's not such a terribly important message as
far as I can tell.

johannes
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Rate limiting AP bandwidth change messages in ieee80211_config_bw? Josh Boyer <jwboyer@fedoraproject.org> - 2015-09-30 19:10 +0200
  Re: Rate limiting AP bandwidth change messages in  ieee80211_config_bw? Johannes Berg <johannes@sipsolutions.net> - 2015-09-30 20:40 +0200
    Re: Rate limiting AP bandwidth change messages in  ieee80211_config_bw? Johannes Berg <johannes@sipsolutions.net> - 2015-09-30 21:10 +0200
      Re: Rate limiting AP bandwidth change messages in ieee80211_config_bw? Josh Boyer <jwboyer@fedoraproject.org> - 2015-10-01 02:20 +0200
        Re: Rate limiting AP bandwidth change messages in  ieee80211_config_bw? Johannes Berg <johannes@sipsolutions.net> - 2015-10-01 09:50 +0200

csiph-web