linux/drivers/net/wireless/ath/ath10k
Raja Mani 3d9195ea19 ath10k: incorporate qca4019 cal data download sequence
qca4019 calibration data is stored in the host memory and it's mandatory
to download it even before reading board id and chip id from the target.
Also, there is a need to execute otp (download and run) twice, one after
cal data download and another one after board data download.

Existing cal data file name 'cal-<bus>-<id>.bin' and device tree entry
'qcom,ath10k-calibration-data' used in ath10k has assumption that it
carries other data (like board data) also along with the calibration data.
But, qca4019 cal data contains pure calibration data (doesn't include
any other info). So, using existing same cal file name and DT entry
in qca4019 case would alter the purpose of it. To avoid this, new cal
file name 'pre-cal-<bus>-<id>.bin' and new device tree entry name
'qcom,ath10k-pre-calibration-data are introduced.

Overall qca4019's firmware download sequence would look like,

   1) Download cal data (either from a file or device tree entry)
      at the address specified by target in the host interest area
      member "hi_board_data".

   2) Download otp and run with 0x10 (PARAM_GET_EEPROM_BOARD_ID)
      as a argument.

      At this point, otp will take back up of downloaded cal data
      content in another location in the target and return valid
      board id and chip id to the host.

   3) Download board data at the address specified by target
      in host interest area member "hi_board_data".

   4) Download otp and run with 0x10000 (PARAM_FLASH_SECTION_ALL) as
      a argument.

      Now otp will apply cal data content from it's backup on top
      of board data download in step 3 and prepare final data base.

   5) Download code swap and athwlan binary content.

Above sequences are implemented (step 1 to step 4) in the name of
pre calibration configuration.

Signed-off-by: Raja Mani <rmani@qti.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
2016-03-23 13:42:46 +02:00
..
ahb.c ath10k: expose hif ops for ahb 2016-01-28 10:47:28 +02:00
ahb.h ath10k: expose hif ops for ahb 2016-01-28 10:47:28 +02:00
bmi.c
bmi.h
ce.c ath10k: remove shadow copy of CE descriptors for source ring 2015-10-29 12:59:04 +02:00
ce.h ath10k: fix HTT Tx CE ring size 2016-03-06 16:31:13 +02:00
core.c ath10k: incorporate qca4019 cal data download sequence 2016-03-23 13:42:46 +02:00
core.h ath10k: incorporate qca4019 cal data download sequence 2016-03-23 13:42:46 +02:00
debug.c ath10k: move cal data len to hw_params 2016-03-23 13:42:46 +02:00
debug.h ath10k: add basic skeleton to support ahb 2016-01-28 10:47:19 +02:00
debugfs_sta.c ath10k: add debugfs support for Per STA total rx duration 2016-01-26 16:47:37 +02:00
hif.h
htc.c
htc.h
htt.c ath10k: rename some HTT events 2016-01-28 10:45:25 +02:00
htt.h ath10k: move mgmt descriptor limit handle under mgmt_tx 2016-03-18 09:52:27 +02:00
htt_rx.c ath10k: move mgmt descriptor limit handle under mgmt_tx 2016-03-18 09:52:27 +02:00
htt_tx.c ath10k: move mgmt descriptor limit handle under mgmt_tx 2016-03-18 09:52:27 +02:00
hw.c ath10k: include qca4019 register map table 2016-01-28 10:47:20 +02:00
hw.h ath10k: move cal data len to hw_params 2016-03-23 13:42:46 +02:00
Kconfig ath10k: add reset ctrl related functions in ahb 2016-01-28 10:47:24 +02:00
mac.c ath10k: fix pull-push tx threshold handling 2016-03-21 18:29:17 +02:00
mac.h ath10k: implement push-pull tx 2016-03-06 16:31:12 +02:00
Makefile ath10k: add basic skeleton to support ahb 2016-01-28 10:47:19 +02:00
p2p.c
p2p.h
pci.c ath10k: fix erroneous return value 2016-03-03 19:20:01 +02:00
pci.h ath10k: add helper functions in ahb.c for reg rd/wr 2016-01-28 10:47:21 +02:00
rx_desc.h
spectral.c
spectral.h
swap.c
swap.h
targaddrs.h ath10k: add qca4019 hw params 2016-02-02 14:09:27 +02:00
testmode.c ath10k: add FW API support to test mode 2015-10-29 12:48:01 +02:00
testmode.h
testmode_i.h
thermal.c ath10k: add thermal throttling support for 10.4 firmware 2015-11-04 19:31:46 +02:00
thermal.h ath10k: Fix build with CONFIG_THERMAL=m 2015-11-26 20:53:07 +01: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: move mgmt descriptor limit handle under mgmt_tx 2016-03-18 09:52:27 +02:00
txrx.h ath10k: move mgmt descriptor limit handle under mgmt_tx 2016-03-18 09:52:27 +02:00
wmi-ops.h ath10k: add abstraction layer for vdev subtype 2016-02-02 14:07:47 +02:00
wmi-tlv.c ath10k: add abstraction layer for vdev subtype 2016-02-02 14:07:47 +02:00
wmi-tlv.h ath10k: add abstraction layer for peer flags 2015-11-04 19:30:08 +02:00
wmi.c ath10k: handle channel change htt event 2016-03-18 09:49:39 +02:00
wmi.h ath10k: set MAC timestamp in management Rx frame 2016-03-08 11:32:42 +02:00
wow.c
wow.h