OSDN Git Service

iwlwifi: mvm: enable dynamic queue allocation mode
authorLiad Kaufman <liad.kaufman@intel.com>
Thu, 22 Sep 2016 11:41:28 +0000 (14:41 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Wed, 26 Oct 2016 07:27:44 +0000 (10:27 +0300)
New firmwares support dynamic queue allocation (DQA), which enables
on-demand allocation of queues per RA/TID, instead of allocating them
statically per vif.  This allows an AP to send, for instance, BE
traffic to STA2 even if it also needs to send traffic to a sleeping
STA1, without being blocked by the sleeping station.

The implementation in the driver is now ready, so we can enable this
feature by default when running firmwares that support it.

Signed-off-by: Liad Kaufman <liad.kaufman@intel.com>
[reworded the commit message]
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/mvm.h

index 726ba48..cde8c6c 100644 (file)
@@ -1111,9 +1111,8 @@ static inline bool iwl_mvm_is_d0i3_supported(struct iwl_mvm *mvm)
 
 static inline bool iwl_mvm_is_dqa_supported(struct iwl_mvm *mvm)
 {
-       /* Make sure DQA isn't allowed in driver until feature is complete */
-       return false && fw_has_capa(&mvm->fw->ucode_capa,
-                                   IWL_UCODE_TLV_CAPA_DQA_SUPPORT);
+       return fw_has_capa(&mvm->fw->ucode_capa,
+                          IWL_UCODE_TLV_CAPA_DQA_SUPPORT);
 }
 
 static inline bool iwl_mvm_enter_d0i3_on_suspend(struct iwl_mvm *mvm)