ath9k: Add a config option for channel context
authorSujith Manoharan <c_manoha@qca.qualcomm.com>
Fri, 22 Aug 2014 15:09:28 +0000 (20:39 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 28 Aug 2014 18:41:57 +0000 (14:41 -0400)
Channel contexts are supported only for P2P right now,
so make sure that the 'normal' path remains unaffected
by using a config option. This will also reduce the size
of the driver.

Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/Kconfig

index 8fcc029..b8f570e 100644 (file)
@@ -130,6 +130,15 @@ config ATH9K_RFKILL
          seconds. Turn off to save power, but enable it if you have
          a platform that can toggle the RF-Kill GPIO.
 
+config ATH9K_CHANNEL_CONTEXT
+       bool "Channel Context support"
+       depends on ATH9K
+       default n
+       ---help---
+         This option enables channel context support in ath9k, which is needed
+        for multi-channel concurrency. Enable this if P2P PowerSave support
+        is required.
+
 config ATH9K_HTC
        tristate "Atheros HTC based wireless cards support"
        depends on USB && MAC80211