aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-4965.h
diff options
context:
space:
mode:
authorTomas Winkler <tomas.winkler@intel.com>2008-04-15 00:16:14 -0400
committerJohn W. Linville <linville@tuxdriver.com>2008-04-16 15:59:59 -0400
commit059ff8266104d4919c693d6bf974c9e350da513e (patch)
tree647a74a19d6f48eb1440f34f33b92a01c7ebbdf9 /drivers/net/wireless/iwlwifi/iwl-4965.h
parent508e32e177f54d1f6ebcfa181b9d6f2583c3b1c0 (diff)
iwlwifi: move shared pointers to iwl_priv
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.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-4965.h b/drivers/net/wireless/iwlwifi/iwl-4965.h
index 17c4bcfe113b..e5ab4c01ec9b 100644
--- a/drivers/net/wireless/iwlwifi/iwl-4965.h
+++ b/drivers/net/wireless/iwlwifi/iwl-4965.h
@@ -576,8 +576,6 @@ struct iwl4965_ibss_seq {
576 * @max_rxq_log: Log-base-2 of max_rxq_size 576 * @max_rxq_log: Log-base-2 of max_rxq_size
577 * @max_stations: 577 * @max_stations:
578 * @bcast_sta_id: 578 * @bcast_sta_id:
579 * @shared_virt: Pointer to driver/uCode shared Tx Byte Counts and Rx status
580 * @shared_phys: Physical Pointer to Tx Byte Counts and Rx status
581 */ 579 */
582struct iwl4965_driver_hw_info { 580struct iwl4965_driver_hw_info {
583 u16 max_txq_num; 581 u16 max_txq_num;
@@ -589,8 +587,6 @@ struct iwl4965_driver_hw_info {
589 u16 max_rxq_log; 587 u16 max_rxq_log;
590 u8 max_stations; 588 u8 max_stations;
591 u8 bcast_sta_id; 589 u8 bcast_sta_id;
592 void *shared_virt;
593 dma_addr_t shared_phys;
594}; 590};
595 591
596#define HT_SHORT_GI_20MHZ_ONLY (1 << 0) 592#define HT_SHORT_GI_20MHZ_ONLY (1 << 0)
@@ -1147,9 +1143,14 @@ struct iwl_priv {
1147 /* Last Rx'd beacon timestamp */ 1143 /* Last Rx'd beacon timestamp */
1148 u64 timestamp; 1144 u64 timestamp;
1149 u16 beacon_int; 1145 u16 beacon_int;
1150 struct iwl4965_driver_hw_info hw_setting;
1151 struct ieee80211_vif *vif; 1146 struct ieee80211_vif *vif;
1152 1147
1148 struct iwl4965_driver_hw_info hw_setting;
1149 /* driver/uCode shared Tx Byte Counts and Rx status */
1150 void *shared_virt;
1151 /* Physical Pointer to Tx Byte Counts and Rx status */
1152 dma_addr_t shared_phys;
1153
1153 /* Current association information needed to configure the 1154 /* Current association information needed to configure the
1154 * hardware */ 1155 * hardware */
1155 u16 assoc_id; 1156 u16 assoc_id;