Quote:
Originally Posted by paulsm4
Hi -
If I'm understanding you correctly, then your interrupt handler would simply schedule your tasklet (initializing the tasklet's input data - the time stamp - before it starts).
Here's an example:
http://www.tutorialized.com/view/tut...k-queues/57758
'Hope that helps .. PSM
|
First of all, thanks a lot for your reply, paulsm4.
I am actually modifying the Madwifi driver, in which the tasklet is initialized in an separate function invoked when the driver module is first probed. The interrupt handler does not provide any data to the tasklet.
However, as you suggested in your previous reply, is it possible to initialize and pass data to a tasklet every time an interrupt happens (in the interrupt handler)?