[Click] Click and Wireless Tools

Douglas S. J. De Couto decouto at csail.mit.edu
Thu May 20 09:48:28 EDT 2004


Hi Peter,

You can put any code you like in an element.  However, if it calls a 
userlevel library, it will only run in userlevel click, and needs to 
have ELEMENT_REQUIRES(userlevel) at the end of the element code.  
Similarly, if it relies on kernel code, it will only run in kernel 
click.

We have some elements that tightly integrate with wireless devices in 
the kernel, but the do require patching the device drivers and kernel 
in some cases; see the elements in in elements/wifi, especially 
WifiTXFeedback. It would be great if there were some elements that 
talked to the more general wireless library.

- doug

On 19 May 2004, at 13:47, Peter De Cleyn wrote:

> Hi all,
>
> I want to incorporate some L2 information of a wireless interface (like
> association events etc) in to a Click router configuration. Can I use 
> the
> wireless library (iwlib) to capture events in an element as I would do 
> in
> any other application or kernelmodule?
>
> If not, is there a way to collect and respond to the events available 
> from
> the Wireless Events subsystem?
>
> many thanks,
>
> Peter
>
>  ______________
> /Peter De Cleyn\
> -------------------------------------
> University of Antwerp
> Dep. Math. and Computer Science
> PATS research group
> -------------------------------------
> Middelheimlaan 1
> Building G
> B-2020 Antwerp
> -------------------------------------
> http://www.ua.ac.be
> http://win-www.ruca.ua.ac.be
> peter.decleyn at ua.ac.be
> +32 3 265 33 64
>
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
>
--
Douglas S. J. De Couto    <decouto at csail.mit.edu>



More information about the click mailing list