aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2016-09-23 08:45:55 (GMT)
committerJouni Malinen <j@w1.fi>2016-09-23 08:45:55 (GMT)
commit50bb5c8627197119d39b15923a48d22acab67b5f (patch)
tree34d769e600ac4c034e35b4123dc0f0dcbe5c2151 /tests
parentdc2744f922219323bc7497fc656cdd4b7b5eae43 (diff)
downloadhostap-50bb5c8627197119d39b15923a48d22acab67b5f.zip
hostap-50bb5c8627197119d39b15923a48d22acab67b5f.tar.gz
hostap-50bb5c8627197119d39b15923a48d22acab67b5f.tar.bz2
tests: WPA-PSK AP and only rsn_pairwise set
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/hwsim/test_ap_psk.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/hwsim/test_ap_psk.py b/tests/hwsim/test_ap_psk.py
index 54f87df..2ca4279 100644
--- a/tests/hwsim/test_ap_psk.py
+++ b/tests/hwsim/test_ap_psk.py
@@ -2227,3 +2227,11 @@ def test_ap_wpa2_psk_assoc_rsn(dev, apdev):
raise Exception("Unexpected status code: " + ev)
dev[0].request("REMOVE_NETWORK all")
dev[0].dump_monitor()
+
+def test_ap_wpa_psk_rsn_pairwise(dev, apdev):
+ """WPA-PSK AP and only rsn_pairwise set"""
+ params = { "ssid": "wpapsk", "wpa": "1", "wpa_key_mgmt": "WPA-PSK",
+ "rsn_pairwise": "TKIP", "wpa_passphrase": "1234567890" }
+ hapd = hostapd.add_ap(apdev[0], params)
+ dev[0].connect("wpapsk", psk="1234567890", proto="WPA", pairwise="TKIP",
+ scan_freq="2412")