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