| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
|---|
| 1 | 2 | /****************************************************************************** |
|---|
| 2 | 3 | * |
|---|
| 3 | 4 | * Copyright(c) 2003 - 2014 Intel Corporation. All rights reserved. |
|---|
| 4 | 5 | * Copyright(c) 2015 Intel Mobile Communications GmbH |
|---|
| 5 | 6 | * 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 |
|---|
| 19 | 8 | * |
|---|
| 20 | 9 | * Contact Information: |
|---|
| 21 | 10 | * Intel Linux Wireless <linuxwifi@intel.com> |
|---|
| .. | .. |
|---|
| 401 | 390 | s8 last_rssi; |
|---|
| 402 | 391 | struct rs_rate_stats tx_stats[RS_COLUMN_COUNT][IWL_RATE_COUNT]; |
|---|
| 403 | 392 | struct iwl_mvm *drv; |
|---|
| 393 | + spinlock_t lock; /* for races in reinit/update table */ |
|---|
| 404 | 394 | } pers; |
|---|
| 405 | 395 | }; |
|---|
| 406 | 396 | |
|---|
| .. | .. |
|---|
| 455 | 445 | void iwl_mvm_reset_frame_stats(struct iwl_mvm *mvm); |
|---|
| 456 | 446 | #endif |
|---|
| 457 | 447 | |
|---|
| 458 | | -#ifdef CONFIG_MAC80211_DEBUGFS |
|---|
| 459 | | -void rs_remove_sta_debugfs(void *mvm, void *mvm_sta); |
|---|
| 460 | | -#endif |
|---|
| 461 | | - |
|---|
| 462 | 448 | void iwl_mvm_rs_add_sta(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvmsta); |
|---|
| 463 | 449 | void rs_fw_rate_init(struct iwl_mvm *mvm, struct ieee80211_sta *sta, |
|---|
| 464 | 450 | enum nl80211_band band, bool update); |
|---|
| .. | .. |
|---|
| 466 | 452 | bool enable); |
|---|
| 467 | 453 | void iwl_mvm_tlc_update_notif(struct iwl_mvm *mvm, |
|---|
| 468 | 454 | struct iwl_rx_cmd_buffer *rxb); |
|---|
| 455 | + |
|---|
| 456 | +u16 rs_fw_get_max_amsdu_len(struct ieee80211_sta *sta); |
|---|
| 469 | 457 | #endif /* __rs__ */ |
|---|