diff options
author | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2012-04-20 11:57:00 -0700 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-04-23 15:37:41 -0400 |
commit | 0d8a0a17288e419c2e5e9ce18c8b66b390eb7e23 (patch) | |
tree | 73660da190f46b320b45f6fdf7491b9c0a0364d4 /include/net | |
parent | 6ac95b57657d1bf5776f29a1697c123f62d5a58a (diff) |
mac80211: declare ieee80211_ave_rssi as EXPORT
ieee80211_ave_rssi need to be declare as export for driver to use it.
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/mac80211.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h index bebd89f7f6c3..da3658177997 100644 --- a/include/net/mac80211.h +++ b/include/net/mac80211.h @@ -3802,6 +3802,14 @@ int ieee80211_add_srates_ie(struct ieee80211_vif *vif, int ieee80211_add_ext_srates_ie(struct ieee80211_vif *vif, struct sk_buff *skb, bool need_basic); +/** + * ieee80211_ave_rssi - report the average rssi for the specified interface + * + * @vif: the specified virtual interface + * + * This function return the average rssi value for the requested interface. + * It assumes that the given vif is valid. + */ int ieee80211_ave_rssi(struct ieee80211_vif *vif); #endif /* MAC80211_H */ |