linux/drivers/net/wireless/intel/iwlwifi/mvm
Johannes Berg 192a7e1f73 iwlwifi: mvm: IBSS: use BE FIFO for multicast
Back in commit 4d339989ac ("iwlwifi: mvm: support ibss in dqa mode")
we changed queue selection for IBSS to be:

    if (ieee80211_is_probe_resp(fc) || ieee80211_is_auth(fc) ||
        ieee80211_is_deauth(fc))
            return IWL_MVM_DQA_AP_PROBE_RESP_QUEUE;
    if (info->hw_queue == info->control.vif->cab_queue)
            return info->hw_queue;
    return IWL_MVM_DQA_AP_PROBE_RESP_QUEUE;

Clearly, the thought at the time must've been that mac80211 will
select the hw_queue as the cab_queue, so that we'll return and use
that, where we store the multicast queue for IBSS. This, however,
isn't true because mac80211 doesn't implement powersave for IBSS
and thus selects the normal IBSS interface AC queue (best effort).

This therefore always used the probe response queue, which maps to
the BE FIFO.

In commit cfbc6c4c5b ("iwlwifi: mvm: support mac80211 TXQs model")
we rethought this code, and as a consequence now started mapping the
multicast traffic to the multicast hardware queue since we no longer
relied on mac80211 selecting the queue, doing it ourselves instead.
This queue is mapped to the MCAST FIFO. however, this isn't actually
enabled/controlled by the firmware in IBSS mode because we don't
implement powersave, and frames from this queue can never go out in
this case.

Therefore, we got queue hang reports such as
https://bugzilla.kernel.org/show_bug.cgi?id=201707

Fix this by mapping the multicast queue to the BE FIFO in IBSS so
that all the frames can go out.

Fixes: cfbc6c4c5b ("iwlwifi: mvm: support mac80211 TXQs model")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
2019-04-03 11:19:59 +03:00
..
binding.c iwlwifi: remove all occurrences of the FSF address paragraph 2018-08-31 11:38:33 +03:00
coex.c iwlwifi: mvm: simplify some return conditions 2019-02-04 12:27:18 +02:00
constants.h iwlwifi: mvm: support non-transmitting AP 2019-02-20 20:47:57 +02:00
d3.c iwlwifi: mvm: use dump worker during restart instead of sync dump 2019-03-22 12:59:41 +02:00
debugfs-vif.c iwlwifi: mvm: disable completely low latency mode with debugfs 2019-01-29 16:10:32 +02:00
debugfs.c iwlwifi: dbg_ini: separate between ini and legacy dump flows 2019-03-22 12:59:41 +02:00
debugfs.h iwlwifi: remove all occurrences of the FSF address paragraph 2018-08-31 11:38:33 +03:00
ftm-initiator.c iwlwifi: fix 64-bit division 2019-03-07 19:15:06 +02:00
ftm-responder.c iwlwifi: mvm: support FTM responder 2019-02-14 11:29:43 +02:00
fw-api.h iwlwifi: mvm: add location APIs 2019-01-29 16:10:31 +02:00
fw.c iwlwifi: fix false-positive maybe-uninitialized warning 2019-02-20 20:47:54 +02:00
led.c iwlwifi: mvm: add fall through comments where needed 2019-02-04 12:27:20 +02:00
mac80211.c iwlwifi: mvm: use dump worker during restart instead of sync dump 2019-03-22 12:59:41 +02:00
mac-ctxt.c iwlwifi: mvm: disconnect in case of bad channel switch parameters 2019-03-22 12:59:40 +02:00
Makefile iwlwifi: mvm: support FTM initiator 2019-02-14 11:29:43 +02:00
mvm.h iwlwifi: mvm: use dump worker during restart instead of sync dump 2019-03-22 12:59:41 +02:00
nvm.c iwlwifi: mvm: save and export regdb blob from the NVM 2019-01-29 16:10:30 +02:00
offloading.c iwlwifi: remove all occurrences of the FSF address paragraph 2018-08-31 11:38:33 +03:00
ops.c iwlwifi: dbg_ini: support HW error trigger 2019-04-03 11:19:56 +03:00
phy-ctxt.c iwlwifi: mvm: add fall through comments where needed 2019-02-04 12:27:20 +02:00
power.c iwlwifi: mvm: add support for 32kHz external clock indication 2019-02-14 11:29:47 +02:00
quota.c iwlwifi: remove all occurrences of the FSF address paragraph 2018-08-31 11:38:33 +03:00
rs-fw.c iwlwifi: mvm: set max amsdu for TLC offload 2019-03-22 12:59:41 +02:00
rs.c iwlwifi: mvm: implement VHT extended NSS support in rs.c 2019-02-20 20:47:59 +02:00
rs.h iwlwifi: mvm: always init rs_fw with 20MHz bandwidth rates 2018-08-31 11:38:38 +03:00
rx.c iwlwifi: mvm: add fall through comments where needed 2019-02-04 12:27:20 +02:00
rxmq.c iwlwifi: mvm: report all NO_DATA events to mac80211 2019-03-22 12:59:39 +02:00
scan.c iwlwifi: mvm: be more forgiving if num of channels is too big 2019-03-22 12:59:40 +02:00
sf.c iwlwifi: mvm: make num_active_macs unsigned 2019-01-25 20:57:21 +02:00
sta.c iwlwifi: mvm: IBSS: use BE FIFO for multicast 2019-04-03 11:19:59 +03:00
sta.h iwlwifi: mvm: fix AP mode in WEP 2019-02-04 12:27:20 +02:00
tdls.c iwlwifi: mvm: Change FW channel info API 2019-01-29 16:10:32 +02:00
testmode.h iwlwifi: remove all occurrences of the FSF address paragraph 2018-08-31 11:38:33 +03:00
time-event.c iwlwifi: mvm: disconnect in case of bad channel switch parameters 2019-03-22 12:59:40 +02:00
time-event.h iwlwifi: remove all occurrences of the FSF address paragraph 2018-08-31 11:38:33 +03:00
tt.c iwlwifi: remove all occurrences of the FSF address paragraph 2018-08-31 11:38:33 +03:00
tx.c iwlwifi: mvm: add some debug data to TX path 2019-02-20 20:47:59 +02:00
utils.c iwlwifi: receive umac and lmac error table addresses from TLVs 2019-02-14 11:29:45 +02:00