diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2009-07-01 21:27:00 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-07-10 21:01:52 +0200 |
commit | 8990646d2fafeacfacba4a4b1073a4216662089a (patch) | |
tree | 357fcf85f7e982b9f06aaac9e7c3468c6af0333f /include/net/cfg80211.h | |
parent | cfg80211: implement IWRATE (diff) | |
download | linux-8990646d2fafeacfacba4a4b1073a4216662089a.tar.xz linux-8990646d2fafeacfacba4a4b1073a4216662089a.zip |
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, int cfg80211_wext_giwtxpower(struct net_device *dev, struct iw_request_info *info, union iwreq_data *data, char *keybuf); +struct iw_statistics *cfg80211_wireless_stats(struct net_device *dev); int cfg80211_wext_siwpower(struct net_device *dev, struct iw_request_info *info, |