[PATCH v7 2/8] ath10k: provide firmware crash info via debugfs

Ben Greear greearb at candelatech.com
Wed Aug 20 06:13:32 PDT 2014

>>> Hmm should this really be sizeof()? Not next_idx (which effectively
>>> defines number of bytes of the dbglog)?
>> I haven't tried decoding this yet, but we may need to know the next_idx
>> to decode this properly.
> So basically a (length, payload) encoding would be necessary here
> instead of a single stream, right?

As long as you know the starting point for a message, you can decode the
rest of the message(s) as a stream of 32 bit ints.  The current code that
I wrote is a circular buffer, so after first wrap, we lose an idea of where
to start reading.


Ben Greear <greearb at candelatech.com>
Candela Technologies Inc  http://www.candelatech.com

More information about the ath10k mailing list