From dacf7e09fa90b8a6c0a220c8793bb08faa02c496 Mon Sep 17 00:00:00 2001 From: Rajeev Kumar Date: Tue, 20 Dec 2016 23:53:20 -0800 Subject: 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 --- core/wma/src/wma_features.c | 10 ++++++++++ 1 file changed, 10 insertions(+) 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"; } -- cgit v1.2.3