[PATCH] tests: Set country_code=US in run_ap_vht160_no_dfs()
陈荣
chenr.fnst at cn.fujitsu.com
Tue Jul 18 17:52:02 PDT 2017
Sorry. I use ubuntu 15.10, the version of wireless-regdb is
v2014.11.18-1ubuntu1. it doesn't contain the change.
在 2017年07月18日 18:45, Jouni Malinen 写道:
> 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.
>
More information about the Hostap
mailing list