qcacld-3.0: Dump PAGE_FAULT event buffer

On non-DRV platform, host will be waked when page fault occurs
in firmware side.
Need to dump event buffer which contains more debug info regarding
current page fault.

Change-Id: I46d724c58000b3faafc0f5eead550acb37eafe3a
CRs-Fixed: 2690966
This commit is contained in:
Lin Bai 2020-05-20 19:39:15 +08:00 • committed by nshrivas
commit 2d1f2a224b

View file

@ -2441,6 +2441,17 @@ static int wma_wake_event_packet(
packet, packet_len);
break;
case WOW_REASON_PAGE_FAULT:
/*
* In case PAGE_FAULT occurs on non-DRV platform,
* dump event buffer which contains more info regarding
* current page fault.
*/
WMA_LOGD("PAGE_FAULT occurs during suspend:");
qdf_trace_hex_dump(QDF_MODULE_ID_WMA, QDF_TRACE_LEVEL_DEBUG,
packet, packet_len);
break;
default:
WMA_LOGE("Wake reason %s is not a packet event",
wma_wow_wake_reason_str(wake_info->wake_reason));