prima: Changes to detect thread stuck issues in wlan driver

This fix contains the necessary changes to detect thread stuck issues
in prima driver. The changes are to post messages to MC thread, TX
thread and RX thread for every few seconds, which elicits a response
from these threads. A loss of response from any of these threads for
consecutive three times is regarded as thread stuck.

Also added Support for deferrable timer.

Change-Id: I3184db4dd7472f0c65dd607af7c197c52139cdb0
CRs-Fixed: 862223
9 files changed
tree: 5786ad913cc754a3543a5ebdb155bee80daa2a4d
  1. CORE/
  2. firmware_bin/
  3. riva/
  4. Android.mk
  5. Kbuild
  6. Kconfig
  7. Makefile