<div class="gmail_quote"><div>Hi Jouni,<br><br>Thank you very much for the help. I really appreciate it!<br><br>Regards,<br>Romit<br>&nbsp;<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>Message: 8<br>Date: Tue, 20 Nov 2007 20:42:58 -0800<br>From: Jouni Malinen &lt;<a href="mailto:j@w1.fi">j@w1.fi</a>&gt;<br>Subject: Re: wpa_supplicant minimal size<br>To: <a href="mailto:hostap@shmoo.com">hostap@shmoo.com
</a><br>Message-ID: &lt;<a href="mailto:20071121044258.GX8672@jm.kir.nu">20071121044258.GX8672@jm.kir.nu</a>&gt;<br>Content-Type: text/plain; charset=us-ascii<br><br>On Tue, Nov 20, 2007 at 02:45:57PM +0530, Romit Chatterjee wrote:
<br><br>&gt; According to the documentation, the minimum size for wpa_supplicant with *<br>&gt; WPA/WPA2-Personal* support is around 50 kB.<br><br>&gt; However, I haven&#39;t been able to get to that size. The lowest I could get was
<br>&gt; 70 kB, with almost everything turned off.<br>&gt;<br>&gt; Can someone send me a sample .config that generates a 50 kB wpa_supplicant<br>&gt; binary with support for WPA/WPA2-Personal?<br><br>I don&#39;t remember the exact parameters, versions, and compiler I used in
<br>the tests, but here&#39;s one example for a relatively small build:<br><br>CONFIG_NO_STDOUT_DEBUG=y<br>CONFIG_NO_AES_EXTRAS=y<br>CFLAGS += -Os<br><br>with gcc 4.1.2 for x86 produced a 61936 byte text segment (68120 bytes
<br>stripped binary size) when using the current 0.6.x version. I remember<br>getting closer to 50 kB with some other options (and somewhat older<br>code base), but yes, that was certainly disabling more or less<br>everything that was not absolutely needed.
<br><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></blockquote></div><br>