net: cnss_prealloc: add debugfs entry to check the memory status

This feature adds support to check the pre allocated memory
pool status at runtime. This debugfs entry provide the required
information for wlan host driver memory profiling and adds support
to debug the pre-alloc memory failure issue.

feature:
1. Total amount of pre-alloc memory avail and used in the
   memory pool.
2. Pre-alloc memory status per slots(used/free).

CRs-Fixed: 2027352
Change-Id: I61c51f93dd7462b1fa9c36f6eea3814a6acbdd34
Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
Signed-off-by: Hardik Kantilal Patel <hkpatel@codeaurora.org>
1 file changed