]> git.ipfire.org Git - thirdparty/hostap.git/commit
tests: Skip rrm_link_measurement tests if kernel support is not available
authorJouni Malinen <j@w1.fi>
Sat, 28 Jan 2017 22:48:16 +0000 (00:48 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 28 Jan 2017 23:32:25 +0000 (01:32 +0200)
commit0d46095ec87bc6884efde620e03fdc92c98e492f
treefdda717bf43f919b592ff1acf0eb3222c4f3c4fa
parentb85eaca0ab8297606e3e88f1dab79c093709dceb
tests: Skip rrm_link_measurement tests if kernel support is not available

rrm_link_measurement and rrm_link_measurement_oom test cases were
causing incorrect failures when executed with a kernel version that does
not modify mac80211_hwsim to support TX power insertion. Fix this by
checking for that capability and skipping the test cases if the kernel
does not support this.

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