wl12xx chipsets: properly packaging drivers and calibration data
Split from issue #102.
@joshas wrote:
Got similar issue with Sony Ericsson Xperia mini (smultron) phone. It uses wl12xx driver and requires additional firmware files. I got to the point where I can get list of APs and connect to one, but unable to get DHCP lease. Here's my WIP merge request: !78 (closed)
I found that to get WiFi correctly working, device needs calibration data (nvs file). One that comes from
linux-firmware-ti-connectivity
will not work. Calibration is done usingcalibrator
from ti-utils. Detailed info here: http://linuxwireless.sipsolutions.net/en/users/Drivers/wl12xx/calibrator/My problem now is that I cannot compile ti-utils. It depends on libnl v2.x, which is not available in alpine packages.
@ollieparanoid wrote:
@joshas: some ideas:
- try packaging libnl v2.x (see https://wiki.postmarketos.org/wiki/Create_a_package)
- package the calibration data (you can probably extract it from a running Android ROM, or find it somewhere in the ROM sources)
@joshas wrote:
Sorry for derailing thread, could we split this discussion to general issue about wl12xx chipsets? @ollieparanoid packaging older libnl might lead into even more obscure software version requirements, as for extracting calibration data, I'm not really sure, but device MAC address might be in there, so every user should dump its own calibration data, and that is even more inconvenient.