forked from puzzlet/madwifi
-
Notifications
You must be signed in to change notification settings - Fork 10
/
BuildCaps.inc
53 lines (42 loc) · 821 Bytes
/
BuildCaps.inc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
#
# defaults
#
ifndef ATH_CAP_SUPERG_FF
export ATH_CAP_SUPERG_FF=1
endif
ifndef ATH_CAP_DYNTURBO
export ATH_CAP_DYNTURBO=1
endif
ifndef ATH_CAP_SUPERG_COMP
export ATH_CAP_SUPERG_COMP=0
endif
# ifndef ATH_CAP_XR
# export ATH_CAP_XR=0
# endif
ifndef ATH_CAP_TPC
export ATH_CAP_TPC=1
endif
# ifndef ATH_CAP_TX99
# export ATH_CAP_TX99=0
# endif
#
# directives
#
ifneq ($(strip $(ATH_CAP_SUPERG_FF)),0)
COPTS+= -DATH_SUPERG_FF=1
endif
ifneq ($(strip $(ATH_CAP_DYNTURBO)),0)
COPTS+= -DATH_SUPERG_DYNTURBO=1 -DATH_TURBO_SCAN=1
endif
ifneq ($(strip $(ATH_CAP_SUPERG_COMP)),0)
COPTS+= -DATH_SUPERG_COMP=1
endif
# ifneq ($(strip $(ATH_CAP_XR)),0)
# COPTS+= -DATH_SUPERG_XR=1
# endif
ifneq ($(strip $(ATH_CAP_TPC)),0)
COPTS+= -DATH_CAP_TPC=1
endif
# ifneq ($(strip $(ATH_CAP_TX99)),0)
# COPTS+= -DATH_TX99_DIAG=1
# endif