<P><FONT face=Verdana size=2>Hi all,</FONT></P>
<P><FONT face=Verdana size=2>may 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 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. <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->func->set_rid(local->dev, HFA384X_RID_GENERICELEMENT, <BR> buf, 28); </FONT></P>
<P><FONT face=Verdana size=2>> I have checked the codes you mentioned. <BR>> And I think you can write the codes like this: <BR>> char buf[26] = {0xdd, 0x18, ...} <BR>> local->func->set_rid(local->dev, HFA384X_RID_GENERICELEMENT,buf, 26); <BR>> > ~~~I think 26 <BR>> should be (26+1)*2. I donot know about it exactly, pls just try it.^_^ <BR>> You need not to tell firmware about the frame type of WPA, because RID FC48 is <BR>> just for WPA IE, firmware knew about it. I set IE in AP and sniffed frames, <BR>> it's good. </FONT></P>
<P><FONT face=Verdana size=2>>>char buf[28] = { 0x80, 0x00, 0xdd, 0x18, ....}; <BR>>>local->func->set_rid(local->dev, HFA384X_RID_GENERICELEMENT, <BR>>> buf, 28); <BR>>> <BR>>>The first byte of 'buf' is the frame type of beacon, and 26 bytes from <BR>>>the third to the end are WPA IE. <BR>>> <BR>>>I caught the beacon frame in the air, and saw the IE is attached. But <BR>>>102 meaningless bytes are attached in the trail also. <BR>>>I don't know the right procedures to configure IEs in management <BR>>>frames. I just tried, but it is not successful. <BR>>>I guess, if we know the right configuration procedures of f/w 1.7.x, <BR>>>we can make HostAP to support WPA. </FONT></P><BR><FONT face=Verdana size=2>><BR>> _______________________________________________ <BR>> HostAP mailing list <BR>> HostAP@shmoo.com <BR>> 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>