android_kernel_xiaomi_sm8350/drivers/net/wireless/b43
Michael Buesch ba380013b6 b43: Add fastpath to b43_mac_suspend()
This adds a fastpath for the common workloads to the
MAC suspend flushing.
In common workloads the FIFO flush will take between 100 and
200 microseconds. So we want to avoid calling msleep() in the
common case, as it will waste over 800 microseconds + scheduler
overhead.

This fastpath will hit in workloads where only small chunks
of data are transmitted (downloading a file) or when a TX rate bigger
or equal to 24MBit/s is used when transmitting lots of stuff (iperf).
So in the commonly used workloads it will basically always hit.

In case the fastpath is not hit, there's no real performance or latency
disadvantage from that.

And yes, I measured this. So this is not one of these
bad Programmer Likeliness Assumptions that are always wrong. ;)

Signed-off-by: Michael Buesch <mb@bu3sch.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2008-04-16 15:59:59 -04:00
..
b43.h b43: Fix PHY TX control words in SHM 2008-04-08 16:44:44 -04:00
debugfs.c b43: Remove irqs_disabled() sanity checks 2008-03-24 19:25:09 -04:00
debugfs.h
dma.c b43: Add PIO support for PCMCIA devices 2008-04-08 15:05:56 -04:00
dma.h b43: Add PIO support for PCMCIA devices 2008-04-08 15:05:56 -04:00
Kconfig b43: Use SSB block-I/O to do PIO 2008-04-08 16:44:41 -04:00
leds.c leds: Standardise LED naming scheme 2008-02-07 09:47:00 +00:00
leds.h
lo.c
lo.h
main.c b43: Add fastpath to b43_mac_suspend() 2008-04-16 15:59:59 -04:00
main.h make b43_mac_{enable,suspend}() static 2008-03-13 16:01:04 -04:00
Makefile b43: Add PIO support for PCMCIA devices 2008-04-08 15:05:56 -04:00
nphy.c b43: Add more N-PHY stuff 2008-04-08 16:44:41 -04:00
nphy.h b43: Don't compile N-PHY code when N-PHY is disabled 2008-03-25 16:41:59 -04:00
pcmcia.c ssb: Turn suspend/resume upside down 2008-04-08 15:05:57 -04:00
pcmcia.h
phy.c b43: phy.c fix typo in register write 2008-03-13 15:57:25 -04:00
phy.h b43: Add NPHY radio init code 2008-01-28 15:09:53 -08:00
pio.c b43: Use SSB block-I/O to do PIO 2008-04-08 16:44:41 -04:00
pio.h b43: Add PIO support for PCMCIA devices 2008-04-08 15:05:56 -04:00
rfkill.c
rfkill.h
sysfs.c cfg80211 API for channels/bitrates, mac80211 and driver conversion 2008-02-29 15:19:32 -05:00
sysfs.h
tables_nphy.c b43: Add lots of N-PHY lookup tables 2008-01-28 15:10:03 -08:00
tables_nphy.h b43: Add lots of N-PHY lookup tables 2008-01-28 15:10:03 -08:00
tables.c
tables.h
wa.c b43: pull out helpers for writing noise table 2008-03-13 16:02:33 -04:00
wa.h
xmit.c b43: Add more N-PHY stuff 2008-04-08 16:44:41 -04:00
xmit.h b43: Add more N-PHY stuff 2008-04-08 16:44:41 -04:00