wilc1000: increase config packets response wait timeout limit
authorAjay Singh <ajay.kathat@microchip.com>
Thu, 16 Sep 2021 16:49:23 +0000 (16:49 +0000)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 21 Sep 2021 15:08:18 +0000 (18:08 +0300)
Increase the WID config packet response timeout to have extra wait time for
host to receive the response message from firmware. Sometimes the WID
config response was timed out because of host interrupt latency.

Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20210916164902.74629-12-ajay.kathat@microchip.com
drivers/net/wireless/microchip/wilc1000/wlan.h

index 150648b..13fde63 100644 (file)
 #define ENABLE_RX_VMM          (SEL_VMM_TBL1 | EN_VMM)
 #define ENABLE_TX_VMM          (SEL_VMM_TBL0 | EN_VMM)
 /* time for expiring the completion of cfg packets */
-#define WILC_CFG_PKTS_TIMEOUT  msecs_to_jiffies(2000)
+#define WILC_CFG_PKTS_TIMEOUT  msecs_to_jiffies(3000)
 
 #define IS_MANAGMEMENT         0x100
 #define IS_MANAGMEMENT_CALLBACK        0x080