1 /*
2  * Copyright (c) 2013-2014, 2016, 2018-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  * Offload specific Opaque Data types.
21  */
22 #ifndef _DEV_OL_DEFINES_H
23 #define _DEV_OL_DEFINES_H
24 
25 #define OL_TXRX_PDEV_ID 0
26 
27 #define NORMALIZED_TO_NOISE_FLOOR (-96)
28 
29  /**
30   * ol_txrx_pdev_handle - opaque handle for txrx physical device
31   * object
32   */
33 struct ol_txrx_pdev_t;
34 typedef struct ol_txrx_pdev_t *ol_txrx_pdev_handle;
35 
36 /**
37  * ol_txrx_vdev_handle - opaque handle for txrx virtual device
38  * object
39  */
40 struct ol_txrx_vdev_t;
41 typedef struct ol_txrx_vdev_t *ol_txrx_vdev_handle;
42 
43 /**
44  * ol_pdev_handle - opaque handle for the configuration
45  * associated with the physical device
46  */
47 struct ol_pdev_t;
48 typedef struct ol_pdev_t *ol_pdev_handle;
49 
50 /**
51  * ol_txrx_peer_handle - opaque handle for txrx peer object
52  */
53 struct ol_txrx_peer_t;
54 typedef struct ol_txrx_peer_t *ol_txrx_peer_handle;
55 
56 #endif /* _DEV_OL_DEFINES_H */
57