How can I let wavelan card inform my application about new accespoint information?

Song.Lu-1 lusong at ou.edu
Wed Sep 17 02:26:58 EST 2003


hi,
 I am considering about using the wireless extension to get the access point information by event_driven way. So I read the source code of wireless extension implementation, wireless.c, and found the author used the ioctl means to assign the event handler. Am I right? Then I searched the  wireless applications for Linux in the  webpage : http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html and found most of them are applying the ioctl on the socket. It made me disapoint. Why? I have to bypass the socket because the transmission layer protocol which i need to implement is neither tcp nor udp.
So would you please give me some tips that if I want to bypass the socket to apply the ioctl on the driver for event_driven directly, how I can do it. For example, if the card detects there is a new signal of access point, then it send the information to the driver, then some event should be trigged to call some event handler.
Thank you very much!






More information about the wireless mailing list