[PATCH 1/4 v2] ath10k: add debugging for tx-credits usage

Kalle Valo kvalo at qca.qualcomm.com
Tue Mar 25 07:59:12 EDT 2014


greearb at candelatech.com writes:

> From: Ben Greear <greearb at candelatech.com>
>
> This helps track tx credits accounting and usage.  If
> firmware hangs or otherwise fails to return credits, one
> can more easily see the last few command types that
> was sent to the firmware.
>
> Signed-off-by: Ben Greear <greearb at candelatech.com>
> ---
>
> v2:  Improve comments.  Issue of using __LINE__ is not resolved.

I'm going to drop this patch 1 for now, I'm not really fond of the idea
using line numbers in debug messages. Hopefully we find an alternative
solution, like what Michal proposed.

-- 
Kalle Valo



More information about the ath10k mailing list