[PATCH] Add extended 'driver' command

Jouni Malinen j
Thu Apr 7 23:08:06 PDT 2011


On Thu, Apr 07, 2011 at 04:58:35PM -0700, Dmitry Shmidt wrote:
> This patch will allow to add extended driver commands (through linked
> external library) that can be
> specific per wlan driver.

This looks like a very bad idea. Why would this be needed? One of the
main goals of wpa_supplicant is to provide a unified layer that allows
upper layer software to not need to care about differences between
drivers.

Whatever this type of driver-specific command is used for needs to be
done by introducing proper driver_ops callback functions for identified
commands instead of an arbitrary mechanism for passing commands that
requires other applications to know what exactly the driver happens to
support.

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list