qcacld-3.0: Reset wow pattern on vdev destroy
Currently if a vdev is destroyed, wow patterns are not getting cleared for that vdev, so when a new vdev is created, host tries to configure new wow patterns for this new vdev but due to FW limitations on number of wow patterns that can be maintained at FW, FW is not able to act on this filter and will not maintain this new wow filter. To resolve this issue, clear the wow patterns for the vdev before it gets destroyed. Change-Id: Iae7ad8b683c95d8eaf11355bc0e36b91cece2202 CRs-Fixed: 2344337
This commit is contained in:

committed by
nshrivas

parent
223d3b7db9
commit
6e33a9a0bb
@@ -818,6 +818,15 @@ QDF_STATUS
|
||||
ucfg_pmo_add_wow_user_pattern(struct wlan_objmgr_vdev *vdev,
|
||||
struct pmo_wow_add_pattern *ptrn);
|
||||
|
||||
/**
|
||||
* ucfg_pmo_del_wow_pattern() - Delete WoWl patterns
|
||||
* @vdev: objmgr vdev
|
||||
*
|
||||
* Return:QDF_STATUS_SUCCESS on success else error code
|
||||
*/
|
||||
QDF_STATUS
|
||||
ucfg_pmo_del_wow_pattern(struct wlan_objmgr_vdev *vdev);
|
||||
|
||||
QDF_STATUS
|
||||
ucfg_pmo_del_wow_user_pattern(struct wlan_objmgr_vdev *vdev,
|
||||
uint8_t pattern_id);
|
||||
@@ -1395,6 +1404,12 @@ ucfg_pmo_del_wow_user_pattern(
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
QDF_STATUS
|
||||
ucfg_pmo_del_wow_pattern(struct wlan_objmgr_vdev *vdev)
|
||||
{
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
static inline QDF_STATUS
|
||||
ucfg_pmo_psoc_bus_resume_req(
|
||||
struct wlan_objmgr_psoc *psoc,
|
||||
|
Reference in New Issue
Block a user