[RFC PATCH 3/3] ath10k: add cal_data debugfs file

Kalle Valo kvalo at qca.qualcomm.com
Thu Sep 11 13:53:42 PDT 2014


Kalle Valo <kvalo at qca.qualcomm.com> writes:

> 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 at qca.qualcomm.com>

[...]

> +	ret = ath10k_hif_diag_read(ar, hi_addr, &addr, sizeof(addr));
> +	if (ret) {
> +		ath10k_warn("failed to read hi_board_data address: %d\n", ret);

This and rest of the fuction is missing 'ar' parameter. Obviously it's
too late for me :)

-- 
Kalle Valo



More information about the ath10k mailing list