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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.




_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap




[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux