All of lore.kernel.org
 help / color / mirror / Atom feed
From: Larry Finger <larry.finger@lwfinger.net>
To: Michael Wu <flamingice@sourmilk.net>
Cc: wireless <linux-wireless@vger.kernel.org>
Subject: Re: Wireless rates with mac80211
Date: Wed, 25 Apr 2007 23:16:35 -0500	[thread overview]
Message-ID: <463027A3.9040201@lwfinger.net> (raw)
In-Reply-To: <200704251637.53683.flamingice@sourmilk.net>

Michael Wu wrote:
> On Wednesday 25 April 2007 13:55, Larry Finger wrote:
>> In mac80211, the SIOC{S,G}IWRATE commands are not implemented. Is there
>> another way to find out what transmission rate is being used?
>>
> If mac80211 is configured to be verbose enough, it will periodically print the 
> average rate used since the last time the message was printed out.
> 
> #ifdef CONFIG_MAC80211_VERBOSE_DEBUG
>                         printk(KERN_DEBUG "%s: STA " MAC_FMT " Average rate: "
>                                "%d (%d/%d)\n",
>                                dev->name, MAC_ARG(sta->addr),
>                                srctrl->tx_avg_rate_sum /
>                                srctrl->tx_avg_rate_num,
>                                srctrl->tx_avg_rate_sum,
>                                srctrl->tx_avg_rate_num);
> #endif /* CONFIG_MAC80211_VERBOSE_DEBUG */

The problem with that level of debug, the logs are flooded with many lines each scan cycle, which 
happens every 1 minute with NetworkManager. In addidtion, I was hoping for something I could look at 
without having to peruse my way through the complete log.

Larry

  reply	other threads:[~2007-04-26  4:16 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-25 17:55 Wireless rates with mac80211 Larry Finger
2007-04-25 20:37 ` Michael Wu
2007-04-26  4:16   ` Larry Finger [this message]
2007-04-26  4:22     ` Michael Wu
2007-04-26  5:15       ` Larry Finger
2007-04-27  3:33         ` Michael Wu
2007-04-27 20:11 ` Jiri Benc
2007-04-27 20:21   ` Larry Finger
2007-04-27 20:29     ` Jiri Benc
2007-04-27 20:38       ` Larry Finger
2007-04-27 20:51         ` Johannes Berg

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=463027A3.9040201@lwfinger.net \
    --to=larry.finger@lwfinger.net \
    --cc=flamingice@sourmilk.net \
    --cc=linux-wireless@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.