aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-4965-hw.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-4965-hw.h')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-4965-hw.h15
1 files changed, 1 insertions, 14 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-4965-hw.h b/drivers/net/wireless/iwlwifi/iwl-4965-hw.h
index fc118335b60f..10f630e1afa6 100644
--- a/drivers/net/wireless/iwlwifi/iwl-4965-hw.h
+++ b/drivers/net/wireless/iwlwifi/iwl-4965-hw.h
@@ -82,7 +82,7 @@
82 */ 82 */
83#define IWL_CMD_QUEUE_NUM 4 83#define IWL_CMD_QUEUE_NUM 4
84#define IWL_CMD_FIFO_NUM 4 84#define IWL_CMD_FIFO_NUM 4
85#define IWL_BACK_QUEUE_FIRST_ID 7 85#define IWL49_FIRST_AMPDU_QUEUE 7
86 86
87/* Tx rates */ 87/* Tx rates */
88#define IWL_CCK_RATES 4 88#define IWL_CCK_RATES 4
@@ -793,19 +793,6 @@ enum {
793 793
794/********************* END TXPOWER *****************************************/ 794/********************* END TXPOWER *****************************************/
795 795
796static inline u8 iwl4965_hw_get_rate(__le32 rate_n_flags)
797{
798 return le32_to_cpu(rate_n_flags) & 0xFF;
799}
800static inline u32 iwl4965_hw_get_rate_n_flags(__le32 rate_n_flags)
801{
802 return le32_to_cpu(rate_n_flags) & 0x1FFFF;
803}
804static inline __le32 iwl4965_hw_set_rate_n_flags(u8 rate, u16 flags)
805{
806 return cpu_to_le32(flags|(u16)rate);
807}
808
809 796
810/** 797/**
811 * Tx/Rx Queues 798 * Tx/Rx Queues