* [PATCH 1/3] brcm80211: correct speed testing
@ 2016-05-02 11:06 Oliver Neukum
[not found] ` <1462187174-17180-1-git-send-email-oneukum-IBi9RG/b67k@public.gmane.org>
2016-05-03 19:49 ` [PATCH 1/3] brcm80211: " David Miller
0 siblings, 2 replies; 6+ messages in thread
From: Oliver Neukum @ 2016-05-02 11:06 UTC (permalink / raw)
To: linux-usb-u79uwXL29TY76Z2rM5mHXA, netdev-u79uwXL29TY76Z2rM5mHXA,
davem-fT/PcQaiUtIeIZ0/mPfg9Q
Cc: Oliver Neukum, Oliver Neukum
Allow for SS+ USB
Signed-off-by: Oliver Neukum <ONeukum-IBi9RG/b67k@public.gmane.org>
---
drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c
index 869eb82..056bda3 100644
--- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c
+++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c
@@ -1368,7 +1368,9 @@ brcmf_usb_probe(struct usb_interface *intf, const struct usb_device_id *id)
devinfo->ifnum = desc->bInterfaceNumber;
- if (usb->speed == USB_SPEED_SUPER)
+ if (usb->speed == USB_SPEED_SUPER_PLUS)
+ brcmf_dbg(USB, "Broadcom super speed plus USB WLAN interface detected\n");
+ else if (usb->speed == USB_SPEED_SUPER)
brcmf_dbg(USB, "Broadcom super speed USB WLAN interface detected\n");
else if (usb->speed == USB_SPEED_HIGH)
brcmf_dbg(USB, "Broadcom high speed USB WLAN interface detected\n");
--
2.1.4
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 6+ messages in thread[parent not found: <1462187174-17180-1-git-send-email-oneukum-IBi9RG/b67k@public.gmane.org>]
* [PATCH 2/3] usbnet: correct speed testing
[not found] ` <1462187174-17180-1-git-send-email-oneukum-IBi9RG/b67k@public.gmane.org>
@ 2016-05-02 11:06 ` Oliver Neukum
2016-05-03 19:49 ` David Miller
2016-05-02 11:06 ` [PATCH 3/3] rtl8152: " Oliver Neukum
1 sibling, 1 reply; 6+ messages in thread
From: Oliver Neukum @ 2016-05-02 11:06 UTC (permalink / raw)
To: linux-usb-u79uwXL29TY76Z2rM5mHXA, netdev-u79uwXL29TY76Z2rM5mHXA,
davem-fT/PcQaiUtIeIZ0/mPfg9Q
Cc: Oliver Neukum, Oliver Neukum
Allow for SS+ USB
Signed-off-by: Oliver Neukum <ONeukum-IBi9RG/b67k@public.gmane.org>
---
drivers/net/usb/usbnet.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/usb/usbnet.c b/drivers/net/usb/usbnet.c
index 4f08426..bc46ef9 100644
--- a/drivers/net/usb/usbnet.c
+++ b/drivers/net/usb/usbnet.c
@@ -355,6 +355,7 @@ void usbnet_update_max_qlen(struct usbnet *dev)
dev->tx_qlen = MAX_QUEUE_MEMORY / dev->hard_mtu;
break;
case USB_SPEED_SUPER:
+ case USB_SPEED_SUPER_PLUS:
/*
* Not take default 5ms qlen for super speed HC to
* save memory, and iperf tests show 2.5ms qlen can
--
2.1.4
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 6+ messages in thread* [PATCH 3/3] rtl8152: correct speed testing
[not found] ` <1462187174-17180-1-git-send-email-oneukum-IBi9RG/b67k@public.gmane.org>
2016-05-02 11:06 ` [PATCH 2/3] usbnet: " Oliver Neukum
@ 2016-05-02 11:06 ` Oliver Neukum
[not found] ` <1462187174-17180-3-git-send-email-oneukum-IBi9RG/b67k@public.gmane.org>
1 sibling, 1 reply; 6+ messages in thread
From: Oliver Neukum @ 2016-05-02 11:06 UTC (permalink / raw)
To: linux-usb-u79uwXL29TY76Z2rM5mHXA, netdev-u79uwXL29TY76Z2rM5mHXA,
davem-fT/PcQaiUtIeIZ0/mPfg9Q
Cc: Oliver Neukum, Oliver Neukum
Allow for SS+ USB
Signed-off-by: Oliver Neukum <ONeukum-IBi9RG/b67k@public.gmane.org>
---
drivers/net/usb/r8152.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/net/usb/r8152.c b/drivers/net/usb/r8152.c
index d1f78c2..3f9f6ed 100644
--- a/drivers/net/usb/r8152.c
+++ b/drivers/net/usb/r8152.c
@@ -3366,7 +3366,7 @@ static void r8153_init(struct r8152 *tp)
ocp_write_word(tp, MCU_TYPE_PLA, PLA_LED_FEATURE, ocp_data);
ocp_data = FIFO_EMPTY_1FB | ROK_EXIT_LPM;
- if (tp->version == RTL_VER_04 && tp->udev->speed != USB_SPEED_SUPER)
+ if (tp->version == RTL_VER_04 && tp->udev->speed < USB_SPEED_SUPER)
ocp_data |= LPM_TIMER_500MS;
else
ocp_data |= LPM_TIMER_500US;
@@ -4211,6 +4211,7 @@ static int rtl8152_probe(struct usb_interface *intf,
switch (udev->speed) {
case USB_SPEED_SUPER:
+ case USB_SPEED_SUPER_PLUS:
tp->coalesce = COALESCE_SUPER;
break;
case USB_SPEED_HIGH:
--
2.1.4
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH 1/3] brcm80211: correct speed testing
2016-05-02 11:06 [PATCH 1/3] brcm80211: correct speed testing Oliver Neukum
[not found] ` <1462187174-17180-1-git-send-email-oneukum-IBi9RG/b67k@public.gmane.org>
@ 2016-05-03 19:49 ` David Miller
1 sibling, 0 replies; 6+ messages in thread
From: David Miller @ 2016-05-03 19:49 UTC (permalink / raw)
To: oneukum; +Cc: linux-usb, netdev
From: Oliver Neukum <oneukum@suse.com>
Date: Mon, 2 May 2016 13:06:12 +0200
> Allow for SS+ USB
>
> Signed-off-by: Oliver Neukum <ONeukum@suse.com>
Applied.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2016-05-03 19:49 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-02 11:06 [PATCH 1/3] brcm80211: correct speed testing Oliver Neukum
[not found] ` <1462187174-17180-1-git-send-email-oneukum-IBi9RG/b67k@public.gmane.org>
2016-05-02 11:06 ` [PATCH 2/3] usbnet: " Oliver Neukum
2016-05-03 19:49 ` David Miller
2016-05-02 11:06 ` [PATCH 3/3] rtl8152: " Oliver Neukum
[not found] ` <1462187174-17180-3-git-send-email-oneukum-IBi9RG/b67k@public.gmane.org>
2016-05-03 19:49 ` David Miller
2016-05-03 19:49 ` [PATCH 1/3] brcm80211: " David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).