[PATCH] wpa_supplicant: Add a configuration file for P2P_DEVICE

Jouni Malinen j
Sun Aug 25 01:32:21 PDT 2013


On Wed, Aug 07, 2013 at 01:08:45PM +0300, Ilan Peer wrote:
> If a P2P_DEVICE is supported by the driver, the wpa_supplicant creates
> a dedicated P2P Device interface, where the configuration file used for
> the main interface is used. As a consequence, if the configuration file
> includes network definition etc., the wpa_supplicant will try to perform
> station specific flows on the P2P Device interface which will fail. In addition,
> if update_config is used, the P2P Device configuration data will override the
> main interface configuration data.
> 
> To overcome these situations, allow the option to use a specific configuration
> file for the P2P Device functionality.

This does not sound desirable direction to me. Whether P2P_DEVICE is
used is supposed to be transparent outside wpa_supplicant and it would
be good to keep the differences minimal. It would sound cleaner to
consider a separate configuration file for P2P parameters that could
then be used either with P2P_DEVICE or any other P2P driver
architecture.

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list