diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2009-07-01 15:27:00 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-07-10 15:01:52 -0400 |
commit | 8990646d2fafeacfacba4a4b1073a4216662089a (patch) | |
tree | 357fcf85f7e982b9f06aaac9e7c3468c6af0333f /include/net/cfg80211.h | |
parent | 9930380f0bd8405fa6a51d644f3de88c30666519 (diff) |
cfg80211: implement get_wireless_stats
By dropping the noise reporting, we can implement
wireless stats in cfg80211. We also make the
handler return NULL if we have no information,
which is possible thanks to the recent wext change.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/net/cfg80211.h')
-rw-r--r-- | include/net/cfg80211.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h index 579085564883..fe87819954a5 100644 --- a/include/net/cfg80211.h +++ b/include/net/cfg80211.h | |||
@@ -1646,6 +1646,7 @@ int cfg80211_wext_siwtxpower(struct net_device *dev, | |||
1646 | int cfg80211_wext_giwtxpower(struct net_device *dev, | 1646 | int cfg80211_wext_giwtxpower(struct net_device *dev, |
1647 | struct iw_request_info *info, | 1647 | struct iw_request_info *info, |
1648 | union iwreq_data *data, char *keybuf); | 1648 | union iwreq_data *data, char *keybuf); |
1649 | struct iw_statistics *cfg80211_wireless_stats(struct net_device *dev); | ||
1649 | 1650 | ||
1650 | int cfg80211_wext_siwpower(struct net_device *dev, | 1651 | int cfg80211_wext_siwpower(struct net_device *dev, |
1651 | struct iw_request_info *info, | 1652 | struct iw_request_info *info, |