blob: 4bf88b213e0e50cc96fd84e53a789a22c6c9ea49 [file] [log] [blame]
Paul Zhangc9dbaee2019-06-23 22:07:31 +08001/*
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: fw offload south bound interface declaration
21 */
22#ifndef _WLAN_FWOL_TGT_API_H
23#define _WLAN_FWOL_TGT_API_H
24
25#include "wlan_fwol_public_structs.h"
26
27/**
28 * tgt_fwol_register_ev_handler() - register south bound event handler
29 * @psoc: psoc handle
30 *
31 * Return: QDF_STATUS_SUCCESS on success
32 */
33QDF_STATUS tgt_fwol_register_ev_handler(struct wlan_objmgr_psoc *psoc);
34
35/**
36 * tgt_fwol_unregister_ev_handler() - unregister south bound event handler
37 * @psoc: psoc handle
38 *
39 * Return: QDF_STATUS_SUCCESS on success
40 */
41QDF_STATUS tgt_fwol_unregister_ev_handler(struct wlan_objmgr_psoc *psoc);
42
43/**
44 * tgt_fwol_register_rx_ops() - register fw offload rx operations
45 * @rx_ops: fps to rx operations
46 *
47 * Return: QDF_STATUS_SUCCESS on success
48 */
49QDF_STATUS tgt_fwol_register_rx_ops(struct wlan_fwol_rx_ops *rx_ops);
50#endif /* _WLAN_FWOL_TGT_API_H */