-DCUSTOMER_HW2 -DCUSTOM_OOB_GPIO_NUM=2 -DOOB_INTR_ONLY -DHW_OOB \
-DMMC_SDIO_ABORT -DBCMSDIO -DBCMLXSDMMC -DBCMPLATFORM_BUS -DWLP2P \
-DNEW_COMPAT_WIRELESS -DWIFI_ACT_FRAME -DARP_OFFLOAD_SUPPORT \
- -DKEEP_ALIVE -DCSCAN \
+ -DKEEP_ALIVE -DCSCAN -DGET_CUSTOM_MAC_ENABLE \
-Idrivers/net/wireless/bcmdhd -Idrivers/net/wireless/bcmdhd/include
DHDOFILES = aiutils.o bcmsdh_sdmmc_linux.o dhd_linux.o siutils.o bcmutils.o \
bcmdhd-objs += wl_cfg80211.o wl_cfgp2p.o wldev_common.o
DHDCFLAGS += -DWL_CFG80211
endif
-ifneq ($(CONFIG_ANDROID),)
-DHDCFLAGS += -DANDROID -DGET_CUSTOM_MAC_ENABLE
-endif
EXTRA_CFLAGS = $(DHDCFLAGS)
EXTRA_LDFLAGS += --strip-debug
else
data = SDIO_SEPINT_ACT_HI; /* disable hw oob interrupt */
-#if defined(ANDROID) && LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 35)
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 35)
/* Needed for Android Linux Kernel 2.6.35 */
data |= SDIO_SEPINT_ACT_HI; /* Active HIGH */
-#endif /* ANDROID */
+#endif
status = sdioh_request_byte(sd, SDIOH_WRITE, 0, SDIOD_CCCR_BRCM_SEPINT, &data);
return status;
static histo_t vi_d1, vi_d2, vi_d3, vi_d4;
#endif /* WLMEDIA_HTSF */
-#if defined(ANDROID) && defined(SOFTAP)
+#if defined(SOFTAP)
extern bool ap_cfg_running;
#endif
__FUNCTION__, err));
ret = -EOPNOTSUPP;
} else {
-#if defined(ANDROID) && defined(SOFTAP)
+#if defined(SOFTAP)
if (ap_cfg_running && !(dhd->dhd_state & DHD_ATTACH_STATE_CFG80211)) {
/* semaphore that the soft AP CODE waits on */
flags = dhd_os_spin_lock(&dhd->pub);