summaryrefslogtreecommitdiff
path: root/core/cds/src/cds_api.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/cds/src/cds_api.c')
-rw-r--r--core/cds/src/cds_api.c14
1 files changed, 13 insertions, 1 deletions
diff --git a/core/cds/src/cds_api.c b/core/cds/src/cds_api.c
index 73e7a1eaec..7964a6773b 100644
--- a/core/cds/src/cds_api.c
+++ b/core/cds/src/cds_api.c
@@ -86,6 +86,17 @@ static struct __qdf_device g_qdf_ctx;
static uint8_t cds_multicast_logging;
#ifdef QCA_WIFI_QCA8074
+static inline int
+cds_send_delba(void *pdev_handle, void *ctrl_peer,
+ uint8_t *peer_macaddr, uint8_t tid, void *vdev_handle,
+ uint8_t reason_code)
+{
+ struct wlan_objmgr_vdev *vdev = (struct wlan_objmgr_vdev *)vdev_handle;
+
+ return wma_dp_send_delba_ind(wlan_vdev_get_id(vdev), peer_macaddr, tid,
+ reason_code);
+}
+
static struct ol_if_ops dp_ol_if_ops = {
.peer_set_default_routing = target_if_peer_set_default_routing,
.peer_rx_reorder_queue_setup = target_if_peer_rx_reorder_queue_setup,
@@ -95,7 +106,8 @@ static struct ol_if_ops dp_ol_if_ops = {
.rx_mic_error = wma_rx_mic_error_ind,
.rx_invalid_peer = wma_rx_invalid_peer_ind,
.is_roam_inprogress = wma_is_roam_in_progress,
- .get_con_mode = cds_get_conparam
+ .get_con_mode = cds_get_conparam,
+ .send_delba = cds_send_delba,
/* TODO: Add any other control path calls required to OL_IF/WMA layer */
};
#else