linux/drivers/net/wireless/b43
francesco.gringoli@ing.unibs.it bad6919469 b43: avoid packet losses in the dma worker code.
Following Rafal request, we verified that on "modern" CPUs using one
or more workers is equivalent. Here is patch V3 that addresses the
packet loss bug in the dma engine using only one worker.

-------

This patch addresses a bug in the dma worker code that keeps draining
packets even when the hardware queues are full. In such cases packets
can not be passed down to the device and are erroneusly dropped by the
code.

This problem was already discussed here

http://www.mail-archive.com/b43-dev@lists.infradead.org/msg01413.html

and acknowledged by Michael.

Number of hardware queues is now defined in b43.h (B43_QOS_QUEUE_NUM).

Acknowledgements to Riccardo Paolillo <riccardo.paolillo@gmail.com> and
Michele Orru <michele.orru@hotmail.it>

Signed-off-by: Francesco Gringoli <francesco.gringoli@ing.unibs.it>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2011-12-19 14:40:22 -05:00
..
b43.h b43: avoid packet losses in the dma worker code. 2011-12-19 14:40:22 -05:00
bus.c b43: add my copyrights and myself as the module author 2011-09-14 13:56:25 -04:00
bus.h b43: bus: add helpers for getting/setting wldev from/in bus core 2011-07-08 11:11:21 -04:00
debugfs.c Update my e-mail address 2011-07-07 15:18:01 +02:00
debugfs.h
dma.c b43: avoid packet losses in the dma worker code. 2011-12-19 14:40:22 -05:00
dma.h b43: use 8K buffers for 64-bit DMA to workaround hardware bug 2011-08-29 15:33:02 -04:00
Kconfig b43: make HT-PHY support experimental 2011-08-29 15:33:02 -04:00
leds.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2011-07-25 13:56:39 -07:00
leds.h
lo.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2011-07-25 13:56:39 -07:00
lo.h
main.c b43: avoid packet losses in the dma worker code. 2011-12-19 14:40:22 -05:00
main.h Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2011-07-25 13:56:39 -07:00
Makefile b43: LCN-PHY add place for new PHY support 2011-07-08 11:11:25 -04:00
pcmcia.c drivers/net: Add module.h to drivers who were implicitly using it 2011-10-31 19:31:07 -04:00
pcmcia.h
phy_a.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2011-07-25 13:56:39 -07:00
phy_a.h
phy_common.c b43: make forcing clock common (HT-PHY also uses that) 2011-08-22 14:45:59 -04:00
phy_common.h b43: make forcing clock common (HT-PHY also uses that) 2011-08-22 14:45:59 -04:00
phy_g.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2011-07-25 13:56:39 -07:00
phy_g.h
phy_ht.c b43: add my copyrights and myself as the module author 2011-09-14 13:56:25 -04:00
phy_ht.h b43: HT-PHY: read clip state 2011-08-26 10:47:57 -04:00
phy_lcn.c b43: LCN-PHY: minor clean ups 2011-09-27 14:34:02 -04:00
phy_lcn.h b43: LCN-PHY: finish sense setup 2011-09-19 16:10:14 -04:00
phy_lp.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2011-07-25 13:56:39 -07:00
phy_lp.h
phy_n.c b43: mark some vars __maybe_unused in b43_nphy_pmu_spur_avoid 2011-12-16 16:29:17 -05:00
phy_n.h b43: N-PHY: determine various PHY params 2011-12-13 15:33:53 -05:00
pio.c b43: correct warning for uninitialized variable 'macstat' 2011-08-26 10:47:57 -04:00
pio.h
radio_2055.c b43: add my copyrights and myself as the module author 2011-09-14 13:56:25 -04:00
radio_2055.h
radio_2056.c b43: N-PHY: finish 2.4GHz 0x2056 radio setup 2011-12-13 15:33:56 -05:00
radio_2056.h b43: N-PHY: finish 2.4GHz 0x2056 radio setup 2011-12-13 15:33:56 -05:00
radio_2059.c b43: add my copyrights and myself as the module author 2011-09-14 13:56:25 -04:00
radio_2059.h b43: HT-PHY: replace radio routing magic numbers 2011-06-29 15:11:01 -04:00
rfkill.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2011-07-25 13:56:39 -07:00
rfkill.h
sdio.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2011-07-25 13:56:39 -07:00
sdio.h
sysfs.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2011-07-25 13:56:39 -07:00
sysfs.h
tables.c Update my e-mail address 2011-07-07 15:18:01 +02:00
tables.h
tables_lpphy.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2011-07-25 13:56:39 -07:00
tables_lpphy.h
tables_nphy.c b43: N-PHY: workaround broken auto-increment on BCM43224 2011-12-13 15:47:48 -05:00
tables_nphy.h b43: N-PHY: add table for antenna software control 2011-12-13 15:33:50 -05:00
tables_phy_ht.c b43: add my copyrights and myself as the module author 2011-09-14 13:56:25 -04:00
tables_phy_ht.h b43: HT-PHY: allow writing longer tables with a single call 2011-08-23 16:14:19 -04:00
tables_phy_lcn.c b43: LCN-PHY: minor clean ups 2011-09-27 14:34:02 -04:00
tables_phy_lcn.h b43: LCN-PHY: load TX gain table on init 2011-09-14 13:56:26 -04:00
wa.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2011-07-25 13:56:39 -07:00
wa.h
xmit.c b43: HT-PHY: report signal to mac80211 2011-11-07 13:19:12 -05:00
xmit.h b43: HT-PHY: report signal to mac80211 2011-11-07 13:19:12 -05:00