Ver código fonte

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
Rajeev Kumar 8 anos atrás
pai
commit
969d1b1ef5
1 arquivos alterados com 11 adições e 0 exclusões
  1. 11 0
      core/wma/src/wma_features.c

+ 11 - 0
core/wma/src/wma_features.c

@@ -2356,6 +2356,17 @@ 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";
 }