[PATCH v4 13/15] tests: hwsim: MBSSID with same security
Aloka Dixit
quic_alokad at quicinc.com
Wed Nov 30 19:18:45 PST 2022
Add 8 VAPs, all with SAE. In such a case the Multiple BSSID elements
in management frames do not include RSN and RSNE elements as all
non-transmitting profiles have exact same security configuration
as the transmitting interface.
Signed-off-by: Aloka Dixit <quic_alokad at quicinc.com>
---
v1: depends on
https://patchwork.kernel.org/project/linux-wireless/list/?series=700684&state=%2A&archive=both
tests/hwsim/test_he_mbssid.py | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/tests/hwsim/test_he_mbssid.py b/tests/hwsim/test_he_mbssid.py
index a643e5c4666c..270d70473367 100644
--- a/tests/hwsim/test_he_mbssid.py
+++ b/tests/hwsim/test_he_mbssid.py
@@ -95,3 +95,22 @@ def test_he_ap_mbssid_open(dev, apdev, params):
sta_params = {"key_mgmt": "NONE", "scan_freq": "2412"}
mbssid_start_ap(dev, apdev, params, fname, ifname, sta_params)
+
+def test_he_ap_mbssid_same_security(dev, apdev, params):
+ """HE AP MBSSID ALL SAE"""
+ f, fname, ifname = mbssid_create_cfg_file(apdev, params)
+
+ sae_params = {"wpa": "2", "wpa_passphrase": "12345678",
+ "wpa_pairwise": "CCMP", "wpa_key_mgmt": "SAE",
+ "sae_pwe": "1", "ieee80211w": "2"}
+
+ for idx in range(0, 8):
+ mbssid_write_bss_params(f, ifname, idx, sae_params)
+
+ f.close()
+
+ dev[0].set("sae_pwe", "1")
+ sta_params = {"psk": "12345678", "key_mgmt": "SAE", "ieee80211w": "2",
+ "pairwise": "CCMP", "group": "CCMP", "scan_freq": "2412"}
+ mbssid_start_ap(dev, apdev, params, fname, ifname, sta_params)
+ dev[0].set("sae_pwe", "0")
--
2.25.1
More information about the Hostap
mailing list