From d31f1e5ed9bca2992d888331123aefa22d8ccce0 Mon Sep 17 00:00:00 2001 From: Rakshith Suresh Patkar Date: Thu, 9 May 2019 13:25:00 +0530 Subject: [PATCH] qcacld-3.0: Move enum WDI_EVENT to common datapath Move the enum WDI_EVENT from wdi_event.h to cdp_txrx_stats_struct.h as it is used in common datapath. Change-Id: If3a2dcc481d59e6615e4a50ffbb721bf61fb75c2 CRs-Fixed: 2449966 --- core/dp/txrx/wdi_event.h | 22 ++-------------------- 1 file changed, 2 insertions(+), 20 deletions(-) diff --git a/core/dp/txrx/wdi_event.h b/core/dp/txrx/wdi_event.h index 12d67d83b6d0..fcf771bbce56 100644 --- a/core/dp/txrx/wdi_event.h +++ b/core/dp/txrx/wdi_event.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013-2018 The Linux Foundation. All rights reserved. + * Copyright (c) 2013-2019 The Linux Foundation. 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 @@ -21,25 +21,9 @@ #include "athdefs.h" #include "qdf_nbuf.h" -#define WDI_EVENT_BASE 0x100 /* Event starting number */ +#include #define WDI_NO_VAL (-1) -enum WDI_EVENT { - WDI_EVENT_TX_STATUS = WDI_EVENT_BASE, - WDI_EVENT_OFFLOAD_ALL, - WDI_EVENT_RX_DESC, - WDI_EVENT_RX_DESC_REMOTE, - WDI_EVENT_RATE_FIND, - WDI_EVENT_RATE_UPDATE, - WDI_EVENT_SW_EVENT, - WDI_EVENT_RX_PEER_INVALID, - /* From WIN definations */ - WDI_EVENT_LITE_RX, - WDI_EVENT_LITE_T2H, - /* End of new event items */ - - WDI_EVENT_LAST -}; struct wdi_event_rx_peer_invalid_msg { qdf_nbuf_t msdu; @@ -47,8 +31,6 @@ struct wdi_event_rx_peer_invalid_msg { uint8_t vdev_id; }; -#define WDI_NUM_EVENTS (WDI_EVENT_LAST - WDI_EVENT_BASE) - #define WDI_EVENT_NOTIFY_BASE 0x200 enum WDI_EVENT_NOTIFY { WDI_EVENT_SUB_DEALLOCATE = WDI_EVENT_NOTIFY_BASE,