tests: Store P2P Device ifname in class WpaSupplicant
authorAvraham Stern <avraham.stern@intel.com>
Thu, 7 Apr 2016 10:31:59 +0000 (13:31 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 24 Apr 2016 20:24:06 +0000 (23:24 +0300)
commitafb2e8b8913f131e5fb3a1031aacae3ab2b91287
treecb3ef9e0770ea645252406b3c830f7fe87fb74cb
parentd43fc7c6b0232693e84f4b7ccd3665f90afb87c1
tests: Store P2P Device ifname in class WpaSupplicant

Add an attribute to class WpaSupplicant with the name of the
P2P Device interface. If a separate interface is not used for
P2P Device, this attribute will hold the name of the only used
interface (with functions also as the P2P Device management
interface).

This attribute will be used to direct P2P related commands to the
P2P Device interface, which is needed for configurations that use
a separate interface for the P2P Device.

Signed-off-by: Avraham Stern <avraham.stern@intel.com>
tests/hwsim/wpasupplicant.py