qcacld-3.0: Remove WLAN_FEATURE_ROAM_SCAN_OFFLOAD

Remove WLAN_FEATURE_ROAM_SCAN_OFFLOAD compile time flag from the code
since this is relevant to roaming (LFR2.0) and always enabled by default.
The flag also does not seem to cover the feature entirely and it does
not make any meaning to only cover this piece of code.

CRs-Fixed: 978905
Change-Id: Ifa393c2733e87fcb34aba3e4f4cdb5f534196537
This commit is contained in:
Varun Reddy Yeturu 2016-02-17 09:58:40 -08:00 • committed by Gerrit - the friendly Code Review server
commit a66f9c5d71
2 changed files with 1 additions and 8 deletions

View file

@ -4653,9 +4653,7 @@ static int drv_cmd_fast_reassoc(hdd_adapter_t *adapter,
tSirMacAddr targetApBssid;
uint32_t roamId = 0;
tCsrRoamModifyProfileFields modProfileFields;
#ifdef WLAN_FEATURE_ROAM_SCAN_OFFLOAD
tCsrHandoffRequest handoffInfo;
#endif
hdd_station_ctx_t *pHddStaCtx;
if (QDF_STA_MODE != adapter->device_mode) {
@ -4723,15 +4721,12 @@ static int drv_cmd_fast_reassoc(hdd_adapter_t *adapter,
}
#endif
/* Proceed with reassoc */
#ifdef WLAN_FEATURE_ROAM_SCAN_OFFLOAD
handoffInfo.channel = channel;
handoffInfo.src = FASTREASSOC;
qdf_mem_copy(handoffInfo.bssid, targetApBssid,
qdf_mem_copy(handoffInfo.bssid.bytes, targetApBssid,
sizeof(tSirMacAddr));
sme_handoff_request(hdd_ctx->hHal, adapter->sessionId,
&handoffInfo);
#endif
exit:
return ret;
}

View file

@ -15223,13 +15223,11 @@ QDF_STATUS sme_update_roam_scan_hi_rssi_scan_params(tHalHandle hal_handle,
}
sme_release_global_lock(&mac_ctx->sme);
}
#ifdef WLAN_FEATURE_ROAM_SCAN_OFFLOAD
if (mac_ctx->roam.configParam.isRoamOffloadScanEnabled &&
status == QDF_STATUS_SUCCESS) {
csr_roam_offload_scan(mac_ctx, session_id,
ROAM_SCAN_OFFLOAD_UPDATE_CFG, reason);
}
#endif
return status;
}