blob: a4f5ae1a19e02c52fff27a43107b63eda85bb87f [file] [log] [blame]
hquff302a92019-07-18 00:06:11 +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: wlan_ext_cp_stats_types.h
21 *
22 * This header file is included by the converged control path statistics
23 * component to map legacy statistic structures to the external
24 * (ext)typedefs used by the converged code. This mechanism allows the
25 * legacy structs to be included as part of the global objmgr objects.
26 */
27
28#ifndef __WLAN_EXT_CP_STATS_TYPE_H__
29#define __WLAN_EXT_CP_STATS_TYPE_H__
30
31/**
32 * typedef psoc_ext_cp_stats_t - Definition of psoc cp stats pointer
33 * Define obj_stats from external umac/cp_stats component point to this type
34 */
35typedef struct psoc_mc_cp_stats psoc_ext_cp_stats_t;
36
37/**
38 * typedef pdev_ext_cp_stats_t - Definition of pdev cp stats pointer
39 * Define pdev_stats from external umac/cp_stats component point to this type
40 */
41typedef struct pdev_mc_cp_stats pdev_ext_cp_stats_t;
42
43/**
44 * typedef vdev_ext_cp_stats_t - Definition of vdev cp stats pointer
45 * Define vdev_stats from external umac/cp_stats component point to this type
46 */
47typedef struct vdev_mc_cp_stats vdev_ext_cp_stats_t;
48
49/**
50 * typedef peer_ext_cp_stats_t - Definition of peer cp stats pointer
51 * Define peer_stats from external umac/cp_stats component point to this type
52 */
53typedef struct peer_mc_cp_stats peer_ext_cp_stats_t;
54
55/**
56 * typedef peer_ext_adv_cp_stats_t - Definition of peer adv cp stats pointer
57 * Define peer_adv_stats from external umac/cp_stats component point to this
58 * type
59 */
60typedef struct peer_adv_mc_cp_stats peer_ext_adv_cp_stats_t;
61
62#endif /* __WLAN_EXT_CP_STATS_TYPE_H__ */
63