blob: 4bf88b213e0e50cc96fd84e53a789a22c6c9ea49 [file] [log] [blame]
/*
* Copyright (c) 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
* above copyright notice and this permission notice appear in all
* copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
* WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
* AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
* DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
* PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
* TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
* PERFORMANCE OF THIS SOFTWARE.
*/
/**
* DOC: fw offload south bound interface declaration
*/
#ifndef _WLAN_FWOL_TGT_API_H
#define _WLAN_FWOL_TGT_API_H
#include "wlan_fwol_public_structs.h"
/**
* tgt_fwol_register_ev_handler() - register south bound event handler
* @psoc: psoc handle
*
* Return: QDF_STATUS_SUCCESS on success
*/
QDF_STATUS tgt_fwol_register_ev_handler(struct wlan_objmgr_psoc *psoc);
/**
* tgt_fwol_unregister_ev_handler() - unregister south bound event handler
* @psoc: psoc handle
*
* Return: QDF_STATUS_SUCCESS on success
*/
QDF_STATUS tgt_fwol_unregister_ev_handler(struct wlan_objmgr_psoc *psoc);
/**
* tgt_fwol_register_rx_ops() - register fw offload rx operations
* @rx_ops: fps to rx operations
*
* Return: QDF_STATUS_SUCCESS on success
*/
QDF_STATUS tgt_fwol_register_rx_ops(struct wlan_fwol_rx_ops *rx_ops);
#endif /* _WLAN_FWOL_TGT_API_H */