diff options
| author | Dustin Brown <dustinb@codeaurora.org> | 2016-08-29 11:23:47 -0700 |
|---|---|---|
| committer | qcabuildsw <qcabuildsw@localhost> | 2016-09-02 17:24:10 -0700 |
| commit | 75d02343f75ae983caa0ca5c1409255bf8c83c75 (patch) | |
| tree | 960b003f747cd524216693e9ffb81e67f8ab7b22 | |
| parent | b09ea4643cab4b8db32c8481c655aa0719ce027e (diff) | |
qcacld-3.0: add wakeup stats for BPF wakeup
Currently, for BPF wakeup reason, there is no log statistics.
Add BPF wakeup reason stats.
Change-Id: I469370fc576b83c8118bb73a5679d0f529555047
CRs-Fixed: 1060615
| -rw-r--r-- | core/wma/src/wma_features.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/wma/src/wma_features.c b/core/wma/src/wma_features.c index 684c0676f305..41f3d173ea3f 100644 --- a/core/wma/src/wma_features.c +++ b/core/wma/src/wma_features.c @@ -2440,6 +2440,7 @@ static void wma_wow_wake_up_stats(tp_wma_handle wma, uint8_t *data, { switch (event) { + case WOW_REASON_BPF_ALLOW: case WOW_REASON_PATTERN_MATCH_FOUND: if (WMA_BCAST_MAC_ADDR == *data) { wma->wow_bcast_wake_up_count++; @@ -3232,6 +3233,8 @@ int wma_wow_wakeup_host_event(void *handle, uint8_t *event, case WOW_REASON_HTT_EVENT: break; + + case WOW_REASON_BPF_ALLOW: case WOW_REASON_PATTERN_MATCH_FOUND: wma_wow_wake_up_stats_display(wma); WMA_LOGD("Wake up for Rx packet, dump starting from ethernet hdr"); |
