diff options
author | David Lin <dlin@marvell.com> | 2015-06-19 04:49:53 +0800 |
---|---|---|
committer | David Lin <dlin@marvell.com> | 2015-06-19 04:49:53 +0800 |
commit | 2b93ae5bf32e49ab1b0eff2b27c943ba6adf9734 (patch) | |
tree | 3ef232489b0f0ce5624ebadaa4e6a35ff94e4626 /sysadpt.h | |
parent | f6f2b26593a35d269eb8c4475234965384c010af (diff) |
Commit mwlwifi driver 10.3.0.3
1. Modified the code in order to be accepted by linux wireless.
2. Let Tx thread be more modularized.
3. Fixed issue #20.
Note: Please check hostapd sample configuration files to know current setting for vht_capab.
Signed-off-by: David Lin <dlin@marvell.com>
Diffstat (limited to 'sysadpt.h')
-rw-r--r-- | sysadpt.h | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/sysadpt.h b/sysadpt.h new file mode 100644 index 0000000..eb6fa86 --- /dev/null +++ b/sysadpt.h @@ -0,0 +1,61 @@ +/* + * Copyright (C) 2006-2015, Marvell International Ltd. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + */ + +/* Description: This file defines system adaptation related information. + */ + +#ifndef _mwl_sysadpt_h_ +#define _mwl_sysadpt_h_ + +#define SYSADPT_MAX_NUM_CHANNELS 64 + +#define SYSADPT_MAX_DATA_RATES_G 14 + +#define SYSADPT_TX_POWER_LEVEL_TOTAL 16 + +#define SYSADPT_TX_WMM_QUEUES 4 + +#define SYSADPT_TX_AMPDU_QUEUES 4 + +#define SYSADPT_NUM_OF_AP 16 + +#define SYSADPT_TOTAL_TX_QUEUES (SYSADPT_TX_WMM_QUEUES + \ + SYSADPT_NUM_OF_AP) + +#define SYSADPT_TOTAL_HW_QUEUES (SYSADPT_TX_WMM_QUEUES + \ + SYSADPT_TX_AMPDU_QUEUES) + +#define SYSADPT_NUM_OF_DESC_DATA (4 + SYSADPT_NUM_OF_AP) + +#define SYSADPT_MAX_NUM_TX_DESC 256 + +#define SYSADPT_TX_QUEUE_LIMIT 1024 + +#define SYSADPT_DELAY_FREE_Q_LIMIT SYSADPT_MAX_NUM_TX_DESC + +#define SYSADPT_MAX_NUM_RX_DESC 256 + +#define SYSADPT_RECEIVE_LIMIT 64 + +#define SYSADPT_MAX_AGGR_SIZE 8192 + +#define SYSADPT_MIN_BYTES_HEADROOM 64 + +#define SYSADPT_AMPDU_PACKET_THRESHOLD 64 + +#define SYSADPT_AMSDU_MAX_SIZE 3300 + +#define SYSADPT_AMSDU_ALLOW_SIZE 1540 + +#define SYSADPT_AMSDU_FLUSH_TIME 500 + +#define SYSADPT_AMSDU_PACKET_THRESHOLD 10 + +#define SYSADPT_MAX_TID 8 + +#endif /* _mwl_sysadpt_h_ */ |