1 /* 2 * Copyright (c) 2018 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: offload lmac interface APIs for ocb 21 * 22 */ 23 24 #ifndef __TARGET_IF_OCB_H__ 25 #define __TARGET_IF_OCB_H__ 26 27 /** 28 * target_if_ocb_register_event_handler() - lmac handler to register ocb event 29 * handler 30 * @psoc : psoc object 31 * @arg: argument passed to lmac 32 * 33 * Return: QDF_STATUS 34 */ 35 QDF_STATUS target_if_ocb_register_event_handler(struct wlan_objmgr_psoc *psoc, 36 void *arg); 37 38 /** 39 * target_if_ocb_unregister_event_handler() - lmac handler to unregister ocb 40 * event handler 41 * @psoc : psoc object 42 * @arg: argument passed to lmac 43 * 44 * Return: QDF_STATUS 45 */ 46 QDF_STATUS target_if_ocb_unregister_event_handler(struct wlan_objmgr_psoc *psoc, 47 void *arg); 48 /** 49 * target_if_ocb_register_tx_ops() - lmac handler to register ocb tx ops 50 * callback functions 51 * @tx_ops: ocb tx operations 52 * 53 * Return: QDF_STATUS 54 */ 55 QDF_STATUS target_if_ocb_register_tx_ops( 56 struct wlan_ocb_tx_ops *tx_ops); 57 58 #endif 59