[MAC80211]: Add support for SIOCGIWRATE ioctl
authorLarry Finger <Larry.Finger@lwfinger.net>
Mon, 11 Jun 2007 00:57:33 +0000 (17:57 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 11 Jul 2007 05:14:07 +0000 (22:14 -0700)
commitb3d88ad49a0623d09efcf998beb26288c8029f75
tree4ac9aa2462ebac150698f71f900772f14e911c87
parent8c7b7faaa630fef7f68d8728cee1cce398cc9697
[MAC80211]: Add support for SIOCGIWRATE ioctl

At present, transmission rate information for mac80211 is available only
if verbose debugging is turned on, and then only in the logs. This patch
implements the SIOCGIWRATE ioctl, which adds the current transmission rate to
the output of iwconfig.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/mac80211/ieee80211_ioctl.c