<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=euc-kr">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
<TITLE>Extending HostAP to support WPA</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2>I heard that new functions were added in the recent PRISM firmware</FONT>
<BR><FONT SIZE=2>to support WPA. The functions are, setting TKIP key, attaching IEs</FONT>
<BR><FONT SIZE=2>to management frames, MIC failure events, and so on.</FONT>
<BR><FONT SIZE=2>We can find some of them as HFX384X_RID_XXXX values in</FONT>
<BR><FONT SIZE=2>'hostap_wlan.h' with comments of /* added in STA f/w 1.7.x */.</FONT>
</P>

<P><FONT SIZE=2>I tried to insert WPA IE to Beacon frames. The codes are someting</FONT>
<BR><FONT SIZE=2>like followings.</FONT>
</P>

<P><FONT SIZE=2>char buf[28] = { 0x80, 0x00, 0xdd, 0x18, ....};</FONT>
<BR><FONT SIZE=2>local-&gt;func-&gt;set_rid(local-&gt;dev, HFA384X_RID_GENERICELEMENT,</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=2>buf, 28);</FONT>
</P>

<P><FONT SIZE=2>The first byte of 'buf' is the frame type of beacon, and 26 bytes from</FONT>
<BR><FONT SIZE=2>the third to the end are WPA IE.</FONT>
</P>

<P><FONT SIZE=2>I caught the beacon frame in the air, and saw the IE is attached. But</FONT>
<BR><FONT SIZE=2>102 meaningless bytes are attached in the trail also.</FONT>
<BR><FONT SIZE=2>I don't know the right procedures to configure IEs in management</FONT>
<BR><FONT SIZE=2>frames. I just tried, but it is not successful.</FONT>
<BR><FONT SIZE=2>I guess, if we know the right configuration procedures of f/w 1.7.x,</FONT>
<BR><FONT SIZE=2>we can make HostAP to support WPA.</FONT>
</P>

<P><FONT SIZE=2>Is there anybody who knows them?</FONT>
</P>

</BODY>
</HTML>