#defines for customization

Jouni Malinen jkmaline
Sun Aug 27 17:38:51 PDT 2006

On Sun, Aug 27, 2006 at 05:15:25PM -0700, George S. Lockwood wrote:

> Would it be possible to create a #define such as PIPENAME (for the new
> window's named pipe) in an appropriate .h file that all c modules that
> would need it already #include?  This would allow people like me to
> modify a minimum of your "pure" c modules.

Yes, I changed the named pipe string to be a define.
WPA_SUPPLICANT_NAMED_PIPE can now be defined to be something else than
"WpaSupplicant" to override the default. This can be done either in
project configuration or in build_config.h.

> If you would do that would you consider adding another for defining
> the max size of the request reply.

> #define MSGREPLYSIZE 8192 // for very large replies such as a large
> number SSIDs from a SCAN_RESULTS request.

I would much rather make this work without such configuration, i.e.,
dynamically increase the buffer size if needed.

Jouni Malinen                                            PGP id EFC895FA

More information about the Hostap mailing list