Search Linux Wireless

Re: [RFC] mac80211: allow drivers to provide any statistics

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2014-11-17 at 13:03 +0100, Arend van Spriel wrote:

> > +	void (*sta_statistics)(struct ieee80211_hw *hw,
> > +			       struct ieee80211_vif *vif,
> > +			       struct ieee80211_sta *sta,
> > +			       struct station_info *sinfo);
> 
> Could consider exposing station_info through ieee80211_sta struct.

We don't keep it in there though, we build it on the fly when we're
asked for statistics, and keep the actual values elsewhere (or even
calculate them on the fly). That'd be a bigger change then to keep in
the struct, and I'm not sure it's worth it since some need more info
than just the value (like ewma) etc.

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




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux