tests: Allow GCMP to be added into ap_wps_mixed_cred network profile

This is needed in preparation for WPS AES being mapped to enabling both
CCMP and GCMP if the driver supports both ciphers.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
Jouni Malinen 2014-10-27 16:51:04 +02:00 committed by Jouni Malinen
parent 3bfa5f10a9
commit 72a8e30b96

View file

@ -2128,7 +2128,7 @@ def test_ap_wps_mixed_cred(dev, apdev):
if proto != "WPA RSN": if proto != "WPA RSN":
raise Exception("Unexpected merged proto field value: " + proto) raise Exception("Unexpected merged proto field value: " + proto)
pairwise = dev[0].get_network(id, "pairwise") pairwise = dev[0].get_network(id, "pairwise")
if pairwise != "CCMP TKIP": if pairwise != "CCMP TKIP" and pairwise != "CCMP GCMP TKIP":
raise Exception("Unexpected merged pairwise field value: " + pairwise) raise Exception("Unexpected merged pairwise field value: " + pairwise)
def test_ap_wps_while_connected(dev, apdev): def test_ap_wps_while_connected(dev, apdev):