qcacmn: Add vdev delete notify callback

Add vdev delete notify callback for DP vdev, which
is called when dp_vdev is freed. This will notify
the osif/non-cmn dp layer upon dp_vdev delete.

Change-Id: I22110ebd048066e84644c04b4903c50dd61c61a4
CRs-Fixed: 3696638
This commit is contained in:
Rakesh Pillai
2023-12-26 06:07:14 -08:00
committed by Ravindra Konda
parent 37cd1d31ac
commit a5c5711971
3 changed files with 20 additions and 7 deletions

View File

@@ -1,6 +1,6 @@
/*
* Copyright (c) 2011-2021 The Linux Foundation. All rights reserved.
* Copyright (c) 2021-2023 Qualcomm Innovation Center, Inc. All rights reserved.
* Copyright (c) 2021-2024 Qualcomm Innovation Center, Inc. All rights reserved.
*
* Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the
@@ -1195,6 +1195,7 @@ typedef QDF_STATUS(*ol_txrx_get_tsf_time)(void *osif_dev, uint64_t input_time,
* @get_key: function pointer to get key of the peer with
* specific key index
* @get_tsf_time: function pointer to get TSF
* @vdev_del_notify: vdev delete notifier
*/
struct ol_txrx_ops {
struct {
@@ -1227,6 +1228,7 @@ struct ol_txrx_ops {
ol_txrx_get_key_fp get_key;
ol_txrx_get_tsf_time get_tsf_time;
ol_txrx_vdev_delete_cb vdev_del_notify;
};
/**