aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2009-07-01 15:27:00 -0400
committerJohn W. Linville <linville@tuxdriver.com>2009-07-10 15:01:52 -0400
commit8990646d2fafeacfacba4a4b1073a4216662089a (patch)
tree357fcf85f7e982b9f06aaac9e7c3468c6af0333f /include
parent9930380f0bd8405fa6a51d644f3de88c30666519 (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')
-rw-r--r--include/net/cfg80211.h1
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,
1646int cfg80211_wext_giwtxpower(struct net_device *dev, 1646int 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);
1649struct iw_statistics *cfg80211_wireless_stats(struct net_device *dev);
1649 1650
1650int cfg80211_wext_siwpower(struct net_device *dev, 1651int cfg80211_wext_siwpower(struct net_device *dev,
1651 struct iw_request_info *info, 1652 struct iw_request_info *info,