aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-4965.h
diff options
context:
space:
mode:
authorTomas Winkler <tomas.winkler@intel.com>2008-04-15 19:01:38 -0400
committerJohn W. Linville <linville@tuxdriver.com>2008-04-16 16:00:00 -0400
commit5425e490471d521bae2fce16d22995803b41d90f (patch)
tree96d827e8c17d3d5469ec0da05208e2c5730f085d /drivers/net/wireless/iwlwifi/iwl-4965.h
parent49ea85961cf8b60b5387cc1c1bc06fe4b6a31ee4 (diff)
iwlwifi: hw_setting cleanup
1. This patch renames hw_setting to hw_params 2. Align names of the structure and variables 3. set_hw_params is called from libs_ops Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: Reinette Chatre <reinette.chatre@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-4965.h')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-4965.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-4965.h b/drivers/net/wireless/iwlwifi/iwl-4965.h
index c8e73a5212af..c127c91010b4 100644
--- a/drivers/net/wireless/iwlwifi/iwl-4965.h
+++ b/drivers/net/wireless/iwlwifi/iwl-4965.h
@@ -567,7 +567,7 @@ struct iwl4965_ibss_seq {
567}; 567};
568 568
569/** 569/**
570 * struct iwl4965_driver_hw_info 570 * struct iwl_hw_params
571 * @max_txq_num: Max # Tx queues supported 571 * @max_txq_num: Max # Tx queues supported
572 * @tx_cmd_len: Size of Tx command (but not including frame itself) 572 * @tx_cmd_len: Size of Tx command (but not including frame itself)
573 * @tx_ant_num: Number of TX antennas 573 * @tx_ant_num: Number of TX antennas
@@ -577,7 +577,7 @@ struct iwl4965_ibss_seq {
577 * @max_stations: 577 * @max_stations:
578 * @bcast_sta_id: 578 * @bcast_sta_id:
579 */ 579 */
580struct iwl4965_driver_hw_info { 580struct iwl_hw_params {
581 u16 max_txq_num; 581 u16 max_txq_num;
582 u16 tx_cmd_len; 582 u16 tx_cmd_len;
583 u16 tx_ant_num; 583 u16 tx_ant_num;
@@ -675,7 +675,7 @@ extern void iwl4965_hw_rx_handler_setup(struct iwl_priv *priv);
675extern void iwl4965_hw_setup_deferred_work(struct iwl_priv *priv); 675extern void iwl4965_hw_setup_deferred_work(struct iwl_priv *priv);
676extern void iwl4965_hw_cancel_deferred_work(struct iwl_priv *priv); 676extern void iwl4965_hw_cancel_deferred_work(struct iwl_priv *priv);
677extern int iwl4965_hw_rxq_stop(struct iwl_priv *priv); 677extern int iwl4965_hw_rxq_stop(struct iwl_priv *priv);
678extern int iwl4965_hw_set_hw_setting(struct iwl_priv *priv); 678extern int iwl4965_hw_set_hw_params(struct iwl_priv *priv);
679extern int iwl4965_hw_nic_init(struct iwl_priv *priv); 679extern int iwl4965_hw_nic_init(struct iwl_priv *priv);
680extern int iwl4965_hw_nic_stop_master(struct iwl_priv *priv); 680extern int iwl4965_hw_nic_stop_master(struct iwl_priv *priv);
681extern void iwl4965_hw_txq_ctx_free(struct iwl_priv *priv); 681extern void iwl4965_hw_txq_ctx_free(struct iwl_priv *priv);
@@ -1144,7 +1144,7 @@ struct iwl_priv {
1144 u16 beacon_int; 1144 u16 beacon_int;
1145 struct ieee80211_vif *vif; 1145 struct ieee80211_vif *vif;
1146 1146
1147 struct iwl4965_driver_hw_info hw_setting; 1147 struct iwl_hw_params hw_params;
1148 /* driver/uCode shared Tx Byte Counts and Rx status */ 1148 /* driver/uCode shared Tx Byte Counts and Rx status */
1149 void *shared_virt; 1149 void *shared_virt;
1150 /* Physical Pointer to Tx Byte Counts and Rx status */ 1150 /* Physical Pointer to Tx Byte Counts and Rx status */