[Click] How to write to /proc in a click element

Javier Sánchez javier.recacha at gmail.com
Mon Jul 27 14:00:45 EDT 2009


ummm may be some type of  c++ fork executing exe inside a click element.

fork executes and waits for finalizing instruction:

 iwconfig ath1 channel x

¿?





2009/7/27 Harald Schiöberg <harald at net.t-labs.tu-berlin.de>:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Javier Sánchez wrote:
>> ok change the channel at ieee80211_hardstart() when the TX queues
>> initialize no problem.
>>
>> But u can change the channel per packet basis? i think this is not
>> possible, to change the channel the drivers needs to reset the chip
>> and restart the tx queues. It is not like change the rate , or the
>> retries..  which can be made per packet basis.
>>
>> But certainly i not tried or worked at it, may be i am wrong.
>
> This  is the least of your problems, since tuning the analogue frontend
> of a wireless card can take looooong time, I would expect it somewhere
> in the order of  of several milliseconds
>
> certainly something you don't want to do on a per-packet-basis....
>
> but since the original question was: how to do that on reception of a
> dedicated control-packet: that can make perfect sense (given that these
> control packets don't happen too often...)
>
>
>
> - --
> Harald Schiöberg
> Technische Universität Berlin | T-Laboratories | FG INET
> www: http://www.net.t-labs.tu-berlin.de
> Phone: +49-(0)30-8353-58476 | Fax: +49-(0)391 534 783 47
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFKben/y8wrZ9OvkU0RAjYFAKDpxG2YH9JHllIbUtWLp3+UoIRczACg7Sq1
> auHESPOR8IGM62C2RuF8tjU=
> =SAOk
> -----END PGP SIGNATURE-----
>



More information about the click mailing list