<P><FONT face=Verdana size=2>Hi all,</FONT></P>
<P><FONT face=Verdana size=2>may&nbsp;I know what is WPA?</FONT></P>
<P><FONT face=Verdana size=2>I am trying to implement customised beacon frames and new IE on hostap accesspoints and stations.</FONT></P>
<P><FONT face=Verdana size=2>On the AP, I would like to add new IE into the beacons. On the station, I would like to receive&nbsp;and interprete it on the userspace.</FONT></P>
<P><FONT face=Verdana size=2>Can this be achieve in hostap environment?</FONT></P>
<P><FONT face=Verdana size=2>Pls advice me.&nbsp;<BR><BR>----- Original Message -----<BR>From: khoh@etri.re.kr<BR>Date: Tue, 3 Jun 2003 16:58:06 +0900 <BR>To: davidlo@eyou.com, hostap@shmoo.com<BR>Subject: Re:Extending HostAP to support WPA<BR><BR></FONT></P>
<META content="MS Exchange Server version 5.5.2653.12" name=Generator>
<P><FONT face=Verdana size=2>Thank you for your reply. </FONT></P>
<P><FONT face=Verdana size=2>I have a card with STA firmware 1.7.4. After I read the reply, <BR>I tried some more tests, and got the right beacons. <BR>The first byte is the length IE, not frame type. <BR>I still don't know what the second byte means. But zero value <BR>of the second byte made tests successful. <BR>The rest 26 bytes from the third are WPA IE. <BR>My successful codes are something like followings. </FONT></P>
<P><FONT face=Verdana size=2>char buf[28] = { 0x1a, 0x00, 0xdd, 0x18, ....}; // 0x1a==26 <BR>local-&gt;func-&gt;set_rid(local-&gt;dev, HFA384X_RID_GENERICELEMENT, <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; buf, 28); </FONT></P>
<P><FONT face=Verdana size=2>&gt; I have checked the codes you mentioned. <BR>&gt; And I think you can write the codes like this: <BR>&gt; char buf[26] = {0xdd, 0x18, ...} <BR>&gt; local-&gt;func-&gt;set_rid(local-&gt;dev, HFA384X_RID_GENERICELEMENT,buf, 26); <BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ~~~I think 26 <BR>&gt; should be (26+1)*2. I donot know about it exactly, pls just try it.^_^ <BR>&gt; You need not to tell firmware about the frame type of WPA, because RID FC48 is <BR>&gt; just for WPA IE, firmware knew about it. I set IE in AP and sniffed frames, <BR>&gt; it's good. </FONT></P>
<P><FONT face=Verdana size=2>&gt;&gt;char buf[28] = { 0x80, 0x00, 0xdd, 0x18, ....}; <BR>&gt;&gt;local-&gt;func-&gt;set_rid(local-&gt;dev, HFA384X_RID_GENERICELEMENT, <BR>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; buf, 28); <BR>&gt;&gt; <BR>&gt;&gt;The first byte of 'buf' is the frame type of beacon, and 26 bytes from <BR>&gt;&gt;the third to the end are WPA IE. <BR>&gt;&gt; <BR>&gt;&gt;I caught the beacon frame in the air, and saw the IE is attached. But <BR>&gt;&gt;102 meaningless bytes are attached in the trail also. <BR>&gt;&gt;I don't know the right procedures to configure IEs in management <BR>&gt;&gt;frames. I just tried, but it is not successful. <BR>&gt;&gt;I guess, if we know the right configuration procedures of f/w 1.7.x, <BR>&gt;&gt;we can make HostAP to support WPA. </FONT></P><BR><FONT face=Verdana size=2>&gt;<BR>&gt; _______________________________________________ <BR>&gt; HostAP mailing list <BR>&gt; HostAP@shmoo.com <BR>&gt; http://lists.shmoo.com/!
 mailman/listinfo/hostap <BR></FONT><PRE><FONT face=Verdana size=2>Thank you.

--
Chen</FONT></PRE>
-- 
<p>_______________________________________________<br>
Sign-up for your own FREE Personalized E-mail at <a href="http://www.mail.com/?sr=signup" target="_new"><font color="#0000FF"> Mail.com</font></a></p>