blob: 3623f40bceb75ff08b11f1a1f35871d776d4f77f [file] [log] [blame]
Jeff Johnson295189b2012-06-20 16:38:30 -07001/*
Kiet Lam842dad02014-02-18 18:44:02 -08002 * Copyright (c) 2012-2013 The Linux Foundation. All rights reserved.
3 *
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.
Gopichand Nakkala92f07d82013-01-08 21:16:34 -080020 */
Kiet Lam842dad02014-02-18 18:44:02 -080021
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
Jeff Johnson295189b2012-06-20 16:38:30 -070028#if !defined( BAP_HDD_MAIN_H )
29#define BAP_HDD_MAIN_H
30
31/**===========================================================================
32
33 \file BAP_HDD_MAIN_H.h
34
35 \brief Linux HDD Adapter Type
36 Copyright 2008 (c) Qualcomm, Incorporated.
37 All Rights Reserved.
38 Qualcomm Confidential and Proprietary.
39
40 ==========================================================================*/
41
42/*---------------------------------------------------------------------------
43 Include files
44 -------------------------------------------------------------------------*/
45
46#include <linux/netdevice.h>
47#include <linux/skbuff.h>
48#include <vos_list.h>
49#include <vos_types.h>
50
51/*----------------------------------------------------------------------------
52 * Preprocessor Definitions and Constants
53 * -------------------------------------------------------------------------*/
54#define BSL_MAX_CLIENTS 1
55#define BSL_MAX_PHY_LINK_PER_CLIENT 1
56
57/*---------------------------------------------------------------------------
58 Function declarations and documenation
59 -------------------------------------------------------------------------*/
60
61/**---------------------------------------------------------------------------
62
63 \brief BSL_Init() - Initialize the BSL Misc char driver
64
65 This is called in by WLANBAP_Open() as part of bringing up the BT-AMP PAL (BAP)
66 WLANBAP_Open() will pass in the device context created.
67
68 \param - NA
69
70 \return - 0 for success non-zero for failure
71
72 --------------------------------------------------------------------------*/
73int BSL_Init (void *pCtx);
74
75/**---------------------------------------------------------------------------
76
77 \brief BSL_Deinit() - De-initialize the BSL Misc char driver
78
79 This is called in by WLANBAP_Close() as part of bringing down the BT-AMP PAL (BAP)
80
81 \param - NA
82
83 \return - 0 for success non-zero for failure
84
85 --------------------------------------------------------------------------*/
86
87int BSL_Deinit(void *pCtx);
88
89
90
91#endif // end #if !defined( BAP_HDD_MAIN_H )