aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-8000.c
diff options
context:
space:
mode:
authorEran Harary <eran.harary@intel.com>2014-09-30 00:42:06 -0400
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>2014-11-23 12:57:30 -0500
commitc064ddf318aa51647a30108f7cd151c208c62eef (patch)
tree6a11b6c4e3965680d66a269636c2223ef5790183 /drivers/net/wireless/iwlwifi/iwl-8000.c
parent66dc527296d8b3061cb7368927b5233f886c6f83 (diff)
iwlwifi: change max HT and VHT A-MPDU exponent
Add two new parameters to iwl_cfg: max_ht_ampdu_exponent and max_vht_ampdu_exponent. These parameters, if set, will set new values to the maximum of HT and VHT A-MPDU exponent for the A-MPDU length exponent. Signed-off-by: Eran Harary <eran.harary@intel.com> Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-8000.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-8000.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-8000.c b/drivers/net/wireless/iwlwifi/iwl-8000.c
index 896ea906549c..091975905cb6 100644
--- a/drivers/net/wireless/iwlwifi/iwl-8000.c
+++ b/drivers/net/wireless/iwlwifi/iwl-8000.c
@@ -91,6 +91,10 @@
91/* Max SDIO RX aggregation size of the ADDBA request/response */ 91/* Max SDIO RX aggregation size of the ADDBA request/response */
92#define MAX_RX_AGG_SIZE_8260_SDIO 28 92#define MAX_RX_AGG_SIZE_8260_SDIO 28
93 93
94/* Max A-MPDU exponent for HT and VHT */
95#define MAX_HT_AMPDU_EXPONENT_8260_SDIO IEEE80211_HT_MAX_AMPDU_32K
96#define MAX_VHT_AMPDU_EXPONENT_8260_SDIO IEEE80211_VHT_MAX_AMPDU_32K
97
94static const struct iwl_base_params iwl8000_base_params = { 98static const struct iwl_base_params iwl8000_base_params = {
95 .eeprom_size = OTP_LOW_IMAGE_SIZE_FAMILY_8000, 99 .eeprom_size = OTP_LOW_IMAGE_SIZE_FAMILY_8000,
96 .num_of_queues = IWLAGN_NUM_QUEUES, 100 .num_of_queues = IWLAGN_NUM_QUEUES,
@@ -137,6 +141,7 @@ const struct iwl_cfg iwl8260_2ac_cfg = {
137 .ht_params = &iwl8000_ht_params, 141 .ht_params = &iwl8000_ht_params,
138 .nvm_ver = IWL8000_NVM_VERSION, 142 .nvm_ver = IWL8000_NVM_VERSION,
139 .nvm_calib_ver = IWL8000_TX_POWER_VERSION, 143 .nvm_calib_ver = IWL8000_TX_POWER_VERSION,
144 .max_ht_ampdu_exponent = IEEE80211_HT_MAX_AMPDU_64K,
140}; 145};
141 146
142const struct iwl_cfg iwl8260_2ac_sdio_cfg = { 147const struct iwl_cfg iwl8260_2ac_sdio_cfg = {
@@ -149,6 +154,8 @@ const struct iwl_cfg iwl8260_2ac_sdio_cfg = {
149 .default_nvm_file = DEFAULT_NVM_FILE_FAMILY_8000, 154 .default_nvm_file = DEFAULT_NVM_FILE_FAMILY_8000,
150 .max_rx_agg_size = MAX_RX_AGG_SIZE_8260_SDIO, 155 .max_rx_agg_size = MAX_RX_AGG_SIZE_8260_SDIO,
151 .disable_dummy_notification = true, 156 .disable_dummy_notification = true,
157 .max_ht_ampdu_exponent = MAX_HT_AMPDU_EXPONENT_8260_SDIO,
158 .max_vht_ampdu_exponent = MAX_VHT_AMPDU_EXPONENT_8260_SDIO,
152}; 159};
153 160
154MODULE_FIRMWARE(IWL8000_MODULE_FIRMWARE(IWL8000_UCODE_API_OK)); 161MODULE_FIRMWARE(IWL8000_MODULE_FIRMWARE(IWL8000_UCODE_API_OK));