hostapd: add 'driver' command support (under ANDROID flag)

Garcia, Jeremie jeremie.garcia
Mon Oct 6 02:11:39 PDT 2014

Hello Jouni,

Thanks for answering.
I understand your comment.
In order to remain vendor agnostic, I initially planned to use the vendor extension functionality ("vendor" command).
However, this feature is available from kernel 3.14. However I would need to deal with older kernels.
So to remain backward compatible with older kernels, I wanted to use the DRIVER command instead.

Best regards

-----Original Message-----
From: hostap-bounces at [mailto:hostap-bounces at] On Behalf Of Jouni Malinen
Sent: Saturday, October 04, 2014 5:37 PM
To: hostap at
Subject: Re: hostapd: add 'driver' command support (under ANDROID flag)

On Wed, Oct 01, 2014 at 02:25:22PM +0000, Garcia, Jeremie wrote:
> Please find attached 2 patches to make hostapd support "driver" command in an Android context.
> It is a mirror of what has been done for wpa_supplicant.

Why would this be needed in hostapd? That driver command in wpa_supplicant is a good example of how things should not be done and unless there is a strong justification for adding that to hostapd, I'd rather not do that.

The proper approach for adding new control interface functionality is by adding commands that can be implemented in driver independent way.

Jouni Malinen                                            PGP id EFC895FA
HostAP mailing list
HostAP at
Intel Corporation SAS (French simplified joint stock company)
Registered headquarters: "Les Montalets"- 2, rue de Paris, 
92196 Meudon Cedex, France
Registration Number:  302 456 199 R.C.S. NANTERRE
Capital: 4,572,000 Euros

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

More information about the Hostap mailing list