wpa_supplicant minimal size

Romit Chatterjee romit.chatterjee
Tue Nov 20 22:39:51 PST 2007


Hi Jouni,

Thank you very much for the help. I really appreciate it!

Regards,
Romit


>
> Message: 8
> Date: Tue, 20 Nov 2007 20:42:58 -0800
> From: Jouni Malinen <j at w1.fi>
> Subject: Re: wpa_supplicant minimal size
> To: hostap at shmoo.com
> Message-ID: <20071121044258.GX8672 at jm.kir.nu>
> Content-Type: text/plain; charset=us-ascii
>
> On Tue, Nov 20, 2007 at 02:45:57PM +0530, Romit Chatterjee wrote:
>
> > According to the documentation, the minimum size for wpa_supplicant with
> *
> > WPA/WPA2-Personal* support is around 50 kB.
>
> > However, I haven't been able to get to that size. The lowest I could get
> was
> > 70 kB, with almost everything turned off.
> >
> > Can someone send me a sample .config that generates a 50 kB
> wpa_supplicant
> > binary with support for WPA/WPA2-Personal?
>
> I don't remember the exact parameters, versions, and compiler I used in
> the tests, but here's one example for a relatively small build:
>
> CONFIG_NO_STDOUT_DEBUG=y
> CONFIG_NO_AES_EXTRAS=y
> CFLAGS += -Os
>
> with gcc 4.1.2 for x86 produced a 61936 byte text segment (68120 bytes
> stripped binary size) when using the current 0.6.x version. I remember
> getting closer to 50 kB with some other options (and somewhat older
> code base), but yes, that was certainly disabling more or less
> everything that was not absolutely needed.
>
> --
> Jouni Malinen                                            PGP id EFC895FA
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20071121/f782c8f2/attachment.htm 



More information about the Hostap mailing list