summaryrefslogtreecommitdiff
path: root/drivers/usb/wusbcore/wusbhc.h
diff options
context:
space:
mode:
authorThomas Pugliese <thomas.pugliese@gmail.com>2013-06-18 22:31:25 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-06-25 03:19:02 +0400
commit8bf1d0712d54bcb7c55b3f03b2c1a2f6fdfa6536 (patch)
tree370fa341719d56b704138f66e5bcc34f039aeede /drivers/usb/wusbcore/wusbhc.h
parent8e22978c57087aac4d88693278db1cc3e94f1253 (diff)
downloadlinux-8bf1d0712d54bcb7c55b3f03b2c1a2f6fdfa6536.tar.xz
wusbcore: add sysfs attribute for DNTS count and interval
This patch adds a sysfs attribute for the wireless USB host controller device notification transmit slot(DNTS) count and interval. It also changes the defaults from 16 slots in every MMC to a more reasonable 4 slots every 2ms. Signed-off-by: Thomas Pugliese <thomas.pugliese@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/wusbcore/wusbhc.h')
-rw-r--r--drivers/usb/wusbcore/wusbhc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/usb/wusbcore/wusbhc.h b/drivers/usb/wusbcore/wusbhc.h
index b4a4fa7c5131..a7069f49c05a 100644
--- a/drivers/usb/wusbcore/wusbhc.h
+++ b/drivers/usb/wusbcore/wusbhc.h
@@ -252,6 +252,8 @@ struct wusbhc {
unsigned trust_timeout; /* in jiffies */
struct wusb_ckhdid chid;
uint8_t phy_rate;
+ uint8_t dnts_num_slots;
+ uint8_t dnts_interval;
struct wuie_host_info *wuie_host_info;
struct mutex mutex; /* locks everything else */