|
@@ -106,20 +106,27 @@
|
|
|
#define SME_ACTIVE_LIST_CMD_TIMEOUT_VALUE (30*1000)
|
|
|
#define SME_CMD_TIMEOUT_VALUE (SME_ACTIVE_LIST_CMD_TIMEOUT_VALUE + 1000)
|
|
|
|
|
|
-#define SME_CMD_VDEV_DISCONNECT_TIMEOUT (SIR_VDEV_STOP_REQUEST_TIMEOUT + 4000)
|
|
|
+/* Disconnect timeout = vdev stop + bss peer delete + 1 sec */
|
|
|
+#define SME_CMD_VDEV_DISCONNECT_TIMEOUT (SIR_VDEV_STOP_REQUEST_TIMEOUT + \
|
|
|
+ SIR_DELETE_STA_TIMEOUT + 1000)
|
|
|
#define SME_DISCONNECT_TIMEOUT (SME_CMD_VDEV_DISCONNECT_TIMEOUT + 1000)
|
|
|
|
|
|
+/* AP start timeout = vdev start + 4 sec */
|
|
|
#define SME_CMD_VDEV_START_BSS_TIMEOUT (SIR_VDEV_START_REQUEST_TIMEOUT + 4000)
|
|
|
#define SME_CMD_START_BSS_TIMEOUT (SME_CMD_VDEV_START_BSS_TIMEOUT + 1000)
|
|
|
|
|
|
-/* SME timeout for Start/Stop BSS commands is set to 6 secs */
|
|
|
-#define SME_START_STOP_BSS_CMD_TIMEOUT (SIR_VDEV_STOP_REQUEST_TIMEOUT + 4000)
|
|
|
-#define SME_CMD_STOP_BSS_TIMEOUT (SME_START_STOP_BSS_CMD_TIMEOUT + 4000)
|
|
|
+/* AP stop timeout = vdev stop + self peer delete + 1 sec */
|
|
|
+#define SME_CMD_STOP_BSS_CMD_TIMEOUT (SIR_VDEV_STOP_REQUEST_TIMEOUT + \
|
|
|
+ SIR_DELETE_STA_TIMEOUT + 1000)
|
|
|
+#define SME_CMD_STOP_BSS_TIMEOUT (SME_CMD_STOP_BSS_CMD_TIMEOUT + 1000)
|
|
|
|
|
|
-#define SME_CMD_PEER_DISCONNECT_TIMEOUT (SIR_DELETE_STA_TIMEOUT + 2000)
|
|
|
-#define SME_PEER_DISCONNECT_TIMEOUT (SME_START_STOP_BSS_CMD_TIMEOUT + 1000)
|
|
|
+/* Peer disconenct timeout = peer delete + 1 sec */
|
|
|
+#define SME_CMD_PEER_DISCONNECT_TIMEOUT (SIR_DELETE_STA_TIMEOUT + 1000)
|
|
|
+#define SME_PEER_DISCONNECT_TIMEOUT (SME_CMD_PEER_DISCONNECT_TIMEOUT + 1000)
|
|
|
|
|
|
-#define SME_CMD_ROAM_CMD_TIMEOUT (SIR_VDEV_START_REQUEST_TIMEOUT + 4000)
|
|
|
+/* Roam cmds timeout = vdev start + peer assoc + 1 sec */
|
|
|
+#define SME_CMD_ROAM_CMD_TIMEOUT (SIR_VDEV_START_REQUEST_TIMEOUT + \
|
|
|
+ SIR_PEER_ASSOC_TIMEOUT + 1000)
|
|
|
#define SME_CMD_ADD_DEL_TS_TIMEOUT (4 * 1000)
|
|
|
|
|
|
/*
|