[PATCH] ath10k: add pktlog support for 10.4 firmware

Kalle Valo kvalo at qca.qualcomm.com
Wed Aug 19 04:08:06 PDT 2015


Raja Mani <rmani at qti.qualcomm.com> writes:

> 10.4 firmware uses dedicated copy engine for pktlog transaction.
> Whatever the data received in that dedicated copy engine will
> have only pkt log header and followed by pktlog payload (will not
> have htc header). In the current design, htc layer callback
> registered with hif are acting as default receiver for all copy
> engine. We need to change the design in a way dedicated copy
> engine assigned for pktlog directly goes to pktlog module
> (bypassing htc) and rest of copy engine data goes to htc layer.
> In order to meet this, hif layer is changed to maintain copy
> engine specific tx and rx callbacks.
>
> Also, new firmware ie is added to get copy engine number used
> for pktlog in the firmware. Based this, pktlog receiver callback
> handler will be plugged into hif layer.
>
> pktlog.c/h are newly added to have pktlog related stuff.
> 10.4 firmware pktlog header differs from non 10.4 firmware.
> So, new pktlog header is added for 10.4.
>
> This patch enables pktlog to capture only TX related info on
> 10.4 firmware. Some more effort is need to capture RX related
> info in pktlog which is not covered in this patch.
>
> Signed-off-by: Raja Mani <rmani at qti.qualcomm.com>

Like discussed privately, let's drop this now and revisit later.

-- 
Kalle Valo



More information about the ath10k mailing list