From owner-freebsd-wireless@freebsd.org Thu Nov 10 18:52:57 2016 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 731C9C38D6C for ; Thu, 10 Nov 2016 18:52:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 58348699 for ; Thu, 10 Nov 2016 18:52:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id uAAIqvpl090902 for ; Thu, 10 Nov 2016 18:52:57 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-wireless@FreeBSD.org Subject: [Bug 214406] [urtwn] discard frame, too short - flakey performance - sometimes not even dhclient succeeds Date: Thu, 10 Nov 2016 18:52:57 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: 11.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: dch@skunkwerks.at X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-wireless@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Nov 2016 18:52:57 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D214406 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@FreeBSD.org Reporter: dch@skunkwerks.at Created attachment 176865 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D176865&action= =3Dedit 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=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=3D1 # using 11n =3D1 or 11n=3D0 seems not to make any significant impact. hw.usb.urtwn.enable_11n=3D1 ``` Resulting in: ``` wlan0: flags=3D8843 metric 0 mtu 15= 00 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=3D23 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 h= ere. --=20 You are receiving this mail because: You are the assignee for the bug.=