[PATCH] Add extended 'driver' command

Jouni Malinen j at w1.fi
Fri Apr 8 02:08:06 EDT 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