Return-path: Received: from mail.neratec.ch ([80.75.119.105]:51321 "EHLO mail.neratec.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755292Ab1JCKaL (ORCPT ); Mon, 3 Oct 2011 06:30:11 -0400 From: Zefir Kurtisi To: linux-wireless@vger.kernel.org, ath9k-devel@lists.ath9k.org Cc: kgiori@qca.qualcomm.com, rodrigue@qca.qualcomm.com, nbd@openwrt.org, Zefir Kurtisi Subject: [RFC 4/6] ath9k: add DFS build parameter Date: Mon, 3 Oct 2011 12:29:16 +0200 Message-Id: <1317637758-11907-5-git-send-email-zefir.kurtisi@neratec.com> (sfid-20111003_123017_382241_78C6C93A) In-Reply-To: <1317637758-11907-1-git-send-email-zefir.kurtisi@neratec.com> References: <1317637758-11907-1-git-send-email-zefir.kurtisi@neratec.com> Sender: linux-wireless-owner@vger.kernel.org List-ID: Signed-off-by: Zefir Kurtisi --- drivers/net/wireless/ath/ath9k/Kconfig | 7 +++++++ drivers/net/wireless/ath/ath9k/Makefile | 2 ++ 2 files changed, 9 insertions(+), 0 deletions(-) diff --git a/drivers/net/wireless/ath/ath9k/Kconfig b/drivers/net/wireless/ath/ath9k/Kconfig index d9c08c6..adddcca 100644 --- a/drivers/net/wireless/ath/ath9k/Kconfig +++ b/drivers/net/wireless/ath/ath9k/Kconfig @@ -58,6 +58,13 @@ config ATH9K_RATE_CONTROL Say Y, if you want to use the ath9k specific rate control module instead of minstrel_ht. +config ATH9K_DFS + bool "Atheros ath9k DFS support" + depends on ATH9K + default y + ---help--- + Say Y, if you want to include DFS support in ath9k. + config ATH9K_HTC tristate "Atheros HTC based wireless cards support" depends on USB && MAC80211 diff --git a/drivers/net/wireless/ath/ath9k/Makefile b/drivers/net/wireless/ath/ath9k/Makefile index 05a6fad..8b133c2 100644 --- a/drivers/net/wireless/ath/ath9k/Makefile +++ b/drivers/net/wireless/ath/ath9k/Makefile @@ -34,6 +34,8 @@ ath9k_hw-y:= \ ar9003_eeprom.o \ ar9003_paprd.o +ath9k_hw-$(CONFIG_ATH9K_DFS) += dfs.o + obj-$(CONFIG_ATH9K_HW) += ath9k_hw.o obj-$(CONFIG_ATH9K_COMMON) += ath9k_common.o -- 1.7.4.1