diff options
author | Liad Kaufman <liad.kaufman@intel.com> | 2015-12-23 09:03:46 -0500 |
---|---|---|
committer | Luca Coelho <luciano.coelho@intel.com> | 2016-08-30 07:16:34 -0400 |
commit | 9f9af3d7d303a5f622ceb219bd03bba3af553e76 (patch) | |
tree | 2c935456fd5d41ed9be2381adeb2be29913ddc87 /drivers/net/wireless/intel/iwlwifi/mvm/utils.c | |
parent | d975d72016bb2540eff3018c3c0dd96688711748 (diff) |
iwlwifi: mvm: re-aggregate shared queue after unsharing
When a shared queue becomes unshared, aggregations should be
re-enabled if they've existed before. Make sure that they do
this, if required.
Signed-off-by: Liad Kaufman <liad.kaufman@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/mvm/utils.c')
-rw-r--r-- | drivers/net/wireless/intel/iwlwifi/mvm/utils.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/utils.c b/drivers/net/wireless/intel/iwlwifi/mvm/utils.c index 68f4e7fdfc11..dae64a67a531 100644 --- a/drivers/net/wireless/intel/iwlwifi/mvm/utils.c +++ b/drivers/net/wireless/intel/iwlwifi/mvm/utils.c | |||
@@ -1131,7 +1131,13 @@ static void iwl_mvm_remove_inactive_tids(struct iwl_mvm *mvm, | |||
1131 | BIT(mvmsta->vif->hw_queue[tid_to_mac80211_ac[tid]]); | 1131 | BIT(mvmsta->vif->hw_queue[tid_to_mac80211_ac[tid]]); |
1132 | } | 1132 | } |
1133 | 1133 | ||
1134 | /* TODO: if queue was shared - need to re-enable AGGs */ | 1134 | /* If the queue is marked as shared - "unshare" it */ |
1135 | if (mvm->queue_info[queue].hw_queue_refcount == 1 && | ||
1136 | mvm->queue_info[queue].status == IWL_MVM_QUEUE_SHARED) { | ||
1137 | mvm->queue_info[queue].status = IWL_MVM_QUEUE_RECONFIGURING; | ||
1138 | IWL_DEBUG_TX_QUEUES(mvm, "Marking Q:%d for reconfig\n", | ||
1139 | queue); | ||
1140 | } | ||
1135 | } | 1141 | } |
1136 | 1142 | ||
1137 | void iwl_mvm_inactivity_check(struct iwl_mvm *mvm) | 1143 | void iwl_mvm_inactivity_check(struct iwl_mvm *mvm) |