hc
2024-01-05 071106ecf68c401173c58808b1cf5f68cc50d390
kernel/drivers/net/wireless/intel/iwlwifi/mvm/constants.h
....@@ -8,6 +8,7 @@
88 * Copyright(c) 2013 - 2014 Intel Corporation. All rights reserved.
99 * Copyright(c) 2013 - 2015 Intel Mobile Communications GmbH
1010 * Copyright(c) 2015 Intel Deutschland GmbH
11
+ * Copyright(c) 2018 - 2019 Intel Corporation
1112 *
1213 * This program is free software; you can redistribute it and/or modify
1314 * it under the terms of version 2 of the GNU General Public License as
....@@ -17,11 +18,6 @@
1718 * WITHOUT ANY WARRANTY; without even the implied warranty of
1819 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
1920 * General Public License for more details.
20
- *
21
- * You should have received a copy of the GNU General Public License
22
- * along with this program; if not, write to the Free Software
23
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110,
24
- * USA
2521 *
2622 * The full GNU General Public License is included in this distribution
2723 * in the file called COPYING.
....@@ -35,6 +31,7 @@
3531 * Copyright(c) 2013 - 2014 Intel Corporation. All rights reserved.
3632 * Copyright(c) 2013 - 2015 Intel Mobile Communications GmbH
3733 * Copyright(c) 2015 Intel Deutschland GmbH
34
+ * Copyright(c) 2018 - 2019 Intel Corporation
3835 * All rights reserved.
3936 *
4037 * Redistribution and use in source and binary forms, with or without
....@@ -68,6 +65,7 @@
6865 #define __MVM_CONSTANTS_H
6966
7067 #include <linux/ieee80211.h>
68
+#include "fw-api.h"
7169
7270 #define IWL_MVM_UAPSD_NOAGG_BSSIDS_NUM 20
7371
....@@ -119,6 +117,7 @@
119117 #define IWL_MVM_TCM_LOWLAT_ENABLE_THRESH 100 /* packets/10 seconds */
120118 #define IWL_MVM_UAPSD_NONAGG_PERIOD 5000 /* msecs */
121119 #define IWL_MVM_UAPSD_NOAGG_LIST_LEN IWL_MVM_UAPSD_NOAGG_BSSIDS_NUM
120
+#define IWL_MVM_NON_TRANSMITTING_AP 0
122121 #define IWL_MVM_RS_NUM_TRY_BEFORE_ANT_TOGGLE 1
123122 #define IWL_MVM_RS_HT_VHT_RETRIES_PER_RATE 2
124123 #define IWL_MVM_RS_HT_VHT_RETRIES_PER_RATE_TW 1
....@@ -150,5 +149,21 @@
150149 #define IWL_MVM_RS_TPC_SR_NO_INCREASE 85 /* percent */
151150 #define IWL_MVM_RS_TPC_TX_POWER_STEP 3
152151 #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 true
156
+#define IWL_MVM_AMPDU_CONSEC_DROPS_DELBA 10
157
+#define IWL_MVM_USE_NSSN_SYNC 0
158
+#define IWL_MVM_PHY_FILTER_CHAIN_A 0
159
+#define IWL_MVM_PHY_FILTER_CHAIN_B 0
160
+#define IWL_MVM_PHY_FILTER_CHAIN_C 0
161
+#define IWL_MVM_PHY_FILTER_CHAIN_D 0
162
+#define IWL_MVM_FTM_INITIATOR_ENABLE_SMOOTH false
163
+#define IWL_MVM_FTM_INITIATOR_SMOOTH_ALPHA 40
164
+/* 20016 pSec is 6 meter RTT, meaning 3 meter range */
165
+#define IWL_MVM_FTM_INITIATOR_SMOOTH_UNDERSHOOT 20016
166
+#define IWL_MVM_FTM_INITIATOR_SMOOTH_OVERSHOOT 20016
167
+#define IWL_MVM_FTM_INITIATOR_SMOOTH_AGE_SEC 2
153168
154169 #endif /* __MVM_CONSTANTS_H */