[PATCH] tests: Set country_code=US in run_ap_vht160_no_dfs()

Jouni Malinen j at w1.fi
Tue Jul 18 03:45:04 PDT 2017


On Tue, Jul 18, 2017 at 03:55:20PM +0800, Chen Rong wrote:
> ap_vht160_no_dfs need no DFS, but ZA regulatory rule
> did not have DFS requirement removed.

Which regulatory database version are you using?

This commit removed the DFS flag from the channels used here:
https://git.kernel.org/pub/scm/linux/kernel/git/sforshee/wireless-regdb.git/commit/?id=99ebbaa767eec7bba7962f875f8749f451da8357

> diff --git a/tests/hwsim/test_ap_vht.py b/tests/hwsim/test_ap_vht.py
> @@ -450,7 +450,7 @@ def run_ap_vht160_no_dfs(dev, apdev, channel, ht_capab):
>      try:
>          hapd = None
>          params = { "ssid": "vht",
> -                   "country_code": "ZA",
> +                   "country_code": "US",

This breaks the test case since US requires DFS for the frequency range
used in this test case.
 
-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list