openwrt/package
Sven Eckelmann 6258c965a0
ath10k-ct: search DT for BDF variant info
Board Data File (BDF) is loaded upon driver boot-up procedure. The right
board data file is identified on QCA4019 using bus, bmi-chip-id and
bmi-board-id.

The problem, however, can occur when the (default) board data file cannot
fulfill the vendor requirements and it is necessary to use a different
board data file.

This problem was solved for SMBIOS by adding a special SMBIOS type 0xF8.
Something similar has to be provided for systems without SMBIOS but with
device trees. No solution was specified by QCA and therefore a new one has
to be found for ath10k.

The device tree requires addition strings to define the variant name

    wifi@a000000 {
    	status = "okay";
    	qcom,ath10k-calibration-variant = "RT-AC58U";
    };

    wifi@a800000 {
    	status = "okay";
    	qcom,ath10k-calibration-variant = "RT-AC58U";
    };

This would create the boarddata identifiers for the board-2.bin search

 *  bus=ahb,bmi-chip-id=0,bmi-board-id=16,variant=RT-AC58U
 *  bus=ahb,bmi-chip-id=0,bmi-board-id=17,variant=RT-AC58U

Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
(cherry picked from commit 1c01e02575)
2018-07-08 23:22:17 +02:00
..
base-files base-files: fix links in banner.failsafe 2018-06-24 22:30:32 +02:00
boot uboot-kirkwood: fix malformed boot configuration 2018-06-26 23:35:18 +02:00
devel perf: restrict libunwind dependency to archs that actually support libunwind 2018-02-25 17:03:42 +01:00
firmware ipq40xx: add support for ZyXEL WRE6606 2018-06-21 07:02:37 +02:00
kernel ath10k-ct: search DT for BDF variant info 2018-07-08 23:22:17 +02:00
libs libnfnetlink: Remove dead mirror 2018-06-14 21:47:54 +02:00
network wireguard: bump to 0.0.20180625 2018-07-07 11:27:21 +01:00
system mtd: mark as nonshared to fix FS#484 2018-06-18 21:21:54 +02:00
utils busybox: udhcpc: replace udhcpc_no_msg_dontroute patch by upstream fix 2018-06-21 22:40:54 +02:00
Makefile imagebuilder: reuse rootfs preparation from rootfs.mk 2018-03-07 09:59:08 +01:00