mvm.h (b7e6725df786c424295e740c64de313124ad3608) mvm.h (21254908cbe995a3982a23da32c30d1b43467043)
1/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
2/*
3 * Copyright (C) 2012-2014, 2018-2020 Intel Corporation
4 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH
5 * Copyright (C) 2016-2017 Intel Deutschland GmbH
6 */
7#ifndef __IWL_MVM_H__
8#define __IWL_MVM_H__

--- 2023 unchanged lines hidden (view full) ---

2032int iwl_mvm_ppag_send_cmd(struct iwl_mvm *mvm);
2033#ifdef CONFIG_IWLWIFI_DEBUGFS
2034void iwl_mvm_sta_add_debugfs(struct ieee80211_hw *hw,
2035 struct ieee80211_vif *vif,
2036 struct ieee80211_sta *sta,
2037 struct dentry *dir);
2038#endif
2039
1/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
2/*
3 * Copyright (C) 2012-2014, 2018-2020 Intel Corporation
4 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH
5 * Copyright (C) 2016-2017 Intel Deutschland GmbH
6 */
7#ifndef __IWL_MVM_H__
8#define __IWL_MVM_H__

--- 2023 unchanged lines hidden (view full) ---

2032int iwl_mvm_ppag_send_cmd(struct iwl_mvm *mvm);
2033#ifdef CONFIG_IWLWIFI_DEBUGFS
2034void iwl_mvm_sta_add_debugfs(struct ieee80211_hw *hw,
2035 struct ieee80211_vif *vif,
2036 struct ieee80211_sta *sta,
2037 struct dentry *dir);
2038#endif
2039
2040int iwl_rfi_send_config_cmd(struct iwl_mvm *mvm,
2041 struct iwl_rfi_lut_entry *rfi_table);
2042struct iwl_rfi_freq_table_resp_cmd *iwl_rfi_get_freq_table(struct iwl_mvm *mvm);
2043
2040static inline u8 iwl_mvm_phy_band_from_nl80211(enum nl80211_band band)
2041{
2042 switch (band) {
2043 case NL80211_BAND_2GHZ:
2044 return PHY_BAND_24;
2045 case NL80211_BAND_5GHZ:
2046 return PHY_BAND_5;
2047 case NL80211_BAND_6GHZ:

--- 87 unchanged lines hidden ---
2044static inline u8 iwl_mvm_phy_band_from_nl80211(enum nl80211_band band)
2045{
2046 switch (band) {
2047 case NL80211_BAND_2GHZ:
2048 return PHY_BAND_24;
2049 case NL80211_BAND_5GHZ:
2050 return PHY_BAND_5;
2051 case NL80211_BAND_6GHZ:

--- 87 unchanged lines hidden ---