commit c27558138953755569b9ce5579b03029511b4673
parent 261eeb511bc82c6b11f4efb26d43851c452976f1
Author: James Prestwood <james.prestwood@linux.intel.com>
Date: Thu, 21 Feb 2019 14:08:56 -0800
tools: add option to disable reg domain verification
HT/VHT require channels who's use is restricted depending on
country. When using these channels, cfg80211 tries to load the
regulatory.db file in /lib/firmware and verify the signature.
This poses a problem as the host machine may not have a signed
regulatory.db, or it may have not been signed with the expected
signature which would cause cfg80211 to fail to load the database.
If cfg80211 fails to load the database the country will be set to
00, which is the most restrictive "world roaming" setting. This
does not allow HT/VHT to work properly.
In the context of test-runner we can simply disable the verification.
Unforunately this is not a very common practice, so CONFIG_EXPERT
must be enabled.
If your system does not have /lib/firmware/regulatory.db you must
get it. More info can be found here:
https://wireless.wiki.kernel.org/en/developers/regulatory/wireless-regdb
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/tools/test_runner_kernel_config b/tools/test_runner_kernel_config
@@ -4,6 +4,10 @@ scripts/config --enable CONFIG_MAC80211_HWSIM
scripts/config --enable CONFIG_NLMON
scripts/config --enable CONFIG_VLAN_8021Q
+scripts/config --enable CONFIG_EXPERT
+scripts/config --enable CONFIG_CFG80211_CERTIFICATION_ONUS
+scripts/config --enable CONFIG_EXTRA_FIRMWARE="regulatory.db"
+
scripts/config --enable CONFIG_CRYPTO_USER_API_SKCIPHER
scripts/config --enable CONFIG_CRYPTO_USER_API_AEAD
scripts/config --enable CONFIG_CRYPTO_USER_API_HASH