qcacld-3.0: Disable LFR3.0 for SDX20

Since wifi chip do not supprot LFR3.0 on SDX20, disable LFR3.0
feature in Kbuild, and fix a compilation error.

CRs-Fixed: 2009403
Change-Id: I16eb3bd68d5564801be9cbcf9db1386cb0e3953b
This commit is contained in:
Yingying Tang
2017-02-21 15:47:03 +08:00
committed by snandini
parent 39d40cfddd
commit 71961045fd
2 changed files with 4 additions and 1 deletions

2
Kbuild
View File

@@ -72,7 +72,9 @@ ifeq ($(KERNEL_BUILD), 0)
#Flag to enable Legacy Fast Roaming2(LFR2) #Flag to enable Legacy Fast Roaming2(LFR2)
CONFIG_QCACLD_WLAN_LFR2 := y CONFIG_QCACLD_WLAN_LFR2 := y
#Flag to enable Legacy Fast Roaming3(LFR3) #Flag to enable Legacy Fast Roaming3(LFR3)
ifneq ($(CONFIG_ARCH_SDXHEDGEHOG), y)
CONFIG_QCACLD_WLAN_LFR3 := y CONFIG_QCACLD_WLAN_LFR3 := y
endif
# JB kernel has CPU enablement patches, so enable # JB kernel has CPU enablement patches, so enable
ifeq ($(CONFIG_ROME_IF),pci) ifeq ($(CONFIG_ROME_IF),pci)

View File

@@ -1329,6 +1329,7 @@ QDF_STATUS csr_scan_save_roam_offload_ap_to_scan_cache(tpAniSirGlobal pMac,
struct sSirSmeRoamOffloadSynchInd *roam_synch_ind_ptr, struct sSirSmeRoamOffloadSynchInd *roam_synch_ind_ptr,
tpSirBssDescription bss_desc_ptr); tpSirBssDescription bss_desc_ptr);
void csr_process_ho_fail_ind(tpAniSirGlobal pMac, void *pMsgBuf); void csr_process_ho_fail_ind(tpAniSirGlobal pMac, void *pMsgBuf);
#endif
#ifdef FEATURE_WLAN_DIAG_SUPPORT_CSR #ifdef FEATURE_WLAN_DIAG_SUPPORT_CSR
void csr_roaming_report_diag_event(tpAniSirGlobal mac_ctx, void csr_roaming_report_diag_event(tpAniSirGlobal mac_ctx,
roam_offload_synch_ind *roam_synch_ind_ptr, roam_offload_synch_ind *roam_synch_ind_ptr,
@@ -1339,7 +1340,7 @@ static inline void csr_roaming_report_diag_event(tpAniSirGlobal mac_ctx,
eCsrDiagWlanStatusEventReason reason) eCsrDiagWlanStatusEventReason reason)
{} {}
#endif #endif
#endif
bool csr_store_joinreq_param(tpAniSirGlobal mac_ctx, bool csr_store_joinreq_param(tpAniSirGlobal mac_ctx,
tCsrRoamProfile *profile, tCsrRoamProfile *profile,
tScanResultHandle scan_cache, tScanResultHandle scan_cache,