wifi: ath12k: increase vdev setup timeout
authorAishwarya R <quic_aisr@quicinc.com>
Tue, 9 May 2023 17:07:23 +0000 (20:07 +0300)
committerKalle Valo <quic_kvalo@quicinc.com>
Wed, 17 May 2023 08:15:26 +0000 (11:15 +0300)
commit1fd2c3f93c3e232290a25a8ef8a48d0fb6c702ad
tree4c8d29634c5d66f132352bd5df4bc11903443b63
parent87bd401138161008fdb82fbca6e213af117bfeb9
wifi: ath12k: increase vdev setup timeout

When vdev start/stop happens, response from firmware is received with delay
and hence there is a timeout before VDEV can be up/down.
Also, with maximum peers connected and when vdev stop occurs, firmware
will take time to clean up all the peers and vap queues.
In such cases as well, vdev start/stop response is sent by firmware with delay.

Increase the vdev setup timeout as recommended by firmware team.

Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.0-02903-QCAHKSWPL_SILICONZ-1

Signed-off-by: Aishwarya R <quic_aisr@quicinc.com>
Signed-off-by: Ramya Gnanasekar <quic_rgnanase@quicinc.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20230428091041.20033-1-quic_rgnanase@quicinc.com
drivers/net/wireless/ath/ath12k/mac.c
drivers/net/wireless/ath/ath12k/wmi.h