aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2017-01-07 11:34:19 (GMT)
committerJouni Malinen <j@w1.fi>2017-01-07 11:34:19 (GMT)
commit317c19c5aa1b26281393cfbcfdde72809938e9b9 (patch)
treea3e00a1f069cfd64d2c396e5745bb4432a4d8612 /tests
parent7972d88a2955630b4f9b4eb97043330e1444715e (diff)
downloadhostap-317c19c5aa1b26281393cfbcfdde72809938e9b9.zip
hostap-317c19c5aa1b26281393cfbcfdde72809938e9b9.tar.gz
hostap-317c19c5aa1b26281393cfbcfdde72809938e9b9.tar.bz2
tests: Remove write-only bssid assignments from rrm test cases
Signed-off-by: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'tests')
-rw-r--r--tests/hwsim/test_rrm.py13
1 files changed, 0 insertions, 13 deletions
diff --git a/tests/hwsim/test_rrm.py b/tests/hwsim/test_rrm.py
index f7a88bb..33ccff7 100644
--- a/tests/hwsim/test_rrm.py
+++ b/tests/hwsim/test_rrm.py
@@ -338,8 +338,6 @@ def test_rrm_neighbor_rep_req_timeout(dev, apdev):
"stationary_ap": "1", "lci": lci, "civic": civic }
hapd = hostapd.add_ap(apdev[0]['ifname'], params)
- bssid = apdev[0]['bssid']
-
rrm = int(dev[0].get_driver_status_field("capa.rrm_flags"), 16)
if rrm & 0x5 != 0x5 and rrm & 0x10 != 0x10:
raise HwsimSkip("Required RRM capabilities are not supported")
@@ -361,8 +359,6 @@ def test_rrm_neighbor_rep_req_oom(dev, apdev):
"stationary_ap": "1", "lci": lci, "civic": civic }
hapd = hostapd.add_ap(apdev[0]['ifname'], params)
- bssid = apdev[0]['bssid']
-
rrm = int(dev[0].get_driver_status_field("capa.rrm_flags"), 16)
if rrm & 0x5 != 0x5 and rrm & 0x10 != 0x10:
raise HwsimSkip("Required RRM capabilities are not supported")
@@ -390,8 +386,6 @@ def test_rrm_neighbor_rep_req_disconnect(dev, apdev):
"stationary_ap": "1", "lci": lci, "civic": civic }
hapd = hostapd.add_ap(apdev[0]['ifname'], params)
- bssid = apdev[0]['bssid']
-
rrm = int(dev[0].get_driver_status_field("capa.rrm_flags"), 16)
if rrm & 0x5 != 0x5 and rrm & 0x10 != 0x10:
raise HwsimSkip("Required RRM capabilities are not supported")
@@ -416,8 +410,6 @@ def test_rrm_neighbor_rep_req_not_supported(dev, apdev):
params = { "ssid": "test2", "rrm_beacon_report": "1" }
hapd = hostapd.add_ap(apdev[0]['ifname'], params)
- bssid = apdev[0]['bssid']
-
rrm = int(dev[0].get_driver_status_field("capa.rrm_flags"), 16)
if rrm & 0x5 != 0x5 and rrm & 0x10 != 0x10:
raise HwsimSkip("Required RRM capabilities are not supported")
@@ -433,8 +425,6 @@ def test_rrm_neighbor_rep_req_busy(dev, apdev):
"stationary_ap": "1", "lci": lci, "civic": civic }
hapd = hostapd.add_ap(apdev[0]['ifname'], params)
- bssid = apdev[0]['bssid']
-
rrm = int(dev[0].get_driver_status_field("capa.rrm_flags"), 16)
if rrm & 0x5 != 0x5 and rrm & 0x10 != 0x10:
raise HwsimSkip("Required RRM capabilities are not supported")
@@ -921,7 +911,6 @@ def test_rrm_beacon_req_table_vht(dev, apdev):
"vht_oper_centr_freq_seg0_idx": "42",
"rrm_beacon_report": "1" }
hapd = hostapd.add_ap(apdev[0], params)
- bssid = apdev[0]['bssid']
params = { "ssid": "test-vht40",
"country_code": "FI",
@@ -1316,7 +1305,6 @@ def test_rrm_beacon_req_passive_scan_vht(dev, apdev):
"vht_oper_centr_freq_seg0_idx": "42",
"rrm_beacon_report": "1" }
hapd = hostapd.add_ap(apdev[0], params)
- bssid = apdev[0]['bssid']
dev[0].scan_for_bss(apdev[0]['bssid'], freq=5180)
dev[0].connect("rrm-vht", key_mgmt="NONE", scan_freq="5180")
@@ -1371,7 +1359,6 @@ def test_rrm_beacon_req_passive_scan_vht160(dev, apdev):
"vht_oper_centr_freq_seg0_idx": "114",
"rrm_beacon_report": "1" }
hapd = hostapd.add_ap(apdev[0], params)
- bssid = apdev[0]['bssid']
dev[0].scan_for_bss(apdev[0]['bssid'], freq=5520)
dev[0].connect("rrm-vht", key_mgmt="NONE", scan_freq="5520")