summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYingying Tang <yintang@codeaurora.org>2017-02-21 15:47:03 +0800
committerqcabuildsw <qcabuildsw@localhost>2017-02-28 11:47:27 -0800
commit33955f7637051396bc9f4cfebb275f933d6970a4 (patch)
treefb156a1d6378172bae32b0ac460282985b1e2638
parent65e2b5273737f9e6323a8586f4ca9423a5365479 (diff)
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
-rw-r--r--Kbuild2
-rw-r--r--core/sme/inc/csr_internal.h3
2 files changed, 4 insertions, 1 deletions
diff --git a/Kbuild b/Kbuild
index 987a04f00dee..cd5adc81e5a7 100644
--- a/Kbuild
+++ b/Kbuild
@@ -78,7 +78,9 @@ ifeq ($(KERNEL_BUILD), 0)
#Flag to enable Legacy Fast Roaming2(LFR2)
CONFIG_QCACLD_WLAN_LFR2 := y
#Flag to enable Legacy Fast Roaming3(LFR3)
+ ifneq ($(CONFIG_ARCH_SDXHEDGEHOG), y)
CONFIG_QCACLD_WLAN_LFR3 := y
+ endif
#Enable Power debugfs feature only if debug_fs is enabled
ifeq ($(CONFIG_DEBUG_FS), y)
diff --git a/core/sme/inc/csr_internal.h b/core/sme/inc/csr_internal.h
index f58dbcf52c85..9e4ca5369150 100644
--- a/core/sme/inc/csr_internal.h
+++ b/core/sme/inc/csr_internal.h
@@ -1372,6 +1372,7 @@ QDF_STATUS csr_scan_save_roam_offload_ap_to_scan_cache(tpAniSirGlobal pMac,
struct sSirSmeRoamOffloadSynchInd *roam_synch_ind_ptr,
tpSirBssDescription bss_desc_ptr);
void csr_process_ho_fail_ind(tpAniSirGlobal pMac, void *pMsgBuf);
+#endif
#ifdef FEATURE_WLAN_DIAG_SUPPORT_CSR
void csr_roaming_report_diag_event(tpAniSirGlobal mac_ctx,
roam_offload_synch_ind *roam_synch_ind_ptr,
@@ -1382,7 +1383,7 @@ static inline void csr_roaming_report_diag_event(tpAniSirGlobal mac_ctx,
eCsrDiagWlanStatusEventReason reason)
{}
#endif
-#endif
+
bool csr_store_joinreq_param(tpAniSirGlobal mac_ctx,
tCsrRoamProfile *profile,
tScanResultHandle scan_cache,