summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRajeev Kumar <rajekuma@codeaurora.org>2016-12-20 23:53:20 -0800
committerqcabuildsw <qcabuildsw@localhost>2016-12-22 04:06:15 -0800
commitdacf7e09fa90b8a6c0a220c8793bb08faa02c496 (patch)
tree38b046b8ca298fc36cebb4075f12c74bdbe97165
parentbba71f1da2ce8dd5798574476a88d1d0ffa85e82 (diff)
qcacld-3.0: Handle various new wake up reasons properly
Host is not handling new wake up reasons. Add changes to handle various new wake up reasons and log them properly. Change-Id: Ic4fa176be887971a5f2c18f39b22914814c5e08c CRs-Fixed: 1103897
-rw-r--r--core/wma/src/wma_features.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/core/wma/src/wma_features.c b/core/wma/src/wma_features.c
index 231e757a4af6..4d05cea8c718 100644
--- a/core/wma/src/wma_features.c
+++ b/core/wma/src/wma_features.c
@@ -2359,6 +2359,16 @@ static const u8 *wma_wow_wake_reason_str(A_INT32 wake_reason)
return "ACTION_FRAME_RECV";
case WOW_REASON_BPF_ALLOW:
return "WOW_REASON_BPF_ALLOW";
+ case WOW_REASON_NAN_DATA:
+ return "WOW_REASON_NAN_DATA";
+ case WOW_REASON_TDLS_CONN_TRACKER_EVENT:
+ return "WOW_REASON_TDLS_CONN_TRACKER_EVENT";
+ case WOW_REASON_CRITICAL_LOG:
+ return "WOW_REASON_CRITICAL_LOG";
+ case WOW_REASON_P2P_LISTEN_OFFLOAD:
+ return "WOW_REASON_P2P_LISTEN_OFFLOAD";
+ case WOW_REASON_NAN_EVENT_WAKE_HOST:
+ return "WOW_REASON_NAN_EVENT_WAKE_HOST";
}
return "unknown";
}