1 /* 2 * Copyright (c) 2019 The Linux Foundation. All rights reserved. 3 * 4 * Permission to use, copy, modify, and/or distribute this software for 5 * any purpose with or without fee is hereby granted, provided that the 6 * above copyright notice and this permission notice appear in all 7 * copies. 8 * 9 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL 10 * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED 11 * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE 12 * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL 13 * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR 14 * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER 15 * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 16 * PERFORMANCE OF THIS SOFTWARE. 17 */ 18 19 /** 20 * DOC: wlan_vdev_mgr_rx_ops.h 21 * 22 * API declarations to handle WMI response event corresponding to vdev mgmt 23 */ 24 25 #ifndef __WLAN_VDEV_MGR_RX_OPS_H__ 26 #define __WLAN_VDEV_MGR_RX_OPS_H__ 27 28 #ifdef CMN_VDEV_MGR_TGT_IF_ENABLE 29 #include <wlan_objmgr_vdev_obj.h> 30 #include <wlan_vdev_mgr_tgt_if_rx_defs.h> 31 32 /** 33 * tgt_vdev_mgr_register_rx_ops(): API to register rx ops with lmac 34 * @rx_ops: rx ops struct 35 * 36 * Return: none 37 */ 38 void tgt_vdev_mgr_register_rx_ops(struct wlan_lmac_if_rx_ops *rx_ops); 39 #else 40 /** 41 * tgt_vdev_mgr_register_rx_ops(): API to register rx ops with lmac 42 * @rx_ops: rx ops struct 43 * 44 * Return: none 45 */ 46 static inline void 47 tgt_vdev_mgr_register_rx_ops(struct wlan_lmac_if_rx_ops *rx_ops) {} 48 #endif /* CMN_VDEV_MGR_TGT_IF_ENABLE */ 49 50 #endif /* __WLAN_VDEV_MGR_RX_OPS_H__ */ 51