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 #ifndef __MVM_CONSTANTS_H
65 #define __MVM_CONSTANTS_H
66
67 #include <linux/ieee80211.h>
68 #include "fw-api.h"
69
70 #define IWL_MVM_UAPSD_NOAGG_BSSIDS_NUM 20
71
72 #define IWL_MVM_DEFAULT_PS_TX_DATA_TIMEOUT (100 * USEC_PER_MSEC)
73 #define IWL_MVM_DEFAULT_PS_RX_DATA_TIMEOUT (100 * USEC_PER_MSEC)
74 #define IWL_MVM_WOWLAN_PS_TX_DATA_TIMEOUT (10 * USEC_PER_MSEC)
75 #define IWL_MVM_WOWLAN_PS_RX_DATA_TIMEOUT (10 * USEC_PER_MSEC)
76 #define IWL_MVM_SHORT_PS_TX_DATA_TIMEOUT (2 * 1024)
77 #define IWL_MVM_SHORT_PS_RX_DATA_TIMEOUT (40 * 1024)
78 #define IWL_MVM_P2P_LOWLATENCY_PS_ENABLE 0
79 #define IWL_MVM_UAPSD_RX_DATA_TIMEOUT (50 * USEC_PER_MSEC)
80 #define IWL_MVM_UAPSD_TX_DATA_TIMEOUT (50 * USEC_PER_MSEC)
81 #define IWL_MVM_UAPSD_QUEUES (IEEE80211_WMM_IE_STA_QOSINFO_AC_VO |\
82 IEEE80211_WMM_IE_STA_QOSINFO_AC_VI |\
83 IEEE80211_WMM_IE_STA_QOSINFO_AC_BK |\
84 IEEE80211_WMM_IE_STA_QOSINFO_AC_BE)
85 #define IWL_MVM_PS_HEAVY_TX_THLD_PACKETS 20
86 #define IWL_MVM_PS_HEAVY_RX_THLD_PACKETS 8
87 #define IWL_MVM_PS_SNOOZE_HEAVY_TX_THLD_PACKETS 30
88 #define IWL_MVM_PS_SNOOZE_HEAVY_RX_THLD_PACKETS 20
89 #define IWL_MVM_PS_HEAVY_TX_THLD_PERCENT 50
90 #define IWL_MVM_PS_HEAVY_RX_THLD_PERCENT 50
91 #define IWL_MVM_PS_SNOOZE_INTERVAL 25
92 #define IWL_MVM_PS_SNOOZE_WINDOW 50
93 #define IWL_MVM_WOWLAN_PS_SNOOZE_WINDOW 25
94 #define IWL_MVM_LOWLAT_QUOTA_MIN_PERCENT 64
95 #define IWL_MVM_BT_COEX_EN_RED_TXP_THRESH 62
96 #define IWL_MVM_BT_COEX_DIS_RED_TXP_THRESH 65
97 #define IWL_MVM_BT_COEX_SYNC2SCO 1
98 #define IWL_MVM_BT_COEX_MPLUT 1
99 #define IWL_MVM_BT_COEX_RRC 1
100 #define IWL_MVM_BT_COEX_TTC 1
101 #define IWL_MVM_BT_COEX_MPLUT_REG0 0x22002200
102 #define IWL_MVM_BT_COEX_MPLUT_REG1 0x11118451
103 #define IWL_MVM_BT_COEX_ANTENNA_COUPLING_THRS 30
104 #define IWL_MVM_FW_MCAST_FILTER_PASS_ALL 0
105 #define IWL_MVM_FW_BCAST_FILTER_PASS_ALL 0
106 #define IWL_MVM_QUOTA_THRESHOLD 4
107 #define IWL_MVM_RS_RSSI_BASED_INIT_RATE 0
108 #define IWL_MVM_RS_80_20_FAR_RANGE_TWEAK 1
109 #define IWL_MVM_TOF_IS_RESPONDER 0
110 #define IWL_MVM_SW_TX_CSUM_OFFLOAD 0
111 #define IWL_MVM_HW_CSUM_DISABLE 0
112 #define IWL_MVM_PARSE_NVM 0
113 #define IWL_MVM_ADWELL_ENABLE 1
114 #define IWL_MVM_ADWELL_MAX_BUDGET 0
115 #define IWL_MVM_TCM_LOAD_MEDIUM_THRESH 10
116 #define IWL_MVM_TCM_LOAD_HIGH_THRESH 50
117 #define IWL_MVM_TCM_LOWLAT_ENABLE_THRESH 100
118 #define IWL_MVM_UAPSD_NONAGG_PERIOD 5000
119 #define IWL_MVM_UAPSD_NOAGG_LIST_LEN IWL_MVM_UAPSD_NOAGG_BSSIDS_NUM
120 #define IWL_MVM_NON_TRANSMITTING_AP 0
121 #define IWL_MVM_RS_NUM_TRY_BEFORE_ANT_TOGGLE 1
122 #define IWL_MVM_RS_HT_VHT_RETRIES_PER_RATE 2
123 #define IWL_MVM_RS_HT_VHT_RETRIES_PER_RATE_TW 1
124 #define IWL_MVM_RS_INITIAL_MIMO_NUM_RATES 3
125 #define IWL_MVM_RS_INITIAL_SISO_NUM_RATES 3
126 #define IWL_MVM_RS_INITIAL_LEGACY_NUM_RATES 2
127 #define IWL_MVM_RS_INITIAL_LEGACY_RETRIES 2
128 #define IWL_MVM_RS_SECONDARY_LEGACY_RETRIES 1
129 #define IWL_MVM_RS_SECONDARY_LEGACY_NUM_RATES 16
130 #define IWL_MVM_RS_SECONDARY_SISO_NUM_RATES 3
131 #define IWL_MVM_RS_SECONDARY_SISO_RETRIES 1
132 #define IWL_MVM_RS_RATE_MIN_FAILURE_TH 3
133 #define IWL_MVM_RS_RATE_MIN_SUCCESS_TH 8
134 #define IWL_MVM_RS_STAY_IN_COLUMN_TIMEOUT 5
135 #define IWL_MVM_RS_IDLE_TIMEOUT 5
136 #define IWL_MVM_RS_MISSED_RATE_MAX 15
137 #define IWL_MVM_RS_LEGACY_FAILURE_LIMIT 160
138 #define IWL_MVM_RS_LEGACY_SUCCESS_LIMIT 480
139 #define IWL_MVM_RS_LEGACY_TABLE_COUNT 160
140 #define IWL_MVM_RS_NON_LEGACY_FAILURE_LIMIT 400
141 #define IWL_MVM_RS_NON_LEGACY_SUCCESS_LIMIT 4500
142 #define IWL_MVM_RS_NON_LEGACY_TABLE_COUNT 1500
143 #define IWL_MVM_RS_SR_FORCE_DECREASE 15
144 #define IWL_MVM_RS_SR_NO_DECREASE 85
145 #define IWL_MVM_RS_AGG_TIME_LIMIT 4000
146 #define IWL_MVM_RS_AGG_DISABLE_START 3
147 #define IWL_MVM_RS_AGG_START_THRESHOLD 10
148 #define IWL_MVM_RS_TPC_SR_FORCE_INCREASE 75
149 #define IWL_MVM_RS_TPC_SR_NO_INCREASE 85
150 #define IWL_MVM_RS_TPC_TX_POWER_STEP 3
151 #define IWL_MVM_ENABLE_EBS 1
152 #define IWL_MVM_FTM_INITIATOR_ALGO IWL_TOF_ALGO_TYPE_MAX_LIKE
153 #define IWL_MVM_FTM_INITIATOR_DYNACK true
154 #define IWL_MVM_D3_DEBUG false
155 #define IWL_MVM_USE_TWT false
156 #define IWL_MVM_AMPDU_CONSEC_DROPS_DELBA 10
157 #define IWL_MVM_USE_NSSN_SYNC 0
158
159 #endif