diff options
author | Larry Finger <Larry.Finger@lwfinger.net> | 2011-08-22 17:50:16 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-08-24 14:57:19 -0400 |
commit | 2b67e88f648f3b16783feb09178719380150e51f (patch) | |
tree | 41a39c8ab3cf161247d3dfb76af5b024e31f3b43 /drivers/net/wireless/rtlwifi/rtl8192cu/mac.h | |
parent | 78851b66b1f4c00fe324d53ae55dbf5bf9a02e27 (diff) |
rtlwifi: rtl8192cu: Convert to use the new rate-mapping routine in rtlwifi
This patch also removes the now unused code from rtl8192ce/def.h.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Cc: Chaoming Li <chaoming_li@realsil.com.cn>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rtlwifi/rtl8192cu/mac.h')
-rw-r--r-- | drivers/net/wireless/rtlwifi/rtl8192cu/mac.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/wireless/rtlwifi/rtl8192cu/mac.h b/drivers/net/wireless/rtlwifi/rtl8192cu/mac.h index 298fdb724aa5..35529f701fc0 100644 --- a/drivers/net/wireless/rtlwifi/rtl8192cu/mac.h +++ b/drivers/net/wireless/rtlwifi/rtl8192cu/mac.h | |||
@@ -88,10 +88,10 @@ void rtl92c_set_data_filter(struct ieee80211_hw *hw, u16 filter); | |||
88 | u32 rtl92c_get_txdma_status(struct ieee80211_hw *hw); | 88 | u32 rtl92c_get_txdma_status(struct ieee80211_hw *hw); |
89 | 89 | ||
90 | #define RX_HAL_IS_CCK_RATE(_pdesc)\ | 90 | #define RX_HAL_IS_CCK_RATE(_pdesc)\ |
91 | (GET_RX_DESC_RX_MCS(_pdesc) == DESC92C_RATE1M ||\ | 91 | (GET_RX_DESC_RX_MCS(_pdesc) == DESC92_RATE1M ||\ |
92 | GET_RX_DESC_RX_MCS(_pdesc) == DESC92C_RATE2M ||\ | 92 | GET_RX_DESC_RX_MCS(_pdesc) == DESC92_RATE2M ||\ |
93 | GET_RX_DESC_RX_MCS(_pdesc) == DESC92C_RATE5_5M ||\ | 93 | GET_RX_DESC_RX_MCS(_pdesc) == DESC92_RATE5_5M ||\ |
94 | GET_RX_DESC_RX_MCS(_pdesc) == DESC92C_RATE11M) | 94 | GET_RX_DESC_RX_MCS(_pdesc) == DESC92_RATE11M) |
95 | 95 | ||
96 | struct rx_fwinfo_92c { | 96 | struct rx_fwinfo_92c { |
97 | u8 gain_trsw[4]; | 97 | u8 gain_trsw[4]; |