Browse Source

tests: hostapd assocresp_elements

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Jouni Malinen 9 years ago
parent
commit
49ae6ddbca
2 changed files with 3 additions and 0 deletions
  1. 1 0
      tests/hwsim/test_ap_params.py
  2. 2 0
      tests/hwsim/test_hapd_ctrl.py

+ 1 - 0
tests/hwsim/test_ap_params.py

@@ -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)

+ 2 - 0
tests/hwsim/test_hapd_ctrl.py

@@ -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",