diff options
author | Raja Mani <rmani@qti.qualcomm.com> | 2016-03-18 11:44:22 +0200 |
---|---|---|
committer | Kalle Valo <kvalo@qca.qualcomm.com> | 2016-03-23 13:42:46 +0200 |
commit | 0b8e3c4ca29fe2c0efd3d41a76e34a657b9f17a4 (patch) | |
tree | 4e78b580dfae7f4e8923fc99e624eaffbbe9fe53 /drivers/net/wireless/ath/ath10k/hw.h | |
parent | f454add47adb4133f297e1b7af07bf07b3983044 (diff) | |
download | linux-stable-0b8e3c4ca29fe2c0efd3d41a76e34a657b9f17a4.tar.gz linux-stable-0b8e3c4ca29fe2c0efd3d41a76e34a657b9f17a4.tar.bz2 linux-stable-0b8e3c4ca29fe2c0efd3d41a76e34a657b9f17a4.zip |
ath10k: move cal data len to hw_params
ath10k_download_cal_dt() compares obtained cal data content length
against QCA988X_CAL_DATA_LEN (2116 bytes). It was written by keeping
qca988x in mind. In fact, cal data length is more chip specific.
To make ath10k_download_cal_dt() more generic and reusable for other
chipsets (like qca4019), cal data length is moved to hw_params.
Signed-off-by: Raja Mani <rmani@qti.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath10k/hw.h')
-rw-r--r-- | drivers/net/wireless/ath/ath10k/hw.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath10k/hw.h b/drivers/net/wireless/ath/ath10k/hw.h index 1ff617b05010..c0179bc4af29 100644 --- a/drivers/net/wireless/ath/ath10k/hw.h +++ b/drivers/net/wireless/ath/ath10k/hw.h @@ -134,8 +134,6 @@ enum qca9377_chip_id_rev { #define REG_DUMP_COUNT_QCA988X 60 -#define QCA988X_CAL_DATA_LEN 2116 - struct ath10k_fw_ie { __le32 id; __le32 len; |