openwrt-pf/package
Andrew LaMarche 24ab1e83d0
mac80211: read calibration variant from device tree
ath10k and ath11k support reading calibration variants from the device
tree to locate the correct Board Description File (BDF). The ath12k-wsi
binding already describes using qcom,calibration-variant but it is not
implemented in the driver.

Many ath12k designs expose all the radios under a single phy, each of
which typically require a separate BDF. Without this, the radios may not
come up or will not be calibrated correctly.

Fix this by parsing the device tree for the generation-agnostic
qcom,calibration-variant. This allows the driver to properly select,
read and apply the correct BDF.

Additionally, the ath12k-wsi binding documentation describes using the
generation-specific qcom,ath12k-calibration-variant binding as well as
the generation-agnostic qcom,calibration-variant binding to load
board-specific calibration data from the device tree. However, the
driver never implemented either of these.

Given that no devices currently supported use
qcom,ath12k-calibration-variant and the previous patch implements
qcom,calibration-variant, drop the generation-specific version from the
binding to prevent future confusion.

Tested on Askey SBE1V1K.

Signed-off-by: Andrew LaMarche <andrewjlamarche@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/21767
Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
2026-07-07 08:32:11 +02:00
..
base-files base-files: derive DHCP DUID from device MAC address 2026-06-24 11:21:28 +02:00
boot uboot-at91: fix build failure with GCC 14.4 2026-07-03 22:14:17 +02:00
devel package: binutils: deduplicate ld 2026-04-18 19:34:21 +02:00
firmware intel-microcode: fix build error on rebuild 2026-07-05 17:55:50 +02:00
kernel mac80211: read calibration variant from device tree 2026-07-07 08:32:11 +02:00
libs elfutils: add $(FPIC) to LDFLAGS 2026-07-06 15:26:29 +02:00
network wifi-scripts: restore priv_key/priv_key_pwd as config aliases 2026-07-07 01:50:56 +02:00
system ubus: update to Git HEAD (2026-06-28) 2026-06-28 16:48:20 +02:00
utils nilfs-utils: update to 2.3.1 2026-07-05 23:41:36 +02:00
Makefile build: add CycloneDX SBOM processing to apk 2026-05-17 12:21:09 +02:00