1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/net/wireless/ath/ath10k
Robert Marko f2a7064a78 ath10k: support bus and device specific API 1 BDF selection
Some ath10k IPQ40xx devices like the MikroTik hAP ac2 and ac3 require the
BDF-s to be extracted from the device storage instead of shipping packaged
API 2 BDF-s.

This is required as MikroTik has started shipping boards that require BDF-s
to be updated, as otherwise their WLAN performance really suffers.
This is however impossible as the devices that require this are release
under the same revision and its not possible to differentiate them from
devices using the older BDF-s.

In OpenWrt we are extracting the calibration data during runtime and we are
able to extract the BDF-s in the same manner, however we cannot package the
BDF-s to API 2 format on the fly and can only use API 1 to provide BDF-s on
the fly.
This is an issue as the ath10k driver explicitly looks only for the
board.bin file and not for something like board-bus-device.bin like it does
for pre-cal data.
Due to this we have no way of providing correct BDF-s on the fly, so lets
extend the ath10k driver to first look for BDF-s in the
board-bus-device.bin format, for example: board-ahb-a800000.wifi.bin
If that fails, look for the default board file name as defined previously.

Signed-off-by: Robert Marko <robimarko@gmail.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20211009221711.2315352-1-robimarko@gmail.com
2022-05-06 09:19:45 +03:00
..
ahb.c ath10k: Use of_device_get_match_data() helper 2022-03-21 12:48:24 +02:00
ahb.h ath10k: switch to use SPDX license identifiers 2019-02-20 10:33:00 +02:00
bmi.c ath10k: sdio: add firmware coredump support 2020-08-19 20:36:19 +03:00
bmi.h treewide: Replace 0-element memcpy() destinations with flexible arrays 2021-10-18 12:28:53 -07:00
ce.c ath10k: Keep track of which interrupts fired, don't poll them 2020-09-01 15:04:13 +03:00
ce.h ath10k: Keep track of which interrupts fired, don't poll them 2020-09-01 15:04:13 +03:00
core.c ath10k: support bus and device specific API 1 BDF selection 2022-05-06 09:19:45 +03:00
core.h ath10k: remove a copy of the NAPI_POLL_WEIGHT define 2022-05-02 17:00:11 +03:00
coredump.c ath10k: replace strlcpy with strscpy 2021-12-22 08:02:08 +02:00
coredump.h ath10k: fix module load regression with iram-recovery feature 2021-10-25 16:05:08 +03:00
debug.c ath10k/ath11k: fix spelling mistake "requed" -> "requeued" 2021-05-24 08:34:46 +03:00
debug.h ath10k: Add new debug level for sta related logs 2021-02-09 09:25:10 +02:00
debugfs_sta.c ath10k: Add peer param map for tlv and non-tlv 2019-09-23 10:27:56 +03:00
hif.h ath10k: hif: make send_complete_check op optional 2020-04-21 15:04:02 +03:00
htc.c ath10k: Fix a use after free in ath10k_htc_send_bundle 2021-04-22 16:53:35 +03:00
htc.h ath10k: enable alt data of TX path for sdio 2020-04-22 09:43:32 +03:00
htt.c ath10k: abstract htt_rx_desc structure 2022-01-17 14:45:15 +02:00
htt.h ath10k: abstract htt_rx_desc structure 2022-01-17 14:45:15 +02:00
htt_rx.c ath10k: fix pointer arithmetic error in trace call 2022-02-24 11:05:10 +02:00
htt_tx.c ath10k: abstract htt_rx_desc structure 2022-01-17 14:45:15 +02:00
hw.c ath10k: abstract htt_rx_desc structure 2022-01-17 14:45:15 +02:00
hw.h ath10k: Trigger sta disconnect on hardware restart 2022-03-21 12:46:16 +02:00
Kconfig qcom_scm: hide Kconfig symbol 2021-10-07 16:51:57 +02:00
mac.c ath10k: mac: fix too long lines 2022-05-06 09:16:56 +03:00
mac.h ath10k: add support for hardware rfkill 2019-10-02 20:20:33 +03:00
Makefile ath10k: switch to use SPDX license identifiers 2019-02-20 10:33:00 +02:00
p2p.c ath10k: Don't iterate over not-sdata-in-driver interfaces. 2020-11-07 09:57:07 +02:00
p2p.h ath10k: switch to use SPDX license identifiers 2019-02-20 10:33:00 +02:00
pci.c ath10k: remove a copy of the NAPI_POLL_WEIGHT define 2022-05-02 17:00:11 +03:00
pci.h ath10k: remove the repeated declaration 2021-06-15 17:03:51 +03:00
qmi.c ath10k: Don't always treat modem stop events as crashes 2021-10-05 17:26:38 +03:00
qmi.h ath10k: Remove ath10k_qmi_register_service_notifier() declaration 2020-05-30 17:18:29 +03:00
qmi_wlfw_v01.c ath10k: Fix HOST capability QMI incompatibility 2019-09-17 17:03:13 +03:00
qmi_wlfw_v01.h ath10k: Fix HOST capability QMI incompatibility 2019-09-17 17:03:13 +03:00
rx_desc.h ath10k: abstract htt_rx_desc structure 2022-01-17 14:45:15 +02:00
sdio.c wireless-next patches for v5.19 2022-05-03 17:27:51 -07:00
sdio.h Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next 2020-06-03 16:27:18 -07:00
snoc.c ath10k: remove a copy of the NAPI_POLL_WEIGHT define 2022-05-02 17:00:11 +03:00
snoc.h ath10k: Don't always treat modem stop events as crashes 2021-10-05 17:26:38 +03:00
spectral.c ath10k: make relay callbacks const 2020-12-15 22:46:18 -08:00
spectral.h ath10k: switch to use SPDX license identifiers 2019-02-20 10:33:00 +02:00
swap.c ath10k: remove unnecessary 'out of memory' message 2019-06-28 22:14:06 +03:00
swap.h ath10k: Replace zero-length array with flexible-array member 2022-02-21 12:23:28 +02:00
targaddrs.h ath10k: sdio: add firmware coredump support 2020-08-19 20:36:19 +03:00
testmode.c ath10k: Fix some typo in some warning messages 2019-12-17 16:24:17 +02:00
testmode.h ath10k: switch to use SPDX license identifiers 2019-02-20 10:33:00 +02:00
testmode_i.h ath10k: switch to use SPDX license identifiers 2019-02-20 10:33:00 +02:00
thermal.c ath10k: switch to use SPDX license identifiers 2019-02-20 10:33:00 +02:00
thermal.h ath10k: switch to use SPDX license identifiers 2019-02-20 10:33:00 +02:00
trace.c ath10k: Add wrapper function to ath10k debug 2019-06-25 15:48:47 +03:00
trace.h ath10k: remove h from printk format specifier 2021-02-04 09:37:58 +02:00
txrx.c mac80211: fix struct ieee80211_tx_info size 2022-02-04 16:26:53 +01:00
txrx.h ath10k: switch to use SPDX license identifiers 2019-02-20 10:33:00 +02:00
usb.c ath10k: remove a copy of the NAPI_POLL_WEIGHT define 2022-05-02 17:00:11 +03:00
usb.h ath10k: switch to use SPDX license identifiers 2019-02-20 10:33:00 +02:00
wmi-ops.h ath10k: Add wmi command support for station specific TID config 2020-08-26 17:52:46 +03:00
wmi-tlv.c ath10k: Fix ath10k_wmi_tlv_op_pull_peer_stats_info() unlock without lock 2021-04-22 16:59:56 +03:00
wmi-tlv.h ath10k: add wmi service peer stat info for wmi tlv 2020-08-15 10:05:12 +03:00
wmi.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2022-03-17 13:56:58 -07:00
wmi.h ath10k: wmi: remove array of flexible structures 2021-12-13 11:44:51 +02:00
wow.c ath10k: fix memory overwrite of the WoWLAN wakeup packet pattern 2022-01-11 16:30:14 +02:00
wow.h ath10k: switch to use SPDX license identifiers 2019-02-20 10:33:00 +02:00