Browse Source

qcacld-3.0: Remove some LFR compilation flags from Kbuild

The condition #ifdef WLAN_FEATURE_LFR is used to include some of
the roaming code. It has been defined for all the recent driver
builds. Roaming code underneath is permanent part of the driver.
Similarly code under WLAN_FEATURE_NEIGHBOR_ROAMING is permanent
part of the driver.
Remove FEATURE_WLAN_LFR and WLAN_FEATURE_NEIGHBOR_ROAMING compiler
flags from Kbuild script.
All the instances of above flags are presumed to be removed
from the driver source code prior to this change.
Remove WLAN_FEATURE_NEIGHBOR_ROAMING_DEBUG compiler flag from
Kbuild and csr_neighbor_roam.c and permanently enable roaming
debug logs.

CRs-Fixed: 936683
Change-Id: Iec251c2a4439ab3d492d9700d242aad401a0dbe0
Deepak Dhamdhere 9 years ago
parent
commit
f9714216c5
2 changed files with 0 additions and 8 deletions
  1. 0 3
      Kbuild
  2. 0 5
      core/sme/src/csr/csr_neighbor_roam.c

+ 0 - 3
Kbuild

@@ -865,8 +865,6 @@ CDEFINES :=	-DANI_LITTLE_BYTE_ENDIAN \
 		-D__linux__ \
 		-DHAL_SELF_STA_PER_BSS=1 \
 		-DWLAN_FEATURE_VOWIFI_11R \
-		-DWLAN_FEATURE_NEIGHBOR_ROAMING \
-		-DWLAN_FEATURE_NEIGHBOR_ROAMING_DEBUG \
 		-DWLAN_FEATURE_VOWIFI_11R_DEBUG \
 		-DFEATURE_WLAN_WAPI \
 		-DFEATURE_OEM_DATA_SUPPORT\
@@ -895,7 +893,6 @@ CDEFINES :=	-DANI_LITTLE_BYTE_ENDIAN \
 		-DWLAN_FEATURE_LINK_LAYER_STATS \
 		-DWLAN_LOGGING_SOCK_SVC_ENABLE \
 		-DFEATURE_WLAN_EXTSCAN \
-		-DFEATURE_WLAN_LFR \
 		-DWLAN_FEATURE_MBSSID \
 		-DCONFIG_160MHZ_SUPPORT
 

+ 0 - 5
core/sme/src/csr/csr_neighbor_roam.c

@@ -48,12 +48,7 @@
 #include "mac_trace.h"
 #include "cds_concurrency.h"
 
-#define WLAN_FEATURE_NEIGHBOR_ROAMING_DEBUG 1
-#ifdef WLAN_FEATURE_NEIGHBOR_ROAMING_DEBUG
 #define NEIGHBOR_ROAM_DEBUG sms_log
-#else
-#define NEIGHBOR_ROAM_DEBUG(x ...)
-#endif
 
 static void csr_neighbor_roam_reset_channel_info(tpCsrNeighborRoamChannelInfo
 						 rChInfo);