From owner-freebsd-arm@freebsd.org Fri Apr 8 21:40:06 2016 Return-Path: Delivered-To: freebsd-arm@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 AA491B08046; Fri, 8 Apr 2016 21:40:06 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-io0-x233.google.com (mail-io0-x233.google.com [IPv6:2607:f8b0:4001:c06::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7512D1AAB; Fri, 8 Apr 2016 21:40:06 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-io0-x233.google.com with SMTP id o126so124757650iod.0; Fri, 08 Apr 2016 14:40:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-transfer-encoding; bh=5en61qZ+GzmeZ6NJtgBVB4mzHbOAlYxivRzFwLP/9+8=; b=IHjCId0cX4Yv8Fae+l3amsN3QoexEu2yAOyxzTS0JLNiNke1XWXub1x4EQDovmzjcA 3O16576+hp2DiYM28cTlMDRe4HBg1naVyMcyZxGzKrahrlu7gbBVTG/JoMrwVMltZCkv DhSLhNLOhv3zTAjaG6g18h9L6Lj1CEkXf6hcRdlg8Fk2flPVis5rpn2MI6nyzsJHznrj wINF5Cr8ECt/W0A4pGwPmDjVJVfBVCPjNPR5yAf4sEE7Ih9MgxEOiQyrGyuhXiRJmUq0 /aZtgym3F9mwowE10bzs1b/++TGULpYs+lWDE+WTbxqRqcZJ435iaF6EA06IYuQBcw2O 9ZOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-transfer-encoding; bh=5en61qZ+GzmeZ6NJtgBVB4mzHbOAlYxivRzFwLP/9+8=; b=IS794qVJ9SYt8EKMQVBkiFp8NfZ2xJYvzwkjnOwBQUXF1U8zcWTCmKIwBC6Bcv6yY0 W3SSYPSmdBzrVgeXEhejnj+Ay7D4P826QVGjV99yh1mqcBLYc8v8FMl8aQ4A05vOk8Yv xt28V5b450mVnnMg3XhC5MLLhYHG/AXzmr+plQQQ7vL1/CUNr8ZZ7WW5zOyGseAxEwgu dU36TGJy7H/AhxdD1QVG6JYPlodb9v8PP+bwefTTI8Pi//PLZ71EbxZNu5+pbGbrKZyo 7O9yff4SZs5unL5Ex1k0JfzL1R4835UeLewgTr8dZnqcZ1nl/+v1eWuzQjVxv9mLReDq VDCA== X-Gm-Message-State: AD7BkJI2FbeE/2qoQH3atlWg/KOF6o+kWnTrHfDmV2zO/EbNmQPlVw2bgQst2jwR4gsPVe2fUsf+CyCVHyZB7g== MIME-Version: 1.0 X-Received: by 10.107.35.82 with SMTP id j79mr11124593ioj.123.1460151605855; Fri, 08 Apr 2016 14:40:05 -0700 (PDT) Received: by 10.36.14.19 with HTTP; Fri, 8 Apr 2016 14:40:05 -0700 (PDT) In-Reply-To: <570819D7.3040206@bsd.com.br> References: <57080811.5030405@bsd.com.br> <570812A5.1050600@bsd.com.br> <570819D7.3040206@bsd.com.br> Date: Fri, 8 Apr 2016 14:40:05 -0700 Message-ID: Subject: Re: WIFI urtwn possibly broken on 297561 From: Adrian Chadd To: =?UTF-8?B?T3RhY8OtbGlv?= Cc: freebsd-current , "freebsd-arm@freebsd.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Apr 2016 21:40:06 -0000 ok, try "ifconfig wlan0 -ht" before starting wpa_supplicant and see if that makes it any better. You should also include IEEE80211_AMPDU_AGE in your config file if you haven't yet. Also, include IEEE80211_DEBUG in there too, and try "wlandebug +rate +ht" ? -adrian On 8 April 2016 at 13:51, Otac=C3=ADlio wrote: > Em 08/04/2016 17:34, Adrian Chadd escreveu: >> >> Hi, >> >> Not '--ff', just '-ff' and '-amsdu' >> >> It's possible that one or the other of those options are a problem. I >> added those features recently to urtwn. >> >> Can you please do 'ifconfig -v wlan0 list sta' and 'ifconfig -v wlan0' ? >> >> Thanks, >> >> >> >> -adrian > > > Sorry, I type wrong but use the commands correctly :-) > > Its my rc.conf > > hostname=3D"beaglebone" > ifconfig_cpsw0=3D"DHCP" > sshd_enable=3D"YES" > > # Nice if you have a network, else annoying. > #ntpd_enable=3D"YES" > ntpd_sync_on_start=3D"YES" > > # Uncomment to disable common services (more memory) > #cron_enable=3D"NO" > #syslogd_enable=3D"NO" > > sendmail_submit_enable=3D"NO" > sendmail_outbound_enable=3D"NO" > sendmail_msp_queue_enable=3D"NO" > # On first boot, enlarge the root filesystem to fill the SD card > growfs_enable=3D"YES" > > wlans_urtwn0=3D"wlan0" > ifconfig_wlan0=3D"WPA SYNCDHCP -amsdu" > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D > > And the commands that you request: > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D > > root@beaglebone:/usr/home/ota # ifconfig -v wlan0 list sta > ADDR AID CHAN RATE RSSI IDLE TXSEQ RXSEQ CAPS FLAG > 58:23:8c:c6:e1:aa 5 11 144M 14.5 0 5 19408 EP AQEHTR > SSID RATES DSPARMS<11> TIM<05040001000= 0> > ERP<0x4> ???<2f0104> RSN > XRATES<12,18,24,96> HTCAP 0x0 antenna 0x0> HTINFO WPS > VEN WPA > WME cwmax 10 txop 0] VO[aifsn 2 cwmin 3 cwmax 4 txop 94] VI[aifsn 2 cwmin 2 > cwmax 3 txop 47]> > root@beaglebone:/usr/home/ota # ifconfig -v wlan0 > wlan0: flags=3D8843 metric 0 mtu = 1500 > ether 14:cc:20:12:ee:55 > inet 192.168.0.25 netmask 0xffffff00 broadcast 192.168.0.255 > groups: wlan > ssid Diana channel 11 (2462 MHz 11g ht/20) bssid 58:23:8c:c6:e1:a= a > regdomain 0 country US anywhere -ecm authmode WPA2/802.11i -wps -= tsn > privacy ON deftxkey UNDEF > TKIP 2:128-bit powersavemode OFF powersavesleep 100 txpower 0 > txpowmax 50.0 -dotd rtsthreshold 2346 fragthreshold 2346 bmiss 7 > 11a ucast NONE mgmt 6 Mb/s mcast 6 Mb/s maxretry 6 > 11b ucast NONE mgmt 1 Mb/s mcast 1 Mb/s maxretry 6 > 11g ucast NONE mgmt 1 Mb/s mcast 1 Mb/s maxretry 6 > turboA ucast NONE mgmt 6 Mb/s mcast 6 Mb/s maxretry 6 > turboG ucast NONE mgmt 1 Mb/s mcast 1 Mb/s maxretry 6 > sturbo ucast NONE mgmt 6 Mb/s mcast 6 Mb/s maxretry 6 > 11na ucast NONE mgmt 12 MCS mcast 12 MCS maxretry 6 > 11ng ucast NONE mgmt 2 MCS mcast 2 MCS maxretry 6 > half ucast NONE mgmt 3 Mb/s mcast 3 Mb/s maxretry 6 > quarter ucast NONE mgmt 1 Mb/s mcast 1 Mb/s maxretry 6 > scanvalid 60 -bgscan bgscanintvl 300 bgscanidle 250 > roam:11a rssi 7dBm rate 12 Mb/s > roam:11b rssi 7dBm rate 1 Mb/s > roam:11g rssi 7dBm rate 5 Mb/s > roam:turboA rssi 7dBm rate 12 Mb/s > roam:turboG rssi 7dBm rate 12 Mb/s > roam:sturbo rssi 7dBm rate 12 Mb/s > roam:11na rssi 7dBm MCS 1 > roam:11ng rssi 7dBm MCS 1 > roam:half rssi 7dBm rate 6 Mb/s > roam:quarter rssi 7dBm rate 3 Mb/s > -pureg protmode CTS ht20 htcompat ampdu ampdulimit 64k ampdudensi= ty > 8 > -amsdu -shortgi htprotmode RTSCTS -puren -smps -rifs wme -burst > -dwds > roaming MANUAL bintval 100 > AC_BE cwmin 4 cwmax 10 aifs 3 txopLimit 0 -acm ack > cwmin 4 cwmax 10 aifs 3 txopLimit 0 -acm > AC_BK cwmin 4 cwmax 10 aifs 7 txopLimit 0 -acm ack > cwmin 4 cwmax 10 aifs 7 txopLimit 0 -acm > AC_VI cwmin 3 cwmax 4 aifs 2 txopLimit 94 -acm ack > cwmin 3 cwmax 4 aifs 2 txopLimit 94 -acm > AC_VO cwmin 2 cwmax 3 aifs 2 txopLimit 47 -acm ack > cwmin 2 cwmax 3 aifs 2 txopLimit 47 -acm > media: IEEE 802.11 Wireless Ethernet MCS mode 11ng > status: associated > nd6 options=3D29 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D > > If you need more test I can do. Send me the requests and I will response > tomorrow. > > > Thanks a lot! > > []'s > -Otac=C3=ADlio