qcacld-3.0: Clear TWT context on receiving roam synch indication

The userspace doesn't expect TWT teardown or notify events after
roaming. So to clear the driver internal TWT context, for old
peer, call the mlme_init_twt_context() on roam synch complete.

Change-Id: If1e4fe2d79561885052caf8d5231d1c943f10c96
CRs-Fixed: 2912872
This commit is contained in:
Pragaspathi Thilagaraj
2021-03-25 22:23:37 +05:30
committed by snandini
parent 5d5383a95b
commit 1d6fac590c
5 changed files with 17 additions and 2 deletions

View File

@@ -21,6 +21,8 @@
#ifndef _WLAN_MLME_TWT_STRUCT_H_
#define _WLAN_MLME_TWT_STRUCT_H_
#define TWT_ALL_SESSIONS_DIALOG_ID 255
/**
* enum wlan_twt_commands - TWT commands
* @WLAN_TWT_NONE: Indicates none of the TWT commands are active.