Re: FreeBSD current RT3071 can't connect to 5G network

2014-08-14 Thread Miguel Clara
On Wed, Aug 13, 2014 at 7:10 PM, Miguel Clara miguelmcl...@gmail.com
wrote:

 Hi, just wanted to report that the patch made no difference.

 However I created a guest network in my router with the same password and
 also using WPA2, and it connects to it.

 the only difference is the BSSID, so I wonder if this is a issue with wpa
 and nothing to to with the driver?


NOTE: it works well if using ath driivers so the problem is probably in the
driver indeed!


 But the performance is still horrible!




___
freebsd-wireless@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to freebsd-wireless-unsubscr...@freebsd.org


Re: FreeBSD current RT3071 can't connect to 5G network

2014-08-14 Thread Miguel Clara
Duh, I figured it out... by default the Asus Guest netwroks are created in
auto mode, so both N and legacy, while my 5G network was set to N only
(2.4 is set to auto too).

This also explain the poor performance now... for some reason 11n is not
working only 11g/a.

ifconfig wlan0 mode 11na or 11ng gives me device is not configured (This
works fine for the ath card tough)!


Melhores Cumprimentos // Best Regards
---
*Miguel Clara*
*IT - Sys Admin  Developer*
*E-mail:*miguelmcl...@gmail.com
 www.linkedin.com/in/miguelmclara/


On Thu, Aug 14, 2014 at 2:13 PM, Miguel Clara miguelmcl...@gmail.com
wrote:



 On Wed, Aug 13, 2014 at 7:10 PM, Miguel Clara miguelmcl...@gmail.com
 wrote:

 Hi, just wanted to report that the patch made no difference.

 However I created a guest network in my router with the same password and
 also using WPA2, and it connects to it.

 the only difference is the BSSID, so I wonder if this is a issue with wpa
 and nothing to to with the driver?


 NOTE: it works well if using ath driivers so the problem is probably in
 the driver indeed!


 But the performance is still horrible!





___
freebsd-wireless@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to freebsd-wireless-unsubscr...@freebsd.org


Re: FreeBSD current RT3071 can't connect to 5G network

2014-08-14 Thread Lars Engels
On Thu, Aug 14, 2014 at 03:09:23PM +0100, Miguel Clara wrote:
 Duh, I figured it out... by default the Asus Guest netwroks are created in
 auto mode, so both N and legacy, while my 5G network was set to N only
 (2.4 is set to auto too).
 
 This also explain the poor performance now... for some reason 11n is not
 working only 11g/a.
 
 ifconfig wlan0 mode 11na or 11ng gives me device is not configured (This
 works fine for the ath card tough)!

Thanks a lot, I had just the same issue with my 
run0: MAC/BBP RT5390 (rev 0x0502), RF RT5370 (MIMO 1T1R), address 
7c:dd:90:30:b6:a1
device.

Now switched to mixed mode and it just works. :)



pgp5wHfUNLlbc.pgp
Description: PGP signature


Re: old new device: another sample of DWA-125

2014-08-14 Thread Kevin Lo
On Wed, Aug 13, 2014 at 04:25:33PM +0300, Volodymyr Kostyrko wrote:
 
 Hi all.

Hi,

 I have something called DWA-125 (model D1A, h/w ver: D1, f/w ver: 4.00).
 
 # usbconfig -d 6.2 dump_device_desc
 ugen6.2: product 0x330f vendor 0x2001 at usbus6, cfg=0 md=HOST 
 spd=HIGH (480Mbps) pwr=ON (500mA)
 
bLength = 0x0012
bDescriptorType = 0x0001
bcdUSB = 0x0200
bDeviceClass = 0x
bDeviceSubClass = 0x
bDeviceProtocol = 0x
bMaxPacketSize0 = 0x0040
idVendor = 0x2001
idProduct = 0x330f
bcdDevice = 0x
iManufacturer = 0x0001  Realtek
iProduct = 0x0002  DWA-125 11n Adapter
iSerialNumber = 0x0003  C4A81DF3B74A
bNumConfigurations = 0x0001
 
 Patch to detect it:
 
 Index: sys/dev/usb/usbdevs
 ===
 --- sys/dev/usb/usbdevs (revision 269923)
 +++ sys/dev/usb/usbdevs (working copy)
 @@ -1624,6 +1624,7 @@
   productDLINK RTL8192CU_1   0x3307  RTL8192CU
   productDLINK RTL8192CU_2   0x3309  RTL8192CU
   productDLINK RTL8192CU_3   0x330a  RTL8192CU
 +productDLINK RTL8192CU_4   0x330f  RTL8192CU
   productDLINK DWA131B   0x330d  DWA-131 rev B
   product DLINK2 RTL8192SU_1 0x3300  RTL8192SU
   product DLINK2 RTL8192SU_2 0x3302  RTL8192SU
 Index: sys/dev/usb/wlan/if_urtwn.c
 ===
 --- sys/dev/usb/wlan/if_urtwn.c (revision 269923)
 +++ sys/dev/usb/wlan/if_urtwn.c (working copy)
 @@ -112,6 +112,7 @@
  URTWN_DEV(DLINK,RTL8192CU_1),
  URTWN_DEV(DLINK,RTL8192CU_2),
  URTWN_DEV(DLINK,RTL8192CU_3),
 +   URTWN_DEV(DLINK,RTL8192CU_4),
  URTWN_DEV(DLINK,DWA131B),
  URTWN_DEV(EDIMAX,   EW7811UN),
  URTWN_DEV(EDIMAX,   RTL8192CU),
 
 # kldload urtwn
 Aug 13 16:10:19 limbo kernel: urtwn0: vendor 0x2001 product 0x330f, 
 class 0/0, rev 2.00/0.00, addr 1 on usbus6
 Aug 13 16:10:20 limbo kernel: urtwn0: MAC/BB RTL8188CUS, RF 6052 1T1R
 
 urtwn0: flags=8802BROADCAST,SIMPLEX,MULTICAST metric 0 mtu 2290
  ether 00:00:a8:1d:f3:b7
  nd6 options=21PERFORMNUD,AUTO_LINKLOCAL
  media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
  status: no carrier
 
 # ifconfig wlan0 create wlandev urtwn0
 # ifconfig wlan0 country ua
 # ifconfig wlan0 up scan
 
 Gives nothing.
 
 # ifconfig wlan0
 wlan0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500
  ether 00:00:a8:1d:f3:b7
  inet6 fe80::200:a8ff:fe1d:f3b7%wlan0 prefixlen 64 scopeid 0x7
  nd6 options=21PERFORMNUD,AUTO_LINKLOCAL
  media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
  status: no carrier
  ssid  channel 1 (2412 MHz 11b)
  regdomain NONE country UA authmode OPEN privacy OFF txpower 30
  bmiss 7 scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250 
 roam:rssi 7
  roam:rate 1 bintval 0
 
 # ifconfig wlan0 list caps
 drivercaps=2181c001STA,SHSLOT,SHPREAMBLE,MONITOR,WPA1,WPA2,BGSCAN
 
 Is there any easy way to make it work or should I just dump it?

The D-Link DWA-125 rev D1 uses the RTL8188EU chip.
Please try this patch, thanks.

Index: sys/dev/usb/usbdevs
===
--- sys/dev/usb/usbdevs (revision 270007)
+++ sys/dev/usb/usbdevs (working copy)
@@ -1592,6 +1592,7 @@ product DLINK DUBE100 0x1a00  10/100 Ethernet
 product DLINK DUBE100C10x1a02  DUB-E100 rev C1
 product DLINK DSB650TX40x200c  10/100 Ethernet
 product DLINK DWL120E  0x3200  DWL-120 rev E
+product DLINK DWA125D1 0x330f  DWA-125 rev D1
 product DLINK DWL122   0x3700  DWL-122
 product DLINK DWLG120  0x3701  DWL-G120
 product DLINK DWL120F  0x3702  DWL-120 rev F
Index: sys/dev/usb/wlan/if_urtwn.c
===
--- sys/dev/usb/wlan/if_urtwn.c (revision 270007)
+++ sys/dev/usb/wlan/if_urtwn.c (working copy)
@@ -152,6 +152,7 @@ static const STRUCT_USB_HOST_ID urtwn_devs[] = {
URTWN_DEV(TRENDNET, RTL8192CU),
URTWN_DEV(ZYXEL,RTL8192CU),
/* URTWN_RTL8188E */
+   URTWN_RTL8188E_DEV(DLINK,   DWA125D1),
URTWN_RTL8188E_DEV(REALTEK, RTL8188ETV),
URTWN_RTL8188E_DEV(REALTEK, RTL8188EU),
 #undef URTWN_RTL8188E_DEV
___
freebsd-wireless@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to freebsd-wireless-unsubscr...@freebsd.org


Re: FreeBSD current RT3071 can't connect to 5G network

2014-08-14 Thread Kevin Lo
All USB wifi dongles in FreeBSD don't support 11n yet.

Kevin

On Thu, Aug 14, 2014 at 03:09:23PM +0100, Miguel Clara wrote:
 
 Duh, I figured it out... by default the Asus Guest netwroks are created in
 auto mode, so both N and legacy, while my 5G network was set to N only
 (2.4 is set to auto too).
 
 This also explain the poor performance now... for some reason 11n is not
 working only 11g/a.
 
 ifconfig wlan0 mode 11na or 11ng gives me device is not configured (This
 works fine for the ath card tough)!
 
 
 Melhores Cumprimentos // Best Regards
 ---
 *Miguel Clara*
 *IT - Sys Admin  Developer*
 *E-mail:*miguelmcl...@gmail.com
  www.linkedin.com/in/miguelmclara/
 
 
 On Thu, Aug 14, 2014 at 2:13 PM, Miguel Clara miguelmcl...@gmail.com
 wrote:
 
 
 
  On Wed, Aug 13, 2014 at 7:10 PM, Miguel Clara miguelmcl...@gmail.com
  wrote:
 
  Hi, just wanted to report that the patch made no difference.
 
  However I created a guest network in my router with the same password and
  also using WPA2, and it connects to it.
 
  the only difference is the BSSID, so I wonder if this is a issue with wpa
  and nothing to to with the driver?
 
 
  NOTE: it works well if using ath driivers so the problem is probably in
  the driver indeed!
 
 
  But the performance is still horrible!
 
 
 
 
 
 ___
 freebsd-wireless@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
 To unsubscribe, send any mail to freebsd-wireless-unsubscr...@freebsd.org
 
___
freebsd-wireless@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to freebsd-wireless-unsubscr...@freebsd.org