Search Linux Wireless

Re: Wireless rates with mac80211

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
-
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux