diff options
Diffstat (limited to 'drivers/mtk_wcn_combo')
-rwxr-xr-x | drivers/mtk_wcn_combo/Kconfig | 141 | ||||
-rwxr-xr-x | drivers/mtk_wcn_combo/Makefile | 1 | ||||
-rwxr-xr-x | drivers/mtk_wcn_combo/Module.symvers | 0 | ||||
-rwxr-xr-x | drivers/mtk_wcn_combo/common/Makefile | 79 | ||||
-rwxr-xr-x | drivers/mtk_wcn_combo/drv_bt/Makefile | 43 | ||||
-rwxr-xr-x | drivers/mtk_wcn_combo/drv_fm/Makefile | 82 | ||||
-rwxr-xr-x | drivers/mtk_wcn_combo/drv_fm/private/Makefile | 44 | ||||
-rwxr-xr-x | drivers/mtk_wcn_combo/drv_wlan/Makefile | 6 | ||||
-rwxr-xr-x | drivers/mtk_wcn_combo/drv_wlan/mt6620/Makefile | 1 | ||||
-rwxr-xr-x | drivers/mtk_wcn_combo/drv_wlan/mt6620/wlan/Makefile | 142 | ||||
-rwxr-xr-x | drivers/mtk_wcn_combo/gps/Makefile | 49 |
11 files changed, 588 insertions, 0 deletions
diff --git a/drivers/mtk_wcn_combo/Kconfig b/drivers/mtk_wcn_combo/Kconfig new file mode 100755 index 00000000..40536ea3 --- /dev/null +++ b/drivers/mtk_wcn_combo/Kconfig @@ -0,0 +1,141 @@ +menu "MediaTek Connectivity Combo Chip Config" + +config MTK_COMBO + bool "MediaTek Connectivity Combo Chip Support" + help + MTK connectivity combo chip driver for MT6620 + +# +# MTK Combo Chip Selection +# +choice + prompt "Select Chip" + depends on MTK_COMBO + +config MTK_COMBO_CHIP_MT6620 + bool "MT6620" + +#config MTK_COMBO_CHIP_MT6628 +# bool "MT6628" +endchoice + +# +# Target Platform Selection +# +config MTK_COMBO_PLAT_PATH + string "Platform folder name" + depends on MTK_COMBO + default "sample" if MTK_COMBO_PLAT_SAMPLE + help + Specify platform folder under common driver platform folder: + mtk_wcn_combo/common/platform/* + +# +# MTK COMBO Chip Configuration +# +config MTK_COMBO_COMM + depends on MTK_COMBO + tristate "MediaTek Combo Chip Common part driver" + help + MediaTek combo chip common part driver + +#config MTK_COMBO_COMM_PS +# depends on MTK_COMBO_COMM +# bool "Enable PS support" +# default n +# help +# Enable PS support of common UART interface + +config MTK_COMBO_COMM_UART + depends on MTK_COMBO_COMM + tristate "Common interface UART" + help + Use UART for common part interface type + +#config MTK_COMBO_COMM_SDIO +# depends on MTK_COMBO_COMM +# tristate "Common interface SDIO" +# help +# Use SDIO for common part interface type + +config MTK_COMBO_BT + tristate "MediaTek Combo Chip BT driver" + depends on MTK_COMBO + help + MTK BT /dev/stpbt driver for Bluedroid (mtk_stp_bt.ko) + +config MTK_COMBO_BT_HCI + tristate "MediaTek Combo Chip BlueZ driver" + depends on BT && MTK_COMBO + help + MTK BT driver for BlueZ (hci_stp.ko) + +config MTK_COMBO_FM + tristate "MediaTek Combo Chip FM driver" + depends on MTK_COMBO + help + MTK FM /dev/fm driver (mt6620_fm_drv.ko, mtk_fm_priv.ko) + +config MTK_COMBO_WIFI + tristate "MediaTek Combo Chip Wi-Fi support" + depends on MTK_COMBO + depends on MMC + depends on IPV6 + select WIRELESS_EXT + select WEXT_PRIV + help + This module adds support for wireless adapters based on + MTK MT6620 chipset. + + This driver uses the kernel's wireless extensions subsystem. + + If you choose to build a module, it'll be called dhd. Say M if + unsure. + +#config MTK_COMBO_WIFI_FW_PATH +# depends on MTK_COMBO_WIFI +# string "Firmware path" +# default "/system/etc/firmware/WIFI_RAM_CODE" +# help +# Path to the firmware file + +config MTK_COMBO_WIFI_DEBUG + depends on MTK_COMBO_WIFI + bool "Enable debug output from MT6620 driver" + help + Enable debug messages output from MT6620 driver + +config MTK_COMBO_WIFI_PROC + depends on MTK_COMBO_WIFI + bool "Enable procfs support" + help + Enable procfs support. + +#config MTK_WAPI_SUPPORT +# depends on MTK_COMBO_WIFI +# bool "Enable WAPI support in MT6620 driver" +# help +# Enable WAPI support for devices using MT6620 + +choice + prompt "Host Interface" + depends on MTK_COMBO_WIFI + +config MTK_COMBO_WIFI_HIF_SDIO1 + bool "SDIO #1" + depends on MTK_COMBO_WIFI +endchoice + + +config MTK_GPS + tristate "MediaTek GPS Support" + help + MTK GPS /dev/gps driver (mtk_gps.ko) + +config MTK_COMBO_GPS + tristate "MediaTek Combo Chip GPS driver" + depends on MTK_COMBO && MTK_GPS + help + MTK GPS /dev/stpgps driver (mtk_stp_gps.ko) + +endmenu diff --git a/drivers/mtk_wcn_combo/Makefile b/drivers/mtk_wcn_combo/Makefile new file mode 100755 index 00000000..a8e2ad8a --- /dev/null +++ b/drivers/mtk_wcn_combo/Makefile @@ -0,0 +1 @@ +obj-y+=dummy.o diff --git a/drivers/mtk_wcn_combo/Module.symvers b/drivers/mtk_wcn_combo/Module.symvers new file mode 100755 index 00000000..e69de29b --- /dev/null +++ b/drivers/mtk_wcn_combo/Module.symvers diff --git a/drivers/mtk_wcn_combo/common/Makefile b/drivers/mtk_wcn_combo/common/Makefile new file mode 100755 index 00000000..35c5900d --- /dev/null +++ b/drivers/mtk_wcn_combo/common/Makefile @@ -0,0 +1,79 @@ +#ccflags-y += -I$(src)/core/include +ccflags-y += -I$(src)/linux/include -I$(src)/core/include -I$(src)/include -I$(src)/ +ccflags-y += -DWMT_PLAT_APEX=1 +ccflags-y += -DWMT_PLAT_ALPS=0 +ccflags-y += -DWMT_UART_RX_MODE_WORK=1 # 1. work thread 0. tasklet +#ifeq ($(MTK_COMBO_CHIP), MT6628) +#EXT_FLAG= +#else +#EXT_FLAG=_mt6628 +#endif +EXT_FLAG= +COMMON_SRC_PATH := $(src) +COMMON_OBJ_PATH := $(src) + +# WMT DRIVER +obj-$(CONFIG_MTK_COMBO_COMM) += mtk_stp_wmt$(EXT_FLAG).o +# WMT DRIVER-core part +mtk_stp_wmt$(EXT_FLAG)-objs := core/wmt_core.o core/wmt_ctrl.o core/wmt_func.o core/wmt_ic_6620.o core/wmt_lib.o core/wmt_conf.o core/wmt_dbg.o core/wmt_exp.o + +#ifeq ($(MTK_COMBO_CHIP), MT6628) +mtk_stp_wmt$(EXT_FLAG)-objs += core/wmt_ic_6628.o +#endif +# WMT DRIVER-linux private part +mtk_stp_wmt$(EXT_FLAG)-objs += linux/wmt_dev.o +mtk_stp_wmt$(EXT_FLAG)-objs += linux/wmt_tm.o + +# WMT DRIVER-OSAL +mtk_stp_wmt$(EXT_FLAG)-objs += linux/osal.o +# WMT DRIVER-platform implementation +#ccflags-y += -D WMT_PLAT_ALPS #Jake modify + +# WMT DRIVER-platform part, specified by string CONFIG_MTK_COMBO_PLAT_PATH +PLAT := $(shell echo $(CONFIG_MTK_COMBO_PLAT_PATH)) + + + +#obj-y += platform/$(PLAT)/mtk_wcn_cmb_stub_$(PLAT).o +mtk_stp_wmt$(EXT_FLAG)-objs += platform/$(PLAT)/wmt_plat_$(PLAT).o +mtk_stp_wmt$(EXT_FLAG)-objs += platform/$(PLAT)/wmt_plat_stub.o + +# FIXME: select desired hw according to project configuration +#ifeq ($(MTK_COMBO_CHIP), MT6628) +#mtk_stp_wmt$(EXT_FLAG)-objs += platform/alps/mtk_wcn_cmb_hw_6628.o +#else +mtk_stp_wmt$(EXT_FLAG)-objs += platform/$(PLAT)/mtk_wcn_cmb_hw.o +#endif + +mtk_stp_wmt$(EXT_FLAG)-objs += core/stp_exp.o core/stp_core.o core/psm_core.o core/btm_core.o linux/stp_dbg.o +#ifeq ($(MTK_COMBO_CHIP), MT6628) +# WMT stub part (built-in kernel image) +obj-y += platform/$(PLAT)/mtk_wcn_cmb_stub_$(PLAT).o +#endif + +obj-$(CONFIG_MTK_COMBO_COMM_UART) += mtk_stp_uart$(EXT_FLAG).o +mtk_stp_uart$(EXT_FLAG)-objs := linux/stp_uart.o + + +obj-$(CONFIG_MTK_COMBO_COMM) += mtk_hif_sdio$(EXT_FLAG).o +mtk_hif_sdio$(EXT_FLAG)-objs := linux/hif_sdio.o +mtk_hif_sdio$(EXT_FLAG)-objs += linux/hif_sdio_chrdev.o +mtk_hif_sdio$(EXT_FLAG)-objs += platform/$(PLAT)/mtk_wcn_cmb_hw.o +mtk_hif_sdio$(EXT_FLAG)-objs += platform/$(PLAT)/wmt_plat_$(PLAT).o +mtk_hif_sdio$(EXT_FLAG)-objs += linux/osal.o + + +# obj-$(CONFIG_MTK_COMBO) += mtk_stp_sdio$(EXT_FLAG).o +# mtk_stp_sdio$(EXT_FLAG)-objs := linux/stp_sdio.o +# mtk_stp_sdio$(EXT_FLAG)-objs += linux/osal.o + + +obj-$(CONFIG_MTK_COMBO_BT) += mtk_stp_bt$(EXT_FLAG).o +mtk_stp_bt$(EXT_FLAG)-objs := linux/stp_chrdev_bt.o + +obj-$(CONFIG_MTK_COMBO_GPS) += mtk_stp_gps$(EXT_FLAG).o +mtk_stp_gps$(EXT_FLAG)-objs := linux/stp_chrdev_gps.o + + +obj-$(CONFIG_MTK_COMBO_WIFI) += mtk_wmt_wifi$(EXT_FLAG).o +mtk_wmt_wifi$(EXT_FLAG)-objs := linux/wmt_chrdev_wifi.o diff --git a/drivers/mtk_wcn_combo/drv_bt/Makefile b/drivers/mtk_wcn_combo/drv_bt/Makefile new file mode 100755 index 00000000..9cd070ac --- /dev/null +++ b/drivers/mtk_wcn_combo/drv_bt/Makefile @@ -0,0 +1,43 @@ +# Copyright Statement: +# +# This software/firmware and related documentation ("MediaTek Software") are +# protected under relevant copyright laws. The information contained herein +# is confidential and proprietary to MediaTek Inc. and/or its licensors. +# Without the prior written permission of MediaTek inc. and/or its licensors, +# any reproduction, modification, use or disclosure of MediaTek Software, +# and information contained herein, in whole or in part, shall be strictly prohibited. +# +# MediaTek Inc. (C) 2010. All rights reserved. +# +# BY OPENING THIS FILE, RECEIVER HEREBY UNEQUIVOCALLY ACKNOWLEDGES AND AGREES +# THAT THE SOFTWARE/FIRMWARE AND ITS DOCUMENTATIONS ("MEDIATEK SOFTWARE") +# RECEIVED FROM MEDIATEK AND/OR ITS REPRESENTATIVES ARE PROVIDED TO RECEIVER ON +# AN "AS-IS" BASIS ONLY. MEDIATEK EXPRESSLY DISCLAIMS ANY AND ALL WARRANTIES, +# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF +# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NONINFRINGEMENT. +# NEITHER DOES MEDIATEK PROVIDE ANY WARRANTY WHATSOEVER WITH RESPECT TO THE +# SOFTWARE OF ANY THIRD PARTY WHICH MAY BE USED BY, INCORPORATED IN, OR +# SUPPLIED WITH THE MEDIATEK SOFTWARE, AND RECEIVER AGREES TO LOOK ONLY TO SUCH +# THIRD PARTY FOR ANY WARRANTY CLAIM RELATING THERETO. RECEIVER EXPRESSLY ACKNOWLEDGES +# THAT IT IS RECEIVER'S SOLE RESPONSIBILITY TO OBTAIN FROM ANY THIRD PARTY ALL PROPER LICENSES +# CONTAINED IN MEDIATEK SOFTWARE. MEDIATEK SHALL ALSO NOT BE RESPONSIBLE FOR ANY MEDIATEK +# SOFTWARE RELEASES MADE TO RECEIVER'S SPECIFICATION OR TO CONFORM TO A PARTICULAR +# STANDARD OR OPEN FORUM. RECEIVER'S SOLE AND EXCLUSIVE REMEDY AND MEDIATEK'S ENTIRE AND +# CUMULATIVE LIABILITY WITH RESPECT TO THE MEDIATEK SOFTWARE RELEASED HEREUNDER WILL BE, +# AT MEDIATEK'S OPTION, TO REVISE OR REPLACE THE MEDIATEK SOFTWARE AT ISSUE, +# OR REFUND ANY SOFTWARE LICENSE FEES OR SERVICE CHARGE PAID BY RECEIVER TO +# MEDIATEK FOR SUCH MEDIATEK SOFTWARE AT ISSUE. +# +# The following software/firmware and/or related documentation ("MediaTek Software") +# have been modified by MediaTek Inc. All revisions are subject to any receiver's +# applicable license agreements with MediaTek Inc. + + +# +# Makefile for the Linux Bluetooth HCI device drivers. +# +ccflags-y := -I$(src)/include -I$(src)/../common/include -I$(src)/../common/linux/include + +obj-$(CONFIG_MTK_COMBO_BT_HCI) += hci_stp.o +hci_stp-objs := linux/hci_stp.o + diff --git a/drivers/mtk_wcn_combo/drv_fm/Makefile b/drivers/mtk_wcn_combo/drv_fm/Makefile new file mode 100755 index 00000000..e9fec34a --- /dev/null +++ b/drivers/mtk_wcn_combo/drv_fm/Makefile @@ -0,0 +1,82 @@ +# Makefile generated by Mediatek +# fm support + +#6628 FM driver +ifeq ($(CONFIG_MTK_COMBO_CHIP_MT6628), y) +$(warning MT6628_FM) +ccflags-y += -I$(src)/inc \ + -I$(src)/mt6628/inc \ + -I$(src)/../common/include \ + -I$(src)/../common/linux/include \ + -I$(src)/cust/mt6628 \ + -I$(src)/private/inc \ + -DMT6628_FM + +obj-$(CONFIG_MTK_COMBO_FM) += mtk_fm_drv.o + mtk_fm_drv-objs += core/fm_module.o \ + core/fm_main.o \ + core/fm_config.o \ + core/fm_rds_parser.o \ + core/fm_patch.o \ + core/fm_utils.o \ + core/fm_link.o \ + core/fm_eint.o \ + mt6628/pub/mt6628_fm_lib.o \ + mt6628/pub/mt6628_fm_rds.o \ + mt6628/pub/mt6628_fm_cmd.o \ + mt6628/pub/mt6628_fm_config.o +$(warning $(mtk_fm_drv-objs)) +endif + +# MT6620 FM driver +ifeq ($(CONFIG_MTK_COMBO_CHIP_MT6620), y) +$(warning MT6620_FM) + ccflags-y += -I$(src)/inc \ + -I$(src)/mt6620/inc \ + -I$(src)/../common/include \ + -I$(src)/../common/linux/include \ + -I$(src)/cust/mt6620 \ + -I$(src)/private/inc \ + -DMT6620_FM + + obj-$(CONFIG_MTK_COMBO_FM) += mtk_fm_drv.o + mtk_fm_drv-objs += core/fm_module.o \ + core/fm_main.o \ + core/fm_config.o \ + core/fm_rds_parser.o \ + core/fm_patch.o \ + core/fm_utils.o \ + core/fm_link.o \ + core/fm_eint.o \ + mt6620/pub/mt6620_fm_lib.o \ + mt6620/pub/mt6620_fm_rds.o \ + mt6620/pub/mt6620_fm_cmd.o \ + mt6620/pub/mt6620_fm_config.o +$(warning $(mtk_fm_drv-objs)) +endif + +# MT6626 FM driver +ifeq ($(CONFIG_MTK_COMBO_CHIP_MT6626), y) +FM_CHIP = mt6626 +FM_CHIP_PATH = $(FM_CHIP)/pub/$(FM_CHIP) +ccflags-y := -I$(src)/inc \ + -I$(src)/$(FM_CHIP)/inc \ + -I$(src)/cust/$(FM_CHIP) \ + -I$(src)/private/inc \ + -DMT6626_FM + +obj-$(CONFIG_MTK_COMBO_FM) += mtk_fm_drv.o +mtk_fm_drv-objs := core/fm_module.o \ + core/fm_main.o \ + core/fm_config.o \ + core/fm_patch.o \ + core/fm_rds_parser.o \ + core/fm_utils.o \ + core/fm_link.o \ + $(FM_CHIP_PATH)_fm_lib.o \ + $(FM_CHIP_PATH)_fm_rds.o \ + $(FM_CHIP_PATH)_fm_link.o \ + $(FM_CHIP_PATH)_fm_eint.o +endif + + diff --git a/drivers/mtk_wcn_combo/drv_fm/private/Makefile b/drivers/mtk_wcn_combo/drv_fm/private/Makefile new file mode 100755 index 00000000..1a8e7960 --- /dev/null +++ b/drivers/mtk_wcn_combo/drv_fm/private/Makefile @@ -0,0 +1,44 @@ +# Makefile generated by Mediatek + +# fm support +ifeq ($(MTK_FM_SUPPORT), yes) + +ifeq ($(CUSTOM_KERNEL_FM), mt6628) +PRIV_CHIP = mt6628 +PRIV_SRC_PATH = private/src/$(PRIV_CHIP) +PRIV_CONFIG = $(CONFIG_MTK_FM) + +ccflags-y := \ + -I$(src)/inc \ + -I$(src)/$(PRIV_SRC_PATH) \ + -I$(src)/../inc \ + -I$(src)/../cust/$(PRIV_CHIP) \ + -I$(src)/../../combo/common_mt6628/include \ + -I$(src)/../../combo/common_mt6628/linux/include + + +obj-$(PRIV_CONFIG) += mtk_fm_priv.o +mtk_fm_priv-objs := \ + src/$(PRIV_CHIP)/$(PRIV_CHIP)_fm_private.o +endif + +ifeq ($(CUSTOM_KERNEL_FM), mt6620) +PRIV_CHIP = mt6620 +PRIV_SRC_PATH = private/src/$(PRIV_CHIP) +PRIV_CONFIG = $(CONFIG_MTK_FM) + +ccflags-y := \ + -I$(src)/inc \ + -I$(src)/$(PRIV_SRC_PATH) \ + -I$(src)/../inc \ + -I$(src)/../cust/$(PRIV_CHIP) \ + -I$(src)/../../combo/common/include \ + -I$(src)/../../combo/common/linux/include + + +obj-$(PRIV_CONFIG) += mtk_fm_priv.o +mtk_fm_priv-objs := \ + src/$(PRIV_CHIP)/$(PRIV_CHIP)_fm_private.o +endif + +endif diff --git a/drivers/mtk_wcn_combo/drv_wlan/Makefile b/drivers/mtk_wcn_combo/drv_wlan/Makefile new file mode 100755 index 00000000..5c4e9ee1 --- /dev/null +++ b/drivers/mtk_wcn_combo/drv_wlan/Makefile @@ -0,0 +1,6 @@ +#ifeq ($(MTK_WLAN_SUPPORT), yes) + obj-$(CONFIG_MTK_COMBO_WIFI) += mt6620/ +# obj-$(CONFIG_MTK_COMBO_WIFI) += mt6628/ +#endif + + diff --git a/drivers/mtk_wcn_combo/drv_wlan/mt6620/Makefile b/drivers/mtk_wcn_combo/drv_wlan/mt6620/Makefile new file mode 100755 index 00000000..29685151 --- /dev/null +++ b/drivers/mtk_wcn_combo/drv_wlan/mt6620/Makefile @@ -0,0 +1 @@ +obj-$(CONFIG_MTK_COMBO_WIFI) += wlan/ diff --git a/drivers/mtk_wcn_combo/drv_wlan/mt6620/wlan/Makefile b/drivers/mtk_wcn_combo/drv_wlan/mt6620/wlan/Makefile new file mode 100755 index 00000000..1dc8a623 --- /dev/null +++ b/drivers/mtk_wcn_combo/drv_wlan/mt6620/wlan/Makefile @@ -0,0 +1,142 @@ +# --------------------------------------------------- +# Compile Options +# --------------------------------------------------- + +#include $(MTK_PATH_BUILD)/Makefile +ccflags-y += -DLINUX -DMT6620 + +ifeq ($(MTK_WAPI_SUPPORT), yes) + ccflags-y += -DCFG_SUPPORT_WAPI=1 +else + ccflags-y += -DCFG_SUPPORT_WAPI=0 +endif + +ifeq ($(HAVE_XLOG_FEATURE), yes) + ccflags-y += -DCFG_SUPPORT_XLOG=1 +else + ccflags-y += -DCFG_SUPPORT_XLOG=0 +endif + +ifeq ($(HAVE_AEE_FEATURE), yes) + ccflags-y += -DCFG_SUPPORT_AEE=1 +else + ccflags-y += -DCFG_SUPPORT_AEE=0 +endif + +#ifeq ($(CONFIG_MTK_COMBO_WIFI_HIF_SDIO1), y) +# ccflags-y += -D_HIF_SDIO=1 +#endif + +MODULE_NAME := wlan_mt6620 + +ccflags-y += -D_HIF_SDIO=1 + +ccflags-y += -DDBG=0 +ccflags-y += -I$(src)/os -I$(src)/os/linux/include -I$(src)/os/linux/hif/sdio/include +ccflags-y += -I$(src)/include -I$(src)/include/nic -I$(src)/include/mgmt + +obj-$(CONFIG_MTK_COMBO_WIFI) += $(MODULE_NAME).o +#obj-m += $(MODULE_NAME).o + +# --------------------------------------------------- +# Directory List +# --------------------------------------------------- +COMMON_DIR := common/ +OS_DIR := os/linux/ +HIF_DIR := os/linux/hif/sdio/ +NIC_DIR := nic/ +MGMT_DIR := mgmt/ + + +# --------------------------------------------------- +# Objects List +# --------------------------------------------------- + +COMMON_OBJS := $(COMMON_DIR)dump.o \ + $(COMMON_DIR)wlan_lib.o \ + $(COMMON_DIR)wlan_oid.o \ + $(COMMON_DIR)wlan_bow.o + +NIC_OBJS := $(NIC_DIR)nic.o \ + $(NIC_DIR)nic_tx.o \ + $(NIC_DIR)nic_rx.o \ + $(NIC_DIR)nic_pwr_mgt.o \ + $(NIC_DIR)cmd_buf.o \ + $(NIC_DIR)que_mgt.o \ + $(NIC_DIR)nic_cmd_event.o + +OS_OBJS := $(OS_DIR)gl_init.o \ + $(OS_DIR)gl_kal.o \ + $(OS_DIR)gl_bow.o \ + $(OS_DIR)gl_wext.o \ + $(OS_DIR)gl_wext_priv.o \ + $(OS_DIR)gl_rst.o \ + $(OS_DIR)gl_cfg80211.o \ + $(OS_DIR)platform.o + +MGMT_OBJS := $(MGMT_DIR)ais_fsm.o \ + $(MGMT_DIR)aaa_fsm.o \ + $(MGMT_DIR)assoc.o \ + $(MGMT_DIR)auth.o \ + $(MGMT_DIR)bss.o \ + $(MGMT_DIR)cnm.o \ + $(MGMT_DIR)cnm_timer.o \ + $(MGMT_DIR)cnm_mem.o \ + $(MGMT_DIR)hem_mbox.o \ + $(MGMT_DIR)mib.o \ + $(MGMT_DIR)privacy.o \ + $(MGMT_DIR)rate.o \ + $(MGMT_DIR)rlm.o \ + $(MGMT_DIR)rlm_domain.o \ + $(MGMT_DIR)rlm_obss.o \ + $(MGMT_DIR)rlm_protection.o \ + $(MGMT_DIR)rsn.o \ + $(MGMT_DIR)saa_fsm.o \ + $(MGMT_DIR)scan.o \ + $(MGMT_DIR)scan_fsm.o \ + $(MGMT_DIR)sec_fsm.o \ + $(MGMT_DIR)swcr.o \ + $(MGMT_DIR)roaming_fsm.o + +# --------------------------------------------------- +# P2P Objects List +# --------------------------------------------------- + +COMMON_OBJS += $(COMMON_DIR)wlan_p2p.o + +NIC_OBJS += $(NIC_DIR)p2p_nic.o + +OS_OBJS += $(OS_DIR)gl_p2p.o \ + $(OS_DIR)gl_p2p_cfg80211.o \ + $(OS_DIR)gl_p2p_init.o \ + $(OS_DIR)gl_p2p_kal.o + +MGMT_OBJS += $(MGMT_DIR)p2p_assoc.o \ + $(MGMT_DIR)p2p_bss.o \ + $(MGMT_DIR)p2p_fsm.o \ + $(MGMT_DIR)p2p_func.o \ + $(MGMT_DIR)p2p_rlm.o \ + $(MGMT_DIR)p2p_rlm_obss.o \ + $(MGMT_DIR)p2p_scan.o \ + $(MGMT_DIR)p2p_ie.o \ + $(MGMT_DIR)p2p_state.o + + +ifeq ($(MTK_WAPI_SUPPORT), yes) +MGMT_OBJS += $(MGMT_DIR)wapi.o +endif + +ifeq ($(WLAN_PROC), y) +OS_OBJS += gl_proc.o +endif + +HIF_OBJS := $(HIF_DIR)arm.o \ + $(HIF_DIR)sdio.o + +$(MODULE_NAME)-objs += $(COMMON_OBJS) +$(MODULE_NAME)-objs += $(NIC_OBJS) +$(MODULE_NAME)-objs += $(OS_OBJS) +$(MODULE_NAME)-objs += $(HIF_OBJS) +$(MODULE_NAME)-objs += $(MGMT_OBJS) + + diff --git a/drivers/mtk_wcn_combo/gps/Makefile b/drivers/mtk_wcn_combo/gps/Makefile new file mode 100755 index 00000000..db3b2a54 --- /dev/null +++ b/drivers/mtk_wcn_combo/gps/Makefile @@ -0,0 +1,49 @@ +# Copyright Statement: +# +# This software/firmware and related documentation ("MediaTek Software") are +# protected under relevant copyright laws. The information contained herein +# is confidential and proprietary to MediaTek Inc. and/or its licensors. +# Without the prior written permission of MediaTek inc. and/or its licensors, +# any reproduction, modification, use or disclosure of MediaTek Software, +# and information contained herein, in whole or in part, shall be strictly prohibited. + +# MediaTek Inc. (C) 2010. All rights reserved. +# +# BY OPENING THIS FILE, RECEIVER HEREBY UNEQUIVOCALLY ACKNOWLEDGES AND AGREES +# THAT THE SOFTWARE/FIRMWARE AND ITS DOCUMENTATIONS ("MEDIATEK SOFTWARE") +# RECEIVED FROM MEDIATEK AND/OR ITS REPRESENTATIVES ARE PROVIDED TO RECEIVER ON +# AN "AS-IS" BASIS ONLY. MEDIATEK EXPRESSLY DISCLAIMS ANY AND ALL WARRANTIES, +# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF +# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NONINFRINGEMENT. +# NEITHER DOES MEDIATEK PROVIDE ANY WARRANTY WHATSOEVER WITH RESPECT TO THE +# SOFTWARE OF ANY THIRD PARTY WHICH MAY BE USED BY, INCORPORATED IN, OR +# SUPPLIED WITH THE MEDIATEK SOFTWARE, AND RECEIVER AGREES TO LOOK ONLY TO SUCH +# THIRD PARTY FOR ANY WARRANTY CLAIM RELATING THERETO. RECEIVER EXPRESSLY ACKNOWLEDGES +# THAT IT IS RECEIVER'S SOLE RESPONSIBILITY TO OBTAIN FROM ANY THIRD PARTY ALL PROPER LICENSES +# CONTAINED IN MEDIATEK SOFTWARE. MEDIATEK SHALL ALSO NOT BE RESPONSIBLE FOR ANY MEDIATEK +# SOFTWARE RELEASES MADE TO RECEIVER'S SPECIFICATION OR TO CONFORM TO A PARTICULAR +# STANDARD OR OPEN FORUM. RECEIVER'S SOLE AND EXCLUSIVE REMEDY AND MEDIATEK'S ENTIRE AND +# CUMULATIVE LIABILITY WITH RESPECT TO THE MEDIATEK SOFTWARE RELEASED HEREUNDER WILL BE, +# AT MEDIATEK'S OPTION, TO REVISE OR REPLACE THE MEDIATEK SOFTWARE AT ISSUE, +# OR REFUND ANY SOFTWARE LICENSE FEES OR SERVICE CHARGE PAID BY RECEIVER TO +# MEDIATEK FOR SUCH MEDIATEK SOFTWARE AT ISSUE. +# +# The following software/firmware and/or related documentation ("MediaTek Software") +# have been modified by MediaTek Inc. All revisions are subject to any receiver's +# applicable license agreements with MediaTek Inc. + + +# drivers/barcelona/gps/Makefile +# +# Makefile for the Barcelona GPS driver. +# +# Copyright (C) 2004,2005 TomTom BV <http://www.tomtom.com/> +# Author: Dimitry Andric <dimitry.andric@tomtom.com> +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License version 2 as +# published by the Free Software Foundation. + +obj-$(CONFIG_MTK_GPS) += gps.o + +# EOF |