From 8723a0df077f1a99d6eae81bfb5f6da812b79b1b Mon Sep 17 00:00:00 2001 From: JP Abgrall Date: Mon, 9 Apr 2012 12:19:32 -0700 Subject: net: wimax: fix system process not responding ANR. This patch fixes the issue "5704273 system process not responding ANR every time after soft reboot of device". Issue can be reproduced by soft rebooting the device: adb root adb shell stop adb shell start The ANR was due to wimax power on fail due to wimax firmware download failure. The modem was not responding after driver send MSG_DRIVER_OK_REQ during f/w download process. The issue is fixed by retrying the MSG_DRIVER_OK_REQ again after waiting for 100ms, in case failed to get MSG_DRIVER_OK_RESP. Change-Id: Id6c9e4ae53dfcf9f1755cd8c9b5946f8a2c926aa Signed-off-by: sangamanatha --- drivers/net/wimax/cmc7xx/download.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'drivers/net/wimax/cmc7xx/download.h') diff --git a/drivers/net/wimax/cmc7xx/download.h b/drivers/net/wimax/cmc7xx/download.h index f99de4a..34851e0 100755 --- a/drivers/net/wimax/cmc7xx/download.h +++ b/drivers/net/wimax/cmc7xx/download.h @@ -24,7 +24,8 @@ #define MAX_IMAGE_DATA_LENGTH 3564 #define MAX_IMAGE_DATA_MSG_LENGTH 4096 -#define FWDOWNLOAD_TIMEOUT 5 +#define MODEM_RESP_RETRY 15 +#define FWDOWNLOAD_TIMEOUT 12 #define MAX_WIMAXFW_SIZE 2100000 /* used for host boot (firmware download) */ -- cgit v1.1