tests: Clear scan cache at the start of ap_vht80*
These test cases depend on the HT40 co-ex scans not swapping PRI/SEC channels. It was possible for a test case to fail, e.g., in the following sequence: ap_ht40_5ghz_match ap_vht80b. Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
2c51c0bd83
commit
29fb191cfd
1 changed files with 2 additions and 0 deletions
|
@ -15,6 +15,7 @@ import hostapd
|
||||||
from utils import HwsimSkip
|
from utils import HwsimSkip
|
||||||
from test_dfs import wait_dfs_event
|
from test_dfs import wait_dfs_event
|
||||||
from test_ap_csa import csa_supported
|
from test_ap_csa import csa_supported
|
||||||
|
from test_ap_ht import clear_scan_cache
|
||||||
|
|
||||||
def vht_supported():
|
def vht_supported():
|
||||||
cmd = subprocess.Popen(["iw", "reg", "get"], stdout=subprocess.PIPE)
|
cmd = subprocess.Popen(["iw", "reg", "get"], stdout=subprocess.PIPE)
|
||||||
|
@ -57,6 +58,7 @@ def test_ap_vht80(dev, apdev):
|
||||||
dev[0].flush_scan_cache()
|
dev[0].flush_scan_cache()
|
||||||
|
|
||||||
def vht80_test(apdev, dev, channel, ht_capab):
|
def vht80_test(apdev, dev, channel, ht_capab):
|
||||||
|
clear_scan_cache(apdev['ifname'])
|
||||||
try:
|
try:
|
||||||
hapd = None
|
hapd = None
|
||||||
params = { "ssid": "vht",
|
params = { "ssid": "vht",
|
||||||
|
|
Loading…
Add table
Reference in a new issue