linux_dsm_epyc7002/drivers/net/wireless
Emmanuel Grumbach 1ba42da479 iwlwifi: we can wake SW queues even when draining HW queues
In the very first implementation of HT, the driver was responsible
for the queueing: stopping and waking the queues while the HW queues
where being drained. In this implementation, we had to deal with the
case where we were draining the AGG queue because we wanted to tear
down the BA agreement.
In the normal flow (when we don't drain any HW queue), when packets
are reclaimed, we wake the SW queue in case the SW queue was stopped
which can happen when the HW queues are too full.
While draining a HW queue, we must make sure that we don't wake the
SW queue, since the whole point of the draining is to empty totally
the HW queue and not only get below a certain threshold.
This is why there is condition in the reclaim function:

if (NOT EMPTYING DELBA)
	wake the SW queue is applicable

Since then, a lot has changed and mac80211 is now able to buffer
packets that are being sent to a packet list that will be spliced
after the driver has reported it has drained its HW queues.
Hence, there is no need for the for aforementioned if, and we can
safely wake up the queue even if we are draining HW queues.
Removing this if, also allows us to remove the wake_queue in
check_empty that was there in order to deal with a corner case
created by the if.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
2011-12-16 07:22:38 -08:00
..
ath ath9k: Support RSN Mesh 2011-12-16 09:30:43 -05:00
b43 b43: N-PHY: check for bustype before touching BCMA CC PLLs 2011-12-15 14:47:45 -05:00
b43legacy
brcm80211 brcm80211: smac: precendence bug in wlc_phy_attach() 2011-12-15 14:46:38 -05:00
hostap
ipw2x00
iwlegacy
iwlwifi iwlwifi: we can wake SW queues even when draining HW queues 2011-12-16 07:22:38 -08:00
iwmc3200wifi
libertas
libertas_tf
mwifiex mwifiex: remove cfg_workqueue 2011-12-14 14:50:11 -05:00
orinoco
p54
prism54
rt2x00 rt2x00: Make use of ieee80211_free_txskb in tx path 2011-12-14 14:50:11 -05:00
rtl818x
rtlwifi Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless 2011-12-14 14:35:41 -05:00
wl12xx wl12xx: alloc buffer in driver_state_read to prevent compilation warning 2011-12-15 16:11:29 +02:00
wl1251
zd1211rw
adm8211.c
adm8211.h
airo_cs.c
airo.c
airo.h
at76c50x-usb.c
at76c50x-usb.h
atmel_cs.c
atmel_pci.c
atmel.c
atmel.h
Kconfig
mac80211_hwsim.c mac80211_hwsim: fix wmediumd_pid 2011-12-16 09:30:42 -05:00
mac80211_hwsim.h
Makefile
mwl8k.c
ray_cs.c
ray_cs.h
rayctl.h
rndis_wlan.c
wl3501_cs.c
wl3501.h
zd1201.c
zd1201.h