linux-hardened/drivers/net/wireless/brcm80211/brcmfmac
Sarah Sharp e1f12eb6ba USB: Disable hub-initiated LPM for comms devices.
Hub-initiated LPM is not good for USB communications devices.  Comms
devices should be able to tell when their link can go into a lower power
state, because they know when an incoming transmission is finished.
Ideally, these devices would slam their links into a lower power state,
using the device-initiated LPM, after finishing the last packet of their
data transfer.

If we enable the idle timeouts for the parent hubs to enable
hub-initiated LPM, we will get a lot of useless LPM packets on the bus
as the devices reject LPM transitions when they're in the middle of
receiving data.  Worse, some devices might blindly accept the
hub-initiated LPM and power down their radios while they're in the
middle of receiving a transmission.

The Intel Windows folks are disabling hub-initiated LPM for all USB
communications devices under a xHCI USB 3.0 host.  In order to keep
the Linux behavior as close as possible to Windows, we need to do the
same in Linux.

Set the disable_hub_initiated_lpm flag for for all USB communications
drivers.  I know there aren't currently any USB 3.0 devices that
implement these class specifications, but we should be ready if they do.

Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Cc: Marcel Holtmann <marcel@holtmann.org>
Cc: Gustavo Padovan <gustavo@padovan.org>
Cc: Johan Hedberg <johan.hedberg@gmail.com>
Cc: Hansjoerg Lipp <hjlipp@web.de>
Cc: Tilman Schmidt <tilman@imap.cc>
Cc: Karsten Keil <isdn@linux-pingi.de>
Cc: Peter Korsgaard <jacmet@sunsite.dk>
Cc: Jan Dumon <j.dumon@option.com>
Cc: Petko Manolov <petkan@users.sourceforge.net>
Cc: Steve Glendinning <steve.glendinning@smsc.com>
Cc: "John W. Linville" <linville@tuxdriver.com>
Cc: Kalle Valo <kvalo@qca.qualcomm.com>
Cc: "Luis R. Rodriguez" <mcgrof@qca.qualcomm.com>
Cc: Jouni Malinen <jouni@qca.qualcomm.com>
Cc: Vasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com>
Cc: Senthil Balasubramanian <senthilb@qca.qualcomm.com>
Cc: Christian Lamparter <chunkeey@googlemail.com>
Cc: Brett Rudley <brudley@broadcom.com>
Cc: Roland Vossen <rvossen@broadcom.com>
Cc: Arend van Spriel <arend@broadcom.com>
Cc: "Franky (Zhenhui) Lin" <frankyl@broadcom.com>
Cc: Kan Yan <kanyan@broadcom.com>
Cc: Dan Williams <dcbw@redhat.com>
Cc: Jussi Kivilinna <jussi.kivilinna@mbnet.fi>
Cc: Ivo van Doorn <IvDoorn@gmail.com>
Cc: Gertjan van Wingerde <gwingerde@gmail.com>
Cc: Helmut Schaa <helmut.schaa@googlemail.com>
Cc: Herton Ronaldo Krzesinski <herton@canonical.com>
Cc: Hin-Tak Leung <htl10@users.sourceforge.net>
Cc: Larry Finger <Larry.Finger@lwfinger.net>
Cc: Chaoming Li <chaoming_li@realsil.com.cn>
Cc: Daniel Drake <dsd@gentoo.org>
Cc: Ulrich Kunitz <kune@deine-taler.de>
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
2012-05-18 15:42:55 -07:00
..
bcmsdh.c brcm80211: Use pr_fmt and pr_<level> 2012-01-24 14:21:14 -05:00
bcmsdh_sdmmc.c brcm80211: fmac: fix SDIO function 0 register r/w issue 2012-04-27 15:20:39 -04:00
dhd.h brcm80211: Use normal DEBUG define 2012-01-24 14:21:13 -05:00
dhd_bus.h brcm80211: fmac: initialize host interface drivers regardless result 2012-03-05 15:53:57 -05:00
dhd_cdc.c brcm80211: Use pr_fmt and pr_<level> 2012-01-24 14:21:14 -05:00
dhd_common.c brcm80211: Use pr_fmt and pr_<level> 2012-01-24 14:21:14 -05:00
dhd_dbg.h brcm80211: Add and use brcmX_dbg_dump_hex 2012-01-24 14:21:13 -05:00
dhd_linux.c brcm80211: fmac: remove firmware requests from init_module syscall 2012-03-05 15:53:59 -05:00
dhd_proto.h brcm80211: fmac: move common layer bus interface context to dhd_bus.h 2011-12-19 14:40:46 -05:00
dhd_sdio.c brcmfmac: fix a double spin_unlock_irqrestore issue in dpc 2012-05-02 14:02:03 -04:00
Makefile brcm80211: fmac: add USB support for bcm43235/6/8 chipsets 2012-02-22 14:48:53 -05:00
sdio_chip.c brcm80211: Use pr_fmt and pr_<level> 2012-01-24 14:21:14 -05:00
sdio_chip.h brcm80211: fmac: add resetcore function for bcm4330 chip 2011-11-11 14:28:37 -05:00
sdio_host.h brcm80211: fmac: move sdio related macros to sdio_host.h 2011-12-19 14:40:46 -05:00
usb.c USB: Disable hub-initiated LPM for comms devices. 2012-05-18 15:42:55 -07:00
usb.h brcm80211: fmac: use counters in brcmf_bus structure 2012-03-05 15:53:55 -05:00
usb_rdl.h brcm80211: fmac: add USB support for bcm43235/6/8 chipsets 2012-02-22 14:48:53 -05:00
wl_cfg80211.c brmc80211: dont use jiffies for BSS TSF 2012-03-13 14:54:19 -04:00
wl_cfg80211.h brcm80211: Use pr_fmt and pr_<level> 2012-01-24 14:21:14 -05:00