I am indeed using the Host AP driver. I found that the set_generic_element is implemented like this in .4.4 (version I&#39;m using): set_rid(local-&gt;dev, HFA384X_RID_GENERICELEMENT, buf, len + 2); I tried doing <br>set_rid_word 0xFC48 37 with iwpriv to see if that would work, but got: 
<br>Interface doesn&#39;t accept private ioctl...<br>set_rid_word (8BEE): Invalid argument<br><br>What could be the reason for that? Is the feature supported in 0.4.4 or should I upgrade the kernel? I&#39;ll check out git in the meantime.
<br><br>Thank you,<br>Timur<br><br><div class="gmail_quote">On Jan 18, 2008 11:05 PM, Jouni Malinen &lt;<a href="mailto:j@w1.fi">j@w1.fi</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Fri, Jan 18, 2008 at 04:04:31PM -0500, Timur Alperovich wrote:<br>&gt; Where is the head and tail set? I found references to the local_info struct,<br>&gt; which contains all the information that is stuffed in there, but couldn&#39;t
<br>&gt; find where it&#39;s used for beacon header/tail.<br><br></div>Which driver are you using? If Host AP, most of the information in this<br>thread has nothing to do with it.. Since local_info structure is not<br>used in net/mac80211 or madwifi, I would assume this is indeed for Host
<br>AP driver. In that case, the answer is that there is no header/tail<br>configuration for beacon (hostapd/beacon.c is not used at all with Host<br>AP driver), but set_generic_elem() handler is used to add a group of IEs
<br>to Beacon and Probe Response frames. The current Git version shows how<br>to add more IEs into this set (it combines WPA/RSN IE and WPS IE into<br>the single buffer that is then configured to the driver).<br><font color="#888888">
<br>--<br>Jouni Malinen &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;PGP id EFC895FA<br>_______________________________________________<br>HostAP mailing list<br><a href="mailto:HostAP@lists.shmoo.com">HostAP@lists.shmoo.com
</a><br><a href="http://lists.shmoo.com/mailman/listinfo/hostap" target="_blank">http://lists.shmoo.com/mailman/listinfo/hostap</a><br></font></blockquote></div><br>