tests: Fix p2p_ext_vendor_elem_assoc test with P2P Device interface
authorAvraham Stern <avraham.stern@intel.com>
Mon, 5 Sep 2016 14:33:06 +0000 (17:33 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 2 Oct 2016 16:57:34 +0000 (19:57 +0300)
commita71a3d6d466e598d241ef219bf922d846264d229
tree96b64239ae305f2878d41fdaff2875f441f43eee
parent5ac8f8623d8dc1a47626e22a3b5a1b8e147718d2
tests: Fix p2p_ext_vendor_elem_assoc test with P2P Device interface

For configurations that use a dedicated P2P Device interface, which
mandates that a separate interface is used for the P2P group, vendor
specific IE's must be added to the VENDOR_ELEM_P2P_* frame types in
order to be used by the P2P group interface. The VENDOR_ELEM_ASSOC_REQ
(13) parameter would need to be issued on the group interface which
would be challenging to do due to timing in case a separate group
interface gets used.

In case a dedicated P2P Device interface is used, don't include a test
for VENDOR_ELEM_ASSOC_REQ to avoid failing this part of the test case.

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