rs.h (ecaf71de414345c68a05c403d33dd0cd89b2c85f) | rs.h (9f66a397c8773167939c4eafc33725f38ec5c872) |
---|---|
1/****************************************************************************** 2 * 3 * Copyright(c) 2003 - 2014 Intel Corporation. All rights reserved. 4 * Copyright(c) 2015 Intel Mobile Communications GmbH 5 * Copyright(c) 2017 Intel Deutschland GmbH 6 * 7 * This program is free software; you can redistribute it and/or modify it 8 * under the terms of version 2 of the GNU General Public License as --- 22 unchanged lines hidden (view full) --- 31 32#include <net/mac80211.h> 33 34#include "iwl-config.h" 35 36#include "fw-api.h" 37#include "iwl-trans.h" 38 | 1/****************************************************************************** 2 * 3 * Copyright(c) 2003 - 2014 Intel Corporation. All rights reserved. 4 * Copyright(c) 2015 Intel Mobile Communications GmbH 5 * Copyright(c) 2017 Intel Deutschland GmbH 6 * 7 * This program is free software; you can redistribute it and/or modify it 8 * under the terms of version 2 of the GNU General Public License as --- 22 unchanged lines hidden (view full) --- 31 32#include <net/mac80211.h> 33 34#include "iwl-config.h" 35 36#include "fw-api.h" 37#include "iwl-trans.h" 38 |
39#define RS_NAME "iwl-mvm-rs" 40 |
|
39struct iwl_rs_rate_info { 40 u8 plcp; /* uCode API: IWL_RATE_6M_PLCP, etc. */ 41 u8 plcp_ht_siso; /* uCode API: IWL_RATE_SISO_6M_PLCP, etc. */ 42 u8 plcp_ht_mimo2; /* uCode API: IWL_RATE_MIMO2_6M_PLCP, etc. */ 43 u8 plcp_vht_siso; 44 u8 plcp_vht_mimo2; 45 u8 prev_rs; /* previous rate used in rs algo */ 46 u8 next_rs; /* next rate used in rs algo */ --- 386 unchanged lines hidden (view full) --- 433 * the driver is unloaded. 434 */ 435void iwl_mvm_rate_control_unregister(void); 436 437struct iwl_mvm_sta; 438 439int iwl_mvm_tx_protection(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvmsta, 440 bool enable); | 41struct iwl_rs_rate_info { 42 u8 plcp; /* uCode API: IWL_RATE_6M_PLCP, etc. */ 43 u8 plcp_ht_siso; /* uCode API: IWL_RATE_SISO_6M_PLCP, etc. */ 44 u8 plcp_ht_mimo2; /* uCode API: IWL_RATE_MIMO2_6M_PLCP, etc. */ 45 u8 plcp_vht_siso; 46 u8 plcp_vht_mimo2; 47 u8 prev_rs; /* previous rate used in rs algo */ 48 u8 next_rs; /* next rate used in rs algo */ --- 386 unchanged lines hidden (view full) --- 435 * the driver is unloaded. 436 */ 437void iwl_mvm_rate_control_unregister(void); 438 439struct iwl_mvm_sta; 440 441int iwl_mvm_tx_protection(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvmsta, 442 bool enable); |
443 444#ifdef CONFIG_IWLWIFI_DEBUGFS 445void iwl_mvm_reset_frame_stats(struct iwl_mvm *mvm); 446#endif 447 448#ifdef CONFIG_MAC80211_DEBUGFS 449void rs_remove_sta_debugfs(void *mvm, void *mvm_sta); 450#endif 451 452void iwl_mvm_rs_add_sta(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvmsta); 453void rs_fw_rate_init(struct iwl_mvm *mvm, struct ieee80211_sta *sta, 454 enum nl80211_band band); |
|
441#endif /* __rs__ */ | 455#endif /* __rs__ */ |