beacon code

Timur Alperovich timur.alperovich
Tue Jan 22 11:25:24 PST 2008


I am indeed using the Host AP driver. I found that the set_generic_element
is implemented like this in .4.4 (version I'm using): set_rid(local->dev,
HFA384X_RID_GENERICELEMENT, buf, len + 2); I tried doing
set_rid_word 0xFC48 37 with iwpriv to see if that would work, but got:
Interface doesn't accept private ioctl...
set_rid_word (8BEE): Invalid argument

What could be the reason for that? Is the feature supported in 0.4.4 or
should I upgrade the kernel? I'll check out git in the meantime.

Thank you,
Timur

On Jan 18, 2008 11:05 PM, Jouni Malinen <j at w1.fi> wrote:

> On Fri, Jan 18, 2008 at 04:04:31PM -0500, Timur Alperovich wrote:
> > Where is the head and tail set? I found references to the local_info
> struct,
> > which contains all the information that is stuffed in there, but
> couldn't
> > find where it's used for beacon header/tail.
>
> Which driver are you using? If Host AP, most of the information in this
> thread has nothing to do with it.. Since local_info structure is not
> used in net/mac80211 or madwifi, I would assume this is indeed for Host
> AP driver. In that case, the answer is that there is no header/tail
> configuration for beacon (hostapd/beacon.c is not used at all with Host
> AP driver), but set_generic_elem() handler is used to add a group of IEs
> to Beacon and Probe Response frames. The current Git version shows how
> to add more IEs into this set (it combines WPA/RSN IE and WPS IE into
> the single buffer that is then configured to the driver).
>
> --
> Jouni Malinen                                            PGP id EFC895FA
> _______________________________________________
> HostAP mailing list
> HostAP at lists.shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20080122/f0474ae3/attachment.htm 



More information about the Hostap mailing list