blob: 2014d4f407c510bbe4c82eeae08739960a1f5a42 [file] [log] [blame]
Prakash Dhavali7090c5f2015-11-02 17:55:19 -08001/*
Anurag Chouhan6d760662016-02-20 16:05:43 +05302 * Copyright (c) 2011, 2014-2016 The Linux Foundation. All rights reserved.
Prakash Dhavali7090c5f2015-11-02 17:55:19 -08003 *
4 * Previously licensed under the ISC license by Qualcomm Atheros, Inc.
5 *
6 *
7 * Permission to use, copy, modify, and/or distribute this software for
8 * any purpose with or without fee is hereby granted, provided that the
9 * above copyright notice and this permission notice appear in all
10 * copies.
11 *
12 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
13 * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
14 * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
15 * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
16 * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
17 * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
18 * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
19 * PERFORMANCE OF THIS SOFTWARE.
20 */
21
22/*
23 * This file was originally distributed by Qualcomm Atheros, Inc.
24 * under proprietary terms before Copyright ownership was assigned
25 * to the Linux Foundation.
26 */
27
28/**
29 * @file ol_osif_txrx_api.h
30 * @brief Define the OS specific API functions called by txrx SW.
31 */
32#ifndef _OL_OSIF_TXRX_API_H_
33#define _OL_OSIF_TXRX_API_H_
34
35#include <cdf_nbuf.h> /* cdf_nbuf_t */
36
37/**
38 * @brief Call tx completion handler to release the buffers
39 * @details
40 *
41 * Invoke tx completion handler when the tx credit goes below low water mark.
42 * This eliminate the packet drop in the host driver due to send routine not
43 * yielding the cpu when the amount of traffic pumped from the network layer
44 * is very high.
45 *
46 * @param osdev
47 */
48
Anurag Chouhan6d760662016-02-20 16:05:43 +053049void ol_osif_ath_tasklet(qdf_device_t osdev);
Prakash Dhavali7090c5f2015-11-02 17:55:19 -080050
51#endif /* _OL_OSIF_TXRX_API_H_ */