projects
/
mech_eap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
dc2744f
)
tests: WPA-PSK AP and only rsn_pairwise set
author
Jouni Malinen
<jouni@qca.qualcomm.com>
Fri, 23 Sep 2016 08:45:55 +0000
(11:45 +0300)
committer
Jouni Malinen
<j@w1.fi>
Fri, 23 Sep 2016 08:45:55 +0000
(11:45 +0300)
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
tests/hwsim/test_ap_psk.py
patch
|
blob
|
history
diff --git
a/tests/hwsim/test_ap_psk.py
b/tests/hwsim/test_ap_psk.py
index
54f87df
..
2ca4279
100644
(file)
--- 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()
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")