Skip to content

N900 Wi-Fi calibration data

Danct12 requested to merge Danct12/pmaports:wl1251-cal into master

This merge request aims to fix the random IP address issue with the N900 postmarketOS port.

The random IP address issue is caused by the wrong/default NVS data (has the MAC address as: 00:00:20:07:03:09) and is marked as invalid by the kernel.

To fix this we need to supply a valid calibration data, on the N900 it is stored in mtd1 (config) and it can be extracted using wl1251-cal then replace the default data with the device's data.

Supposedly, this uses udev rules but for some reason when I tried it udev keeps timing out but works fine on Leste so this need to be looked later. For now this is the best we have.

What it does right now is to extract the calibration data and replace it on first boot up, and then replace it when linux-firmware-ti-connectivity is updated, and can be manually updated by running n900-update-wl1251.

Fixes #1690 (closed)

Edited by Oliver Smith

Merge request reports