On Fri, 2012-04-20 at 09:38 -0700, Wey-Yi Guy wrote:
> ieee80211_ave_rssi need to be declare as export for driver to use it.
>
> Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@xxxxxxxxx>
> ---
> net/mac80211/util.c | 9 +++++++++
> 1 files changed, 9 insertions(+), 0 deletions(-)
>
> diff --git a/net/mac80211/util.c b/net/mac80211/util.c
> index 89c1e5b..4a8cd29 100644
> --- a/net/mac80211/util.c
> +++ b/net/mac80211/util.c
> @@ -1794,6 +1794,14 @@ int ieee80211_add_ext_srates_ie(struct ieee80211_vif *vif,
> return 0;
> }
>
> +/**
> + * 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)
The documentation should be in the header file.
johannes
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Linux Kernel]
[Linux Bluetooth]
[Linux Netdev]
[Kernel Newbies]
[Share Photos]
[IDE]
[Security]
[Git]
[Netfilter]
[Bugtraq]
[Photo]
[Yosemite]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Linux ATA RAID]
[Samba]
[Video 4 Linux]
[Device Mapper]
[Linux Resources]
[Free Dating]
[M2M Wireless]