-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathconfig_common.mak
executable file
·142 lines (102 loc) · 3.96 KB
/
config_common.mak
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
CONFIG_SSV6X5X=m
#ccflags-y += -DCONFIG_SSV6200_CORE
#CONFIG_MAC80211_LEDS=y
#CONFIG_MAC80211_DEBUGFS=y
#CONFIG_MAC80211_MESH=y
#CONFIG_PM=y
#CONFIG_MAC80211_RC_MINSTREL=y
#CONFIG_MAC80211_RC_MINSTREL_HT=y
#ccflags-y += -D_ICOMM_MAC80211_
ccflags-y += -D__CHECK_ENDIAN__
###########################################################################
# Compiler options #
###########################################################################
ccflags-y += -Werror
# Enable -g to help debug. Deassembly from .o to .S would help to track to
# the problomatic line from call stack dump.
#ccflags-y += -DDEBUG -g
ccflags-y += -Os
#########################################################
# option enable shal
# if it is enable
# DCONFIG_SSV_CABRIO_A/DCONFIG_SSV_CABRIO_A is not valid in driver.
ccflags-y += -DSSV_SUPPORT_HAL
ccflags-y += -DSSV_SUPPORT_SSV6006
############################################################
# If you change the settings, please change the file synchronization
# smac\firmware\include\config.h & compiler firmware
############################################################
#ccflags-y += -DCONFIG_SSV_CABRIO_A
#ccflags-y += -DSDIO_USE_SLOW_CLOCK
ccflags-y += -DCONFIG_SSV_CABRIO_E
#CONFIG_SSV_SUPPORT_BTCX=y
ccflags-y += -DCONFIG_SSV6200_CLI_ENABLE
#ccflags-y += -DCONFIG_SSV_BUILD_AS_ONE_KO
############################################################
# Options should be able to set as parameters. #
############################################################
#PADPD
#ccflags-y += -DCONFIG_SSV_DPD
#ccflags-y += -DCONFIG_SSV_CABRIO_MB_DEBUG
#ccflags-y += -DCONFIG_SSV6XXX_HW_DEBUG
#SDIO
ccflags-y += -DCONFIG_SSV_TX_LOWTHRESHOLD
#HCI AGGREGATION
#ccflags-y += -DCONFIG_SSV_HCI_RX_AGGREGATION
############################################################
# Rate control update for MPDU.
############################################################
ccflags-y += -DRATE_CONTROL_REALTIME_UPDATE
#workaround
#ccflags-y += -DCONFIG_SSV_CABRIO_EXT_PA
############################################################
# NOTE:
# Only one of the following flags could be turned on.
# It also turned off the following flags. In this case,
# pure software security or pure hardware security is used.
#
############################################################
#ccflags-y += -DCONFIG_SSV_SW_ENCRYPT_HW_DECRYPT
#ccflags-y += -DCONFIG_SSV_HW_ENCRYPT_SW_DECRYPT
# FOR WFA
#ccflags-y += -DWIFI_CERTIFIED
#ccflags-y += -DCONFIG_SSV_SDIO_EXT_INT
#######################################################
ccflags-y += -DCONFIG_SSV6200_HAS_RX_WORKQUEUE
ccflags-y += -DUSE_THREAD_RX
ccflags-y += -DUSE_THREAD_TX
ccflags-y += -DENABLE_AGGREGATE_IN_TIME
ccflags-y += -DENABLE_INCREMENTAL_AGGREGATION
# Generic decision table applicable to both AP and STA modes.
ccflags-y += -DUSE_GENERIC_DECI_TBL
########################################################
## The following definition move to indivdual platform
## should not enable again here.
# Use crypto in SSV driver.
ccflags-y += -DUSE_LOCAL_CRYPTO
ccflags-y += -DUSE_LOCAL_WEP_CRYPTO
ccflags-y += -DUSE_LOCAL_TKIP_CRYPTO
ccflags-y += -DUSE_LOCAL_CCMP_CRYPTO
ccflags-y += -DUSE_LOCAL_SMS4_CRYPTO
ccflags-y += -DCONFIG_SSV_WAPI
ccflags-y += -DHAS_CRYPTO_LOCK
#ccflags-y += -DCONFIG_IRQ_DEBUG_COUNT
#ccflags-y += -DCONFIG_SSV6XXX_DEBUGFS
#### end of move to individual platform
#ccflags-y += -DFW_WSID_WATCH_LIST
#ccflags-y += -DUSE_BATCH_RX
#ccflags-y += -DCONFIG_SSV_SUPPORT_AES_ASM
ccflags-y += -DSSV6200_ECO
#ccflags-y += -DENABLE_WAKE_IO_ISR_WHEN_HCI_ENQUEUE
#ccflags-y += -DENABLE_TX_Q_FLOW_CONTROL
#ccflags-y += -DCONFIG_DEBUG_SKB_TIMESTAMP
#enable p2p client to parse GO broadcast noa
#ccflags-y += -DCONFIG_P2P_NOA
#enable rx management frame check
#ccflags-y += -DCONFIG_RX_MGMT_CHECK
#enable smart icomm
#ccflags-y += -DCONFIG_SMARTLINK
#ccflags-y += -DCONFIG_SSV_SMARTLINK
ccflags-y += -DCONFIG_SSV_CCI_IMPROVEMENT
#enable USB LPM function
#ccflags-y += -DSSV_SUPPORT_USB_LPM