Browse Source

qcacld-3.0: Set SIR_VDEV_PLCY_MGR_TIMEOUT to 4s

The WMI command tx credit request/return period is impacted
by host CPU loading/scheduling. For a real world case, when
at most 90 WMI commands are queued, and the period is 30ms,
at least 2.7s is needed, so set timeout to 4s for safety margin.

Change-Id: Ice444946292cd4d3cb82f1672a157d3858ac8c5e
CRs-Fixed: 2875205
ngong 4 years ago
parent
commit
9ba19df97c
1 changed files with 2 additions and 2 deletions
  1. 2 2
      core/mac/inc/sir_api.h

+ 2 - 2
core/mac/inc/sir_api.h

@@ -85,11 +85,11 @@ typedef uint8_t tSirVersionString[SIR_VERSION_STRING_LEN];
 /* Add extra PMO_RESUME_TIMEOUT for runtime PM resume timeout */
 #define SIR_PEER_CREATE_RESPONSE_TIMEOUT (4000 + PMO_RESUME_TIMEOUT)
 #define SIR_DELETE_STA_TIMEOUT           (4000 + PMO_RESUME_TIMEOUT)
-#define SIR_VDEV_PLCY_MGR_TIMEOUT        (2000 + PMO_RESUME_TIMEOUT)
+#define SIR_VDEV_PLCY_MGR_TIMEOUT        (4000 + PMO_RESUME_TIMEOUT)
 #else
 #define SIR_PEER_CREATE_RESPONSE_TIMEOUT (4000)
 #define SIR_DELETE_STA_TIMEOUT           (4000) /* 4 seconds */
-#define SIR_VDEV_PLCY_MGR_TIMEOUT        (2000)
+#define SIR_VDEV_PLCY_MGR_TIMEOUT        (4000)
 #endif
 
 /* This should not be greater than MAX_NUMBER_OF_CONC_CONNECTIONS */