Hey, On Mon, Feb 25, 2013 at 11:28:17AM +0100, Simon Wunderlich wrote: > On Fri, Feb 22, 2013 at 09:42:43AM -0800, Adrian Chadd wrote: > Anyway, I'll look at the rx_handler stuff what Felix suggested and see > if this could work out. :) > We've drafted some external module - the general approach seems to work quite nicely, the only thing which appears needless it to add a radiotap header and remove it later in the statistics module again ... Anyway, here is some code to digest for anyone who is interested: https://github.com/simonwunderlich/wifi_statistics It hooks in an rx_handler onto mon0 (yes, that's currently static), and throws out some info via debugfs. It parses the radiotap and wifi header of every packet on the monitor interface. @Antonio, Zefir: I'd be interested in your opinions. Would that be useful for you too? Should we add all the statistics we are interested in, or better use some kind of API if we are interested in "special statistics" which no one else is? If there is general interest, we can propose to include it in upstream Linux. Otherwise, we can maintain it (together ?) as seperate module. It's not so big anyway ... Cheers, Simon
Attachment:
signature.asc
Description: Digital signature