Calling IOCTL handler from interrupt context
Jean Tourrilhes
jt
Mon Sep 29 09:46:29 PDT 2003
Sangho Shin wrote :
>
> I am trying to call some ioctl handler function, exactly
> hostap_join_ap() from interrupt context( For example, from
> hostap_getscanresults() - this function is called when scanning is done
> in firmware).
Doing things in the driver is going in the opposite direction
Jouni has been going with HostAP. You want as much as possible to do
things in user space (i.e. as a daemon).
If you can't do what you are trying to do from user space,
then I would consider that a bug.
> I was trying to use wireless_send_event() for it. But, it seems hostAP
> driver cannot catch(or handle) the event that is sent from
> wireless_send_event().
> Is there any way for catching(or handling) the event that is sent from
> wireless_send_event() in hostAP driver?
If you do it in user space, it becomes totally trivial.
Note that in the latest driver release, Jouni has added more
user APIs to join the AP of your choice.
> Thank you,
>
> Sangho,
Jean
More information about the Hostap
mailing list