prima: extscan: API enhancements in extscan_wifi_get_cached_results

1. Update the data structures in sync with framework APIs
2. Introduce scan_id and flags in get_cached_results
3. Add blocking mechanism at HDD layer to avoid synchronization
   problems at HAL layer.
4. Add code changes to drop IEs if it exceeds NL 4k limit for
   full scan results.
5. Add logic to parse cached scan results based on scanResultSize
   of tSirWifiScanResultEvent.

Change-Id: I2ef3ee4aeb9db0c5b356b4467026186dbb2c5f7e
CRs-Fixed: 834122
diff --git a/CORE/HDD/src/wlan_hdd_main.c b/CORE/HDD/src/wlan_hdd_main.c
index ea3a2f8..a0d6da2 100755
--- a/CORE/HDD/src/wlan_hdd_main.c
+++ b/CORE/HDD/src/wlan_hdd_main.c
@@ -9548,6 +9548,7 @@
    pHddCtx->isLoadUnloadInProgress = WLAN_HDD_LOAD_IN_PROGRESS;
 
    vos_set_load_unload_in_progress(VOS_MODULE_ID_VOSS, TRUE);
+   pHddCtx->wifi_turn_on_time_since_boot = vos_get_monotonic_boottime();
 
    /* register for riva power on lock to platform driver
     * Locking power early to ensure FW doesn't reset by kernel while