qcacmn: Implement WMI/Credit History log print APIs

Create output agnostic log print APIs for WMI and Credit History to
enhance the debugging experience.

Change-Id: Ie89a9cb3b54c373ac2610d62003e940da17696d8
CRs-Fixed: 2028762
Esse commit está contido em:
Dustin Brown
2017-04-03 17:00:07 -07:00
commit de Sandeep Puligilla
commit e58fbc7c82
2 arquivos alterados com 26 adições e 0 exclusões

Ver arquivo

@@ -113,12 +113,14 @@ struct wmi_command_header {
* @ buf_tail_idx - Tail index of buffer
* @ p_buf_tail_idx - refernce to buffer tail index. It is added to accommodate
* unified design since MCL uses global variable for buffer tail index
* @ size - the size of the buffer in number of entries
*/
struct wmi_log_buf_t {
void *buf;
uint32_t length;
uint32_t buf_tail_idx;
uint32_t *p_buf_tail_idx;
uint32_t size;
};
/**