Some Questions

Pavel Roskin proski at gnu.org
Tue May 30 11:59:35 EDT 2006


Hello!

On Mon, 2006-05-29 at 11:22 +0800, li tony wrote:
> I am studying hostapd source code. I have some questions to ask you.
>  
> 1,I first studied hostapd.c and eloop.c,then driver.c, but I did not
> find any call of the function,hostap_driver_register, in driver.c and
> other files.

It's called from driver_conf.c, which is generated automatically.

> 2, I think all packets from wireless interface shoul be processed in
> driver.c,but I can not find any branch to process packets(such
> as ,data,voice and video) but 802.11 mangement and
> authentication(802.1x and wpa) packets.

If I understand correctly, encryption/decryption of data is done in the
kernel (either in the driver or in the crypto code).
 
> I think I make a mistake to study hostapd,so I want you can help me.

The biggest mistake is not to study anything.

-- 
Regards,
Pavel Roskin




More information about the HostAP mailing list