ath10k: move cal data len to hw_params
authorRaja Mani <rmani@qti.qualcomm.com>
Fri, 18 Mar 2016 09:44:22 +0000 (11:44 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Wed, 23 Mar 2016 11:42:46 +0000 (13:42 +0200)
commit0b8e3c4ca29fe2c0efd3d41a76e34a657b9f17a4
tree4e78b580dfae7f4e8923fc99e624eaffbbe9fe53
parentf454add47adb4133f297e1b7af07bf07b3983044
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>
drivers/net/wireless/ath/ath10k/core.c
drivers/net/wireless/ath/ath10k/core.h
drivers/net/wireless/ath/ath10k/debug.c
drivers/net/wireless/ath/ath10k/hw.h