wlan:On HB failure disconnect from AP if beacon receive count is 0.

In case of HB failure from Firmware, Host sends a probe request
and wait for probe response and if probe response is received host
ignores the HB.

If for some reason firmware/host have not received a single beacon
after conection but is getting the probe response on receiving
HB failure, host ignores the HB failure. Also in this case host will
not allow to enter BMPS as it has not received any beacon to get the
TSF and thus draining the battery.

As part of fix to recover from this situation, if number of beacon
received in host is 0 and it receives a HB failure, disconnect from
the AP.

Change-Id: I39f3afd8d0e6e9ba9805ce6aebe47906f2ad3ac6
CRs-fixed: 766976
1 file changed
tree: 889c8e02adaec04b10d8caede1a1bc0cd0ab72e4
  1. CORE/
  2. firmware_bin/
  3. riva/
  4. Android.mk
  5. Kbuild
  6. Kconfig
  7. Makefile