Other Parts Discussed in Thread: WL1801, WL1835MOD,
Hi,
I've been trying to get 20 dBm power output from the WL1801 module using the TX testing tool, processors.wiki.ti.com/.../WL18xx_TX_Testing
I'm only getting around 0 dBm output as measured with a spectrum analyzer. I'm getting these power levels consistently no matter what configuration I use.
I've tried the config generated by the configure-device.sh script (answering y/n,1801,n); no config (removing the wl18xx-conf.bin file); wlconf/wl18xx-conf-default.bin; using wlconf to convert official_inis/WL1835MOD_INI.ini into a .bin config.
I even tried hand editing official_inis/WL1835MOD_INI.ini to increase the PwrLimitReference11* and PerChanPwrLimitArr11* parameters to ff (number of 2.4Ghz antennas was set to 1 and 5 Ghz was set to 0).
There is a very small variation (~1-2 dBm) between all the different configs used.
My test sequence is as follows. First, setup the environment with:
ifconfig wlan0 down
calibrator wlan0 plt power_mode on
calibrator wlan0 wl18xx_plt stop_tx
calibrator wlan0 wl18xx_plt tx_tone_stop
calibrator wlan0 wl18xx_plt tune_channel 14 0 0
calibrator wlan0 wl18xx_plt set_tx_power 20000 0 0 14 0 0 0 1 0 0 0 0
Then execute the test itself. Either a continuous TX test or a carrier feedthrough test
(11b continuous test) calibrator wlan0 wl18xx_plt start_tx 500 3 500 0 0 1 0 0 00:11:22:33:44:55 01:02:03:04:05:06 0
(11n continuous test) calibrator wlan0 wl18xx_plt start_tx 400 19 3000 0 0 1 0 0 00:11:22:33:44:55 01:02:03:04:05:06 0
(carrier feed test) calibrator wlan0 wl18xx_plt tx_tone_start 1 0 0 0
With the carrier feedthrough I get ~5 dBm higher than the 11b continuous test; 11n is even lower than 11b. Using channel 6 instead of 14 results in even lower power by a few (~2-3 dBm).
My Linux distro is based on kernel 4.4. I compiled the drivers as per processors.wiki.ti.com/.../WL18xx_System_Build_Scripts, and grabbed the latest FW .79.
This is the dmesg when drivers are being loaded
[ 4703.996970] Loading modules backported from Linux version R8.7_SP3-0-g8cbba96
[ 4704.004100] Backport generated by backports.git R8.7_SP3-0-gd4777ef
[ 4704.841992] wlcore: wl18xx HW: 183x or 180x, PG 2.2 (ROM 0x11)
[ 4704.852682] wlcore: loaded
[ 4704.855338] wlcore: driver version: R8.7_SP3
[ 4705.983931] wlcore: PHY firmware version: Rev 8.2.0.0.242
[ 4706.035159] wlcore: firmware booted (Rev 8.9.0.0.79)
Regards,
Emanuel