qcacmn: Add support to configure buffer size from kbuild

Add support to configure logging buffer size from
per-OEM kbuild based on memory requirement.

Change-Id: Ia91d79e5e738b1c9787015de101c3f67ccde46aa
CRs-Fixed: 2253438
此提交包含在:
Nirav Shah
2018-06-01 16:32:28 +05:30
提交者 nshrivas
父節點 ab1d4c30ca
當前提交 79ec3e999b
共有 5 個檔案被更改,包括 22 行新增3 行删除

查看文件

@@ -86,8 +86,11 @@ typedef int (qdf_abstract_print)(void *priv, const char *fmt, ...);
/* Preprocessor definitions and constants */
#define ASSERT_BUFFER_SIZE (512)
#define QDF_TRACE_DEFAULT_PDEV_ID 0xff
#ifndef MAX_QDF_TRACE_RECORDS
#define MAX_QDF_TRACE_RECORDS 4000
#endif
#define QDF_TRACE_DEFAULT_PDEV_ID 0xff
#define INVALID_QDF_TRACE_ADDR 0xffffffff
#define DEFAULT_QDF_TRACE_DUMP_COUNT 0
@@ -154,8 +157,10 @@ typedef struct s_qdf_trace_data {
#define CASE_RETURN_STRING(str) case ((str)): return (uint8_t *)(# str);
#ifndef MAX_QDF_DP_TRACE_RECORDS
#define MAX_QDF_DP_TRACE_RECORDS 2000
#endif
#define QDF_DP_TRACE_RECORD_SIZE 40
#define INVALID_QDF_DP_TRACE_ADDR 0xffffffff
#define QDF_DP_TRACE_VERBOSITY_HIGH 3