beacon code

Timur Alperovich timur.alperovich
Fri Jan 18 14:31:51 PST 2008


All right, there is no driver_hostap.c. There is driver.c which Jouni
commented implements interaction with the HostAP driver, but that driver
does not have anything related to setting the beacon, unless I missed
something.

Timur

On Jan 18, 2008 5:29 PM, Johannes Berg <johannes at sipsolutions.net> wrote:

>
> 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 --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20080118/bacd0add/attachment.htm 



More information about the Hostap mailing list