Skip to content

Commit

Permalink
rtlwifi: rtl8192ce: Change hw routine for addition of rtl8192se and r…
Browse files Browse the repository at this point in the history
…tl8192de

Change rtl8192ce hw routine for addition of RTL8192SE and RTL8192DE.

Signed-off-by: Chaoming_Li <chaoming_li@realsil.com.cn>
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
Chaoming_Li authored and John W. Linville committed Apr 26, 2011
1 parent c07ccff commit f73b279
Show file tree
Hide file tree
Showing 6 changed files with 362 additions and 215 deletions.
27 changes: 0 additions & 27 deletions drivers/net/wireless/rtlwifi/rtl8192ce/def.h
Original file line number Diff line number Diff line change
Expand Up @@ -121,19 +121,6 @@
#define CHIP_92C 0x01
#define CHIP_88C 0x00

/* Add vendor information into chip version definition.
* Add UMC B-Cut and RTL8723 chip info definition.
*
* BIT 7 Reserved
* BIT 6 UMC BCut
* BIT 5 Manufacturer(TSMC/UMC)
* BIT 4 TEST/NORMAL
* BIT 3 8723 Version
* BIT 2 8723?
* BIT 1 1T2R?
* BIT 0 88C/92C
*/

enum version_8192c {
VERSION_A_CHIP_92C = 0x01,
VERSION_A_CHIP_88C = 0x00,
Expand Down Expand Up @@ -280,20 +267,6 @@ struct h2c_cmd_8192c {
u8 *p_cmdbuffer;
};

static inline u8 _rtl92c_get_chnl_group(u8 chnl)
{
u8 group = 0;

if (chnl < 3)
group = 0;
else if (chnl < 9)
group = 1;
else
group = 2;

return group;
}

/* NOTE: reference to rtl8192c_rates struct */
static inline int _rtl92c_rate_mapping(struct ieee80211_hw *hw, bool isHT,
u8 desc_rate, bool first_ampdu)
Expand Down
Loading

0 comments on commit f73b279

Please sign in to comment.