OpenCloudOS-Kernel/drivers/net/wireless/ath/ath10k
Sven Eckelmann d06f26c5c8 ath10k: search DT for qcom,ath10k-calibration-variant
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 with 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@openmesh.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
2017-12-14 17:27:54 +02:00
..
Kconfig ath10k: move spectral scan support under a separate config symbol 2017-12-07 16:32:03 +02:00
Makefile ath10k: move spectral scan support under a separate config symbol 2017-12-07 16:32:03 +02:00
ahb.c ath10k: explicitly request exclusive reset control 2017-08-03 14:37:49 +03:00
ahb.h ath10k: expose hif ops for ahb 2016-01-28 10:47:28 +02:00
bmi.c ath10k: sdio get target info 2017-05-04 15:55:41 +03:00
bmi.h ath10k: add BMI parameters to fix calibration from DT/pre-cal 2017-06-01 15:58:09 +03:00
ce.c ath10k: make CE layer bus agnostic 2017-07-06 15:17:05 +03:00
ce.h ath10k: make CE layer bus agnostic 2017-07-06 15:17:05 +03:00
core.c ath10k: search DT for qcom,ath10k-calibration-variant 2017-12-14 17:27:54 +02:00
core.h ath10k: move pktlog_filter out of ath10k_debug 2017-12-14 17:26:34 +02:00
debug.c ath10k: move pktlog_filter out of ath10k_debug 2017-12-14 17:26:34 +02:00
debug.h ath10k: add per peer tx stats support for 10.2.4 2017-12-14 17:26:41 +02:00
debugfs_sta.c ath10k: remove MAC80211_DEBUGFS dependency on ath10k_sta_statistics 2017-12-14 17:26:27 +02:00
hif.h ath10k: clean header files from bad block comments 2017-04-05 10:45:21 +03:00
htc.c ath10k: htc: ready_ext msg support 2017-05-04 15:55:45 +03:00
htc.h ath10k: htc: ready_ext msg support 2017-05-04 15:55:45 +03:00
htt.c ath10k: add per peer htt tx stats support for 10.4 2016-11-23 21:40:02 +02:00
htt.h ath10k: add per peer tx stats support for 10.2.4 2017-12-14 17:26:41 +02:00
htt_rx.c ath10k: add per peer tx stats support for 10.2.4 2017-12-14 17:26:41 +02:00
htt_tx.c ath10k: fix block comments style 2017-04-05 10:41:03 +03:00
hw.c ath10k: store coverage-class in case firmware is not booted 2017-10-13 15:08:19 +03:00
hw.h ath10k: add new cipher suite support 2017-10-13 14:40:06 +03:00
mac.c ath10k: add per peer tx stats support for 10.2.4 2017-12-14 17:26:41 +02:00
mac.h ath10k: remove ath10k_vif_to_arvif() 2017-02-14 19:38:15 +02:00
p2p.c ath10k: remove ath10k_vif_to_arvif() 2017-02-14 19:38:15 +02:00
p2p.h ath10k: implement handling of p2p noa event 2015-03-07 09:57:42 +02:00
pci.c ath: Convert timers to use timer_setup() 2017-10-27 16:54:19 +03:00
pci.h ath: Convert timers to use timer_setup() 2017-10-27 16:54:19 +03:00
rx_desc.h ath10k: rebuild crypto header in rx data frames 2017-10-30 10:36:57 +02:00
sdio.c ath10k: sdio: remove unused struct member 2017-08-31 15:14:18 +03:00
sdio.h ath10k: sdio: remove unused struct member 2017-08-31 15:14:18 +03:00
spectral.c ath10k: spectral: remove redundant check in write_file_spectral_count() 2017-10-27 16:48:50 +03:00
spectral.h ath10k: move spectral scan support under a separate config symbol 2017-12-07 16:32:03 +02:00
swap.c ath10k: move firmware_swap_code_seg_info to ath10k_fw_file 2016-08-31 10:18:37 +03:00
swap.h ath10k: move firmware_swap_code_seg_info to ath10k_fw_file 2016-08-31 10:18:37 +03:00
targaddrs.h ath10k: various sdio related definitions 2017-05-04 15:55:31 +03:00
testmode.c ath10k: append the wmi_op_version to testmode get_version cmd 2017-05-04 15:59:48 +03:00
testmode.h
testmode_i.h ath10k: append the wmi_op_version to testmode get_version cmd 2017-05-04 15:59:48 +03:00
thermal.c ath10k: add const to thermal_cooling_device_ops structure 2017-06-28 19:53:40 +03:00
thermal.h ath10k: fix checkpatch warnings related to spaces 2016-04-14 17:30:51 +03:00
trace.c
trace.h ath10k: add hw_rev to trace events to support pktlog 2016-03-03 19:20:00 +02:00
txrx.c ath10k: fix block comments style 2017-04-05 10:41:03 +03:00
txrx.h ath10k: move mgmt descriptor limit handle under mgmt_tx 2016-03-18 09:52:27 +02:00
usb.c ath10k: add initial USB support 2017-08-03 14:31:01 +03:00
usb.h ath10k: add initial USB support 2017-08-03 14:31:01 +03:00
wmi-ops.h ath10k: clean header files from bad block comments 2017-04-05 10:45:21 +03:00
wmi-tlv.c ath10k: fix a bunch of spelling mistakes in messages 2017-06-28 19:55:44 +03:00
wmi-tlv.h ath10k: add VHT160 support 2017-01-13 15:26:30 +02:00
wmi.c ath10k: handle tdls peer events 2017-12-02 16:15:49 +02:00
wmi.h ath10k: fix invalid STS_CAP_OFFSET_MASK 2017-12-07 16:40:16 +02:00
wow.c ath10k: configure and enable the wakeup capability 2017-08-31 21:17:04 +03:00
wow.h ath10k: configure and enable the wakeup capability 2017-08-31 21:17:04 +03:00