openwrt-pf/package/kernel
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
..
ath10k-ct kernel/ath10k: provide a virtual kmod 2025-12-31 18:16:48 +01:00
bcm27xx-gpu-fw
bcm63xx-cfe
bpf-headers bpf-headers: update to version 6.12 2025-11-27 14:31:30 +01:00
button-hotplug button-hotplug: bump package release 2026-06-16 11:33:24 +02:00
cryptodev-linux cryptodev-linux: add backport to build for 6.18 2025-12-23 18:06:23 +01:00
econet-eth econet: en7528: add basic ethernet support 2026-02-15 01:12:52 +01:00
gpio-button-hotplug treewide: various fwnode conversions 2026-07-05 23:35:05 +02:00
gpio-nct5104d package: gpio-nct5104d: adapt to kernel 6.18 2025-12-30 10:44:05 +01:00
lantiq lantiq: vrx518_ep: use module_pci_driver macro 2026-06-28 23:36:05 +02:00
leds-gca230718 treewide: remove usage of of_device.h 2026-06-10 09:03:11 +02:00
leds-ws2812b treewide: remove usage of of_device.h 2026-06-10 09:03:11 +02:00
linux kernel-packages: video: remove path variables 2026-07-06 11:22:01 +02:00
mac80211 mac80211: read calibration variant from device tree 2026-07-07 08:32:11 +02:00
mt76 mt76: update to Git HEAD (2026-07-01) 2026-07-01 13:15:44 +02:00
mt7621-qtn-rgmii
mwlwifi mwlwifi: add patch series for kernel 6.18 compatibility 2026-04-06 16:03:37 +02:00
nat46 netfilter: remove nf-conntrack6 2026-01-21 22:42:20 +01:00
ntfs ntfs: update to 2026-05-03 2026-05-14 19:05:45 +02:00
qca-nss-dp qca-nss-dp: update to Git HEAD (2026-03-13) 2026-03-13 11:40:03 +01:00
qca-ssdk qca-ssdk: update to Git HEAD (2026-06-04) 2026-06-04 22:21:21 +02:00
r8101 kernel/r8169: provide a virtual kmod 2025-12-31 18:16:48 +01:00
r8125 kernel/r8169: provide a virtual kmod 2025-12-31 18:16:48 +01:00
r8126 kernel/r8169: provide a virtual kmod 2025-12-31 18:16:48 +01:00
r8127 kernel/r8169: provide a virtual kmod 2025-12-31 18:16:48 +01:00
r8168 kernel: r8168: update to v8.056.02 2026-05-14 21:19:22 +02:00
rtc-rv5c386a rtc-rv5c386a: fix build with kernel 6.12 2026-03-10 23:50:54 +01:00
rtl8812au-ct rtl8812au-ct: fix compilation with GCC 15 2026-06-27 11:45:04 +02:00
trelay trelay: use struct_size helper in allocation 2026-03-13 19:58:05 +01:00
ubnt-ledbar treewide: various fwnode conversions 2026-07-05 23:35:05 +02:00
ubootenv-nvram treewide: replace remove_new with remove 2026-01-03 17:27:25 +01:00