You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Sven Eckelmann 1c01e02575 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>
6 years ago
..
081-ath10k-calibration-variant.patch ath10k-ct: search DT for BDF variant info 6 years ago
100-kernel_compat.patch ath10k-ct: activate user space firmware loading again 7 years ago
110-api_fix.patch ath10k-ct: activate user space firmware loading again 7 years ago
120-mac80211-4-14-api.patch ath10k-ct: activate user space firmware loading again 7 years ago
160-ath10k-search-all-IEs-for-variant-before-falling-back.patch ath10k-ct: search DT for BDF variant info 6 years ago
200-ath10k-move-spectral-scan-support-under-a-separate-c.patch ath9k, ath10k(-ct): move spectral scan support under a separate config symbol 7 years ago