diff options
Diffstat (limited to 'drivers/net/wireless/bcmdhd/bcmwifi_rates.h')
-rw-r--r-- | drivers/net/wireless/bcmdhd/bcmwifi_rates.h | 74 |
1 files changed, 48 insertions, 26 deletions
diff --git a/drivers/net/wireless/bcmdhd/bcmwifi_rates.h b/drivers/net/wireless/bcmdhd/bcmwifi_rates.h index 213fb93..38d339b 100644 --- a/drivers/net/wireless/bcmdhd/bcmwifi_rates.h +++ b/drivers/net/wireless/bcmdhd/bcmwifi_rates.h @@ -1,7 +1,7 @@ /* * Indices for 802.11 a/b/g/n/ac 1-3 chain symmetric transmit rates * - * Copyright (C) 1999-2012, Broadcom Corporation + * Copyright (C) 1999-2014, Broadcom Corporation * * Unless you and Broadcom execute a separate written software license * agreement governing use of this software, this software is licensed to you @@ -29,7 +29,7 @@ #ifdef __cplusplus extern "C" { -#endif +#endif /* __cplusplus */ #define WL_RATESET_SZ_DSSS 4 @@ -39,21 +39,28 @@ extern "C" { #define WL_TX_CHAINS_MAX 3 -#define WL_RATE_DISABLED (-128) - +#define WL_RATE_DISABLED (-128) /* Power value corresponding to unsupported rate */ +/* Transmit channel bandwidths */ typedef enum wl_tx_bw { WL_TX_BW_20, WL_TX_BW_40, WL_TX_BW_80, + WL_TX_BW_160, WL_TX_BW_20IN40, WL_TX_BW_20IN80, WL_TX_BW_40IN80, + WL_TX_BW_20IN160, + WL_TX_BW_40IN160, + WL_TX_BW_80IN160, WL_TX_BW_ALL } wl_tx_bw_t; - +/* + * Transmit modes. + * Not all modes are listed here, only those required for disambiguation. e.g. SPEXP is not listed + */ typedef enum wl_tx_mode { WL_TX_MODE_NONE, WL_TX_MODE_STBC, @@ -63,7 +70,7 @@ typedef enum wl_tx_mode { } wl_tx_mode_t; - +/* Number of transmit chains */ typedef enum wl_tx_chains { WL_TX_CHAINS_1 = 1, WL_TX_CHAINS_2, @@ -71,7 +78,7 @@ typedef enum wl_tx_chains { } wl_tx_chains_t; - +/* Number of transmit streams */ typedef enum wl_tx_nss { WL_TX_NSS_1 = 1, WL_TX_NSS_2, @@ -80,9 +87,12 @@ typedef enum wl_tx_nss { typedef enum clm_rates { - + /************ + * 1 chain * + ************ + */ - + /* 1 Stream */ WL_RATE_1X1_DSSS_1 = 0, WL_RATE_1X1_DSSS_2 = 1, WL_RATE_1X1_DSSS_5_5 = 2, @@ -118,9 +128,12 @@ typedef enum clm_rates { WL_RATE_1X1_VHT9SS1 = 21, - + /************ + * 2 chains * + ************ + */ - + /* 1 Stream expanded + 1 */ WL_RATE_1X2_DSSS_1 = 22, WL_RATE_1X2_DSSS_2 = 23, WL_RATE_1X2_DSSS_5_5 = 24, @@ -155,7 +168,7 @@ typedef enum clm_rates { WL_RATE_1X2_VHT8SS1 = 42, WL_RATE_1X2_VHT9SS1 = 43, - + /* 2 Streams */ WL_RATE_2X2_STBC_MCS0 = 44, WL_RATE_2X2_STBC_MCS1 = 45, WL_RATE_2X2_STBC_MCS2 = 46, @@ -196,9 +209,12 @@ typedef enum clm_rates { WL_RATE_2X2_VHT8SS2 = 62, WL_RATE_2X2_VHT9SS2 = 63, - + /************ + * 3 chains * + ************ + */ - + /* 1 Stream expanded + 2 */ WL_RATE_1X3_DSSS_1 = 64, WL_RATE_1X3_DSSS_2 = 65, WL_RATE_1X3_DSSS_5_5 = 66, @@ -233,7 +249,7 @@ typedef enum clm_rates { WL_RATE_1X3_VHT8SS1 = 84, WL_RATE_1X3_VHT9SS1 = 85, - + /* 2 Streams expanded + 1 */ WL_RATE_2X3_STBC_MCS0 = 86, WL_RATE_2X3_STBC_MCS1 = 87, WL_RATE_2X3_STBC_MCS2 = 88, @@ -274,7 +290,7 @@ typedef enum clm_rates { WL_RATE_2X3_VHT8SS2 = 104, WL_RATE_2X3_VHT9SS2 = 105, - + /* 3 Streams */ WL_RATE_3X3_SDM_MCS16 = 106, WL_RATE_3X3_SDM_MCS17 = 107, WL_RATE_3X3_SDM_MCS18 = 108, @@ -296,9 +312,12 @@ typedef enum clm_rates { WL_RATE_3X3_VHT9SS3 = 115, - + /**************************** + * TX Beamforming, 2 chains * + **************************** + */ - + /* 1 Stream expanded + 1 */ WL_RATE_1X2_TXBF_OFDM_6 = 116, WL_RATE_1X2_TXBF_OFDM_9 = 117, @@ -329,7 +348,7 @@ typedef enum clm_rates { WL_RATE_1X2_TXBF_VHT8SS1 = 132, WL_RATE_1X2_TXBF_VHT9SS1 = 133, - + /* 2 Streams */ WL_RATE_2X2_TXBF_SDM_MCS8 = 134, WL_RATE_2X2_TXBF_SDM_MCS9 = 135, @@ -350,9 +369,12 @@ typedef enum clm_rates { WL_RATE_2X2_TXBF_VHT7SS2 = 141, - + /**************************** + * TX Beamforming, 3 chains * + **************************** + */ - + /* 1 Stream expanded + 2 */ WL_RATE_1X3_TXBF_OFDM_6 = 142, WL_RATE_1X3_TXBF_OFDM_9 = 143, @@ -383,7 +405,7 @@ typedef enum clm_rates { WL_RATE_1X3_TXBF_VHT8SS1 = 158, WL_RATE_1X3_TXBF_VHT9SS1 = 159, - + /* 2 Streams expanded + 1 */ WL_RATE_2X3_TXBF_SDM_MCS8 = 160, WL_RATE_2X3_TXBF_SDM_MCS9 = 161, @@ -405,7 +427,7 @@ typedef enum clm_rates { WL_RATE_2X3_TXBF_VHT8SS2 = 168, WL_RATE_2X3_TXBF_VHT9SS2 = 169, - + /* 3 Streams */ WL_RATE_3X3_TXBF_SDM_MCS16 = 170, WL_RATE_3X3_TXBF_SDM_MCS17 = 171, @@ -426,11 +448,11 @@ typedef enum clm_rates { WL_RATE_3X3_TXBF_VHT7SS3 = 177 } clm_rates_t; - +/* Number of rate codes */ #define WL_NUMRATES 178 #ifdef __cplusplus } -#endif +#endif /* __cplusplus */ -#endif +#endif /* _bcmwifi_rates_h_ */ |