diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-fh.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-fh.h | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-fh.h b/drivers/net/wireless/iwlwifi/iwl-fh.h index d7da19864550..65fa8a69fd5a 100644 --- a/drivers/net/wireless/iwlwifi/iwl-fh.h +++ b/drivers/net/wireless/iwlwifi/iwl-fh.h | |||
@@ -5,7 +5,7 @@ | |||
5 | * | 5 | * |
6 | * GPL LICENSE SUMMARY | 6 | * GPL LICENSE SUMMARY |
7 | * | 7 | * |
8 | * Copyright(c) 2005 - 2008 Intel Corporation. All rights reserved. | 8 | * Copyright(c) 2005 - 2009 Intel Corporation. All rights reserved. |
9 | * | 9 | * |
10 | * This program is free software; you can redistribute it and/or modify | 10 | * This program is free software; you can redistribute it and/or modify |
11 | * it under the terms of version 2 of the GNU General Public License as | 11 | * it under the terms of version 2 of the GNU General Public License as |
@@ -30,7 +30,7 @@ | |||
30 | * | 30 | * |
31 | * BSD LICENSE | 31 | * BSD LICENSE |
32 | * | 32 | * |
33 | * Copyright(c) 2005 - 2008 Intel Corporation. All rights reserved. | 33 | * Copyright(c) 2005 - 2009 Intel Corporation. All rights reserved. |
34 | * All rights reserved. | 34 | * All rights reserved. |
35 | * | 35 | * |
36 | * Redistribution and use in source and binary forms, with or without | 36 | * Redistribution and use in source and binary forms, with or without |
@@ -399,6 +399,21 @@ | |||
399 | */ | 399 | */ |
400 | #define FH_TX_CHICKEN_BITS_SCD_AUTO_RETRY_EN (0x00000002) | 400 | #define FH_TX_CHICKEN_BITS_SCD_AUTO_RETRY_EN (0x00000002) |
401 | 401 | ||
402 | #define RX_QUEUE_SIZE 256 | ||
403 | #define RX_QUEUE_MASK 255 | ||
404 | #define RX_QUEUE_SIZE_LOG 8 | ||
405 | |||
406 | /* | ||
407 | * RX related structures and functions | ||
408 | */ | ||
409 | #define RX_FREE_BUFFERS 64 | ||
410 | #define RX_LOW_WATERMARK 8 | ||
411 | |||
412 | /* Size of one Rx buffer in host DRAM */ | ||
413 | #define IWL_RX_BUF_SIZE_3K (3 * 1000) /* 3945 only */ | ||
414 | #define IWL_RX_BUF_SIZE_4K (4 * 1024) | ||
415 | #define IWL_RX_BUF_SIZE_8K (8 * 1024) | ||
416 | |||
402 | /** | 417 | /** |
403 | * struct iwl_rb_status - reseve buffer status | 418 | * struct iwl_rb_status - reseve buffer status |
404 | * host memory mapped FH registers | 419 | * host memory mapped FH registers |
@@ -414,6 +429,7 @@ struct iwl_rb_status { | |||
414 | __le16 closed_fr_num; | 429 | __le16 closed_fr_num; |
415 | __le16 finished_rb_num; | 430 | __le16 finished_rb_num; |
416 | __le16 finished_fr_nam; | 431 | __le16 finished_fr_nam; |
432 | __le32 __unused; /* 3945 only */ | ||
417 | } __attribute__ ((packed)); | 433 | } __attribute__ ((packed)); |
418 | 434 | ||
419 | 435 | ||
@@ -477,7 +493,6 @@ struct iwl_tfd { | |||
477 | __le32 __pad; | 493 | __le32 __pad; |
478 | } __attribute__ ((packed)); | 494 | } __attribute__ ((packed)); |
479 | 495 | ||
480 | |||
481 | /* Keep Warm Size */ | 496 | /* Keep Warm Size */ |
482 | #define IWL_KW_SIZE 0x1000 /* 4k */ | 497 | #define IWL_KW_SIZE 0x1000 /* 4k */ |
483 | 498 | ||