aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-4965-hw.h
diff options
context:
space:
mode:
authorGuy Cohen <guy.cohen@intel.com>2008-04-23 20:15:02 -0400
committerJohn W. Linville <linville@tuxdriver.com>2008-05-07 15:02:19 -0400
commitf935a6daa07ac78a35d1513fc61c88774b628a4c (patch)
treec9c62623098c3da46ec61b22128919ff5a9e17e8 /drivers/net/wireless/iwlwifi/iwl-4965-hw.h
parent69fdb3090846de1cdc4fcb4f7e74533f5acbfa98 (diff)
iwlwifi: rate sacaling fixes
1. Fixing support for tx in antenna C 2. Enable stay_in_column expiration after 2 seconds Signed-off-by: Guy Cohen <guy.cohen@intel.com> Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-4965-hw.h')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-4965-hw.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-4965-hw.h b/drivers/net/wireless/iwlwifi/iwl-4965-hw.h
index 0c132b93d903..4f45093ab3ba 100644
--- a/drivers/net/wireless/iwlwifi/iwl-4965-hw.h
+++ b/drivers/net/wireless/iwlwifi/iwl-4965-hw.h
@@ -1356,9 +1356,9 @@ static inline u8 iwl4965_hw_get_rate(__le32 rate_n_flags)
1356{ 1356{
1357 return le32_to_cpu(rate_n_flags) & 0xFF; 1357 return le32_to_cpu(rate_n_flags) & 0xFF;
1358} 1358}
1359static inline u16 iwl4965_hw_get_rate_n_flags(__le32 rate_n_flags) 1359static inline u32 iwl4965_hw_get_rate_n_flags(__le32 rate_n_flags)
1360{ 1360{
1361 return le32_to_cpu(rate_n_flags) & 0xFFFF; 1361 return le32_to_cpu(rate_n_flags) & 0x1FFFF;
1362} 1362}
1363static inline __le32 iwl4965_hw_set_rate_n_flags(u8 rate, u16 flags) 1363static inline __le32 iwl4965_hw_set_rate_n_flags(u8 rate, u16 flags)
1364{ 1364{