shill: add log message reporting wake on WiFi features enabled

Add an INFO log that reports what wake on WiFi features are enabled before
the system enters suspend. This will make it easier to debug wake on WiFi
related bugs since we will know for sure what wake on WiFi capabilities the
system enter suspend with.

- Only log wake on WiFi suspend/dark resume/resume messages if the
  platform supports wake on WiFi so that logs are less confusing.
- Log wakeup reason and WakeOnWiFi::BeforeSuspendActions connection status
  at the default (INFO) log level.


Change-Id: I2aaa3d07ab98aa3251d4c03334da53b2cc098e5f
Tested-by: Samuel Tan <>
Reviewed-by: Paul Stewart <>
Commit-Queue: Samuel Tan <>
1 file changed