carl9170 firmware: add note about BAR tx status issues
[carl9170fw.git] / carlfw / Kconfig
1 menu "General"
2
3 config CARL9170FW_RELEASE_VERSION
4         int
5         default 1
6
7 menu "Selectable Hardware Options"
8
9 choice
10         prompt "Receiver Max. Frame Length"
11         default CARL9170FW_RX_FRAME_LEN_8192
12
13         config CARL9170FW_RX_FRAME_LEN_4096
14                 bool "4096"
15
16         config CARL9170FW_RX_FRAME_LEN_8192
17                 bool "8192"
18
19         config CARL9170FW_RX_FRAME_LEN_16384
20                 bool "16384"
21
22         config CARL9170FW_RX_FRAME_LEN_32768
23                 bool "32768"
24
25 endchoice
26
27 config CARL9170FW_RX_FRAME_LEN
28         int
29         default 4096 if CARL9170FW_RX_FRAME_LEN_4096
30         default 8192 if CARL9170FW_RX_FRAME_LEN_8192
31         default 16384 if CARL9170FW_RX_FRAME_LEN_16384
32         default 32768 if CARL9170FW_RX_FRAME_LEN_32768
33
34 config CARL9170FW_GPIO_INTERRUPT
35         def_bool y
36         prompt "GPIO Software Interrupt"
37         ---help---
38          When this option is enabled, the firmware will poll the GPIO
39          registers and reports to the driver whenever the GPIO state
40          has changed from a previous state.
41
42          Note: This feature is necessary to monitor the WPS button,
43                if you have one on your device, then say Y.
44
45 config CARL9170FW_SECURITY_ENGINE
46         def_bool y
47         prompt "Support Hardware Crypto Engine"
48         ---help---
49          This options controls if the firmware will allow the driver
50          to program the security engine / CAM through a firmware
51          interface.
52
53          Say Y. Unless you want to do the en- and decryption for
54          CCMP(AES), TKIP/WEP(RC4) in the application anyway.
55
56 config CARL9170FW_RADIO_FUNCTIONS
57         def_bool y
58         prompt "Enable Firmware-supported Radio/RF functions"
59         ---help---
60          Some PHY/RF functions (e.g.: AGC and Noise calibration) need
61          to be done in the firmware.
62
63          Say Y, unless you really don't need the Radio/RF for
64          your project.
65
66 endmenu
67
68 menu "802.11 Firmware Features"
69
70 config CARL9170FW_CAB_QUEUE
71         def_bool y
72         prompt "Support software-based Content after Beacon Queue"
73         ---help---
74          This (software) queue is used to send any broad-/multi-cast buffered
75          frames after the next DTIM beacon.
76
77          This feature is required for Accesspoint mode operation.
78
79          Say Y.
80
81 endmenu
82
83 source "carlfw/usb/Kconfig"
84
85 menu "Experimental, Unstable & Testing Extensions"
86
87 config CARL9170FW_PRINTF
88         def_bool y
89         prompt "Advanced printf"
90         depends on CARL9170FW_DEBUG_UART || CARL9170FW_DEBUG_USB
91         ---help---
92          Advanced printf (very useful for debugging purposes)
93          The formats supported by this implementation are:
94                 'd' 'u' 'c' 's' 'x' 'X' 'p'.
95
96          Note: If this option is disabled, the firmware will be only
97                capable of reported _preformated_ string.
98
99 config CARL9170FW_EXPERIMENTAL
100         def_bool y
101         prompt "Experimental Features"
102
103 config CARL9170FW_WOL_OPTION
104         def_bool n
105         prompt "Wakeup on WLAN"
106         depends on CARL9170FW_EXPERIMENTAL
107         ---help---
108          With this option enabled, the firmware can wake-up
109          suspended hosts... As long as they fully support
110          USB remote wakeup.
111
112 config CARL9170FW_WOL
113         def_bool n
114         depends on CARL9170FW_WOL_OPTION
115
116 config CARL9170FW_WOL_NL80211_TRIGGERS
117         def_bool n
118         prompt "Standard NL80211 wakeup triggers"
119         depends on CARL9170FW_WOL_OPTION
120         select CARL9170FW_WOL
121         ---help---
122          Available triggers:
123           * Magic Packet(tm) pattern
124           * disconnect event
125
126 config CARL9170FW_WOL_PROBE_REQUEST
127         def_bool n
128         prompt "Probe Request"
129         depends on CARL9170FW_WOL_OPTION
130         select CARL9170FW_WOL
131         ---help---
132          Scan probe requests for a given SSID.
133
134 config CARL9170FW_WOL_PROBE_REQUEST_SSID
135         string
136         prompt "Wakeup on WLAN SSID"
137         default "CARL9170_WAKEUP"
138         depends on CARL9170FW_WOL_PROBE_REQUEST
139
140 config CARL9170FW_VIFS_NUM
141         default 1
142         int
143         prompt "Number of additional pseudo virtual interfaces"
144         depends on CARL9170FW_EXPERIMENTAL
145
146 config CARL9170FW_FW_MAC_RESET
147         def_bool y
148         prompt "Firmware MAC Chip recovery"
149         depends on CARL9170FW_EXPERIMENTAL
150
151 config CARL9170FW_NOISY_MAC_RESET
152         def_bool n
153         prompt "Notify MAC RESET events"
154         depends on CARL9170FW_FW_MAC_RESET
155
156 config CARL9170FW_BROKEN_FEATURES
157         def_bool n
158         prompt "Broken Featurs"
159
160 config CARL9170FW_DEBUG
161         def_bool n
162         depends on CARL9170FW_BROKEN_FEATURES && CARL9170FW_PRINTF
163         prompt "Enable verbose debugging messages"
164
165 config CARL9170FW_DEBUG_LED_HEARTBEAT
166         def_bool n
167         prompt "LED Heartbeat"
168         depends on CARL9170FW_BROKEN_FEATURES
169         ---help---
170          This option conflicts with the application's LED code.
171          Also, it assumes that you have two LEDs, which is not
172          necessarily true.
173
174 config CARL9170FW_DEBUG_UART
175         def_bool n
176         prompt "Pass debug messages through Highspeed UART"
177         depends on CARL9170FW_BROKEN_FEATURES
178         ---help---
179          This option allows the firmware to send BUG/ERR/INFO/DBG and
180          hexdumps through the UART _as well_. However, first: you must
181          connect a working logger.
182
183 config CARL9170FW_WATCHDOG_BUTTON
184         def_bool n
185         depends on CARL9170FW_BROKEN && CARL9170FW_GPIO_INTERRUPT
186         prompt "Trigger Watchdog by pressing the WPS button"
187
188 choice CARL9170FW_UART_CLOCK
189         prompt "UART Clock"
190         depends on CARL9170FW_DEBUG_UART
191         default CARL9170FW_UART_CLOCK_40M
192
193 config CARL9170FW_UART_CLOCK_25M
194         bool "25"
195
196 config CARL9170FW_UART_CLOCK_40M
197         bool "40"
198
199 endchoice
200
201 config CARL9170FW_UNUSABLE
202         def_bool y
203         depends on CARL9170FW_BROKEN || CARL9170FW_DEBUG
204
205 config CARL9170FW_USB_MODESWITCH
206         def_bool n
207         prompt "USB 1.1 / 2.0 switching support"
208         depends on CARL9170FW_BROKEN_FEATURES
209         ---help---
210          Mostly implemented, but untested and some serious
211          doubts remain.
212
213 config CARL9170FW_DMA_QUEUE_BUMP
214         def_bool n
215         prompt "Bump a stuck TX queue before doing a MAC reset"
216         depends on CARL9170FW_BROKEN_FEATURES
217
218 menu "Build Options"
219 config CARL9170FW_AGGRESSIVE_CFLAGS
220         def_bool y
221         prompt "Enable aggressive size optimization"
222         ---help---
223          This option adds several more optimization compiler flags,
224          which can greatly reduce the firmware size... at the expense
225          of machine-code readability.
226
227           Say Y. Else the firmware might not fit onto the device!
228
229 endmenu
230
231 endmenu
232
233 endmenu