On Mon, Nov 17, 2014 at 11:48:06AM +0100, Johannes Berg wrote: > From: Johannes Berg <johannes.berg@xxxxxxxxx> > > In many cases, drivers can filter things like beacons that will > skew statistics reported by mac80211. To get correct statistics > in these cases, call drivers to obtain statistics and let them > override all values, filling values from mac80211 if the driver > didn't provide them. Neat. For mesh, it's handy to have the (somewhat imperfectly specified) sta->fail_avg too for drivers that implement all the rate control in firmware and thus may not report tx status for all frames. At cozybit we had implemented a drv_link_stats driver op (hack) that just got last_tx_rate and fail_avg so that the airtime link metric could work on such devices; this call could replace that, I hope. -- Bob Copeland %% http://bobcopeland.com/ -- 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