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: Yuanyuan Liu <yuanliu@codeaurora.org>
This commit is contained in:
parent
4e2a8a0fa1
commit
2accc89b03
1 changed files with 7 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue