mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 21:59:12 -04:00
qcacld-3.0: Remove slub debug factor for WMA timeouts
In the scenario where vdev response is not received for SAP start, HDD timer of 10secs expires ahead of vdev response timer, which is of 12secs due to slub debug factor. This can result in change interface to be triggered by supplicant before fw down indication is received. Vdev is logically deleted and peer removal in objmgr fails due to vdev get_ref failure resulting in peer leak on wlan shutdown. Fix is to remove slub debug factor for vdev response timeouts. Change-Id: Id0741226ccaebbabb817853246c7b116bd447128 CRs-Fixed: 2376610
This commit is contained in:
parent
eb865bb051
commit
fd265b2213
1 changed files with 5 additions and 11 deletions
|
|
@ -202,18 +202,12 @@
|
|||
#define WMA_PDEV_SET_HW_MODE_RESP 0x06
|
||||
#define WMA_PDEV_MAC_CFG_RESP 0x07
|
||||
|
||||
#ifdef CONFIG_SLUB_DEBUG_ON
|
||||
#define SLUB_DEBUG_FACTOR (2)
|
||||
#else
|
||||
#define SLUB_DEBUG_FACTOR (1)
|
||||
#endif
|
||||
|
||||
/* FW response timeout values in milli seconds */
|
||||
#define WMA_VDEV_START_REQUEST_TIMEOUT (6000) * (SLUB_DEBUG_FACTOR)
|
||||
#define WMA_VDEV_STOP_REQUEST_TIMEOUT (6000) * (SLUB_DEBUG_FACTOR)
|
||||
#define WMA_VDEV_HW_MODE_REQUEST_TIMEOUT (6000) * (SLUB_DEBUG_FACTOR)
|
||||
#define WMA_VDEV_PLCY_MGR_CMD_TIMEOUT (6000) * (SLUB_DEBUG_FACTOR)
|
||||
#define WMA_VDEV_DUAL_MAC_CFG_TIMEOUT (5000) * (SLUB_DEBUG_FACTOR)
|
||||
#define WMA_VDEV_START_REQUEST_TIMEOUT (6000)
|
||||
#define WMA_VDEV_STOP_REQUEST_TIMEOUT (6000)
|
||||
#define WMA_VDEV_HW_MODE_REQUEST_TIMEOUT (6000)
|
||||
#define WMA_VDEV_PLCY_MGR_CMD_TIMEOUT (6000)
|
||||
#define WMA_VDEV_DUAL_MAC_CFG_TIMEOUT (5000)
|
||||
|
||||
#define WMA_VDEV_SET_KEY_WAKELOCK_TIMEOUT WAKELOCK_DURATION_RECOMMENDED
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue