mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 00:00:00 -04:00
qcacld-3.0: Correlate SME STATS macros to underlying enumerations
Currently SME exposes a set of SME_*_STATS macros to indicate which stats are of interest in a call to sme_get_statistics(). What is not obvious is that the values of these macros are required to be aligned with the eCsrRoamStatsClassTypes enumerated values. Update the macros to make that alignment explicit. Change-Id: Id992a8230a1aa4df941ea7666bc00a661a9ab68e CRs-Fixed: 2020055
This commit is contained in:
parent
78c80e3bfb
commit
97fdfd0e1b
1 changed files with 7 additions and 7 deletions
|
|
@ -56,13 +56,13 @@
|
|||
Preprocessor definitions and constants
|
||||
------------------------------------------------------------------------*/
|
||||
|
||||
#define SME_SUMMARY_STATS 1
|
||||
#define SME_GLOBAL_CLASSA_STATS 2
|
||||
#define SME_GLOBAL_CLASSB_STATS 4
|
||||
#define SME_GLOBAL_CLASSC_STATS 8
|
||||
#define SME_GLOBAL_CLASSD_STATS 16
|
||||
#define SME_PER_STA_STATS 32
|
||||
#define SME_PER_CHAIN_RSSI_STATS 64
|
||||
#define SME_SUMMARY_STATS (1 << eCsrSummaryStats)
|
||||
#define SME_GLOBAL_CLASSA_STATS (1 << eCsrGlobalClassAStats)
|
||||
#define SME_GLOBAL_CLASSB_STATS (1 << eCsrGlobalClassBStats)
|
||||
#define SME_GLOBAL_CLASSC_STATS (1 << eCsrGlobalClassCStats)
|
||||
#define SME_GLOBAL_CLASSD_STATS (1 << eCsrGlobalClassDStats)
|
||||
#define SME_PER_STA_STATS (1 << eCsrPerStaStats)
|
||||
#define SME_PER_CHAIN_RSSI_STATS (1 << csr_per_chain_rssi_stats)
|
||||
|
||||
#define SME_SESSION_ID_ANY 50
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue