openwrt-pf/package/kernel/mac80211
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
..
patches mac80211: read calibration variant from device tree 2026-07-07 08:32:11 +02:00
scripts
ath.mk mac80211: ath12k: backport thermal sensor support 2026-03-13 19:52:59 +01:00
broadcom.mk mac80211: broadcom: fix Makefile syntax error 2026-03-15 10:56:13 +01:00
intel.mk mac80211: iwlwifi: Add DRIVER_11BE_SUPPORT 2025-09-04 12:09:35 +02:00
Makefile mac80211: bump to version 6.18.26 2026-05-03 17:23:16 +02:00
marvell.mk
ralink.mk mac80211: ralink: remove rt2x00soc.ko 2025-12-08 18:47:45 +01:00
realtek.mk mac80211: realtek: rtw88: add RTL8822CS support 2025-10-16 21:39:16 +02:00