qcacmn: Debug print rate limiting

Implement driver debug print rate limiting in HIF SDIO RX
path and QDF nbuf allocation path to avoid driver
inactivity watch dog time out when the platform is facing
great memory pressure.

Change-Id: Ifa4fe3e7027150fd1469df58049776fca8aa6f2f
CRs-Fixed: 2148314
This commit is contained in:
wadesong
2017-11-13 11:53:19 +08:00
کامیت شده توسط snandini
والد b9ec57ef65
کامیت 41f857eb31
3فایلهای تغییر یافته به همراه8 افزوده شده و 3 حذف شده

مشاهده پرونده

@@ -52,6 +52,8 @@ extern "C" {
typedef void __iomem *A_target_id_t;
typedef void *hif_handle_t;
#define HIF_DBG_PRINT_RATE 1000
#define HIF_TYPE_AR6002 2
#define HIF_TYPE_AR6003 3
#define HIF_TYPE_AR6004 5