tests: hostapd assocresp_elements
authorJouni Malinen <jouni@qca.qualcomm.com>
Wed, 20 Apr 2016 10:22:32 +0000 (13:22 +0300)
committerJouni Malinen <j@w1.fi>
Wed, 20 Apr 2016 10:22:32 +0000 (13:22 +0300)
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
tests/hwsim/test_ap_params.py
tests/hwsim/test_hapd_ctrl.py

index 8300f65..bfba5f8 100644 (file)
@@ -52,6 +52,7 @@ def test_ap_vendor_elements(dev, apdev):
     passphrase = 'qwertyuiop'
     params = hostapd.wpa2_params(ssid=ssid, passphrase=passphrase)
     params['vendor_elements'] = "dd0411223301"
+    params['assocresp_elements'] = "dd0411223302"
     hapd = hostapd.add_ap(apdev[0], params)
     dev[0].connect(ssid, psk=passphrase, scan_freq="2412")
     bss = dev[0].get_bss(bssid)
index 9ce1f6d..76888b6 100644 (file)
@@ -392,6 +392,8 @@ def test_hapd_ctrl_set_error_cases(dev, apdev):
                "bss_load_test 12:80",
                "vendor_elements 0",
                "vendor_elements 0q",
+               "assocresp_elements 0",
+               "assocresp_elements 0q",
                "local_pwr_constraint -1",
                "local_pwr_constraint 256",
                "wmm_ac_bk_cwmin -1",