]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Fix owe_invalid_assoc_resp with mac80211_hwsim STRICT validation
authorJouni Malinen <j@w1.fi>
Sat, 15 Feb 2025 10:19:15 +0000 (12:19 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 15 Feb 2025 10:19:15 +0000 (12:19 +0200)
mac80211 has started rejecting the association attempt based on some
HT/WMM information missing for the (Re)Association Response frame when
in STRICT validation mode and that broke this test case with
mac80211_hwsim due to the Association Response frame being constructed
without HT and WMM information in the test script. Disable HT for now to
avoid this.

Signed-off-by: Jouni Malinen <j@w1.fi>
tests/hwsim/test_owe.py

index 987d1d5173ee5e06d4a281d2d5cb41485cbb7d56..891dd011a6f49cc374a89f910ab07b79dffecc94 100644 (file)
@@ -890,6 +890,7 @@ def test_owe_invalid_assoc_resp(dev, apdev):
     """Opportunistic Wireless Encryption - invalid Association Response frame"""
     check_owe_capab(dev[0])
     params = {"ssid": "owe",
+              "ieee80211n": "0",
               "wpa": "2",
               "ieee80211w": "2",
               "wpa_key_mgmt": "OWE",