qcacld-3.0: Refactor firmware, serialization and HDD CMD timeouts
Refactor firmware, serialization and command timeouts so that HDD timeout are greater than serialization is greater than firmware timeout. The timeouts are defined considering below worst case delay in firmware. WMI_VDEV_START_REQUEST_CMDID 6 sec WMI_VDEV_RESTART_REQUEST_CMDID 6 sec WMI_VDEV_STOP_CMDID 2 sec WMI_PEER_DELETE_CMDID 2 sec WMI_PEER_ASSOC_CMDID 2 sec WMI_PDEV_SET_HW_MODE_CMDID 2 sec WMI_PDEV_SET_MAC_CONFIG_CMDID 2 sec Change-Id: I270e980ed1cf2aee55a1fa4e88ff8ddc845a203b CRs-Fixed: 2384389
This commit is contained in:
@@ -51,8 +51,8 @@ struct wlan_objmgr_psoc;
|
||||
|
||||
#define AC_PRIORITY_NUM 4
|
||||
|
||||
/* default tdls serialize timeout is set to 10 secs */
|
||||
#define TDLS_DEFAULT_SERIALIZE_CMD_TIMEOUT 10000
|
||||
/* default tdls serialize timeout is set to 4 secs */
|
||||
#define TDLS_DEFAULT_SERIALIZE_CMD_TIMEOUT 4000
|
||||
|
||||
/** Maximum time(ms) to wait for tdls add sta to complete **/
|
||||
#define WAIT_TIME_TDLS_ADD_STA (TDLS_DEFAULT_SERIALIZE_CMD_TIMEOUT + 1000)
|
||||
|
Reference in New Issue
Block a user