On 03/16/2012 03:05 AM, Florian Fainelli wrote:
Hi,
I do not think this is particularly a good idea to make eththool report wireless interfaces statistics: - these are 802.11 interfaces and so they have specific statistics to report which are different from pure ethernet adapters - people will start adding more statistics to ethtool because this or that wifi-specific counter is not reported, it is abusing the tool imho.
The ethtool stats are designed to display custom driver stats in a somewhat standard manner. There is no expectation as to what stats are or should be available..some new wired Intel drivers report great numbers of stats, and some drivers report none. But, assuming we do not change the stat names all the time (adding new ones or re-arranging order is fine), a tool can be written to parse the stats on a per-driver basis without much difficulty. Thanks, Ben -- Ben Greear <greearb@xxxxxxxxxxxxxxx> Candela Technologies Inc http://www.candelatech.com -- 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