[WifiVendorHal] Bgscan callback handling

To preserve current API surface exposed by WifiNative to Wifiscanner,
cache the scan results received and simulate the necessary scan events
to WifiScanner. We can cleanup this along with scanner later.

Also, fixed a couple of other nits.

Bug: 34899890
Test: Unit tests

Change-Id: I9b6ce2e5e7d72be0b058de6c335bd80829f2cc78
2 files changed
tree: 2e11b9746bc9f3a213e1a5535c3af2aa85c18487
  1. libwifi_hal/
  2. libwifi_system/
  3. service/
  4. tests/
  5. PREUPLOAD.cfg