Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2accc89b authored by Yuanyuan Liu's avatar Yuanyuan Liu
Browse files

icnss: Add debug support of configuring QMI timeout



Add support of configuring QMI timeout through module parameter.
It is easier to debug QMI issue without crashing the system.

CRs-Fixed: 1067885
Change-Id: Iaa0a2df686c88e9aecb308f5749493187c07a38a
Signed-off-by: default avatarYuanyuan Liu <yuanliu@codeaurora.org>
parent 4e2a8a0f
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -46,7 +46,14 @@

#include "wlan_firmware_service_v01.h"

#ifdef CONFIG_ICNSS_DEBUG
unsigned long qmi_timeout = 3000;
module_param(qmi_timeout, ulong, 0600);

#define WLFW_TIMEOUT_MS			qmi_timeout
#else
#define WLFW_TIMEOUT_MS			3000
#endif
#define WLFW_SERVICE_INS_ID_V01		0
#define MAX_PROP_SIZE			32
#define NUM_LOG_PAGES			10