qcacmn: Use VDEV response timer in PSOC for MAC update

Use the VDEV response timer infrastructure to hold MAC address update
requests sent to FW on VDEV which is in link switch progress.

As post disconnect and sending set MAC address request, the scheduler
thread is exited and to notify MLO mgr about set MAC address update
complete (or either timer expiry due to FW response timeout) and
further the link switch process based on response.

This code is only applicable for Link switch VDEV MAC address update
path. For MAC update request from userspace still use the same path
without starting the timer as for those wait event is already in place.

Change-Id: Ice3e6f7b00f0d9d08d6aa62ee9c1e4d183142358
CRs-Fixed: 3556517
This commit is contained in:
Vinod Kumar Pirla
2023-07-06 11:27:29 -07:00
committed by Rahul Choudhary
parent a61df6019c
commit a147f231ea
8 changed files with 159 additions and 5 deletions

View File

@@ -1597,6 +1597,8 @@ enum qdf_suspend_type {
* @QDF_FLUSH_LOGS : Recovery needed when sending flush completion to userspace
* @QDF_WMI_CMD_SENT_DURING_SUSPEND: WMI command is received when target is
* suspended
* @QDF_VDEV_MAC_ADDR_UPDATE_RESPONSE_TIMED_OUT: VDEV MAC address update
* request for Link switch timedout.
*/
enum qdf_hang_reason {
QDF_REASON_UNSPECIFIED,
@@ -1634,6 +1636,7 @@ enum qdf_hang_reason {
QDF_DEL_SELF_STA_FAILED,
QDF_FLUSH_LOGS,
QDF_WMI_CMD_SENT_DURING_SUSPEND,
QDF_VDEV_MAC_ADDR_UPDATE_RESPONSE_TIMED_OUT,
};
/**