ath10k: add cal_data debugfs file
authorKalle Valo <kvalo@qca.qualcomm.com>
Wed, 24 Sep 2014 11:16:58 +0000 (14:16 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Fri, 26 Sep 2014 10:36:07 +0000 (13:36 +0300)
commit7869b4faf53e9d25212b17fcbc59dce22324fce7
tree219c76d613960de73a1f94db31bc1759272f2dc3
parenteef254051f3c7675e3ac4df23f8ccf7b210c39c5
ath10k: add cal_data debugfs file

Provide calibration data used by the firmware to user space via a debugfs file.
This makes it easier to debug calibration related problems.

Example:

sudo cp /sys/kernel/debug/ieee80211/phy0/ath10k/cal_data 1.cal

Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/debug.c
drivers/net/wireless/ath/ath10k/hw.h