|
|
@@ -447,13 +447,19 @@ static int iwl_mvm_mac_ctxt_allocate_resources(struct iwl_mvm *mvm,
|
|
|
|
|
|
/* Allocate the CAB queue for softAP and GO interfaces */
|
|
|
if (vif->type == NL80211_IFTYPE_AP) {
|
|
|
- u8 queue = find_first_zero_bit(&used_hw_queues,
|
|
|
- mvm->first_agg_queue);
|
|
|
+ u8 queue;
|
|
|
|
|
|
- if (queue >= mvm->first_agg_queue) {
|
|
|
- IWL_ERR(mvm, "Failed to allocate cab queue\n");
|
|
|
- ret = -EIO;
|
|
|
- goto exit_fail;
|
|
|
+ if (!iwl_mvm_is_dqa_supported(mvm)) {
|
|
|
+ queue = find_first_zero_bit(&used_hw_queues,
|
|
|
+ mvm->first_agg_queue);
|
|
|
+
|
|
|
+ if (queue >= mvm->first_agg_queue) {
|
|
|
+ IWL_ERR(mvm, "Failed to allocate cab queue\n");
|
|
|
+ ret = -EIO;
|
|
|
+ goto exit_fail;
|
|
|
+ }
|
|
|
+ } else {
|
|
|
+ queue = IWL_MVM_DQA_GCAST_QUEUE;
|
|
|
}
|
|
|
|
|
|
vif->cab_queue = queue;
|