|
@@ -1309,8 +1309,9 @@ int iwl_mvm_add_aux_sta(struct iwl_mvm *mvm)
|
|
lockdep_assert_held(&mvm->mutex);
|
|
lockdep_assert_held(&mvm->mutex);
|
|
|
|
|
|
/* Map Aux queue to fifo - needs to happen before adding Aux station */
|
|
/* Map Aux queue to fifo - needs to happen before adding Aux station */
|
|
- iwl_mvm_enable_ac_txq(mvm, mvm->aux_queue, mvm->aux_queue,
|
|
|
|
- IWL_MVM_TX_FIFO_MCAST, 0, wdg_timeout);
|
|
|
|
|
|
+ if (!iwl_mvm_is_dqa_supported(mvm))
|
|
|
|
+ iwl_mvm_enable_ac_txq(mvm, mvm->aux_queue, mvm->aux_queue,
|
|
|
|
+ IWL_MVM_TX_FIFO_MCAST, 0, wdg_timeout);
|
|
|
|
|
|
/* Allocate aux station and assign to it the aux queue */
|
|
/* Allocate aux station and assign to it the aux queue */
|
|
ret = iwl_mvm_allocate_int_sta(mvm, &mvm->aux_sta, BIT(mvm->aux_queue),
|
|
ret = iwl_mvm_allocate_int_sta(mvm, &mvm->aux_sta, BIT(mvm->aux_queue),
|
|
@@ -1318,6 +1319,19 @@ int iwl_mvm_add_aux_sta(struct iwl_mvm *mvm)
|
|
if (ret)
|
|
if (ret)
|
|
return ret;
|
|
return ret;
|
|
|
|
|
|
|
|
+ if (iwl_mvm_is_dqa_supported(mvm)) {
|
|
|
|
+ struct iwl_trans_txq_scd_cfg cfg = {
|
|
|
|
+ .fifo = IWL_MVM_TX_FIFO_MCAST,
|
|
|
|
+ .sta_id = mvm->aux_sta.sta_id,
|
|
|
|
+ .tid = IWL_MAX_TID_COUNT,
|
|
|
|
+ .aggregate = false,
|
|
|
|
+ .frame_limit = IWL_FRAME_LIMIT,
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ iwl_mvm_enable_txq(mvm, mvm->aux_queue, mvm->aux_queue, 0, &cfg,
|
|
|
|
+ wdg_timeout);
|
|
|
|
+ }
|
|
|
|
+
|
|
ret = iwl_mvm_add_int_sta_common(mvm, &mvm->aux_sta, NULL,
|
|
ret = iwl_mvm_add_int_sta_common(mvm, &mvm->aux_sta, NULL,
|
|
MAC_INDEX_AUX, 0);
|
|
MAC_INDEX_AUX, 0);
|
|
|
|
|