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/power.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/power.c')
-rw-r--r-- | drivers/net/wireless/intel/iwlwifi/mvm/power.c | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/power.c b/drivers/net/wireless/intel/iwlwifi/mvm/power.c index ff85865b1dda..af6d10c23e5a 100644 --- a/drivers/net/wireless/intel/iwlwifi/mvm/power.c +++ b/drivers/net/wireless/intel/iwlwifi/mvm/power.c | |||
@@ -694,8 +694,7 @@ static void iwl_mvm_power_set_pm(struct iwl_mvm *mvm, | |||
694 | 694 | ||
695 | /* enable PM on p2p if p2p stand alone */ | 695 | /* enable PM on p2p if p2p stand alone */ |
696 | if (vifs->p2p_active && !vifs->bss_active && !vifs->ap_active) { | 696 | if (vifs->p2p_active && !vifs->bss_active && !vifs->ap_active) { |
697 | if (mvm->fw->ucode_capa.flags & IWL_UCODE_TLV_FLAGS_P2P_PM) | 697 | p2p_mvmvif->pm_enabled = true; |
698 | p2p_mvmvif->pm_enabled = true; | ||
699 | return; | 698 | return; |
700 | } | 699 | } |
701 | 700 | ||
@@ -707,12 +706,10 @@ static void iwl_mvm_power_set_pm(struct iwl_mvm *mvm, | |||
707 | ap_mvmvif->phy_ctxt->id); | 706 | ap_mvmvif->phy_ctxt->id); |
708 | 707 | ||
709 | /* clients are not stand alone: enable PM if DCM */ | 708 | /* clients are not stand alone: enable PM if DCM */ |
710 | if (!(client_same_channel || ap_same_channel) && | 709 | if (!(client_same_channel || ap_same_channel)) { |
711 | (mvm->fw->ucode_capa.flags & IWL_UCODE_TLV_FLAGS_BSS_P2P_PS_DCM)) { | ||
712 | if (vifs->bss_active) | 710 | if (vifs->bss_active) |
713 | bss_mvmvif->pm_enabled = true; | 711 | bss_mvmvif->pm_enabled = true; |
714 | if (vifs->p2p_active && | 712 | if (vifs->p2p_active) |
715 | (mvm->fw->ucode_capa.flags & IWL_UCODE_TLV_FLAGS_P2P_PM)) | ||
716 | p2p_mvmvif->pm_enabled = true; | 713 | p2p_mvmvif->pm_enabled = true; |
717 | return; | 714 | return; |
718 | } | 715 | } |
@@ -721,12 +718,10 @@ static void iwl_mvm_power_set_pm(struct iwl_mvm *mvm, | |||
721 | * There is only one channel in the system and there are only | 718 | * There is only one channel in the system and there are only |
722 | * bss and p2p clients that share it | 719 | * bss and p2p clients that share it |
723 | */ | 720 | */ |
724 | if (client_same_channel && !vifs->ap_active && | 721 | if (client_same_channel && !vifs->ap_active) { |
725 | (mvm->fw->ucode_capa.flags & IWL_UCODE_TLV_FLAGS_BSS_P2P_PS_SCM)) { | ||
726 | /* share same channel*/ | 722 | /* share same channel*/ |
727 | bss_mvmvif->pm_enabled = true; | 723 | bss_mvmvif->pm_enabled = true; |
728 | if (mvm->fw->ucode_capa.flags & IWL_UCODE_TLV_FLAGS_P2P_PM) | 724 | p2p_mvmvif->pm_enabled = true; |
729 | p2p_mvmvif->pm_enabled = true; | ||
730 | } | 725 | } |
731 | } | 726 | } |
732 | 727 | ||