When/HOW hostapd get frame from madwifi??

Nazeer Khan Nazeer.Khan
Sun Jan 14 04:48:11 PST 2007


Hi,

I found some code in "driver.c" in which sockets are created to capture
raw 802.11 frames from the interface. Then management, ctrl and data
frames are handled seperately. I just wanted to ask how are these
functions called?? (Especially hostap_init_sockets(), handle_read(),
handle_data(), handle_frame() etc)

Can someone briefly tell what is the process. I am not much familiar with
linux or advance programming. So can someone briefly explain in simple
words please that when 802.11 frame arrives at wireless interface "ath0"
(madwifi interface), how hostapd get this frame from the interface.

Thank you in advance.

Nazeer Khan


--------------------------------------------------------------------------
This email and any attachments may be confidential. They may contain legally
privileged information or copyright material. You should not read, copy,
use or disclose them without authorisation. If you are not an intended
recipient, please contact us at once by return email and then delete both
messages. We do not accept liability in connection with computer virus,
data corruption, delay, interruption, unauthorised access or unauthorised
amendment. This notice should not be removed.




More information about the Hostap mailing list