mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-14 22:16:26 +07:00
iwlwifi: mvm: support MONITOR vif in DQA mode
In DQA mode the TXQs are allocated on demand, so make sure the sniffer STA tfd_queue_msk isn't set. Signed-off-by: Liad Kaufman <liad.kaufman@intel.com> Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
This commit is contained in:
parent
56214749e0
commit
737847aa2c
@ -899,9 +899,11 @@ static int iwl_mvm_mac_ctxt_cmd_listener(struct iwl_mvm *mvm,
|
|||||||
|
|
||||||
iwl_mvm_mac_ctxt_cmd_common(mvm, vif, &cmd, NULL, action);
|
iwl_mvm_mac_ctxt_cmd_common(mvm, vif, &cmd, NULL, action);
|
||||||
|
|
||||||
for (i = 0; i < IEEE80211_NUM_ACS; i++)
|
if (!iwl_mvm_is_dqa_supported(mvm)) {
|
||||||
if (vif->hw_queue[i] != IEEE80211_INVAL_HW_QUEUE)
|
for (i = 0; i < IEEE80211_NUM_ACS; i++)
|
||||||
tfd_queue_msk |= BIT(vif->hw_queue[i]);
|
if (vif->hw_queue[i] != IEEE80211_INVAL_HW_QUEUE)
|
||||||
|
tfd_queue_msk |= BIT(vif->hw_queue[i]);
|
||||||
|
}
|
||||||
|
|
||||||
cmd.filter_flags = cpu_to_le32(MAC_FILTER_IN_PROMISC |
|
cmd.filter_flags = cpu_to_le32(MAC_FILTER_IN_PROMISC |
|
||||||
MAC_FILTER_IN_CONTROL_AND_MGMT |
|
MAC_FILTER_IN_CONTROL_AND_MGMT |
|
||||||
|
Loading…
Reference in New Issue
Block a user