Search Linux Wireless

Re: [RFC] design discussion: Collecting information for (non-peer) stations

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

 



On 02/15/2013 06:19 PM, Simon Wunderlich wrote:
> Hello wireless folks,
> 
> Mathias Kretschmer and me would like to bring another new feature to the kernel:
> Collecting information for (non-peer) stations. [...]
> 
> Cheers,
>         Simon
> 
Hi Simon,

our areas of operations obviously highly overlap, since I did the same
consideration path only recently ;)

For the frequency planning feature we are currently working on, I need those
extended statistics you are proposing with additional filtering rules (OUI or mask
based) to classify peers.

My initial idea was to do a sliding time window aggregation of those statistics in
the kernel with almost the same interface to the userspace you are proposing.

But with your integration of the spectral feature I realized how efficient relay
based continuous data transfer is (as compared to sending samples over netlink).
Consequently I revised the initial plan and consider realizing the extended
statistics collection in userspace.

The modifications required in the kernel are minimal:
* create relay file in debugfs
* provide enable flag in debugfs
* based on this flag, extract relevant information from frames and write to relay

This way, you move complexity out of the kernel and maximize flexibility for
statistical evaluation in userspace. Also, the overhead for moving data between
kernel and userspace is minimized, since you do them in bulk.

This is all in the planning phase, so I have no proof-of-concept patches yet.
Would just like to hear what your thoughts are and whether this could be the way
to go.



Thanks for your initiative
Zefir
--
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