openwrtv3/package
Sven Eckelmann f39fc67c8e mac80211: ath10k: 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>
2018-01-13 07:58:19 +01:00
..
base-files base-files: sysupgrade: correct command help text 2018-01-12 16:06:04 +01:00
boot ipq806x: Sort occurrences of boardame alphabetically 2018-01-13 07:33:03 +01:00
devel strace: Update to 4.20 2017-12-07 11:46:37 +08:00
firmware ipq806x: drop partitial supported boards 2018-01-13 07:33:02 +01:00
kernel mac80211: ath10k: search DT for BDF variant info 2018-01-13 07:58:19 +01:00
libs treewide: replace LEDE_GIT with PROJECT_GIT 2018-01-10 21:27:32 +01:00
network ebtables: update to latest git 2017-10-24 2018-01-11 11:50:50 +01:00
system treewide: replace LEDE_GIT with PROJECT_GIT 2018-01-10 21:27:32 +01:00
utils treewide: replace LEDE_GIT with PROJECT_GIT 2018-01-10 21:27:32 +01:00
Makefile build: cleanup tmp/ dir of target rootfs 2017-05-02 22:10:50 +08:00