Search Linux Wireless

Re: Wireless rates with mac80211

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

 



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 */

-Michael Wu

Attachment: pgpznHEaxczxw.pgp
Description: PGP signature


[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