Parcourir la source

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>
Jouni Malinen il y a 10 ans
Parent
commit
72a8e30b96
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      tests/hwsim/test_ap_wps.py

+ 1 - 1
tests/hwsim/test_ap_wps.py

@@ -2128,7 +2128,7 @@ def test_ap_wps_mixed_cred(dev, apdev):
     if proto != "WPA RSN":
         raise Exception("Unexpected merged proto field value: " + proto)
     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)
 
 def test_ap_wps_while_connected(dev, apdev):