summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/wcn36xx/smd.h
diff options
context:
space:
mode:
authorPontus Fuchs2014-02-12 20:04:42 +0100
committerJohn W. Linville2014-02-13 21:20:17 +0100
commit546c505bdc64c471be33a5ab525458431d718f5e (patch)
tree543efe2f664937ef2c41565819a21f58726860bb /drivers/net/wireless/ath/wcn36xx/smd.h
parentwcn36xx: Improve feature caps exchange (diff)
downloadkernel-qcow2-linux-546c505bdc64c471be33a5ab525458431d718f5e.tar.gz
kernel-qcow2-linux-546c505bdc64c471be33a5ab525458431d718f5e.tar.xz
kernel-qcow2-linux-546c505bdc64c471be33a5ab525458431d718f5e.zip
wcn36xx: Wait longer for SMD commands to complete
On some wcnss firmwares the start command can take up to 300ms to complete. Currently there is a 200ms timeout for SMD command to complete which causes the start to fail. Increase the timeout to 500ms. Also improve debug information regarding SMD command completion time. Signed-off-by: Pontus Fuchs <pontus.fuchs@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/wcn36xx/smd.h')
-rw-r--r--drivers/net/wireless/ath/wcn36xx/smd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/wcn36xx/smd.h b/drivers/net/wireless/ath/wcn36xx/smd.h
index e7c39019c6f1..c46246f8acb9 100644
--- a/drivers/net/wireless/ath/wcn36xx/smd.h
+++ b/drivers/net/wireless/ath/wcn36xx/smd.h
@@ -24,7 +24,7 @@
#define WCN36XX_HAL_BUF_SIZE 4096
-#define HAL_MSG_TIMEOUT 200
+#define HAL_MSG_TIMEOUT 500
#define WCN36XX_SMSM_WLAN_TX_ENABLE 0x00000400
#define WCN36XX_SMSM_WLAN_TX_RINGS_EMPTY 0x00000200
/* The PNO version info be contained in the rsp msg */