Other Parts Discussed in Thread: WL1837
Tool/software: Linux
Hi,
I have a esom3730 board with TI wl1837 dual band wireless chip-set. I am on kernel 3.8.0. I am trying to use the calibrator tool for wl18xx testing following these instructions (http://processors.wiki.ti.com/index.php/WL18xx_TX_Testing) I have all the requirements needed compiled in my kernel and firmware image except CRDA.
I am using a yocto build environment and solving this task via kernel integration approach without crda.
CONFIG_CFG80211_INTERNAL_REGDB
If you do not want to install CRDA on a host, you can simply enable the CONFIG_CFG80211_INTERNAL_REGDB on your kernel. Once enabled you can place the db.txt from the wireless-regdb into net/wireless/db.txt. The downside to using this option is that you will need to rebuild your kernel for any regulatory updates, therefore using CONFIG_CFG80211_INTERNAL_REGDB is not recommended.
If using CONFIG_CFG80211_INTERNAL_REGDB without updating net/wireless/db.txt you'll end up with the static world regulatory domain, so if using CONFIG_CFG80211_INTERNAL_REGDB you should be sure to update net/wireless/db.txt otherwise you may end up spending a lot of time debugging an issue that does not exist. To help with this a patch has been sent to print a warning when a kernel has been built with CONFIG_CFG80211_INTERNAL_REGDB but the database is emtpy. If you happen to also have CONFIG_CFG80211_REG_DEBUG then compiling of the kernel will simply fail.
*****************---------------------------------------********************************
Basically I am building my kernel with INTERNAL_REGDB enabled. I pulled the latest db.txt from git repository and I could see the regulatory.bin file on my target.
However, when I issue a command "iw reg get" I get the following output
global
country 00: DFS-UNSET
(2402 - 2472 @ 40), (6, 20), (N/A)
(2457 - 2482 @ 40), (6, 20), (N/A), PASSIVE-SCAN
(2474 - 2494 @ 20), (6, 20), (N/A), NO-OFDM, PASSIVE-SCAN
(5170 - 5250 @ 160), (6, 20), (N/A), PASSIVE-SCAN
(5250 - 5330 @ 160), (6, 20), (0 ms), DFS, PASSIVE-SCAN
(5490 - 5730 @ 160), (6, 20), (0 ms), DFS, PASSIVE-SCAN
(5735 - 5835 @ 80), (6, 20), (N/A), PASSIVE-SCAN
(57240 - 63720 @ 2160), (N/A, 0), (N/A)
when I run "iw reg set US" , the country isn't set and I get the similar output.
The device is running an embedded yocto Linux.
Wondering if anyone came across the similar issue and have some comments to help with troubleshoot this issue?