Search Linux Wireless

Re: WL1271 + recent compat/backports + calibrator?

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

 



It's also worth noting that the old OpenLink tag "ol_R5.SP4.01" does
succeed with calibration:

# ./calibrator plt autocalibrate wlan0
/system/lib/modules/wl12xx_sdio.ko
/data/TQS_S_2.6_WG7310_WG7311_NLCP.INI
/factory/firmware/ti-connectivity/wl1271-nvs.bin 00:00:00:00:00:00

Using nvs version 2.1
Calibrate /factory/firmware/ti-connectivity/wl1271-nvs.bin
Writing calibration data to /factory/firmware/ti-connectivity/wl1271-nvs.bin
Writing mac address 00:00:00:00:00:00 to file
/factory/firmware/ti-connectivity/wl1271-nvs.bin
Calibration done. FEM1 has 1 bands. AutoFEM is off. Resulting nvs is
/factory/firmware/ti-connectivity/wl1271-nvs.bin



Base tree version: ol_R5.SP4.01-2-g1aa2c8e
compat-wireless release: ol_R5.SP6.01


- Kyle


On Wed, Nov 13, 2013 at 4:08 PM, Kyle Manna <2bluesc@xxxxxxxxx> wrote:
> Hi all,
>
> I'm running a WL1271L (on Android + v3.0 kernel) and am trying to find
> an up to date compat/backports package (want upstream bug fixes +
> bluetooth stack with better BLE support) + the ability to properly
> calibrate the chip.
>
> I'm able to use newer wlcore architecture + a number of patches to
> bridge the platform configuration gaps and am getting the code
> fromgithub.com/TI-OpenLink/{compat,compat-wireless,wl18xx} on the
> ol_r8.a7.02 tag, BLE works, WiFi works (using 6.3.10.0.133 firmware),
> however the calibrator (v0.73) reports:
>
> root@android:/data # ip link set wlan0 down
> root@android:/data # ./calibrator dev wlan0 plt power_mode off
> 240|root@android:/data # ./calibrator plt calibrate
> Unknown arch. Not setting nvs ver 2.1Calibrate ./new-nvs.bin
> Fail to calibrate ith radio status (-36)
>
> I'm able to enter PLT mode without issue, kernel message buffer:
>
> [ 3276.057434] wlcore: power up
> [ 3276.528961] wlcore: firmware booted in PLT mode PLT_ON (PLT 6.3.10.0.133)
>
> Ideally I'd like to just use the upstream backports drivers from
> backports.wiki.kernel.org and avoid the TI repos as they seem rather
> turbulent.  I've succeeded in getting v3.12.1
> (www.kernel.org/pub/linux/kernel/projects/backports/stable/v3.12/backports-3.12-1.tar.bz2)
>  which does approximately the same thing:
>
> root@android:/data # ./calibrator plt calibrate
> Unknown arch. Not setting nvs ver 2.1Calibrate ./new-nvs.bin
> Writing calibration data to ./new-nvs.bin
> File ./new-nvs.bin not exists
> Fail to prepare calibrated NVS file
>
> root@android:/data # dmesg | tail
> [  292.573638] wlcore: power up
> [  293.024566] wlcore: firmware booted in PLT mode PLT_ON (PLT 6.3.10.0.133)
> [  293.074676] wlcore: testmode cmd: radio status=0
> [  293.075103] wlcore: power down
>
>
> This leads me to some questions:
>
> 1) My understanding is that calibration tunes only the power
> amplifiers, does anyone know how big of an effect this has?  Is
> figuring out the calibration worth spending time on it?
> 2) Has the firmware changed to potentially auto-calibrate as the new
> wl18xx/WiLink8 devices do?  I can't find any real changelogs on the
> firmware that gets loaded.
> 3) Any other advice before I jump in to debugging the netlink +
> calibration procedure?
>
> Thanks,
> - Kyle
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux