aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-core.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-core.h')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-core.h28
1 files changed, 0 insertions, 28 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-core.h b/drivers/net/wireless/iwlwifi/iwl-core.h
index 6988335328e8..32a990ff09ae 100644
--- a/drivers/net/wireless/iwlwifi/iwl-core.h
+++ b/drivers/net/wireless/iwlwifi/iwl-core.h
@@ -139,12 +139,6 @@ struct iwl_temp_ops {
139 void (*temperature)(struct iwl_priv *priv); 139 void (*temperature)(struct iwl_priv *priv);
140}; 140};
141 141
142struct iwl_tt_ops {
143 bool (*lower_power_detection)(struct iwl_priv *priv);
144 u8 (*tt_power_mode)(struct iwl_priv *priv);
145 bool (*ct_kill_check)(struct iwl_priv *priv);
146};
147
148struct iwl_lib_ops { 142struct iwl_lib_ops {
149 /* set hw dependent parameters */ 143 /* set hw dependent parameters */
150 int (*set_hw_params)(struct iwl_priv *priv); 144 int (*set_hw_params)(struct iwl_priv *priv);
@@ -190,13 +184,6 @@ struct iwl_lib_ops {
190 void (*dev_txfifo_flush)(struct iwl_priv *priv, u16 flush_control); 184 void (*dev_txfifo_flush)(struct iwl_priv *priv, u16 flush_control);
191 185
192 struct iwl_debugfs_ops debugfs_ops; 186 struct iwl_debugfs_ops debugfs_ops;
193
194 /* thermal throttling */
195 struct iwl_tt_ops tt_ops;
196};
197
198struct iwl_led_ops {
199 int (*cmd)(struct iwl_priv *priv, struct iwl_led_cmd *led_cmd);
200}; 187};
201 188
202/* NIC specific ops */ 189/* NIC specific ops */
@@ -204,23 +191,11 @@ struct iwl_nic_ops {
204 void (*additional_nic_config)(struct iwl_priv *priv); 191 void (*additional_nic_config)(struct iwl_priv *priv);
205}; 192};
206 193
207struct iwl_legacy_ops {
208 void (*post_associate)(struct iwl_priv *priv);
209 void (*config_ap)(struct iwl_priv *priv);
210 /* station management */
211 int (*update_bcast_stations)(struct iwl_priv *priv);
212 int (*manage_ibss_station)(struct iwl_priv *priv,
213 struct ieee80211_vif *vif, bool add);
214};
215
216struct iwl_ops { 194struct iwl_ops {
217 const struct iwl_lib_ops *lib; 195 const struct iwl_lib_ops *lib;
218 const struct iwl_hcmd_ops *hcmd; 196 const struct iwl_hcmd_ops *hcmd;
219 const struct iwl_hcmd_utils_ops *utils; 197 const struct iwl_hcmd_utils_ops *utils;
220 const struct iwl_led_ops *led;
221 const struct iwl_nic_ops *nic; 198 const struct iwl_nic_ops *nic;
222 const struct iwl_legacy_ops *legacy;
223 const struct ieee80211_ops *ieee80211_ops;
224}; 199};
225 200
226struct iwl_mod_params { 201struct iwl_mod_params {
@@ -250,7 +225,6 @@ struct iwl_mod_params {
250 * @wd_timeout: TX queues watchdog timeout 225 * @wd_timeout: TX queues watchdog timeout
251 * @temperature_kelvin: temperature report by uCode in kelvin 226 * @temperature_kelvin: temperature report by uCode in kelvin
252 * @max_event_log_size: size of event log buffer size for ucode event logging 227 * @max_event_log_size: size of event log buffer size for ucode event logging
253 * @ucode_tracing: support ucode continuous tracing
254 * @shadow_reg_enable: HW shadhow register bit 228 * @shadow_reg_enable: HW shadhow register bit
255 */ 229 */
256struct iwl_base_params { 230struct iwl_base_params {
@@ -272,7 +246,6 @@ struct iwl_base_params {
272 unsigned int wd_timeout; 246 unsigned int wd_timeout;
273 bool temperature_kelvin; 247 bool temperature_kelvin;
274 u32 max_event_log_size; 248 u32 max_event_log_size;
275 const bool ucode_tracing;
276 const bool shadow_reg_enable; 249 const bool shadow_reg_enable;
277}; 250};
278/* 251/*
@@ -376,7 +349,6 @@ struct iwl_cfg {
376 * L i b * 349 * L i b *
377 ***************************/ 350 ***************************/
378 351
379struct ieee80211_hw *iwl_alloc_all(struct iwl_cfg *cfg);
380int iwl_mac_conf_tx(struct ieee80211_hw *hw, u16 queue, 352int iwl_mac_conf_tx(struct ieee80211_hw *hw, u16 queue,
381 const struct ieee80211_tx_queue_params *params); 353 const struct ieee80211_tx_queue_params *params);
382int iwl_mac_tx_last_beacon(struct ieee80211_hw *hw); 354int iwl_mac_tx_last_beacon(struct ieee80211_hw *hw);