qcacmn: 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 framework is only for SNOC platform. Change-Id: I177a0047f460aa2a305a9e4e46fbfaa94a81dced CRs-Fixed: 1042205
Цей коміт міститься в:

зафіксовано
Vishwajith Upendra

джерело
3e52419f67
коміт
5bac30f5e6
@@ -615,6 +615,11 @@ uint32_t hif_set_nss_wifiol_mode(struct hif_opaque_softc *osc,
|
||||
int32_t hif_get_nss_wifiol_bypass_nw_process(struct hif_opaque_softc *osc);
|
||||
#endif
|
||||
|
||||
#ifdef WLAN_SUSPEND_RESUME_TEST
|
||||
typedef void (*hdd_fake_resume_callback)(uint32_t val);
|
||||
void hif_fake_apps_suspend(hdd_fake_resume_callback callback);
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
Посилання в новій задачі
Заблокувати користувача