hc
2023-12-09 b22da3d8526a935aa31e086e63f60ff3246cb61c
kernel/drivers/net/wireless/intel/iwlwifi/mvm/rs.h
....@@ -1,21 +1,10 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /******************************************************************************
23 *
34 * Copyright(c) 2003 - 2014 Intel Corporation. All rights reserved.
45 * Copyright(c) 2015 Intel Mobile Communications GmbH
56 * Copyright(c) 2017 Intel Deutschland GmbH
6
- * Copyright(c) 2018 Intel Corporation
7
- *
8
- * This program is free software; you can redistribute it and/or modify it
9
- * under the terms of version 2 of the GNU General Public License as
10
- * published by the Free Software Foundation.
11
- *
12
- * This program is distributed in the hope that it will be useful, but WITHOUT
13
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
14
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
15
- * more details.
16
- *
17
- * The full GNU General Public License is included in this distribution in the
18
- * file called LICENSE.
7
+ * Copyright(c) 2018 - 2019 Intel Corporation
198 *
209 * Contact Information:
2110 * Intel Linux Wireless <linuxwifi@intel.com>
....@@ -401,6 +390,7 @@
401390 s8 last_rssi;
402391 struct rs_rate_stats tx_stats[RS_COLUMN_COUNT][IWL_RATE_COUNT];
403392 struct iwl_mvm *drv;
393
+ spinlock_t lock; /* for races in reinit/update table */
404394 } pers;
405395 };
406396
....@@ -455,10 +445,6 @@
455445 void iwl_mvm_reset_frame_stats(struct iwl_mvm *mvm);
456446 #endif
457447
458
-#ifdef CONFIG_MAC80211_DEBUGFS
459
-void rs_remove_sta_debugfs(void *mvm, void *mvm_sta);
460
-#endif
461
-
462448 void iwl_mvm_rs_add_sta(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvmsta);
463449 void rs_fw_rate_init(struct iwl_mvm *mvm, struct ieee80211_sta *sta,
464450 enum nl80211_band band, bool update);
....@@ -466,4 +452,6 @@
466452 bool enable);
467453 void iwl_mvm_tlc_update_notif(struct iwl_mvm *mvm,
468454 struct iwl_rx_cmd_buffer *rxb);
455
+
456
+u16 rs_fw_get_max_amsdu_len(struct ieee80211_sta *sta);
469457 #endif /* __rs__ */