diff options
author | John W. Linville <linville@tuxdriver.com> | 2011-07-08 11:03:36 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-07-08 11:03:36 -0400 |
commit | 204d1641d200709c759d8c269458cbc7de378c40 (patch) | |
tree | ce88690b4422078883f1651537ccd1f5d8ed7258 /drivers/net/wireless/iwlwifi/iwl-dev.h | |
parent | 31817df025e24559a01d33ddd68bd11b21bf9d7b (diff) | |
parent | 5f0dd296a01c8173fcc05a8b262a1168ae90bc74 (diff) |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 into for-davem
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-dev.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-dev.h | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-dev.h b/drivers/net/wireless/iwlwifi/iwl-dev.h index f1b1128ee1c4..c6560e97a62b 100644 --- a/drivers/net/wireless/iwlwifi/iwl-dev.h +++ b/drivers/net/wireless/iwlwifi/iwl-dev.h | |||
@@ -666,7 +666,6 @@ struct iwl_hw_params { | |||
666 | u16 max_rxq_size; | 666 | u16 max_rxq_size; |
667 | u16 max_rxq_log; | 667 | u16 max_rxq_log; |
668 | u32 rx_page_order; | 668 | u32 rx_page_order; |
669 | u32 rx_wrt_ptr_reg; | ||
670 | u8 max_stations; | 669 | u8 max_stations; |
671 | u8 ht40_channel; | 670 | u8 ht40_channel; |
672 | u8 max_beacon_itrvl; /* in 1024 ms */ | 671 | u8 max_beacon_itrvl; /* in 1024 ms */ |
@@ -1228,6 +1227,25 @@ struct iwl_bus { | |||
1228 | unsigned int irq; | 1227 | unsigned int irq; |
1229 | }; | 1228 | }; |
1230 | 1229 | ||
1230 | struct iwl_trans; | ||
1231 | |||
1232 | /** | ||
1233 | * struct iwl_trans_ops - transport specific operations | ||
1234 | |||
1235 | * @rx_init: inits the rx memory, allocate it if needed | ||
1236 | * @rx_free: frees the rx memory | ||
1237 | * @tx_init:inits the tx memory, allocate if needed | ||
1238 | */ | ||
1239 | struct iwl_trans_ops { | ||
1240 | int (*rx_init)(struct iwl_priv *priv); | ||
1241 | void (*rx_free)(struct iwl_priv *priv); | ||
1242 | int (*tx_init)(struct iwl_priv *priv); | ||
1243 | }; | ||
1244 | |||
1245 | struct iwl_trans { | ||
1246 | const struct iwl_trans_ops *ops; | ||
1247 | }; | ||
1248 | |||
1231 | struct iwl_priv { | 1249 | struct iwl_priv { |
1232 | 1250 | ||
1233 | /* ieee device used by generic ieee processing code */ | 1251 | /* ieee device used by generic ieee processing code */ |
@@ -1296,13 +1314,13 @@ struct iwl_priv { | |||
1296 | struct mutex mutex; | 1314 | struct mutex mutex; |
1297 | 1315 | ||
1298 | struct iwl_bus bus; /* bus specific data */ | 1316 | struct iwl_bus bus; /* bus specific data */ |
1317 | struct iwl_trans trans; | ||
1299 | 1318 | ||
1300 | /* microcode/device supports multiple contexts */ | 1319 | /* microcode/device supports multiple contexts */ |
1301 | u8 valid_contexts; | 1320 | u8 valid_contexts; |
1302 | 1321 | ||
1303 | /* command queue number */ | 1322 | /* command queue number */ |
1304 | u8 cmd_queue; | 1323 | u8 cmd_queue; |
1305 | u8 last_sync_cmd_id; | ||
1306 | 1324 | ||
1307 | /* max number of station keys */ | 1325 | /* max number of station keys */ |
1308 | u8 sta_key_max_num; | 1326 | u8 sta_key_max_num; |