4 # Support 28xx QA ATE function
10 # Support LLTD function
13 # Support WDS function
16 # Support AP-Client function
19 # Support Wpa_Supplicant
22 # Support Native WpaSupplicant for Network Maganger
23 HAS_NATIVE_WPA_SUPPLICANT_SUPPORT
=y
25 #Support Net interface block while Tx-Sw queue full
28 #Support IGMP-Snooping function.
29 HAS_IGMP_SNOOP_SUPPORT
=n
34 #Support Carrier-Sense function
37 # Support for STA Ethernet Converter
38 HAS_ETH_CONVERT_SUPPORT
=n
40 # Support user specific transmit rate of Multicast packet.
41 HAS_MCAST_RATE_SPECIFIC_SUPPORT
=n
43 # Support for Multiple Cards
50 #Support for IEEE802.11e DLS
53 #Support for EXT_CHANNEL
54 HAS_EXT_BUILD_CHANNEL_LIST
=n
63 #Support features of 802.11n Draft3
64 HAS_DOT11N_DRAFT3_SUPPORT
=n
66 #Support features of Single SKU.
67 HAS_SINGLE_SKU_SUPPORT
=n
69 #Support features of 802.11n
74 #Support for 2860/2880 co-exist
75 HAS_RT2880_RT2860_COEXIST
=n
80 #Support for Auto channel select enhance
81 HAS_AUTO_CH_SELECT_ENHANCE
=n
83 #Support bypass bridge
86 #Support Antenna Diversity
87 HAS_ANTENNA_DIVERSITY_SUPPORT
=y
88 #################################################
90 WFLAGS
:= -DAGGREGATION_SUPPORT
-DPIGGYBACK_SUPPORT
-DWMM_SUPPORT
-DLINUX
-Wall
-Wstrict-prototypes
-Wno-trigraphs
-Wpointer-sign
92 ifeq ($(HAS_KTHREAD_SUPPORT
),y
)
93 WFLAGS
+= -DKTHREAD_SUPPORT
97 #################################################
101 WFLAGS
+= -DCONFIG_STA_SUPPORT
-DDBG
103 ifeq ($(HAS_WPA_SUPPLICANT
),y
)
104 WFLAGS
+= -DWPA_SUPPLICANT_SUPPORT
105 ifeq ($(HAS_NATIVE_WPA_SUPPLICANT_SUPPORT
),y
)
106 WFLAGS
+= -DNATIVE_WPA_SUPPLICANT_SUPPORT
111 ifeq ($(HAS_ETH_CONVERT_SUPPORT
), y
)
112 WFLAGS
+= -DETH_CONVERT_SUPPORT
-DMAT_SUPPORT
116 WFLAGS
+= -DRALINK_ATE
117 ifeq ($(HAS_28xx_QA
),y
)
118 WFLAGS
+= -DRALINK_28xx_QA
123 ifeq ($(HAS_SNMP_SUPPORT
),y
)
124 WFLAGS
+= -DSNMP_SUPPORT
127 ifeq ($(HAS_QOS_DLS_SUPPORT
),y
)
128 WFLAGS
+= -DQOS_DLS_SUPPORT
131 ifeq ($(HAS_DOT11_N_SUPPORT
),y
)
132 WFLAGS
+= -DDOT11_N_SUPPORT
135 ifeq ($(HAS_CS_SUPPORT
),y
)
136 WFLAGS
+= -DCARRIER_DETECTION_SUPPORT
139 ifeq ($(HAS_ANTENNA_DIVERSITY_SUPPORT
),y
)
140 WFLAGS
+= -DANT_DIVERSITY_SUPPORT
143 #################################################
145 #################################################
148 # Common compiler flag
155 ifeq ($(HAS_EXT_BUILD_CHANNEL_LIST
),y
)
156 WFLAGS
+= -DEXT_BUILD_CHANNEL_LIST
159 ifeq ($(HAS_IDS_SUPPORT
),y
)
160 WFLAGS
+= -DIDS_SUPPORT
164 #################################################
165 # ChipSet specific definitions.
167 WFLAGS
+=-DRTMP_MAC_PCI
-DRT30xx
-DRT3090
-DRTMP_PCI_SUPPORT
-DRTMP_RF_RW_SUPPORT
-DRTMP_EFUSE_SUPPORT
168 #################################################
171 ifeq ($(HAS_BLOCK_NET_IF
),y
)
172 WFLAGS
+= -DBLOCK_NET_IF
175 ifeq ($(HAS_DFS_SUPPORT
),y
)
176 WFLAGS
+= -DDFS_SUPPORT
179 ifeq ($(HAS_MC_SUPPORT
),y
)
180 WFLAGS
+= -DMULTIPLE_CARD_SUPPORT
184 WFLAGS
+= -DLLTD_SUPPORT
187 EXTRA_CFLAGS
:= $(WFLAGS
)