Re: [PATCH] ath10k: add pktlog support for 10.4 firmware
From: Kalle Valo <hidden>
Date: 2015-08-19 11:08:13
Raja Mani [off-list ref] 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 <redacted>
Like discussed privately, let's drop this now and revisit later. -- Kalle Valo