linux/drivers/net/wireless
Miri Korenblit 658939fc68 wifi: iwlwifi: empty overflow queue during flush
If a TX queue has no space for new TX frames, the driver will keep
these frames in the overflow queue, and during reclaim flow it
will retry to send the frames from that queue.
But if the reclaim flow was invoked from TX queue flush, we will also
TX these frames, which is wrong as we don't want to TX anything
after flush.
This might also cause assert 0x125F when removing the queue,
saying that the driver removes a non-empty queue
Fix this by TXing the overflow queue's frames only if we are
not in flush queue flow.

Fixes: a445098058 ("iwlwifi: move reclaim flows to the queue file")
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20231022173519.caf06c8709d9.Ibf664ccb3f952e836f8fa461ea58fc08e5c46e88@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2023-10-23 12:49:30 +02:00
..
admtek
ath wifi: mac80211: rename ieee80211_tx_status() to ieee80211_tx_status_skb() 2023-10-23 12:26:51 +02:00
atmel wifi: atmel: remove unused ioctl function 2023-10-14 09:41:21 +03:00
broadcom wifi: mac80211: rename ieee80211_tx_status() to ieee80211_tx_status_skb() 2023-10-23 12:26:51 +02:00
cisco
intel wifi: iwlwifi: empty overflow queue during flush 2023-10-23 12:49:30 +02:00
intersil wifi: hostap: remove unused ioctl function 2023-10-14 09:41:22 +03:00
legacy
marvell
mediatek wifi: mac80211: rename ieee80211_tx_status() to ieee80211_tx_status_skb() 2023-10-23 12:26:51 +02:00
microchip wifi: wilc1000: use vmm_table as array in wilc struct 2023-10-19 10:30:34 +03:00
purelifi
quantenna
ralink wifi: mac80211: rename ieee80211_tx_status() to ieee80211_tx_status_skb() 2023-10-23 12:26:51 +02:00
realtek wifi: rtlwifi: drop chk_switch_dmdp() from HAL interface 2023-10-19 10:29:45 +03:00
rsi
silabs wifi: wfx: fix case where rates are out of order 2023-10-09 09:54:14 +03:00
st wifi: mac80211: rename ieee80211_tx_status() to ieee80211_tx_status_skb() 2023-10-23 12:26:51 +02:00
ti wifi: mac80211: rename ieee80211_tx_status() to ieee80211_tx_status_skb() 2023-10-23 12:26:51 +02:00
virtual
zydas
Kconfig
Makefile