-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 12/19/2011 11:10 AM, Felix Fietkau wrote:
> I'm actually considering handling RSSI LED in user space. It doesn't
> integrate well with the normal trigger <-> LED model, handling it
It's not that far from what ledtrig-usbdev does in the end. Just that it should
allow the user to create triggers for threshold levels instead of
usb-device-paths and have some global configuration parameters -- if we want to
over-do it, these could be a Attack(ms), Decay(ms), Sustain (%) and 
Release(ms)...

> properly would need lots of extra configurability that is better done
> in user space, and also, a process doing an update every 250 or 500 ms
> is usually cheaper than adding yet another hook to something that's
> called from the rx path.
I was hoping for something around 50ms so it would feel real-time-ish while
adjusting the antenna position(s).
But I see how the cost of handling this would add on the rx-path which might not
be such a good idea in the end...

> For the initial version I was thinking of a simple program that uses
> nl80211 directly to poll the signal strength (no need for libiwinfo
> abstraction, since I have no intention of supporting non-cfg80211
> drivers with this). It can take a list of LEDs and the signal strength
> threshold for each LED from the command line.
Implemented in C and linking only against libnl-tiny this could be a very good
compromise.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBAgAGBQJO7wouAAoJEDy9cKN/1Et0WUQP/RqSnUp6ySmmE+Kc5EOwao2J
xiI1qRMm4oc7OX3YlfVAunmk09kFDAh3obaBvmncDMDSZ7FTcZvQ2M9lFVPufTQQ
QLMCHFWkF6Jl+Szcq6wAhQ2PBxBtLUjVFhrtY53ihA+KNvlD5Ls8CJYkNVhKWF8O
8bU7djQVH8B6emyBgHOwRQSv1oaUkVIxU+ePik0f8//8rgaHT+jQzYrDvqFC5OJ1
LhFiRdNtMLTt3feQ9nmkpVUBICrwdJecRvpxrVhFzjAVn+7h6M/BWmcrlDFGKW4h
xsFVuf2zPLNpl3R0PBUGb5bPFEgywAS7tUkUGSlXxKZpDMg6KmJcogCL0rLQcEnP
tODaPH1kj0sOMKdnFnBiaDunHKXlHjdutQGSc+PmidiccXmtAwvrrWupWoVxr3Pk
EUD+0Z9G7PngLy4ab7qc8BdujxaFaRdC7llOYqp8R+Z89KRUbFTSfU6I4nlkN7Tm
Q+Of1rHzRHNbNPC/34yLQ+ZjEKrB+Don2jeb1aye9ia+sRd2p4a/RgKklnkNhIve
IckM145+cLyN3xntfX9IGjIKdwFpYH8ebnt+QvGHlxIPYHgL/wcR2M4JjlHwa4b6
uM4ifeeUWGYqi97hjaP9sAsX3J5EJznU46vPX09xhsmR+6PXgiYw3cUq37lWQ95x
3vSKtYcHJfX2FnIRU8/+
=uBcE
-----END PGP SIGNATURE-----
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to