diff options
author | Luca Coelho <luciano.coelho@intel.com> | 2016-09-12 09:03:30 -0400 |
---|---|---|
committer | Luca Coelho <luciano.coelho@intel.com> | 2016-09-26 16:15:14 -0400 |
commit | 4b87e5af638b6056bd6c20b0954d09a5a58633be (patch) | |
tree | 2baa984915add41770a7087e68ba266413f02706 /drivers/net/wireless/intel/iwlwifi/mvm/ops.c | |
parent | 7f66ea03644e197a29af5a00a6e26ff120d8edd0 (diff) |
iwlwifi: remove support for fw older than -17 and -22
FW versions older than -17 for 3160 and 7260 and older than -22 for
newer NICs are not supported anymore. Don't load these versions
and remove code that handles them.
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/mvm/ops.c')
-rw-r--r-- | drivers/net/wireless/intel/iwlwifi/mvm/ops.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/ops.c b/drivers/net/wireless/intel/iwlwifi/mvm/ops.c index 6c08aa3fd2df..05fe6dd1a2c8 100644 --- a/drivers/net/wireless/intel/iwlwifi/mvm/ops.c +++ b/drivers/net/wireless/intel/iwlwifi/mvm/ops.c | |||
@@ -653,11 +653,9 @@ iwl_op_mode_mvm_start(struct iwl_trans *trans, const struct iwl_cfg *cfg, | |||
653 | /* the hardware splits the A-MSDU */ | 653 | /* the hardware splits the A-MSDU */ |
654 | if (mvm->cfg->mq_rx_supported) | 654 | if (mvm->cfg->mq_rx_supported) |
655 | trans_cfg.rx_buf_size = IWL_AMSDU_4K; | 655 | trans_cfg.rx_buf_size = IWL_AMSDU_4K; |
656 | trans->wide_cmd_header = fw_has_api(&mvm->fw->ucode_capa, | ||
657 | IWL_UCODE_TLV_API_WIDE_CMD_HDR); | ||
658 | 656 | ||
659 | if (mvm->fw->ucode_capa.flags & IWL_UCODE_TLV_FLAGS_DW_BC_TABLE) | 657 | trans->wide_cmd_header = true; |
660 | trans_cfg.bc_table_dword = true; | 658 | trans_cfg.bc_table_dword = true; |
661 | 659 | ||
662 | trans_cfg.command_groups = iwl_mvm_groups; | 660 | trans_cfg.command_groups = iwl_mvm_groups; |
663 | trans_cfg.command_groups_size = ARRAY_SIZE(iwl_mvm_groups); | 661 | trans_cfg.command_groups_size = ARRAY_SIZE(iwl_mvm_groups); |