summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/bcmdhd.1.88.45.x.cn/Kconfig
blob: 46c85c29ff0ca6f37cb604a21ed1c1a7dd5b37a6 (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
config BCMDHD
	tristate "Broadcom ap6474 for android4.4 wireless cards support"
	depends on MMC
	---help---
	  This module adds support for wireless adapters based on
	  Broadcom 4329/30 chipset.

config BCMDHD_FW_PATH
	depends on BCMDHD
	string "Firmware path"
	default "/system/etc/firmware/fw_bcmdhd.bin"
	---help---
	  Path to the firmware file.

config BCMDHD_NVRAM_PATH
	depends on BCMDHD
	string "NVRAM path"
	default "/system/etc/firmware/nvram_ap6476.txt"
	---help---
	  Path to the calibration file.

config BCMDHD_CONFIG_PATH
	depends on BCMDHD
	string "Config path"
	default "/system/etc/firmware/config.txt"
	---help---
	  Path to the driver configuration file.

config BCMDHD_WEXT
	bool "Enable WEXT support"
	depends on BCMDHD && CFG80211 = n
	select WIRELESS_EXT
	select WEXT_PRIV
	help
	  Enables WEXT support

choice
	depends on BCMDHD
	prompt "Interrupt type"
	---help---
	  Interrupt type
config BCMDHD_OOB
	depends on BCMDHD
	bool "Out-of-Band Interrupt"
	default y
	---help---
	  Interrupt from WL_HOST_WAKE.
config BCMDHD_SDIO_IRQ
	depends on  BCMDHD
	bool "In-Band Interrupt"
	---help---
	  Interrupt from SDIO DAT[1]
endchoice

choice
	depends on  BCMDHD
	prompt "Power saving mode in suspend"
	---help---
	  Power saving mode in suspend
config BCMDHD_PS0
	depends on BCMDHD_OOB
	bool "Keep power and WoWLAN enabled"
	default y
	---help---
	  Wi-Fi can keep connect with AP in suspend and wake up host if packets received.
	  WL_HOST_WAKE must be connected to the GPIO which can wake up host in suspend.
config BCMDHD_DISABLE_WOWLAN
	bool "Keep power but WoWLAN disabled"
	---help---
	  Wi-Fi can keep connect with AP in suspend
config BCMDHD_POWER_OFF_IN_SUSPEND
	bool "Power off"
	---help---
	  Wi-Fi would be powered down in suspend and powered on in resumed
endchoice