qcacmn: Move disconnect wait logic from osif to connection mgr

Move disconnect wait logic from osif to connection mgr, so that
MLO/IF manager can use the wait logic for disconnect
during vdev delete.

Change-Id: Ied2bbcfd6a532209f8008499424f94acc41efc0e
CRs-Fixed: 2800990
This commit is contained in:
gaurank kathpalia
2020-10-20 12:14:54 +05:30
committed by snandini
parent abb7d72f97
commit b8b58d8d12
12 changed files with 125 additions and 46 deletions

View File

@@ -21,7 +21,6 @@
#define _WLAN_OSIF_PRIV_H_
#include "qdf_net_if.h"
#include <qdf_event.h>
#include "wlan_cm_public_struct.h"
#include <qca_vendor.h>
@@ -50,7 +49,6 @@ struct pdev_osif_priv {
* @cmd_id_lock: lock to update and read last command source
* @last_disconnect_reason: last disconnect reason to be indicated in get
* station
* @disconnect_complete: disconnect completion wait event
* @ext_priv: legacy data pointer.
*/
struct osif_cm_info {
@@ -58,7 +56,6 @@ struct osif_cm_info {
wlan_cm_id last_id;
struct qdf_spinlock cmd_id_lock;
enum qca_disconnect_reason_codes last_disconnect_reason;
qdf_event_t disconnect_complete;
void *ext_priv;
};
#endif