beacon code

Johannes Berg johannes
Fri Jan 18 14:29:06 PST 2008


On Fri, 2008-01-18 at 17:27 -0500, Timur Alperovich wrote:
> I was looking through the code and I'm a bit confused by this:
> param->u.beacon.head_len=head_len; 
> param->u.beacon.tail_len = tail_len;
> in static int i802_set_beacon in the driver_devicespace.c file.

Don't look at driver_devicescape, you don't want it. Look at
driver_hostap.

>  Where is the struct with head_len and tail_len members defined?

Nowhere. The driver can't compile because it assumes that those
definitions are exported from the kernel, but they have long been
killed.

>  Also, beacon is not part of the union for u as far as I could
> tell... 

Well, no, the beacon data sits right after the parameter.

johannes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 828 bytes
Desc: This is a digitally signed message part
Url : http://lists.shmoo.com/pipermail/hostap/attachments/20080118/7fcc4407/attachment.pgp 



More information about the Hostap mailing list