From 8c0469176ddcce27637697ff11c7855a58ea5e2d Mon Sep 17 00:00:00 2001 From: mentor Date: Tue, 5 Feb 2008 06:27:17 +0000 Subject: [PATCH] Add radar stuff to Makefile.kernel git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@3338 0192ed92-7a03-0410-a25b-9323aeb14dbd --- ath/Makefile.kernel | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ath/Makefile.kernel b/ath/Makefile.kernel index ac8e962..382077c 100644 --- a/ath/Makefile.kernel +++ b/ath/Makefile.kernel @@ -27,6 +27,9 @@ BUSNAME=pci EXTRA_CFLAGS+= -DATH_PCI endif +# These flags select which radar signatures DFS will match +COPTS += -DDFS_DOMAIN_ETSI -DDFS_DOMAIN_FCC + INCS = -include $(COMPAT)/compat.h -I$(COMPAT) INCS += -I$(TOP) -I$(ATH_HAL) -I$(HAL) -I$(WLAN) @@ -34,7 +37,7 @@ EXTRA_CFLAGS += $(INCS) $(COPTS) -DOPT_AH_H=\"public/$(TARGET).opt_ah.h\" ifneq ($(VERSION).$(PATCHLEVEL),2.4) obj-$(CONFIG_ATHEROS) += ath_$(BUSNAME).o -ath_$(BUSNAME)-objs := if_ath.o if_ath_$(BUSNAME).o +ath_$(BUSNAME)-objs := if_ath.o if_ath_radar.o if_ath_$(BUSNAME).o endif ifeq ($(VERSION).$(PATCHLEVEL),2.4) -- 2.35.1