kconfig: split the lexer out of zconf.y
[carl9170fw.git] / carlfw / Kconfig
index 18d09586f583695f018972a4d827f3b688967d90..46eb1bb87399f5ba4250d43d71a5d05daa9412fe 100644 (file)
@@ -65,35 +65,6 @@ config CARL9170FW_RADIO_FUNCTIONS
 
 endmenu
 
-menu "802.11 Firmware Features"
-
-config CARL9170FW_HANDLE_BACK_REQ
-       def_bool y
-       prompt "Handle BlockACK Requests in Firmware"
-       ---help---
-        Enables a firmware mechanism to answer incoming BlockACK requests.
-        This feature is necessary to comply with 802.11n. So say Y,
-        if you have plans to support this operation mode.
-
-config CARL9170FW_BACK_REQS_NUM
-       default 4
-       int
-       prompt "Number of max. active BlockACK Request"
-       depends on CARL9170FW_HANDLE_BACK_REQ
-
-config CARL9170FW_CAB_QUEUE
-       def_bool y
-       prompt "Support software-based Content after Beacon Queue"
-       ---help---
-        This (software) queue is used to send any broad-/multi-cast buffered
-        frames after the next DTIM beacon.
-
-        This feature is required for Accesspoint mode operation.
-
-        Say Y.
-
-endmenu
-
 source "carlfw/usb/Kconfig"
 
 menu "Experimental, Unstable & Testing Extensions"
@@ -127,13 +98,15 @@ config CARL9170FW_WOL
        def_bool n
        depends on CARL9170FW_WOL_OPTION
 
-config CARL9170FW_WOL_MAGIC_PACKET
+config CARL9170FW_WOL_NL80211_TRIGGERS
        def_bool n
-       prompt "Magic Packet(tm)"
+       prompt "Standard NL80211 wakeup triggers"
        depends on CARL9170FW_WOL_OPTION
        select CARL9170FW_WOL
        ---help---
-        Sniff all incoming data frames for the magic packet pattern.
+        Available triggers:
+         * Magic Packet(tm) pattern
+         * disconnect event
 
 config CARL9170FW_WOL_PROBE_REQUEST
        def_bool n
@@ -165,9 +138,19 @@ config CARL9170FW_NOISY_MAC_RESET
        prompt "Notify MAC RESET events"
        depends on CARL9170FW_FW_MAC_RESET
 
+config CARL9170FW_80MHZ_CLOCK
+       def_bool n
+       prompt "Allow 80/88MHz clock for HT40"
+       depends on CARL9170FW_EXPERIMENTAL
+       ---help---
+        The SoC can run up to 80/88MHz in HT40 mode. This improves
+        throughput and timing accuracy over the 40/44MHz clock.
+        However some devices don't have heat shields and they with
+        this option enabled, they become unstable under load.
+
 config CARL9170FW_BROKEN_FEATURES
        def_bool n
-       prompt "Broken Featurs"
+       prompt "Broken Features"
 
 config CARL9170FW_DEBUG
        def_bool n
@@ -210,40 +193,14 @@ config CARL9170FW_UART_CLOCK_40M
 
 endchoice
 
-
-choice
-       prompt "TX / RX Path"
-
-       default CARL9170FW_NORMAL_TX_RX
-
-       config CARL9170FW_NORMAL_TX_RX
-               bool
-               prompt "Normal WLAN TX/RX routines"
-
-       config CARL9170FW_LOOPBACK
-               bool
-               depends on CARL9170FW_BROKEN_FEATURES
-               prompt "TX->(tx feedback)->RX loopback"
-               ---help---
-                Useful carlu testcase.
-
-       config CARL9170FW_DISCARD
-               bool
-               depends on CARL9170FW_BROKEN_FEATURES
-               prompt "TX->(tx feedback)"
-               ---help---
-                Useful carlu testcase
-
-endchoice
-
 config CARL9170FW_UNUSABLE
        def_bool y
-       depends on CARL9170FW_BROKEN || CARL9170FW_LOOPBACK
+       depends on CARL9170FW_BROKEN || CARL9170FW_DEBUG
 
 config CARL9170FW_USB_MODESWITCH
        def_bool n
        prompt "USB 1.1 / 2.0 switching support"
-       depends on CARL9170FW_BROKEN_FEATURES
+       depends on CARL9170FW_BROKEN_FEATURES && CARL9170FW_USB_STANDARD_CMDS
        ---help---
         Mostly implemented, but untested and some serious
         doubts remain.