aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorTomas Winkler <tomas.winkler@intel.com>2008-04-23 20:15:00 -0400
committerJohn W. Linville <linville@tuxdriver.com>2008-05-07 15:02:19 -0400
commit3195cdb7424b4207f6903f1f3ddadcab49fa22f2 (patch)
tree822ca66dffcca536c3fa924c54d700eca84f4e07 /drivers/net
parentaade00cee60d8a2b1682b6804664049d7a369ac2 (diff)
iwlwifi: reorganize TX RX constatns
This patch moves TX/RX constants in 4969 headers Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-4965-commands.h8
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-4965.c3
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-4965.h7
3 files changed, 13 insertions, 5 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-4965-commands.h b/drivers/net/wireless/iwlwifi/iwl-4965-commands.h
index 7ffae05a930e..6b2d6bfec1e5 100644
--- a/drivers/net/wireless/iwlwifi/iwl-4965-commands.h
+++ b/drivers/net/wireless/iwlwifi/iwl-4965-commands.h
@@ -1101,6 +1101,14 @@ struct iwl4965_rx_mpdu_res_start {
1101#define TX_CMD_SEC_KEY128 0x08 1101#define TX_CMD_SEC_KEY128 0x08
1102 1102
1103/* 1103/*
1104 * security overhead sizes
1105 */
1106#define WEP_IV_LEN 4
1107#define WEP_ICV_LEN 4
1108#define CCMP_MIC_LEN 8
1109#define TKIP_ICV_LEN 4
1110
1111/*
1104 * 4965 uCode updates these Tx attempt count values in host DRAM. 1112 * 4965 uCode updates these Tx attempt count values in host DRAM.
1105 * Used for managing Tx retries when expecting block-acks. 1113 * Used for managing Tx retries when expecting block-acks.
1106 * Driver should set these fields to 0. 1114 * Driver should set these fields to 0.
diff --git a/drivers/net/wireless/iwlwifi/iwl-4965.c b/drivers/net/wireless/iwlwifi/iwl-4965.c
index e80f6022cf43..f5796b78f2d2 100644
--- a/drivers/net/wireless/iwlwifi/iwl-4965.c
+++ b/drivers/net/wireless/iwlwifi/iwl-4965.c
@@ -2502,9 +2502,6 @@ static void iwl4965_free_shared_mem(struct iwl_priv *priv)
2502 priv->shared_phys); 2502 priv->shared_phys);
2503} 2503}
2504 2504
2505#define IWL_TX_CRC_SIZE 4
2506#define IWL_TX_DELIMITER_SIZE 4
2507
2508/** 2505/**
2509 * iwl4965_txq_update_byte_cnt_tbl - Set up entry in Tx byte-count array 2506 * iwl4965_txq_update_byte_cnt_tbl - Set up entry in Tx byte-count array
2510 */ 2507 */
diff --git a/drivers/net/wireless/iwlwifi/iwl-4965.h b/drivers/net/wireless/iwlwifi/iwl-4965.h
index 1ab4e2ecf79a..e3572636e598 100644
--- a/drivers/net/wireless/iwlwifi/iwl-4965.h
+++ b/drivers/net/wireless/iwlwifi/iwl-4965.h
@@ -803,8 +803,8 @@ struct iwl4965_kw {
803#define IWL_EXT_CHANNEL_OFFSET_RESERVE1 2 803#define IWL_EXT_CHANNEL_OFFSET_RESERVE1 2
804#define IWL_EXT_CHANNEL_OFFSET_BELOW 3 804#define IWL_EXT_CHANNEL_OFFSET_BELOW 3
805 805
806#define NRG_NUM_PREV_STAT_L 20 806#define IWL_TX_CRC_SIZE 4
807#define NUM_RX_CHAINS (3) 807#define IWL_TX_DELIMITER_SIZE 4
808 808
809#define TX_POWER_IWL_ILLEGAL_VOLTAGE -10000 809#define TX_POWER_IWL_ILLEGAL_VOLTAGE -10000
810 810
@@ -854,6 +854,9 @@ struct iwl4965_lq_mngr {
854#define IN_BAND_FILTER 0xFF 854#define IN_BAND_FILTER 0xFF
855#define MIN_AVERAGE_NOISE_MAX_VALUE 0xFFFFFFFF 855#define MIN_AVERAGE_NOISE_MAX_VALUE 0xFFFFFFFF
856 856
857#define NRG_NUM_PREV_STAT_L 20
858#define NUM_RX_CHAINS 3
859
857enum iwl4965_false_alarm_state { 860enum iwl4965_false_alarm_state {
858 IWL_FA_TOO_MANY = 0, 861 IWL_FA_TOO_MANY = 0,
859 IWL_FA_TOO_FEW = 1, 862 IWL_FA_TOO_FEW = 1,