mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 16:16:15 -04:00
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
This commit is contained in:
parent
b09ea4643c
commit
75d02343f7
1 changed files with 3 additions and 0 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Reference in a new issue