summaryrefslogtreecommitdiff
path: root/drivers/mtk_wcn_combo/Kconfig
blob: 40536ea3dc577a0a2073fc2217f8e177cb5dfcc7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
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