[Bug 214406] [urtwn] discard frame, too short - flakey performance - sometimes not even dhclient succeeds

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Nov 10 18:52:57 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214406

            Bug ID: 214406
           Summary: [urtwn] discard frame, too short - flakey performance
                    - sometimes not even dhclient succeeds
           Product: Base System
           Version: 11.0-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: wireless
          Assignee: freebsd-wireless at FreeBSD.org
          Reporter: dch at skunkwerks.at

Created attachment 176865
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=176865&action=edit
message.log

As reported on #freebsd-wifi and also forums, urtwn seems flakier
than under 10.3R on both rasp pi, and normal x86 hardware:

https://forums.freebsd.org/threads/57396/

```
Oct 20 13:13:28 akai kernel: wlan0: [74:da:38:7e:e6:e0] discard frame, too
short (1): len 10
Oct 20 
13:13:28 akai kernel: wlan0: [74:da:38:7e:e6:e0] discard BAR frame, no BA
stream, tid 0
Oct 20 13:13:28 akai kernel: wlan0: [74:da:38:7e:e6:e0] discard frame, too
short (1): len 10
```

Occurs frequently in the logs and while association is quick, the system is
unable to pick up a dhcp address, even when one can see it being offered by
the the upstream AP. In my case, APs are Ubiquiti UAC PRO in a variety of
places, all within good range.


I have also enabled in /boot/loader.conf
```
# edimax wifi
legal.realtek.license_ack=1
# using 11n =1 or 11n=0 seems not to make any significant impact.
hw.usb.urtwn.enable_11n=1
```

Resulting in:

```
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
   ether 74:da:38:7e:e6:e0
   inet6 fe80::76da:38ff:fe7e:e6e0%wlan0 prefixlen 64 scopeid 0x2
   inet 172.16.2.15 netmask 0xffffff00 broadcast 172.16.2.255
   nd6 options=23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>
   media: IEEE 802.11 Wireless Ethernet OFDM/54Mbps mode 11g
   status: associated
   ssid skunkwerks channel 6 (2437 MHz 11g) bssid 80:2a:a8:5a:bd:3f
   regdomain FCC country US authmode WPA2/802.11i privacy ON
   deftxkey UNDEF AES-CCM 2:128-bit txpower 30 bmiss 7 scanvalid 60
   protmode CTS wme roaming MANUAL
   groups: wlan
```

full logs in my gist;
https://gist.github.com/dch/25079d4b7e91beb2d2e7a5f2359b6d04 and attached here.

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


More information about the freebsd-wireless mailing list