2014-01-21 07:56:28

by Roman Dubtsov

[permalink] [raw]
Subject: [PATCH] rt2x00: rt2800usb: mark D-Link DWA-137 as supported

From: Roman Dubtsov <[email protected]>

Signed-off-by: Roman Dubtsov <[email protected]>
---
drivers/net/wireless/rt2x00/rt2800usb.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/net/wireless/rt2x00/rt2800usb.c b/drivers/net/wireless/rt2x00/rt2800usb.c
index a81ceb6..ea619c2 100644
--- a/drivers/net/wireless/rt2x00/rt2800usb.c
+++ b/drivers/net/wireless/rt2x00/rt2800usb.c
@@ -992,6 +992,7 @@ static struct usb_device_id rt2800usb_device_table[] = {
{ USB_DEVICE(0x07d1, 0x3c15) },
{ USB_DEVICE(0x07d1, 0x3c16) },
{ USB_DEVICE(0x07d1, 0x3c17) },
+ { USB_DEVICE(0x2001, 0x3317) },
{ USB_DEVICE(0x2001, 0x3c1b) },
/* Draytek */
{ USB_DEVICE(0x07fa, 0x7712) },
--
1.8.5.3



2014-01-24 19:55:25

by Gertjan van Wingerde

[permalink] [raw]
Subject: Re: [PATCH] rt2x00: rt2800usb: mark D-Link DWA-137 as supported



Sent from my iPad

> On 21 jan. 2014, at 08:49, [email protected] wrote:
>
> From: Roman Dubtsov <[email protected]>
>
> Signed-off-by: Roman Dubtsov <[email protected]>

Acked-by: Gertjan van Wingerde <[email protected]>

> ---
> drivers/net/wireless/rt2x00/rt2800usb.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/net/wireless/rt2x00/rt2800usb.c b/drivers/net/wireless/rt2x00/rt2800usb.c
> index a81ceb6..ea619c2 100644
> --- a/drivers/net/wireless/rt2x00/rt2800usb.c
> +++ b/drivers/net/wireless/rt2x00/rt2800usb.c
> @@ -992,6 +992,7 @@ static struct usb_device_id rt2800usb_device_table[] = {
> { USB_DEVICE(0x07d1, 0x3c15) },
> { USB_DEVICE(0x07d1, 0x3c16) },
> { USB_DEVICE(0x07d1, 0x3c17) },
> + { USB_DEVICE(0x2001, 0x3317) },
> { USB_DEVICE(0x2001, 0x3c1b) },
> /* Draytek */
> { USB_DEVICE(0x07fa, 0x7712) },
> --
> 1.8.5.3
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html

2014-01-24 10:08:09

by Roman Dubtsov

[permalink] [raw]
Subject: Re: [PATCH] rt2x00: rt2800usb: mark D-Link DWA-137 as supported

On Tue, 2014-01-21 at 14:49 +0700, [email protected] wrote:
> From: Roman Dubtsov <[email protected]>
>
> Signed-off-by: Roman Dubtsov <[email protected]>
> ---
> drivers/net/wireless/rt2x00/rt2800usb.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/net/wireless/rt2x00/rt2800usb.c b/drivers/net/wireless/rt2x00/rt2800usb.c
> index a81ceb6..ea619c2 100644
> --- a/drivers/net/wireless/rt2x00/rt2800usb.c
> +++ b/drivers/net/wireless/rt2x00/rt2800usb.c
> @@ -992,6 +992,7 @@ static struct usb_device_id rt2800usb_device_table[] = {
> { USB_DEVICE(0x07d1, 0x3c15) },
> { USB_DEVICE(0x07d1, 0x3c16) },
> { USB_DEVICE(0x07d1, 0x3c17) },
> + { USB_DEVICE(0x2001, 0x3317) },
> { USB_DEVICE(0x2001, 0x3c1b) },
> /* Draytek */
> { USB_DEVICE(0x07fa, 0x7712) },

Does this patch make sense? Probably I should provide some additional
information. DWA-137 [1] is and wifi dongle which seems to only be sold
in Russia (hence the link below is in Russian). I'd be happy to provide
any additional data / run additional tests. For now I know that AP mode
works as well as 802.11n.

$ iwconfig wlp0s26f7u1
wlp0s26f7u1 IEEE 802.11bgn ESSID:"hm"
Mode:Managed Frequency:2.462 GHz Access Point: XX:XX:XX:XX:XX:XX
Bit Rate=117 Mb/s Tx-Power=20 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Power Management:on
Link Quality=53/70 Signal level=-57 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:62 Invalid misc:189 Missed beacon:0


$ dmesg | grep 'usb 1-1'
[ 0.831010] usb 1-1: new high-speed USB device number 2 using ehci-pci
[ 0.964482] usb 1-1: New USB device found, idVendor=2001, idProduct=3317
[ 0.964486] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 0.964489] usb 1-1: Product: 802.11 n WLAN
[ 0.964492] usb 1-1: Manufacturer: Ralink
[ 0.964494] usb 1-1: SerialNumber: 1.0

[1] http://www.dlink.ru/ru/products/150/1864.html