]> git.ipfire.org Git - thirdparty/hostap.git/commit
tests: Check operating channel parameter in obss_scan*
authorJouni Malinen <j@w1.fi>
Thu, 26 Dec 2019 21:13:57 +0000 (23:13 +0200)
committerJouni Malinen <j@w1.fi>
Thu, 26 Dec 2019 21:23:05 +0000 (23:23 +0200)
commita48a60ea47d43abf0bfc0253cda65d15fc182b3e
tree405442456661cd4a60225b4be145f418ec638d5b
parentc0d607ec8f479aa517f145fb7f3645dd8b4cbbd5
tests: Check operating channel parameter in obss_scan*

It looks like these test cases can fail with the new "Undefined
secondary channel: drop OBSS scan results" case. Add more checks to
determine if something is wrong with the connection.

In addition, force clearing of the cfg80211 scan cache on the main AP
interface so that a scan result from a previous test case cannot prevent
40 MHz channel bandwidth from being used. This could apparently happen
in the following test case sequence:
ap_ht40_scan_conflict obss_scan

Signed-off-by: Jouni Malinen <j@w1.fi>
tests/hwsim/test_ap_ht.py