ath10k: add board data download from target
authorSven Eckelmann <sven.eckelmann@open-mesh.com>
Thu, 2 Jun 2016 14:59:50 +0000 (17:59 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Tue, 7 Jun 2016 11:28:35 +0000 (14:28 +0300)
commit6847f967339179b72eab690d46bc6e88ff847844
tree971c6cb09ddb84755445b43f1278b281dd975e13
parent6fd3dd7160918f528b0d6b7084d18b31cd5fced5
ath10k: add board data download from target

The QCA9887 stores its calibration data (board.bin) inside the EEPROM of
the target. This has to be downloaded manually to allow the device to
initialize correctly.

Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
[kvalo@qca.qualcomm.com: handle -EOPNOTSUPP and s/fetch_board_data/fetch_cal_eeprom]
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/core.c
drivers/net/wireless/ath/ath10k/core.h
drivers/net/wireless/ath/ath10k/hif.h
drivers/net/wireless/ath/ath10k/hw.h
drivers/net/wireless/ath/ath10k/pci.c