qcacmn: use debugfs to show ini configs

Create new interface ucfg_cfg_ini_config_print/cfg_ini_config_print
to save the ini configs to buffer.

Change-Id: I7bc80d56d3a806a53c299d1347d4a656a6856248
CRs-Fixed: 2579558
This commit is contained in:
Paul Zhang
2019-12-04 14:17:04 +08:00
committed by nshrivas
父節點 27e7bb4d79
當前提交 c1b915da06
共有 2 個文件被更改,包括 98 次插入0 次删除

查看文件

@@ -181,6 +181,19 @@ QDF_STATUS cfg_parse_to_global_store(const char *path);
*/
QDF_STATUS ucfg_cfg_store_print(struct wlan_objmgr_psoc *psoc);
/**
* ucfg_cfg_ini_config_print() prints the cfg ini/non ini to buffer
* @psoc: psoc
* @buf: cache to save ini config
* @plen: the pointer to length
* @buflen: total buf length
*
* Return: QDF_STATUS
*/
QDF_STATUS ucfg_cfg_ini_config_print(struct wlan_objmgr_psoc *psoc,
uint8_t *buf, ssize_t *plen,
ssize_t buflen);
/**
* cfg_get() - lookup the configured value for @id from @psoc
* @psoc: The psoc from which to lookup the configured value