Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Nov 2018 22:06:59 +0000
From:      bugzilla-noreply@freebsd.org
To:        wireless@FreeBSD.org
Subject:   [Bug 218527] [rtwn] Constantly packet dropping and connection loss
Message-ID:  <bug-218527-21060-nrxUCE73F2@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-218527-21060@https.bugs.freebsd.org/bugzilla/>
References:  <bug-218527-21060@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D218527

mr_beaner_2003@yahoo.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mr_beaner_2003@yahoo.com

--- Comment #3 from mr_beaner_2003@yahoo.com ---
This doesn't appear to be fixed. I am using an EDIMAX N150 USB dongle, and I
see packet loss.

# freebsd-version
12.0-RC1

# dmesg | grep rtwn
rtwn0 on uhub0
rtwn0: <Realtek 802.11n WLAN Adapter, class 0/0, rev 2.00/2.00, addr 2> on
usbus1
rtwn0: MAC/BB RTL8188CUS, RF 6052 1T1R

# ping -c 100 172.16.100.2
PING 172.16.100.2 (172.16.100.2): 56 data bytes
64 bytes from 172.16.100.2: icmp_seq=3D0 ttl=3D255 time=3D12.919 ms
64 bytes from 172.16.100.2: icmp_seq=3D1 ttl=3D255 time=3D16.632 ms
64 bytes from 172.16.100.2: icmp_seq=3D2 ttl=3D255 time=3D13.729 ms
64 bytes from 172.16.100.2: icmp_seq=3D4 ttl=3D255 time=3D19.672 ms
64 bytes from 172.16.100.2: icmp_seq=3D5 ttl=3D255 time=3D29.435 ms
64 bytes from 172.16.100.2: icmp_seq=3D7 ttl=3D255 time=3D28.343 ms
64 bytes from 172.16.100.2: icmp_seq=3D8 ttl=3D255 time=3D20.443 ms
64 bytes from 172.16.100.2: icmp_seq=3D9 ttl=3D255 time=3D16.860 ms
...
64 bytes from 172.16.100.2: icmp_seq=3D98 ttl=3D255 time=3D20.125 ms
64 bytes from 172.16.100.2: icmp_seq=3D99 ttl=3D255 time=3D29.647 ms

--- 172.16.100.2 ping statistics ---
100 packets transmitted, 90 packets received, 10.0% packet loss
round-trip min/avg/max/stddev =3D 8.417/21.663/52.897/8.762 ms

# cat /boot/loader.conf=20
if_rtwn_usb_load=3D"YES"
legal.realtek.license_ack=3D1
pf_load=3D"YES"

# grep wlan /etc/rc.conf
wlans_rtwn0=3D"wlan0"
ifconfig_wlan0=3D"WPA DHCP"
create_args_wlan0=3D"country US regdomain FCC"

# ifconfig wlan0 list ap
SSID/MESH ID                      BSSID              CHAN RATE    S:N     I=
NT
CAPS
WAP                       82:2a:a8:d7:ec:a5    1   54M  -85:-95   100 EPS=20
BSSLOAD HTCAP WME ATH RSN

# usbconfig list
ugen1.1: <Intel EHCI root HUB> at usbus1, cfg=3D0 md=3DHOST spd=3DHIGH (480=
Mbps)
pwr=3DSAVE (0mA)
ugen0.1: <Apple OHCI root HUB> at usbus0, cfg=3D0 md=3DHOST spd=3DFULL (12M=
bps)
pwr=3DSAVE (0mA)
ugen1.2: <Realtek 802.11n WLAN Adapter> at usbus1, cfg=3D0 md=3DHOST spd=3D=
HIGH
(480Mbps) pwr=3DON (500mA)
# usbconfig ugen1.2 dump_all_config_desc
ugen1.2: <Realtek 802.11n WLAN Adapter> at usbus1, cfg=3D0 md=3DHOST spd=3D=
HIGH
(480Mbps) pwr=3DON (500mA)


 Configuration index 0

    bLength =3D 0x0009=20
    bDescriptorType =3D 0x0002=20
    wTotalLength =3D 0x002e=20
    bNumInterfaces =3D 0x0001=20
    bConfigurationValue =3D 0x0001=20
    iConfiguration =3D 0x0000  <no string>
    bmAttributes =3D 0x00a0=20
    bMaxPower =3D 0x00fa=20

    Interface 0
      bLength =3D 0x0009=20
      bDescriptorType =3D 0x0004=20
      bInterfaceNumber =3D 0x0000=20
      bAlternateSetting =3D 0x0000=20
      bNumEndpoints =3D 0x0004=20
      bInterfaceClass =3D 0x00ff  <Vendor specific>
      bInterfaceSubClass =3D 0x00ff=20
      bInterfaceProtocol =3D 0x00ff=20
      iInterface =3D 0x0000  <no string>

     Endpoint 0
        bLength =3D 0x0007=20
        bDescriptorType =3D 0x0005=20
        bEndpointAddress =3D 0x0081  <IN>
        bmAttributes =3D 0x0002  <BULK>
        wMaxPacketSize =3D 0x0200=20
        bInterval =3D 0x0000=20
        bRefresh =3D 0x0000=20
        bSynchAddress =3D 0x0000=20

     Endpoint 1
        bLength =3D 0x0007=20
        bDescriptorType =3D 0x0005=20
        bEndpointAddress =3D 0x0002  <OUT>
        bmAttributes =3D 0x0002  <BULK>
        wMaxPacketSize =3D 0x0200=20
        bInterval =3D 0x0000=20
        bRefresh =3D 0x0000=20
        bSynchAddress =3D 0x0000=20

     Endpoint 2
        bLength =3D 0x0007=20
        bDescriptorType =3D 0x0005=20
        bEndpointAddress =3D 0x0003  <OUT>
        bmAttributes =3D 0x0002  <BULK>
        wMaxPacketSize =3D 0x0200=20
        bInterval =3D 0x0000=20
        bRefresh =3D 0x0000=20
        bSynchAddress =3D 0x0000=20

     Endpoint 3
        bLength =3D 0x0007=20
        bDescriptorType =3D 0x0005=20
        bEndpointAddress =3D 0x0084  <IN>
        bmAttributes =3D 0x0003  <INTERRUPT>
        wMaxPacketSize =3D 0x0040=20
        bInterval =3D 0x0001=20
        bRefresh =3D 0x0000=20
        bSynchAddress =3D 0x0000=20

# grep wpa_supplicant /var/log/messages
Nov 23 15:19:28 localhost wpa_supplicant[848]: Successfully initialized
wpa_supplicant
Nov 23 15:19:35 localhost wpa_supplicant[849]: wlan0: Trying to associate w=
ith
80:2a:a8:d7:ec:a5 (SSID=3D'WAP0' freq=3D2412 MHz)
Nov 23 15:19:35 localhost wpa_supplicant[849]: wlan0: Associated with
80:2a:a8:d7:ec:a5
Nov 23 15:19:36 localhost wpa_supplicant[849]: wlan0: WPA: Key negotiation
completed with 80:2a:a8:d7:ec:a5 [PTK=3DCCMP GTK=3DCCMP]
Nov 23 15:19:36 localhost wpa_supplicant[849]: wlan0: CTRL-EVENT-CONNECTED -
Connection to 80:2a:a8:d7:ec:a5 completed [id=3D0 id_str=3D]
Nov 23 15:23:24 localhost wpa_supplicant[797]: Successfully initialized
wpa_supplicant
Nov 23 15:23:54 localhost wpa_supplicant[798]: wlan0: Trying to associate w=
ith
80:2a:a8:d7:ec:a5 (SSID=3D'WAP0' freq=3D2412 MHz)
Nov 23 15:23:54 localhost wpa_supplicant[798]: wlan0: Associated with
80:2a:a8:d7:ec:a5
Nov 23 15:23:55 localhost wpa_supplicant[798]: wlan0: WPA: Key negotiation
completed with 80:2a:a8:d7:ec:a5 [PTK=3DCCMP GTK=3DCCMP]
Nov 23 15:23:55 localhost wpa_supplicant[798]: wlan0: CTRL-EVENT-CONNECTED -
Connection to 80:2a:a8:d7:ec:a5 completed [id=3D0 id_str=3D]
Nov 23 15:25:21 localhost wpa_supplicant[798]: wlan0: CTRL-EVENT-DISCONNECT=
ED
bssid=3D80:2a:a8:d7:ec:a5 reason=3D3 locally_generated=3D1
Nov 23 15:25:21 localhost wpa_supplicant[798]: wlan0: CTRL-EVENT-TERMINATIN=
G=20
Nov 23 15:25:21 localhost wpa_supplicant[1258]: Successfully initialized
wpa_supplicant
Nov 23 15:25:36 localhost wpa_supplicant[1263]: wlan0: Trying to associate =
with
82:2a:a8:d7:ec:a5 (SSID=3D'WAP' freq=3D2412 MHz)
Nov 23 15:25:36 localhost wpa_supplicant[1263]: wlan0: Associated with
82:2a:a8:d7:ec:a5
Nov 23 15:25:37 localhost wpa_supplicant[1263]: wlan0: WPA: Key negotiation
completed with 82:2a:a8:d7:ec:a5 [PTK=3DCCMP GTK=3DCCMP]
Nov 23 15:25:37 localhost wpa_supplicant[1263]: wlan0: CTRL-EVENT-CONNECTED=
 -
Connection to 82:2a:a8:d7:ec:a5 completed [id=3D1 id_str=3D]

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-218527-21060-nrxUCE73F2>