qcacld-3.0: Add unit test framework to validate WLAN suspend/resume features

WLAN suspend/resume feature has tight dependency on APPS platform
suspend/resume support. On new targets APPS suspend/resume is not
supported until target is feature complete. In absence of APPS
suspend/resume support testing WLAN offload features become
difficult. Add unit test framework to test WLAN suspend/resume
features using private IOCTL command by simulating APPS
suspend/resume behaviour.

Trigger WLAN suspend:
iwpriv wlan0 wlan_suspend 0 0

To resume WLAN run a ping test from access point side and very 1st
ping request unicast packet should trigger wake up.

If FW is not waking up APPS then use below command to do a manual
wake up:

Trigger WLAN resume:
iwpriv wlan0 wlan_resume 0 0

This unit test framework is only for SNOC.

Change-Id: I177a0047f460aa2a305a9e4e46fbfaa94a81dced
CRs-Fixed: 1042205
This commit is contained in:
Rajeev Kumar
2016-07-13 19:28:20 -07:00
committed by Vishwajith Upendra
orang tua 24ec5e9a87
melakukan a78a0a4578
4 mengubah file dengan 61 tambahan dan 2 penghapusan

1
Kbuild
Melihat File

@@ -1252,6 +1252,7 @@ endif
ifeq ($(CONFIG_HIF_SNOC), 1)
CDEFINES += -DHIF_SNOC
CDEFINES += -DWLAN_SUSPEND_RESUME_TEST
endif
#Enable High Latency related Flags