2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-28 07:04:00 +08:00
linux-next/drivers/net/wireless/ti
Arik Nemtsov 6639611467 wlcore: add stop reason bitmap for waking/starting queues
Allow the driver to wake/stop the queues for multiple reasons. A queue
is started when no stop-reasons exist.

Convert all wake/stop queue calls to use the new API.

Before, a stopped queue was almost synonymous a high-watermark on Tx.
Remove a bit of code in wl12xx_tx_reset() that relied on it.

Internal packets arriving from mac80211 are also discarded when a queue
is stopped. A notable exception to this is the watermark reason, which
is a "soft"-stop reason. We allow traffic to gradually come to a halt,
but we don't mind spurious packets here and there. This is merely a flow
regulation mechanism.

Based on a similar patch by Eliad Peller <eliadWizery.com>.

Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
2012-06-06 19:28:05 +03:00
..
wl12xx wlcore/wl12xx/wl18xx: handle spare blocks spacial cases per arch 2012-06-06 19:28:05 +03:00
wl18xx wlcore/wl12xx/wl18xx: handle spare blocks spacial cases per arch 2012-06-06 19:28:05 +03:00
wl1251 wl1251: fix oops on early interrupt 2012-05-25 11:16:16 -04:00
wlcore wlcore: add stop reason bitmap for waking/starting queues 2012-06-06 19:28:05 +03:00
Kconfig wl18xx: add new module 2012-06-05 15:54:04 +03:00
Makefile wl18xx: add new module 2012-06-05 15:54:04 +03:00