Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1 | /* |
Gopichand Nakkala | 92f07d8 | 2013-01-08 21:16:34 -0800 | [diff] [blame] | 2 | * 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. |
| 20 | */ |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 21 | |
| 22 | #ifndef __SYS_GLOBAL_H__ |
| 23 | #define __SYS_GLOBAL_H__ |
| 24 | |
| 25 | typedef struct sAniSirSys |
| 26 | { |
| 27 | tANI_U32 abort; /* system is aborting and will be unloaded, only MMH thread is running */ |
| 28 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 29 | tANI_U32 gSysFrameCount[4][16]; |
| 30 | tANI_U32 gSysBbtReceived; |
| 31 | tANI_U32 gSysBbtPostedToLim; |
| 32 | tANI_U32 gSysBbtPostedToSch; |
| 33 | tANI_U32 gSysBbtPostedToPmm; |
| 34 | tANI_U32 gSysBbtPostedToHal; |
| 35 | tANI_U32 gSysBbtDropped; |
| 36 | tANI_U32 gSysBbtNonLearnFrameInv; |
| 37 | tANI_U32 gSysBbtLearnFrameInv; |
| 38 | tANI_U32 gSysBbtCrcFail; |
| 39 | tANI_U32 gSysBbtDuplicates; |
| 40 | tANI_U32 gSysReleaseCount; |
| 41 | tANI_U32 probeError, probeBadSsid, probeIgnore, probeRespond; |
| 42 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 43 | tANI_U32 gSysEnableLearnMode; |
| 44 | tANI_U32 gSysEnableScanMode; |
| 45 | tANI_U32 gSysEnableLinkMonitorMode; |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 46 | } tAniSirSys, *tpAniSirSys; |
| 47 | |
| 48 | #endif |