aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-core.h
diff options
context:
space:
mode:
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>2011-09-06 12:31:19 -0400
committerJohn W. Linville <linville@tuxdriver.com>2011-09-14 13:56:37 -0400
commit522376d206da66cecc90929134ad70c0446e874b (patch)
treedd475fa28731670f5810ca723c085fb2ba495344 /drivers/net/wireless/iwlwifi/iwl-core.h
parent3e10caeb55b2693b38f1f80c67c79d918fc42e42 (diff)
iwlagn: clean up of transport layer
Move a few declarations needed by the transport layer to iwl-shared.h Move iwl_cmd_meta, iwl_tx_queue and friends to the internal transport header file. Move iwl_device_cmd iwl_host_cmd and friends to iwl-trans.h since these structs are used in the API to the transport layer. Move get_cmd_string to the upper layer with a declaration in iwl-shared.h. Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com> Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-core.h')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-core.h22
1 files changed, 0 insertions, 22 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-core.h b/drivers/net/wireless/iwlwifi/iwl-core.h
index 2ea8a2e0dfbc..56b554c43fde 100644
--- a/drivers/net/wireless/iwlwifi/iwl-core.h
+++ b/drivers/net/wireless/iwlwifi/iwl-core.h
@@ -73,8 +73,6 @@ struct iwl_cmd;
73 73
74#define TIME_UNIT 1024 74#define TIME_UNIT 1024
75 75
76#define IWL_CMD(x) case x: return #x
77
78struct iwl_lib_ops { 76struct iwl_lib_ops {
79 /* set hw dependent parameters */ 77 /* set hw dependent parameters */
80 int (*set_hw_params)(struct iwl_priv *priv); 78 int (*set_hw_params)(struct iwl_priv *priv);
@@ -271,7 +269,6 @@ int iwl_mac_change_interface(struct ieee80211_hw *hw,
271#ifdef CONFIG_IWLWIFI_DEBUGFS 269#ifdef CONFIG_IWLWIFI_DEBUGFS
272int iwl_alloc_traffic_mem(struct iwl_priv *priv); 270int iwl_alloc_traffic_mem(struct iwl_priv *priv);
273void iwl_free_traffic_mem(struct iwl_priv *priv); 271void iwl_free_traffic_mem(struct iwl_priv *priv);
274void iwl_reset_traffic_log(struct iwl_priv *priv);
275void iwl_dbg_log_tx_data_frame(struct iwl_priv *priv, 272void iwl_dbg_log_tx_data_frame(struct iwl_priv *priv,
276 u16 length, struct ieee80211_hdr *header); 273 u16 length, struct ieee80211_hdr *header);
277void iwl_dbg_log_rx_data_frame(struct iwl_priv *priv, 274void iwl_dbg_log_rx_data_frame(struct iwl_priv *priv,
@@ -360,7 +357,6 @@ int __must_check iwl_scan_initiate(struct iwl_priv *priv,
360 * S e n d i n g H o s t C o m m a n d s * 357 * S e n d i n g H o s t C o m m a n d s *
361 *****************************************************/ 358 *****************************************************/
362 359
363const char *get_cmd_string(u8 cmd);
364void iwl_bg_watchdog(unsigned long data); 360void iwl_bg_watchdog(unsigned long data);
365u32 iwl_usecs_to_beacons(struct iwl_priv *priv, u32 usec, u32 beacon_interval); 361u32 iwl_usecs_to_beacons(struct iwl_priv *priv, u32 usec, u32 beacon_interval);
366__le32 iwl_add_beacon_time(struct iwl_priv *priv, u32 base, 362__le32 iwl_add_beacon_time(struct iwl_priv *priv, u32 base,
@@ -368,19 +364,6 @@ __le32 iwl_add_beacon_time(struct iwl_priv *priv, u32 base,
368 364
369 365
370/***************************************************** 366/*****************************************************
371* Error Handling Debugging
372******************************************************/
373#ifdef CONFIG_IWLWIFI_DEBUG
374void iwl_print_rx_config_cmd(struct iwl_priv *priv,
375 struct iwl_rxon_context *ctx);
376#else
377static inline void iwl_print_rx_config_cmd(struct iwl_priv *priv,
378 struct iwl_rxon_context *ctx)
379{
380}
381#endif
382
383/*****************************************************
384* GEOS 367* GEOS
385******************************************************/ 368******************************************************/
386int iwl_init_geos(struct iwl_priv *priv); 369int iwl_init_geos(struct iwl_priv *priv);
@@ -389,8 +372,6 @@ void iwl_free_geos(struct iwl_priv *priv);
389extern void iwl_send_bt_config(struct iwl_priv *priv); 372extern void iwl_send_bt_config(struct iwl_priv *priv);
390extern int iwl_send_statistics_request(struct iwl_priv *priv, 373extern int iwl_send_statistics_request(struct iwl_priv *priv,
391 u8 flags, bool clear); 374 u8 flags, bool clear);
392void iwl_apm_stop(struct iwl_priv *priv);
393int iwl_apm_init(struct iwl_priv *priv);
394 375
395int iwl_send_rxon_timing(struct iwl_priv *priv, struct iwl_rxon_context *ctx); 376int iwl_send_rxon_timing(struct iwl_priv *priv, struct iwl_rxon_context *ctx);
396 377
@@ -408,7 +389,4 @@ static inline bool iwl_advanced_bt_coexist(struct iwl_priv *priv)
408 389
409extern bool bt_siso_mode; 390extern bool bt_siso_mode;
410 391
411
412void iwlagn_fw_error(struct iwl_priv *priv, bool ondemand);
413
414#endif /* __iwl_core_h__ */ 392#endif /* __iwl_core_h__ */