diff options
author | Amitkumar Karwar <akarwar@marvell.com> | 2012-07-13 23:09:31 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-07-17 15:11:33 -0400 |
commit | 006606c0bb387ed8d97bd9915b0b64efd7f84d0d (patch) | |
tree | 5e18e8c3b9419e7d8ce242f0b948714af5d56561 /drivers/net/wireless/mwifiex/decl.h | |
parent | 1f45b39ececbdfb13a7bf4d2f644d2e89a8b415f (diff) |
mwifiex: remove unnecessary code in data rate configuration
1) Remove unnecessary wrapper functions.
2) Currently we don't have command to set Tx data rate, so
mwifiex_rate_ioctl_set_rate_value() function and related code
can be removed.
3) "ds_rate" filled by mwifiex_ret_tx_rate_cfg() is never used.
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/mwifiex/decl.h')
-rw-r--r-- | drivers/net/wireless/mwifiex/decl.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/net/wireless/mwifiex/decl.h b/drivers/net/wireless/mwifiex/decl.h index f918f66e5e27..070ef25f5186 100644 --- a/drivers/net/wireless/mwifiex/decl.h +++ b/drivers/net/wireless/mwifiex/decl.h | |||
@@ -41,16 +41,7 @@ | |||
41 | #define MWIFIEX_AMPDU_DEF_RXWINSIZE 16 | 41 | #define MWIFIEX_AMPDU_DEF_RXWINSIZE 16 |
42 | #define MWIFIEX_DEFAULT_BLOCK_ACK_TIMEOUT 0xffff | 42 | #define MWIFIEX_DEFAULT_BLOCK_ACK_TIMEOUT 0xffff |
43 | 43 | ||
44 | #define MWIFIEX_RATE_INDEX_HRDSSS0 0 | ||
45 | #define MWIFIEX_RATE_INDEX_HRDSSS3 3 | ||
46 | #define MWIFIEX_RATE_INDEX_OFDM0 4 | ||
47 | #define MWIFIEX_RATE_INDEX_OFDM7 11 | ||
48 | #define MWIFIEX_RATE_INDEX_MCS0 12 | ||
49 | |||
50 | #define MWIFIEX_RATE_BITMAP_OFDM0 16 | ||
51 | #define MWIFIEX_RATE_BITMAP_OFDM7 23 | ||
52 | #define MWIFIEX_RATE_BITMAP_MCS0 32 | 44 | #define MWIFIEX_RATE_BITMAP_MCS0 32 |
53 | #define MWIFIEX_RATE_BITMAP_MCS127 159 | ||
54 | 45 | ||
55 | #define MWIFIEX_RX_DATA_BUF_SIZE (4 * 1024) | 46 | #define MWIFIEX_RX_DATA_BUF_SIZE (4 * 1024) |
56 | #define MWIFIEX_RX_CMD_BUF_SIZE (2 * 1024) | 47 | #define MWIFIEX_RX_CMD_BUF_SIZE (2 * 1024) |