linux/drivers/net/wireless/ath
Kalle Valo a58227ef69 ath10k: retrieve calibration data from file
A frequent request have been to be able to provide calibration data from a
file as some of the AP devices store the calibration data on an MTD partition.
This patchset adds support for that and also makes it easier to add Device Tree
support later on.

The calibration data is found by using the id string provided by dev_name()
using this format:

cal-<bus>-<id>.bin

With PCI the id string contains bus, slot and func values. For example for a
PCI device in bus 2 slot 0, ath10k will try to retrieve a calibration data from
a file:

/lib/firmware/ath10k/cal-pci-0000:02:00.0.bin

The calibration data sequence is:

1. Check with request_firmware() if there's a calibration file
   ("cal-<bus>-<id>.bin") on the filesystem for this device. If yes, use that. If
   not, goto 2

2. Check if otp.bin is able to successfully load the calibration data
   from OTP. If yes, use that. If not, goto 3.

4. Print an error message that no calibration data found and stop driver
   initialization for this device.

Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
2014-10-21 10:03:33 +03:00
..
ar5523 mac80211: add vif to flush call 2014-04-09 10:55:29 +02:00
ath5k ath5k: remove redundant null check before kfree() 2014-08-28 14:41:57 -04:00
ath6kl ath: change logging functions to return void 2014-09-29 14:29:23 +03:00
ath9k ath9k: Fix channel context timer 2014-08-28 14:50:13 -04:00
ath10k ath10k: retrieve calibration data from file 2014-10-21 10:03:33 +03:00
carl9170 carl9170: tx: Replace rcu_assign_pointer() with RCU_INIT_POINTER() 2014-08-28 14:50:13 -04:00
wcn36xx wcn36xx: remove unnecessary break after goto 2014-07-13 23:45:24 -07:00
wil6210 ath: change logging functions to return void 2014-09-29 14:29:23 +03:00
ath.h ath9k: Add a debug level for channel context 2014-08-28 14:41:57 -04:00
debug.c
dfs_pattern_detector.c ath: add JP DFS pattern detector 2014-05-16 14:26:53 -04:00
dfs_pattern_detector.h ath9k/ath: move dfs pattern detector to ath 2013-10-18 14:03:54 -04:00
dfs_pri_detector.c ath9k/ath: move dfs pattern detector to ath 2013-10-18 14:03:54 -04:00
dfs_pri_detector.h ath9k/ath: move dfs pattern detector to ath 2013-10-18 14:03:54 -04:00
hw.c
Kconfig ath: add support for proper dynamic regulatory hints 2013-10-18 14:04:41 -04:00
key.c
main.c ath: add common function ath_is_mybeacon 2014-01-16 14:55:44 -05:00
Makefile ath9k/ath: move dfs pattern detector to ath 2013-10-18 14:03:54 -04:00
reg.h
regd_common.h
regd.c ath: remove camel case from struct reg_dmn_pair_mapping 2014-02-14 13:20:32 +02:00
regd.h
spectral_common.h ath10k: add spectral scan feature 2014-08-04 09:07:54 +03:00