From owner-freebsd-wireless@freebsd.org Mon Aug 1 01:36:51 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 0B9F4BAA4F1; Mon, 1 Aug 2016 01:36:51 +0000 (UTC) (envelope-from ler@lerctr.org) Received: from thebighonker.lerctr.org (thebighonker.lerctr.org [IPv6:2001:470:1f0f:3ad:223:7dff:fe9e:6e8a]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "thebighonker.lerctr.org", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DA6DA100C; Mon, 1 Aug 2016 01:36:50 +0000 (UTC) (envelope-from ler@lerctr.org) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lerctr.org; s=lerami; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=6lfQX42BdBYtw3CjLfjEYBtJP0GTd/UZ4C335xElPJ0=; b=J7GFjffyvJUdwhuzBJ7/8M8N2q q8KSA3xiA8FwZ/ZQxte021ZvfzYUe056reTlHnkMgtIO1egUy5PV3w4W6+wn8t8ONwpItjV+EPllD xicpbrpS5+0t0QicJB5k2/Cv56IOEQLINew8jwN49i0qjj9wRtxkwdOaffbqAH57voks=; Received: from [2001:470:1f0f:42c:2247:47ff:fe73:75f] (port=17583 helo=pita) by thebighonker.lerctr.org with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.87 (FreeBSD)) (envelope-from ) id 1bU29x-000Is7-QG; Sun, 31 Jul 2016 20:36:49 -0500 Date: Sun, 31 Jul 2016 20:36:47 -0500 From: Larry Rosenman To: Adrian Chadd Cc: Imre Vad??sz , Andriy Voskoboinyk , "freebsd-wireless@freebsd.org" , freebsd-current , owner-freebsd-current@freebsd.org Subject: Re: IWM(7260), no connect Message-ID: <20160801013647.GA1294@pita> Mail-Followup-To: Adrian Chadd , Imre Vad??sz , Andriy Voskoboinyk , "freebsd-wireless@freebsd.org" , freebsd-current , owner-freebsd-current@freebsd.org References: <20160728023954.GA1321@pita> <20160728233504.GA1226@pita> <4ee03d28cc2711ed9bc56a725cac344a@thebighonker.lerctr.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.6.1 (2016-04-27) X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.22 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: Mon, 01 Aug 2016 01:36:51 -0000 Even with that reverted, I'm still having iffy connections. Current code: FreeBSD pita 12.0-CURRENT FreeBSD 12.0-CURRENT #4 r303597M: Sun Jul 31 16:02:39 CDT 2016 root@pita:/usr/obj/usr/src/sys/IWM-DEBUG amd64 1200001 1200001 Current diff to that SVN Rev: Index: sys/dev/iwm/if_iwm.c =================================================================== --- sys/dev/iwm/if_iwm.c (revision 303597) +++ sys/dev/iwm/if_iwm.c (working copy) @@ -3357,15 +3357,12 @@ uint8_t subtype = wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK; if (subtype == IEEE80211_FC0_SUBTYPE_ASSOC_REQ || - subtype == IEEE80211_FC0_SUBTYPE_REASSOC_REQ) { - tx->pm_frame_timeout = htole16(IWM_PM_FRAME_ASSOC); - } else if (subtype == IEEE80211_FC0_SUBTYPE_ACTION) { - tx->pm_frame_timeout = htole16(IWM_PM_FRAME_NONE); - } else { - tx->pm_frame_timeout = htole16(IWM_PM_FRAME_MGMT); - } + subtype == IEEE80211_FC0_SUBTYPE_REASSOC_REQ) + tx->pm_frame_timeout = htole16(3); + else + tx->pm_frame_timeout = htole16(2); } else { - tx->pm_frame_timeout = htole16(IWM_PM_FRAME_NONE); + tx->pm_frame_timeout = htole16(0); } if (hdrlen & 3) { Index: sys/dev/iwm/if_iwmreg.h =================================================================== --- sys/dev/iwm/if_iwmreg.h (revision 303597) +++ sys/dev/iwm/if_iwmreg.h (working copy) @@ -4244,18 +4244,6 @@ IWM_TX_CMD_FLG_HCCA_CHUNK = (1 << 31) }; /* IWM_TX_FLAGS_BITS_API_S_VER_1 */ -/** - * enum iwm_tx_pm_timeouts - pm timeout values in TX command - * @IWM_PM_FRAME_NONE: no need to suspend sleep mode - * @IWM_PM_FRAME_MGMT: fw suspend sleep mode for 100TU - * @IWM_PM_FRAME_ASSOC: fw suspend sleep mode for 10sec - */ -enum iwm_tx_pm_timeouts { - IWM_PM_FRAME_NONE = 0, - IWM_PM_FRAME_MGMT = 2, - IWM_PM_FRAME_ASSOC = 3, -}; - /* * TX command security control */ Scan Debug: http://www.lerctr.org/~ler/FreeBSD/WIFI-Scan.txt What next? On Thu, Jul 28, 2016 at 06:06:47PM -0700, Adrian Chadd wrote: > +imre, > > Hi! Larry is having issues with r303418. Would you be able to help him out? > > (If it's not too bad, can we back this out until you figure out what's > going on?) > > Thanks! > > > -a > > > On 28 July 2016 at 18:05, Larry Rosenman wrote: > > On 2016-07-28 20:02, Adrian Chadd wrote: > >> > >> Hi, > >> > >> Which commit(s) did you revert? > >> > >> > >> > >> -a > > > > > > revert r303418 > > > > and now it connects again. > > > > > > -- > > Larry Rosenman http://www.lerctr.org/~ler > > Phone: +1 214-642-9640 E-Mail: ler@lerctr.org > > US Mail: 17716 Limpia Crk, Round Rock, TX 78664-7281 -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 E-Mail: ler@lerctr.org US Mail: 17716 Limpia Crk, Round Rock, TX 78664-7281 From owner-freebsd-wireless@freebsd.org Mon Aug 1 02:19:05 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 51323BAAE08; Mon, 1 Aug 2016 02:19:05 +0000 (UTC) (envelope-from ler@lerctr.org) Received: from thebighonker.lerctr.org (thebighonker.lerctr.org [IPv6:2001:470:1f0f:3ad:223:7dff:fe9e:6e8a]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "thebighonker.lerctr.org", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2C18B12A6; Mon, 1 Aug 2016 02:19:05 +0000 (UTC) (envelope-from ler@lerctr.org) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lerctr.org; s=lerami; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=QSDkfRIhJ6ZldVwgBzofx7OmwJJ27GpsAzT1atYw7II=; b=ikV+jcHbpLcTsHSyLEaZuHiEhH pPEnirHDnJaGVI6tyyLEWECAACrtpPW0hPisyRk4TaejxC48kMXSbclZsfiHFRZKgFJgOIcOpx7Go EILdH/YrNdddTMYHDYgA+x4U9V2agckxiZ87WQCGirx+23VPATYV70D5ewSpm8Czij4U=; Received: from [74.196.221.212] (port=58593 helo=pita) by thebighonker.lerctr.org with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.87 (FreeBSD)) (envelope-from ) id 1bU2oq-000K8u-6I; Sun, 31 Jul 2016 21:19:04 -0500 Date: Sun, 31 Jul 2016 21:19:02 -0500 From: Larry Rosenman To: Adrian Chadd Cc: Imre Vad??sz , Andriy Voskoboinyk , "freebsd-wireless@freebsd.org" , freebsd-current , owner-freebsd-current@freebsd.org Subject: Re: IWM(7260), no connect Message-ID: <20160801021902.GA1998@pita> Mail-Followup-To: Adrian Chadd , Imre Vad??sz , Andriy Voskoboinyk , "freebsd-wireless@freebsd.org" , freebsd-current , owner-freebsd-current@freebsd.org References: <20160728023954.GA1321@pita> <20160728233504.GA1226@pita> <4ee03d28cc2711ed9bc56a725cac344a@thebighonker.lerctr.org> <20160801013647.GA1294@pita> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160801013647.GA1294@pita> User-Agent: Mutt/1.6.1 (2016-04-27) X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.22 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: Mon, 01 Aug 2016 02:19:05 -0000 I recompiled security/wpa_supplicant and seem to be able to get associated. I'm not sure what is going on. Any suggestions? On Sun, Jul 31, 2016 at 08:36:47PM -0500, Larry Rosenman wrote: > Even with that reverted, I'm still having iffy connections. > > Current code: > > FreeBSD pita 12.0-CURRENT FreeBSD 12.0-CURRENT #4 r303597M: Sun Jul 31 16:02:39 CDT 2016 root@pita:/usr/obj/usr/src/sys/IWM-DEBUG amd64 1200001 1200001 > > Current diff to that SVN Rev: > > Index: sys/dev/iwm/if_iwm.c > =================================================================== > --- sys/dev/iwm/if_iwm.c (revision 303597) > +++ sys/dev/iwm/if_iwm.c (working copy) > @@ -3357,15 +3357,12 @@ > uint8_t subtype = wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK; > > if (subtype == IEEE80211_FC0_SUBTYPE_ASSOC_REQ || > - subtype == IEEE80211_FC0_SUBTYPE_REASSOC_REQ) { > - tx->pm_frame_timeout = htole16(IWM_PM_FRAME_ASSOC); > - } else if (subtype == IEEE80211_FC0_SUBTYPE_ACTION) { > - tx->pm_frame_timeout = htole16(IWM_PM_FRAME_NONE); > - } else { > - tx->pm_frame_timeout = htole16(IWM_PM_FRAME_MGMT); > - } > + subtype == IEEE80211_FC0_SUBTYPE_REASSOC_REQ) > + tx->pm_frame_timeout = htole16(3); > + else > + tx->pm_frame_timeout = htole16(2); > } else { > - tx->pm_frame_timeout = htole16(IWM_PM_FRAME_NONE); > + tx->pm_frame_timeout = htole16(0); > } > > if (hdrlen & 3) { > Index: sys/dev/iwm/if_iwmreg.h > =================================================================== > --- sys/dev/iwm/if_iwmreg.h (revision 303597) > +++ sys/dev/iwm/if_iwmreg.h (working copy) > @@ -4244,18 +4244,6 @@ > IWM_TX_CMD_FLG_HCCA_CHUNK = (1 << 31) > }; /* IWM_TX_FLAGS_BITS_API_S_VER_1 */ > > -/** > - * enum iwm_tx_pm_timeouts - pm timeout values in TX command > - * @IWM_PM_FRAME_NONE: no need to suspend sleep mode > - * @IWM_PM_FRAME_MGMT: fw suspend sleep mode for 100TU > - * @IWM_PM_FRAME_ASSOC: fw suspend sleep mode for 10sec > - */ > -enum iwm_tx_pm_timeouts { > - IWM_PM_FRAME_NONE = 0, > - IWM_PM_FRAME_MGMT = 2, > - IWM_PM_FRAME_ASSOC = 3, > -}; > - > /* > * TX command security control > */ > > > > Scan Debug: > http://www.lerctr.org/~ler/FreeBSD/WIFI-Scan.txt > > What next? > > On Thu, Jul 28, 2016 at 06:06:47PM -0700, Adrian Chadd wrote: > > +imre, > > > > Hi! Larry is having issues with r303418. Would you be able to help him out? > > > > (If it's not too bad, can we back this out until you figure out what's > > going on?) > > > > Thanks! > > > > > > -a > > > > > > On 28 July 2016 at 18:05, Larry Rosenman wrote: > > > On 2016-07-28 20:02, Adrian Chadd wrote: > > >> > > >> Hi, > > >> > > >> Which commit(s) did you revert? > > >> > > >> > > >> > > >> -a > > > > > > > > > revert r303418 > > > > > > and now it connects again. > > > > > > > > > -- > > > Larry Rosenman http://www.lerctr.org/~ler > > > Phone: +1 214-642-9640 E-Mail: ler@lerctr.org > > > US Mail: 17716 Limpia Crk, Round Rock, TX 78664-7281 > > -- > Larry Rosenman http://www.lerctr.org/~ler > Phone: +1 214-642-9640 E-Mail: ler@lerctr.org > US Mail: 17716 Limpia Crk, Round Rock, TX 78664-7281 -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 E-Mail: ler@lerctr.org US Mail: 17716 Limpia Crk, Round Rock, TX 78664-7281 From owner-freebsd-wireless@freebsd.org Tue Aug 2 03:01:48 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 79B61BABB86 for ; Tue, 2 Aug 2016 03:01:48 +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 5158B1E65 for ; Tue, 2 Aug 2016 03:01:48 +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 u7231mTF088528 for ; Tue, 2 Aug 2016 03:01:48 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-wireless@FreeBSD.org Subject: [Bug 211519] iwm WiFi driver can't connect to hidden SSID Date: Tue, 02 Aug 2016 03:01:48 +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-BETA2 X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: awesomevito@live.com 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 cc 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.22 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: Tue, 02 Aug 2016 03:01:48 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211519 Bug ID: 211519 Summary: iwm WiFi driver can't connect to hidden SSID Product: Base System Version: 11.0-BETA2 Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: wireless Assignee: freebsd-wireless@FreeBSD.org Reporter: awesomevito@live.com CC: freebsd-amd64@FreeBSD.org CC: freebsd-amd64@FreeBSD.org the iwm WIFI driver works fine with normal WIFI (SSID visible), but "no suitable network found" when it comes to hidden SSID. here is the wpa config: --------------/etc/wpa_supplicant.conf------------------ ctrl_interface=3D/var/run/wpa_supplicant passive_scan=3D1 ap_scan=3D1 update_config=3D1 network=3D{ mode=3D0 scan_ssid=3D1 bssid=3Dxx:xx:xx:xx:xx:xx proto=3DWPA2 key_mgmt=3DWPA-PSK pairwise=3DCCMP group=3DCCMP ssid=3D"myssid" psk=3D"mypwd" } -----------------/etc/rc.conf--------------------------- hostname=3D"MY-HOST" wlans_iwm0=3D"wlan0" ifconfig_wlan0=3D"WPA DHCP" ifconfig_wlan0_ipv6=3D"inet6 accept_rtadv" wpa_supplicant_enable=3D"YES" sshd_enable=3D"YES" powerd_enable=3D"YES" # Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable dumpdev=3D"AUTO" dbus_enable=3D"YES" autofs_enable=3D"YES" ----------------------uname -a------------------ FreeBSD VITO-NUC 11.0-BETA2 FreeBSD 11.0-BETA2 #0 r303168: Fri Jul 22 02:23= :56 UTC 2016 root@releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd= 64 -------------------ifconfig | grep -B3 -i wireless------------------ inet6 fe80::3613:e8ff:fe39:9d42%wlan0 prefixlen 64 scopeid 0x3=20 inet 192.168.200.154 netmask 0xffffff00 broadcast 192.168.200.255=20 nd6 options=3D23 media: IEEE 802.11 Wireless Ethernet OFDM/48Mbps mode 11g Tell me if I should provide more information. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-wireless@freebsd.org Tue Aug 2 04:43:21 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 01A48BAC063 for ; Tue, 2 Aug 2016 04:43:21 +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 E59A6187D for ; Tue, 2 Aug 2016 04:43:20 +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 u724hKKk051992 for ; Tue, 2 Aug 2016 04:43:20 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-wireless@FreeBSD.org Subject: [Bug 211520] iwn controller panic in 11.0-BETA3 Date: Tue, 02 Aug 2016 04:43:21 +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-BETA3 X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: rwestlun@gmail.com 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 cc 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.22 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: Tue, 02 Aug 2016 04:43:21 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211520 Bug ID: 211520 Summary: iwn controller panic in 11.0-BETA3 Product: Base System Version: 11.0-BETA3 Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: wireless Assignee: freebsd-wireless@FreeBSD.org Reporter: rwestlun@gmail.com CC: freebsd-amd64@FreeBSD.org CC: freebsd-amd64@FreeBSD.org My system hung during normal usage while using wifi (graphical display still up, but nothing responding). After rebooting, this was in /var/log/message= s: Aug 2 00:25:13 mako kernel: iwn0: iwn_intr: fatal firmware error Aug 2 00:25:13 mako kernel: firmware error log: Aug 2 00:25:13 mako kernel: error type =3D "UNKNOWN" (0x00001047) Aug 2 00:25:13 mako kernel: program counter =3D 0x000043F0 Aug 2 00:25:13 mako kernel: source line =3D 0x00001423 Aug 2 00:25:13 mako kernel: error data =3D 0x0010A00080102087 Aug 2 00:25:13 mako kernel: branch link =3D 0x000043F2000043F2 Aug 2 00:25:13 mako kernel: interrupt link =3D 0x0000D6BE00000000 Aug 2 00:25:13 mako kernel: time =3D 1417374444 Aug 2 00:25:13 mako kernel: driver status: Aug 2 00:25:13 mako kernel: tx ring 0: qid=3D0 cur=3D112 queued=3D0 Aug 2 00:25:13 mako kernel: tx ring 1: qid=3D1 cur=3D0 queued=3D0 Aug 2 00:25:13 mako kernel: tx ring 2: qid=3D2 cur=3D136 queued=3D1 Aug 2 00:25:13 mako kernel: tx ring 3: qid=3D3 cur=3D41 queued=3D0 Aug 2 00:25:13 mako kernel: tx ring 4: qid=3D4 cur=3D0 queued=3D0 Aug 2 00:25:13 mako kernel: tx ring 5: qid=3D5 cur=3D0 queued=3D0 Aug 2 00:25:13 mako kernel: tx ring 6: qid=3D6 cur=3D0 queued=3D0 Aug 2 00:25:13 mako kernel: tx ring 7: qid=3D7 cur=3D0 queued=3D0 Aug 2 00:25:13 mako kernel: tx ring 8: qid=3D8 cur=3D0 queued=3D0 Aug 2 00:25:13 mako kernel: tx ring 9: qid=3D9 cur=3D145 queued=3D0 Aug 2 00:25:13 mako kernel: tx ring 10: qid=3D10 cur=3D251 queued=3D2 Aug 2 00:25:13 mako kernel: tx ring 11: qid=3D11 cur=3D0 queued=3D0 Aug 2 00:25:13 mako kernel: tx ring 12: qid=3D12 cur=3D0 queued=3D0 Aug 2 00:25:13 mako kernel: tx ring 13: qid=3D13 cur=3D0 queued=3D0 Aug 2 00:25:13 mako kernel: tx ring 14: qid=3D14 cur=3D0 queued=3D0 Aug 2 00:25:13 mako kernel: tx ring 15: qid=3D15 cur=3D0 queued=3D0 Aug 2 00:25:13 mako kernel: tx ring 16: qid=3D16 cur=3D0 queued=3D0 Aug 2 00:25:13 mako kernel: tx ring 17: qid=3D17 cur=3D0 queued=3D0 Aug 2 00:25:13 mako kernel: tx ring 18: qid=3D18 cur=3D0 queued=3D0 Aug 2 00:25:13 mako kernel: tx ring 19: qid=3D19 cur=3D0 queued=3D0 Aug 2 00:25:13 mako kernel: rx ring: cur=3D53 Aug 2 00:25:13 mako kernel: iwn0: iwn_panicked: controller panicked, iv_st= ate =3D 5; restarting Aug 2 00:25:13 mako kernel: wlan0: link state changed to DOWN Aug 2 00:25:13 mako kernel: lagg0: link state changed to DOWN Aug 2 00:25:13 mako wpa_supplicant[366]: wlan0: CTRL-EVENT-DISCONNECTED bssid=3Dc4:04:15:90:f5:fd reason=3D0 Aug 2 00:25:13 mako wpa_supplicant[366]: ioctl[SIOCS80211, op=3D20, val=3D= 0, arg_len=3D7]: Can't assign requested address Aug 2 00:25:13 mako kernel: iwn0: iwn_read_firmware: ucode rev=3D0x12a80601 Aug 2 00:25:15 mako wpa_supplicant[366]: wlan0: Trying to associate with c4:04:15:90:f5:fd (SSID=3D'neural_network' freq=3D2412 MHz) Aug 2 00:25:15 mako wpa_supplicant[366]: wlan0: Associated with c4:04:15:90:f5:fd Aug 2 00:25:15 mako kernel: wlan0: link state changed to UP Aug 2 00:25:15 mako kernel: lagg0: link state changed to UP Aug 2 00:25:15 mako dhclient[732]: send_packet: No buffer space available Aug 2 00:25:15 mako wpa_supplicant[366]: wlan0: WPA: Key negotiation compl= eted with c4:04:15:90:f5:fd [PTK=3DCCMP GTK=3DCCMP] Aug 2 00:25:15 mako wpa_supplicant[366]: wlan0: CTRL-EVENT-CONNECTED - Connection to c4:04:15:90:f5:fd completed [id=3D2 id_str=3D] I'm running 11.0-BETA3, amd64. Network device: iwn0@pci0:3:0:0: class=3D0x028000 card=3D0x13118086 chip=3D0x0085808= 6 rev=3D0x34 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D 'Centrino Advanced-N 6205 [Taylor Peak]' class =3D network --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-wireless@freebsd.org Tue Aug 2 04:51:42 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 E90A7BAC1B9 for ; Tue, 2 Aug 2016 04:51:42 +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 D8C5A19DE for ; Tue, 2 Aug 2016 04:51:42 +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 u724pgZ6068556 for ; Tue, 2 Aug 2016 04:51:42 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-wireless@FreeBSD.org Subject: [Bug 211520] iwn controller panic in 11.0-BETA3 Date: Tue, 02 Aug 2016 04:51:43 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: 11.0-BETA3 X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: rwestlun@gmail.com 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: Message-ID: In-Reply-To: References: 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.22 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: Tue, 02 Aug 2016 04:51:43 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211520 --- Comment #1 from Randy Westlund --- And here's the relevant ifconfig output for good measure. It's in a failover lagg with em0. wlan0: flags=3D8843 metric 0 mtu 15= 00 ether 3c:97:0e:46:70:ca nd6 options=3D29 media: IEEE 802.11 Wireless Ethernet MCS mode 11ng status: associated ssid neural_network channel 1 (2412 MHz 11g ht/40+) bssid c4:04:15:90:f5:fd regdomain FCC country US authmode WPA2/802.11i privacy ON deftxkey UNDEF AES-CCM 2:128-bit txpower 30 bmiss 10 scanvalid 60 protmode CTS ampdulimit 64k ampdudensity 8 -amsdutx amsdurx shortgi -stbc wme roaming MANUAL groups: wlan --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-wireless@freebsd.org Tue Aug 2 06:16:45 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 4085EBAA15C for ; Tue, 2 Aug 2016 06:16:45 +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 303871F89 for ; Tue, 2 Aug 2016 06:16:45 +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 u726GiQT090582 for ; Tue, 2 Aug 2016 06:16:45 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-wireless@FreeBSD.org Subject: [Bug 211520] iwn controller panic in 11.0-BETA3 Date: Tue, 02 Aug 2016 06:16:45 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: 11.0-BETA3 X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: lme@FreeBSD.org 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: cc Message-ID: In-Reply-To: References: 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.22 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: Tue, 02 Aug 2016 06:16:45 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211520 Lars Engels changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lme@FreeBSD.org --- Comment #2 from Lars Engels --- Same here with iwn and em. It's easy to reproduce. Just run "service netif restart" and you get an insta-freeze. But I don't see the firmware error messages in /var/log/messa= ges Unfortunately nothing is shown on the console when the system freezes. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-wireless@freebsd.org Tue Aug 2 06:21:46 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 AEA64BAA37F for ; Tue, 2 Aug 2016 06:21:46 +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 9E90712E1 for ; Tue, 2 Aug 2016 06:21:46 +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 u726LkII063069 for ; Tue, 2 Aug 2016 06:21:46 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-wireless@FreeBSD.org Subject: [Bug 211520] iwn controller panic in 11.0-BETA3 Date: Tue, 02 Aug 2016 06:21:46 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: 11.0-BETA3 X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: rwestlun@gmail.com 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: Message-ID: In-Reply-To: References: 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.22 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: Tue, 02 Aug 2016 06:21:46 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211520 --- Comment #3 from Randy Westlund --- Sounds like a different thing; I can restart networking without trouble. It= 's only frozen on me once, after several hours for working just fine. I don't know what triggered it. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-wireless@freebsd.org Tue Aug 2 08:07:20 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 320DABACCDC for ; Tue, 2 Aug 2016 08:07:20 +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 215851FCB for ; Tue, 2 Aug 2016 08:07:20 +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 u7287JN9032933 for ; Tue, 2 Aug 2016 08:07:20 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-wireless@FreeBSD.org Subject: [Bug 211519] iwm WiFi driver can't connect to hidden SSID Date: Tue, 02 Aug 2016 08:07:19 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: 11.0-BETA2 X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: avos@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: avos@freebsd.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to bug_status cc attachments.created Message-ID: In-Reply-To: References: 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.22 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: Tue, 02 Aug 2016 08:07:20 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211519 Andriy Voskoboinyk changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|freebsd-wireless@FreeBSD.or |avos@freebsd.org |g | Status|New |In Progress CC| |avos@freebsd.org --- Comment #1 from Andriy Voskoboinyk --- Created attachment 173185 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D173185&action= =3Dedit Setup SSIDs in scan command Hi! Try to apply attached patch and recompile / reinstall the kernel. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-wireless@freebsd.org Tue Aug 2 18:20:10 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 41354BAC3A6 for ; Tue, 2 Aug 2016 18:20:10 +0000 (UTC) (envelope-from cse.cem@gmail.com) Received: from mail-io0-f171.google.com (mail-io0-f171.google.com [209.85.223.171]) (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 13A3311AD for ; Tue, 2 Aug 2016 18:20:09 +0000 (UTC) (envelope-from cse.cem@gmail.com) Received: by mail-io0-f171.google.com with SMTP id 38so220676561iol.0 for ; Tue, 02 Aug 2016 11:20:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:reply-to:in-reply-to:references :from:date:message-id:subject:to:content-transfer-encoding; bh=3bmWDe+Jss30dRmTt1QvonD4/lX7jrft0vULeFEZ2do=; b=A0kpMgi+FdJrF2pSL+xOk3Y/2bAHWCIelTTQEx/WULlhTJQfhbY8GqdKlPtYhiNY+H V8t+v7zOERoVeZULtyGEMeXaToBizdKg8KoR7I6VUNDOqn98qv5UBcRVGA4rt7riMSd1 06RizrnlrDUFp3T0/Ce8p43yQmF0QdeDD6r78vnjlmzthD2WLw3EieZmumk3m4zDwbM+ UrPbHJAx3kJTxgWEhRO254CQMkDwExH6QM64DbX+bpUbTy9nrs7IOKe6jYN5uG3stPsQ aRtQBmkYXo7ZXn97Urd3PbL2h8XD8Nl7xfkLuMHLyzMk1o0P++7oClAWKrmSOJAjeFty S7NQ== X-Gm-Message-State: AEkoouuUCQlnPYoWu1Gw8Dh0DQYouEiSn5u2xexjbn6GD/C0lfsaOzecg3Qt597Bvkwk2Q== X-Received: by 10.107.140.17 with SMTP id o17mr60081421iod.69.1470162008666; Tue, 02 Aug 2016 11:20:08 -0700 (PDT) Received: from mail-it0-f54.google.com (mail-it0-f54.google.com. [209.85.214.54]) by smtp.gmail.com with ESMTPSA id h70sm1816791ith.12.2016.08.02.11.20.08 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 02 Aug 2016 11:20:08 -0700 (PDT) Received: by mail-it0-f54.google.com with SMTP id f6so43060075ith.0 for ; Tue, 02 Aug 2016 11:20:08 -0700 (PDT) X-Received: by 10.36.76.16 with SMTP id a16mr20430535itb.86.1470162007211; Tue, 02 Aug 2016 11:20:07 -0700 (PDT) MIME-Version: 1.0 Reply-To: cem@freebsd.org Received: by 10.36.233.67 with HTTP; Tue, 2 Aug 2016 11:20:06 -0700 (PDT) In-Reply-To: References: <57a0d7544a594_2113b7d3383446f@ss1435.mail> From: Conrad Meyer Date: Tue, 2 Aug 2016 11:20:06 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Fwd: New Defects reported by Coverity Scan for FreeBSD To: freebsd-wireless@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.22 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: Tue, 02 Aug 2016 18:20:10 -0000 Hi all, Coverity noticed a few issues in iwm(4) recently. Adrian suggested I forward them to this list. I've trimmed it down to just the relevant iwm(4) bits. Hope it helps, anyway. Cheers, Conrad ---------- Forwarded message ---------- From: Date: Tue, Aug 2, 2016 at 10:24 AM Subject: New Defects reported by Coverity Scan for FreeBSD To: cem@freebsd.org Hi, Please find the latest report on new defect(s) introduced to FreeBSD found with Coverity Scan. 23 new defect(s) introduced to FreeBSD found with Coverity Scan. 11 defect(s), reported by Coverity Scan earlier, were marked fixed in the recent build analyzed by Coverity Scan. New defect(s) Reported-by: Coverity Scan Showing 20 of 23 defect(s) ... ___________________________________________________________________________= ___________________________ * CID 1361062: (DEADCODE) /sys/dev/iwm/if_iwm_scan.c: 702 in iwm_mvm_lmac_scan() 696 req->tx_cmd[1].rate_n_flags =3D 697 iwm_mvm_scan_rate_n_flags(sc, IEEE80211_CHAN_5GHZ, 1/*XXX*/); 698 req->tx_cmd[1].sta_id =3D sc->sc_aux_sta.sta_id; 699 700 /* Check if we're doing an active directed scan. */ 701 if (ssid_len !=3D 0) { CID 1361062: (DEADCODE) Execution cannot reach this statement: =E2=80=9Creq->direct_scan[0].id =3D IE=E2=80=A6=E2=80=9D. 702 req->direct_scan[0].id =3D IEEE80211_ELEMID_SSID; 703 req->direct_scan[0].len =3D ssid_len; 704 memcpy(req->direct_scan[0].ssid, ssid, ssid_len); 705 } 706 707 req->n_channels =3D iwm_mvm_lmac_scan_fill_channels(sc, /sys/dev/iwm/if_iwm_scan.c: 674 in iwm_mvm_lmac_scan() 668 req->scan_flags =3D htole32(IWM_MVM_LMAC_SCAN_FLAG_PASS_ALL | 669 IWM_MVM_LMAC_SCAN_FLAG_ITER_COMPLETE | 670 IWM_MVM_LMAC_SCAN_FLAG_EXTENDED_DWELL); 671 if (ssid_len =3D=3D 0) 672 req->scan_flags |=3D htole32(IWM_MVM_LMAC_SCAN_FLAG_PASSIVE); 673 else CID 1361062: (DEADCODE) Execution cannot reach this statement: =E2=80=9Creq->scan_flags |=3D 4U;=E2=80=9D. 674 req->scan_flags |=3D 675 htole32(IWM_MVM_LMAC_SCAN_FLAG_PRE_CONNECTION); 676 if (isset(sc->sc_enabled_capa, 677 IWM_UCODE_TLV_CAPA_DS_PARAM_SET_IE_SUPPORT)) 678 req->scan_flags |=3D htole32(IWM_MVM_LMAC_SCAN_FLAGS_RRM_ENABLED); 679 ** CID 1361063: Possible Control flow issues (DEADCODE) /sys/dev/iwm/if_iwm_scan.c: 593 in iwm_mvm_umac_scan() ___________________________________________________________________________= ___________________________ * CID 1361063: Possible Control flow issues (DEADCODE) /sys/dev/iwm/if_iwm_scan.c: 593 in iwm_mvm_umac_scan() 587 tail =3D (void )((char *)&req->data + 588 sizeof(struct iwm_scan_channel_cfg_umac) * 589 sc->sc_capa_n_scan_channels); 590 591 / Check if we're doing an active directed scan. */ 592 if (ssid_len !=3D 0) { CID 1361063: Possible Control flow issues (DEADCODE) Execution cannot reach this statement: =E2=80=9Ctail->direct_scan[0].id =3D I=E2=80=A6=E2=80= =9D. 593 tail->direct_scan[0].id =3D IEEE80211_ELEMID_SSID; 594 tail->direct_scan[0].len =3D ssid_len; 595 memcpy(tail->direct_scan[0].ssid, ssid, ssid_len); 596 req->general_flags |=3D 597 htole32(IWM_UMAC_SCAN_GEN_FLAGS_PRE_CONNECT); 598 } else { ** CID 1361064: Null pointer dereferences (FORWARD_NULL) /sys/dev/iwm/if_iwm.c: 4443 in iwm_send_update_mcc_cmd() ___________________________________________________________________________= ___________________________ * CID 1361064: Null pointer dereferences (FORWARD_NULL) /sys/dev/iwm/if_iwm.c: 4443 in iwm_send_update_mcc_cmd() 4437 if (resp_v2) { 4438 mcc_resp =3D (void *)pkt->data; 4439 mcc =3D mcc_resp->mcc; 4440 n_channels =3D le32toh(mcc_resp->n_channels); 4441 } else { 4442 mcc_resp_v1 =3D (void *)pkt->data; CID 1361064: Null pointer dereferences (FORWARD_NULL) Dereferencing null pointer =E2=80=9Cmcc_resp_v1=E2=80=9D. 4443 mcc =3D mcc_resp_v1->mcc; 4444 n_channels =3D le32toh(mcc_resp_v1->n_channels); 4445 } 4446 4447 /* W/A for a FW/NVM issue =E2=80=93 returns 0=C3=9700 for the world domain */ 4448 if (mcc =3D= =3D 0) ** CID 1361065: Null pointer dereferences (FORWARD_NULL) /sys/dev/iwm/if_iwm.c: 4439 in iwm_send_update_mcc_cmd() ___________________________________________________________________________= ___________________________ * CID 1361065: Null pointer dereferences (FORWARD_NULL) /sys/dev/iwm/if_iwm.c: 4439 in iwm_send_update_mcc_cmd() 4433 #ifdef IWM_DEBUG 4434 pkt =3D hcmd.resp_pkt; 4435 4436 /* Extract MCC response */ 4437 if (resp_v2) { 4438 mcc_resp =3D (void *)pkt->data; CID 1361065: Null pointer dereferences (FORWARD_NULL) Dereferencing null pointer =E2=80=9Cmcc_resp=E2=80=9D. 4439 mcc =3D mcc_resp->mcc; 4440 n_channels =3D le32toh(mcc_resp->n_channels); 4441 } else { 4442 mcc_resp_v1 =3D (void *)pkt->data; 4443 mcc =3D mcc_resp_v1->mcc; 4444 n_channels =3D le32toh(mcc_resp_v1->n_channels); ... ** CID 1361068: Memory =E2=80=93 corruptions (OVERRUN) /sys/dev/iwm/if_iwm.= c: 749 in iwm_read_firmware() ___________________________________________________________________________= ___________________________ * CID 1361068: Memory =E2=80=93 corruptions (OVERRUN) /sys/dev/iwm/if_iwm.c= : 749 in iwm_read_firmware() 743 =E2=80=9Cunsupported API index %d\n=E2=80=9D= , idx); 744 goto parse_out; 745 } 746 for (i =3D 0; i < 32; i++) { 747 if ((le32toh(capa->api_capa) & (1U << i)) =3D=3D 0) 748 continue; CID 1361068: Memory =E2=80=93 corruptions (OVERRUN) Overrunning array of 16 bytes at byte offset 19 by dereferencing pointer =E2=80=9C(unsigned char *)sc->sc_enabled_capa + (i + 32 * idx) / 8=E2=80=9D. 749 setbit(sc->sc_enabled_capa, i + (32 * idx)); 750 } 751 break; 752 } 753 754 case 48: /* undocumented TLV */ ... ___________________________________________________________________________= ___________________________ To view the defects in Coverity Scan visit, https://scan.coverity.com/projects/freebsd?tab=3Doverview From owner-freebsd-wireless@freebsd.org Tue Aug 2 18:40:31 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 59276BAC7DD for ; Tue, 2 Aug 2016 18:40:31 +0000 (UTC) (envelope-from s3erios@gmail.com) Received: from mail-lf0-x236.google.com (mail-lf0-x236.google.com [IPv6:2a00:1450:4010:c07::236]) (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 BDAA21B7D; Tue, 2 Aug 2016 18:40:30 +0000 (UTC) (envelope-from s3erios@gmail.com) Received: by mail-lf0-x236.google.com with SMTP id l69so144707684lfg.1; Tue, 02 Aug 2016 11:40:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=to:subject:references:date:mime-version:content-transfer-encoding :from:message-id:in-reply-to:user-agent; bh=1SryGcH+5y7kEdCzbqau8VwrTHAPrOHy7dvOtyx8IrQ=; b=uewo8no8wy0ISpnXRaBbmBilO9ObTrwFyZxiKkNqoP27zDF1Wlx+sXDZW/7owXODkm 3ibDrJI/NV9LGjLfUvKDuZLpC1p//eb72jS6QULRXWFC13GwLyt+Z5IKcoh3RARR1WBQ 31G9ZKHF/EKPC2HdMSZ6AsbqGnF3qkgLSNXV0BO2hV+Bjl96WHzUhce/Lfoe+ZJLev1p HjL7Qywh87Az38G3HLoiFLkeyAYRgtme9tntq0PTS0PPeK50BhhgK32vbYf/GlYtqm8L DcWI2l7TuaMlmwbUOkAifN3XWjTgWqrYoyjG9vZ4B6dAXhJbVdQzpdMfXbe4YiKI7z5U l4Og== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:to:subject:references:date:mime-version :content-transfer-encoding:from:message-id:in-reply-to:user-agent; bh=1SryGcH+5y7kEdCzbqau8VwrTHAPrOHy7dvOtyx8IrQ=; b=bbH0hRigO7HtficObZVn+1yqbEACH8DN3CSD3JhFuY8g4+lPCxLDZyCGIaQUwhJz9R 11AWR257mdUm+gB5rPqk8hZajSgUOYn1B+m5wFZd4NezEQzsNUdZSISVEmYRXolGT/rm yfpGyU9d9LIkOkALeNFSfOpPvjIh1tns/0cToNulQuhohLc79XzlYlxNLGrA2HDNc5wd qzGTbwDODEVXDv7h/nx+xHS8AvoE6AjqfMVo0/hJDd0LNrHzesOrOTbgU0dguEEtlNEH dcOjlVy2xtIbXrLKCNfrrMh9dgdQGd82k1KZF2M2apVRp9zdjQJUsGlJiOfOafZYlCdI YIAQ== X-Gm-Message-State: AEkooutchxIgQS+z+C9D+J7zZa3sLf398xwh4ecntRw4ujSYE1C2pyBaqg+vLA5Hzik/dQ== X-Received: by 10.25.155.145 with SMTP id d139mr21060026lfe.120.1470163227948; Tue, 02 Aug 2016 11:40:27 -0700 (PDT) Received: from localhost (host-176-37-109-22.la.net.ua. [176.37.109.22]) by smtp.gmail.com with ESMTPSA id g3sm721345lfe.14.2016.08.02.11.40.26 (version=TLS1 cipher=AES128-SHA bits=128/128); Tue, 02 Aug 2016 11:40:27 -0700 (PDT) Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes To: freebsd-wireless@freebsd.org, "Conrad Meyer" Subject: Re: Fwd: New Defects reported by Coverity Scan for FreeBSD References: <57a0d7544a594_2113b7d3383446f@ss1435.mail> Date: Tue, 02 Aug 2016 21:40:21 +0300 MIME-Version: 1.0 Content-Transfer-Encoding: Quoted-Printable From: "Andriy Voskoboinyk" Message-ID: In-Reply-To: User-Agent: Opera Mail/12.16 (FreeBSD) X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.22 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: Tue, 02 Aug 2016 18:40:31 -0000 Some of them (1361062, 1361063) are fixed in https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211519 attachment (I will commit it after testing). > Hi all, > > Coverity noticed a few issues in iwm(4) recently. Adrian suggested I > forward them to this list. I've trimmed it down to just the relevant > iwm(4) bits. Hope it helps, anyway. > > Cheers, > Conrad > > > ---------- Forwarded message ---------- > From: > Date: Tue, Aug 2, 2016 at 10:24 AM > Subject: New Defects reported by Coverity Scan for FreeBSD > To: cem@freebsd.org > > > Hi, > > Please find the latest report on new defect(s) introduced to FreeBSD > found with Coverity Scan. > > 23 new defect(s) introduced to FreeBSD found with Coverity Scan. 11 > defect(s), reported by Coverity Scan earlier, were marked fixed in the= > recent build analyzed by Coverity Scan. > > New defect(s) Reported-by: Coverity Scan Showing 20 of 23 defect(s) > > ... > > ______________________________________________________________________= ________________________________ > * CID 1361062: (DEADCODE) /sys/dev/iwm/if_iwm_scan.c: 702 in > iwm_mvm_lmac_scan() 696 req->tx_cmd[1].rate_n_flags =3D 697 > iwm_mvm_scan_rate_n_flags(sc, IEEE80211_CHAN_5GHZ, 1/*XXX*/); 698 > req->tx_cmd[1].sta_id =3D sc->sc_aux_sta.sta_id; 699 700 /* Check if > we're doing an active directed scan. */ 701 if (ssid_len !=3D 0) { > > CID 1361062: (DEADCODE) Execution cannot reach this statement: > =E2=80=9Creq->direct_scan[0].id =3D IE=E2=80=A6=E2=80=9D. > > 702 req->direct_scan[0].id =3D IEEE80211_ELEMID_SSID; 703 > req->direct_scan[0].len =3D ssid_len; 704 > memcpy(req->direct_scan[0].ssid, ssid, ssid_len); 705 } 706 707 > req->n_channels =3D iwm_mvm_lmac_scan_fill_channels(sc, > /sys/dev/iwm/if_iwm_scan.c: 674 in iwm_mvm_lmac_scan() 668 > req->scan_flags =3D htole32(IWM_MVM_LMAC_SCAN_FLAG_PASS_ALL | 669 > IWM_MVM_LMAC_SCAN_FLAG_ITER_COMPLETE | 670 > IWM_MVM_LMAC_SCAN_FLAG_EXTENDED_DWELL); 671 if (ssid_len =3D=3D 0) 672= > req->scan_flags |=3D htole32(IWM_MVM_LMAC_SCAN_FLAG_PASSIVE); 673 else= > > CID 1361062: (DEADCODE) Execution cannot reach this statement: > =E2=80=9Creq->scan_flags |=3D 4U;=E2=80=9D. > > 674 req->scan_flags |=3D 675 > htole32(IWM_MVM_LMAC_SCAN_FLAG_PRE_CONNECTION); 676 if > (isset(sc->sc_enabled_capa, 677 > IWM_UCODE_TLV_CAPA_DS_PARAM_SET_IE_SUPPORT)) 678 req->scan_flags |=3D > htole32(IWM_MVM_LMAC_SCAN_FLAGS_RRM_ENABLED); 679 > > ** CID 1361063: Possible Control flow issues (DEADCODE) > /sys/dev/iwm/if_iwm_scan.c: 593 in iwm_mvm_umac_scan() > > ______________________________________________________________________= ________________________________ > * CID 1361063: Possible Control flow issues (DEADCODE) > /sys/dev/iwm/if_iwm_scan.c: 593 in iwm_mvm_umac_scan() 587 tail =3D > (void )((char *)&req->data + 588 sizeof(struct > iwm_scan_channel_cfg_umac) * 589 sc->sc_capa_n_scan_channels); 590 591= > / Check if we're doing an active directed scan. */ 592 if (ssid_len !=3D= > 0) { > > CID 1361063: Possible Control flow issues (DEADCODE) Execution cannot > reach this statement: =E2=80=9Ctail->direct_scan[0].id =3D I=E2=80=A6=E2= =80=9D. > > 593 tail->direct_scan[0].id =3D IEEE80211_ELEMID_SSID; 594 > tail->direct_scan[0].len =3D ssid_len; 595 > memcpy(tail->direct_scan[0].ssid, ssid, ssid_len); 596 > req->general_flags |=3D 597 > htole32(IWM_UMAC_SCAN_GEN_FLAGS_PRE_CONNECT); 598 } else { > > ** CID 1361064: Null pointer dereferences (FORWARD_NULL) > /sys/dev/iwm/if_iwm.c: 4443 in iwm_send_update_mcc_cmd() > > ______________________________________________________________________= ________________________________ > * CID 1361064: Null pointer dereferences (FORWARD_NULL) > /sys/dev/iwm/if_iwm.c: 4443 in iwm_send_update_mcc_cmd() 4437 if > (resp_v2) { 4438 mcc_resp =3D (void *)pkt->data; 4439 mcc =3D > mcc_resp->mcc; 4440 n_channels =3D le32toh(mcc_resp->n_channels); 4441= } > else { 4442 mcc_resp_v1 =3D (void *)pkt->data; > > CID 1361064: Null pointer dereferences (FORWARD_NULL) Dereferencing > null pointer =E2=80=9Cmcc_resp_v1=E2=80=9D. > > 4443 mcc =3D mcc_resp_v1->mcc; 4444 n_channels =3D > le32toh(mcc_resp_v1->n_channels); 4445 } 4446 4447 /* W/A for a FW/NVM= > issue =E2=80=93 returns 0=C3=9700 for the world domain */ 4448 if (mcc= =3D=3D 0) > > ** CID 1361065: Null pointer dereferences (FORWARD_NULL) > /sys/dev/iwm/if_iwm.c: 4439 in iwm_send_update_mcc_cmd() > > ______________________________________________________________________= ________________________________ > * CID 1361065: Null pointer dereferences (FORWARD_NULL) > /sys/dev/iwm/if_iwm.c: 4439 in iwm_send_update_mcc_cmd() 4433 #ifdef > IWM_DEBUG 4434 pkt =3D hcmd.resp_pkt; 4435 4436 /* Extract MCC respons= e > */ 4437 if (resp_v2) { 4438 mcc_resp =3D (void *)pkt->data; > > CID 1361065: Null pointer dereferences (FORWARD_NULL) Dereferencing > null pointer =E2=80=9Cmcc_resp=E2=80=9D. > > 4439 mcc =3D mcc_resp->mcc; 4440 n_channels =3D > le32toh(mcc_resp->n_channels); 4441 } else { 4442 mcc_resp_v1 =3D (voi= d > *)pkt->data; 4443 mcc =3D mcc_resp_v1->mcc; 4444 n_channels =3D > le32toh(mcc_resp_v1->n_channels); > > ... > > ** CID 1361068: Memory =E2=80=93 corruptions (OVERRUN) /sys/dev/iwm/if= _iwm.c: > 749 in iwm_read_firmware() > > ______________________________________________________________________= ________________________________ > * CID 1361068: Memory =E2=80=93 corruptions (OVERRUN) /sys/dev/iwm/if_= iwm.c: > 749 in iwm_read_firmware() 743 =E2=80=9Cunsupported API index %d\n=E2=80= =9D, idx); 744 > goto parse_out; 745 } 746 for (i =3D 0; i < 32; i++) { 747 if > ((le32toh(capa->api_capa) & (1U << i)) =3D=3D 0) 748 continue; > > CID 1361068: Memory =E2=80=93 corruptions (OVERRUN) Overrunning array = of 16 > bytes at byte offset 19 by dereferencing pointer =E2=80=9C(unsigned ch= ar > *)sc->sc_enabled_capa + (i + 32 * idx) / 8=E2=80=9D. > > 749 setbit(sc->sc_enabled_capa, i + (32 * idx)); 750 } 751 break; 752 > } 753 754 case 48: /* undocumented TLV */ > > ... > > ______________________________________________________________________= ________________________________ > To view the defects in Coverity Scan visit, > https://scan.coverity.com/projects/freebsd?tab=3Doverview > _______________________________________________ > freebsd-wireless@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-wireless > To unsubscribe, send any mail to = > "freebsd-wireless-unsubscribe@freebsd.org" From owner-freebsd-wireless@freebsd.org Tue Aug 2 19:19:09 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 08896BAC51A for ; Tue, 2 Aug 2016 19:19:09 +0000 (UTC) (envelope-from andrew@ugh.net.au) Received: from kaija.ugh.net.au (kaija.ugh.net.au [IPv6:2a00:1a48:7803:107:65bc:4bde:ff08:1f7f]) by mx1.freebsd.org (Postfix) with ESMTP id C9DA91648 for ; Tue, 2 Aug 2016 19:19:08 +0000 (UTC) (envelope-from andrew@ugh.net.au) Received: from [10.0.0.10] (77-64-196-138.dynamic.primacom.net [77.64.196.138]) by kaija.ugh.net.au (Postfix) with ESMTPSA id C91B6ABA4; Tue, 2 Aug 2016 19:19:06 +0000 (UTC) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: bf_next not NULL! From: Andrew Stevenson In-Reply-To: Date: Tue, 2 Aug 2016 21:19:05 +0200 Cc: "freebsd-wireless@freebsd.org" , Willem@offermans.rompen.nl Content-Transfer-Encoding: quoted-printable Message-Id: <09DD4206-6D68-4B03-A3F9-01512C2F866B@ugh.net.au> References: <2DEF8DBE-1444-435C-B48C-FEAB71CA60E5@ugh.net.au> <20160716105843.GA5832@vpn.offrom.nl> <762054A0-B628-4CD8-9F59-6B52CEB78481@ugh.net.au> To: Adrian Chadd X-Mailer: Apple Mail (2.1878.6) X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.22 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: Tue, 02 Aug 2016 19:19:09 -0000 On 29 Jul 2016, at 23:07, Adrian Chadd wrote: > Hi, >=20 > Yeah, the problem is that the NF calibration will time out, and I > don't know if it's logging that by default. >=20 > Do sysctl dev.ath.0.hal.debug=3D0x8 and then see what it lsogging when > things hang. Ironically, after doing that it stayed up for the longest period in a = while. It has now died again however. I don=92t know when it stopped = working exactly but there is nothing logged for ath0 since 0830 this = morning (12.5 hours ago)...ath0: stuck beacon; resetting (bmiss count = 4). wlan0 has logged, about an hour later, wlan0: STA 00:21:e9:e7:a9:e7 = IEEE 802.11: disassociated. I don=92t see anything logged via syslog, or in dmesg, that is different = than before the sysctl change. Thanks, Andrew= From owner-freebsd-wireless@freebsd.org Tue Aug 2 20:51:11 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 AEEFBBAD34A for ; Tue, 2 Aug 2016 20:51:11 +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 9EBCE19F7 for ; Tue, 2 Aug 2016 20:51:11 +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 u72KpAro031496 for ; Tue, 2 Aug 2016 20:51:11 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-wireless@FreeBSD.org Subject: [Bug 210992] Panic while sending/fetching files over WiFi/Internet Date: Tue, 02 Aug 2016 20:51:11 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: linimon@FreeBSD.org 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: assigned_to Message-ID: In-Reply-To: References: 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.22 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: Tue, 02 Aug 2016 20:51:11 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D210992 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|freebsd-bugs@FreeBSD.org |freebsd-wireless@FreeBSD.or | |g --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-wireless@freebsd.org Tue Aug 2 20:53:59 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 AFC36BAD40C for ; Tue, 2 Aug 2016 20:53:59 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-io0-x230.google.com (mail-io0-x230.google.com [IPv6:2607:f8b0:4001:c06::230]) (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 75AAD1CDB for ; Tue, 2 Aug 2016 20:53:59 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-io0-x230.google.com with SMTP id m101so224251849ioi.2 for ; Tue, 02 Aug 2016 13:53:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=HXKe6mpXrXhQsklcHfysfLCt76XWtq1liRxSKckN5i8=; b=A20O4yFeEW1kwYdUWfwTP66tuyKE+8HWsZpOYoXf95jG9TZ69UjivunYTjmmtwckPS Xle1dErGmj5toQb9jqEE8dN3Ts6z3R6YlCbNGuHbFcljk1io5PYt7+h1jFb0KLP0CJt9 5aQP+zMg9ae2eyJkBJgT+ATsxM9jTVmxaSAxq8Nl9nTF2SZkCuj54/ff3SPXN+iNk5dG UyJ1w4d7mVQ0TYYH4t7MCfEli68jD3Vg/1EmuGbCifOc1/5piDyK80LfAxTuyL1yjGXu GO+aeEpwA+5XqqdwmnrS8/TKexZLCfo0qPL1GXYc8iS/g+0fSzD7h91tlG/LGyevBsUe 91hw== 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:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=HXKe6mpXrXhQsklcHfysfLCt76XWtq1liRxSKckN5i8=; b=MmUJOd67AbEI84tdc28CbCyt1hHyRIo6WoULdXOWictbGcMoWpebmOUCQXJUA9/33R Cp30qr/aq5PzdIP71GnYkM7jTxqIaTvx5ZZF3Yi6rZVL+fyMfcm2bXFde0VfIAHVdq2H uBbh0pQHWeEZ6QRgeEH+mCJYkmpmRl+LTQ4jHOgb/uWbsEw959MVYhVd5iwtpqBQULxy EdYoqcDUJh+7PfysBsXZF2WGGmUzB/rZmbTg8O2ghedSProSbQlY2mLnJqhV3jJwRe4q Q+S0XVISu9meyjnQXFRraglvv16WVMgwV1AjbDEU8WO3Zwr37YlEwVz9YWOSTEmSu7hr U3uQ== X-Gm-Message-State: AEkooutheOWmIbTt2o2Wo0uZud4U1VWvMC6Og5G7+BcorGFspZfESpKzT2KlEo6vjJhddwTAD84xOoPNnXGQVQ== X-Received: by 10.107.136.138 with SMTP id s10mr7773562ioi.75.1470171238758; Tue, 02 Aug 2016 13:53:58 -0700 (PDT) MIME-Version: 1.0 Received: by 10.36.141.129 with HTTP; Tue, 2 Aug 2016 13:53:57 -0700 (PDT) In-Reply-To: <09DD4206-6D68-4B03-A3F9-01512C2F866B@ugh.net.au> References: <2DEF8DBE-1444-435C-B48C-FEAB71CA60E5@ugh.net.au> <20160716105843.GA5832@vpn.offrom.nl> <762054A0-B628-4CD8-9F59-6B52CEB78481@ugh.net.au> <09DD4206-6D68-4B03-A3F9-01512C2F866B@ugh.net.au> From: Adrian Chadd Date: Tue, 2 Aug 2016 13:53:57 -0700 Message-ID: Subject: Re: bf_next not NULL! To: Andrew Stevenson Cc: "freebsd-wireless@freebsd.org" , Willem@offermans.rompen.nl Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.22 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: Tue, 02 Aug 2016 20:53:59 -0000 hi, do this: sysctl dev.ath.0.hal.force_full_reset=3D1 while true; do sysctl dev.ath.0.force_bstuck=3D1 sleep 300 done .. see if that fixes things. -adrian .. On 2 August 2016 at 12:19, Andrew Stevenson wrote: > > On 29 Jul 2016, at 23:07, Adrian Chadd wrote: > >> Hi, >> >> Yeah, the problem is that the NF calibration will time out, and I >> don't know if it's logging that by default. >> >> Do sysctl dev.ath.0.hal.debug=3D0x8 and then see what it lsogging when >> things hang. > > Ironically, after doing that it stayed up for the longest period in a whi= le. It has now died again however. I don=E2=80=99t know when it stopped wor= king exactly but there is nothing logged for ath0 since 0830 this morning (= 12.5 hours ago)...ath0: stuck beacon; resetting (bmiss count 4). wlan0 has = logged, about an hour later, wlan0: STA 00:21:e9:e7:a9:e7 IEEE 802.11: disa= ssociated. > > I don=E2=80=99t see anything logged via syslog, or in dmesg, that is diff= erent than before the sysctl change. > > Thanks, > > Andrew From owner-freebsd-wireless@freebsd.org Tue Aug 2 21:09:52 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 D604EBADE26 for ; Tue, 2 Aug 2016 21:09:52 +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 C59EC1F8E for ; Tue, 2 Aug 2016 21:09:52 +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 u72L9q2L075649 for ; Tue, 2 Aug 2016 21:09:52 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-wireless@FreeBSD.org Subject: [Bug 211511] panic while restarting network (iwm7260 wifi) Date: Tue, 02 Aug 2016 21:09:52 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-BETA3 X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: linimon@FreeBSD.org 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: assigned_to cc Message-ID: In-Reply-To: References: 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.22 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: Tue, 02 Aug 2016 21:09:52 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211511 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|freebsd-bugs@FreeBSD.org |freebsd-wireless@FreeBSD.or | |g CC|freebsd-amd64@FreeBSD.org |sbruno@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-wireless@freebsd.org Tue Aug 2 22:10:14 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 56746BAB3A6 for ; Tue, 2 Aug 2016 22:10:14 +0000 (UTC) (envelope-from andrew@ugh.net.au) Received: from kaija.ugh.net.au (kaija.ugh.net.au [5.79.7.178]) by mx1.freebsd.org (Postfix) with ESMTP id 2483515E1 for ; Tue, 2 Aug 2016 22:10:13 +0000 (UTC) (envelope-from andrew@ugh.net.au) Received: from [IPv6:2a00:c1a0:4886:7a00:41c8:8b50:4e7a:2943] (unknown [IPv6:2a00:c1a0:4886:7a00:41c8:8b50:4e7a:2943]) by kaija.ugh.net.au (Postfix) with ESMTPSA id BE653ABC9; Tue, 2 Aug 2016 22:10:05 +0000 (UTC) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: bf_next not NULL! From: Andrew Stevenson In-Reply-To: Date: Wed, 3 Aug 2016 00:10:05 +0200 Cc: "freebsd-wireless@freebsd.org" , Willem@offermans.rompen.nl Content-Transfer-Encoding: quoted-printable Message-Id: References: <2DEF8DBE-1444-435C-B48C-FEAB71CA60E5@ugh.net.au> <20160716105843.GA5832@vpn.offrom.nl> <762054A0-B628-4CD8-9F59-6B52CEB78481@ugh.net.au> <09DD4206-6D68-4B03-A3F9-01512C2F866B@ugh.net.au> To: Adrian Chadd X-Mailer: Apple Mail (2.1878.6) X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.22 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: Tue, 02 Aug 2016 22:10:14 -0000 On 02 Aug 2016, at 22:53, Adrian Chadd wrote: > do this: Thanks. I don=92t want to speak too soon but the ping time are looking = promising. I=92ll let you know in a day or two how it goes. For anyone following along at home the sysctl is "dev.ath.0.forcebstuck=94= (no underscore). Thanks Adrian! Andrew= From owner-freebsd-wireless@freebsd.org Wed Aug 3 17:28: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 5B049BAD317; Wed, 3 Aug 2016 17:28:57 +0000 (UTC) (envelope-from ler@lerctr.org) Received: from thebighonker.lerctr.org (thebighonker.lerctr.org [IPv6:2001:470:1f0f:3ad:223:7dff:fe9e:6e8a]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "thebighonker.lerctr.org", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 34EE81836; Wed, 3 Aug 2016 17:28:57 +0000 (UTC) (envelope-from ler@lerctr.org) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lerctr.org; s=lerami; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:To:From:Date:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=pRrANeZKtBMoF9HMh/UHYUgUxrMBFw7bMjtRq90gbQ0=; b=Gff+KJEXbgrkykzioDQeaCxcrd 6MOxByRo4NPloRHo1HmIsjsgnx7jIseuYMGF9N61GaDs8LhrLiyiLUFAr0MGPiCqwDLjPKTDMpLhR Vo5aLR2noB2x1onxL4hKbkgoEjIuVfUReM32u+kA/B2RIa2pZaOClBpX6Gi3egWMjSKo=; Received: from thebighonker.lerctr.org ([2001:470:1f0f:3ad:223:7dff:fe9e:6e8a]:60851) by thebighonker.lerctr.org with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.87 (FreeBSD)) (envelope-from ) id 1bUzyR-0007tC-Mj; Wed, 03 Aug 2016 12:28:56 -0500 Date: Wed, 3 Aug 2016 12:28:54 -0500 From: Larry Rosenman To: Adrian Chadd , Imre Vad??sz , Andriy Voskoboinyk , "freebsd-wireless@freebsd.org" , freebsd-current , owner-freebsd-current@freebsd.org Subject: Re: IWM(7260), no connect Message-ID: <20160803172854.GA30265@thebighonker.lerctr.org> Mail-Followup-To: Adrian Chadd , Imre Vad??sz , Andriy Voskoboinyk , "freebsd-wireless@freebsd.org" , freebsd-current , owner-freebsd-current@freebsd.org References: <20160728023954.GA1321@pita> <20160728233504.GA1226@pita> <4ee03d28cc2711ed9bc56a725cac344a@thebighonker.lerctr.org> <20160801013647.GA1294@pita> <20160801021902.GA1998@pita> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160801021902.GA1998@pita> User-Agent: Mutt/1.6.1 (2016-04-27) X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.22 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: Wed, 03 Aug 2016 17:28:57 -0000 Anyone? On Sun, Jul 31, 2016 at 09:19:02PM -0500, Larry Rosenman wrote: > I recompiled security/wpa_supplicant and seem to be able to get > associated. > > I'm not sure what is going on. > > Any suggestions? > > On Sun, Jul 31, 2016 at 08:36:47PM -0500, Larry Rosenman wrote: > > Even with that reverted, I'm still having iffy connections. > > > > Current code: > > > > FreeBSD pita 12.0-CURRENT FreeBSD 12.0-CURRENT #4 r303597M: Sun Jul 31 16:02:39 CDT 2016 root@pita:/usr/obj/usr/src/sys/IWM-DEBUG amd64 1200001 1200001 > > > > Current diff to that SVN Rev: > > > > Index: sys/dev/iwm/if_iwm.c > > =================================================================== > > --- sys/dev/iwm/if_iwm.c (revision 303597) > > +++ sys/dev/iwm/if_iwm.c (working copy) > > @@ -3357,15 +3357,12 @@ > > uint8_t subtype = wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK; > > > > if (subtype == IEEE80211_FC0_SUBTYPE_ASSOC_REQ || > > - subtype == IEEE80211_FC0_SUBTYPE_REASSOC_REQ) { > > - tx->pm_frame_timeout = htole16(IWM_PM_FRAME_ASSOC); > > - } else if (subtype == IEEE80211_FC0_SUBTYPE_ACTION) { > > - tx->pm_frame_timeout = htole16(IWM_PM_FRAME_NONE); > > - } else { > > - tx->pm_frame_timeout = htole16(IWM_PM_FRAME_MGMT); > > - } > > + subtype == IEEE80211_FC0_SUBTYPE_REASSOC_REQ) > > + tx->pm_frame_timeout = htole16(3); > > + else > > + tx->pm_frame_timeout = htole16(2); > > } else { > > - tx->pm_frame_timeout = htole16(IWM_PM_FRAME_NONE); > > + tx->pm_frame_timeout = htole16(0); > > } > > > > if (hdrlen & 3) { > > Index: sys/dev/iwm/if_iwmreg.h > > =================================================================== > > --- sys/dev/iwm/if_iwmreg.h (revision 303597) > > +++ sys/dev/iwm/if_iwmreg.h (working copy) > > @@ -4244,18 +4244,6 @@ > > IWM_TX_CMD_FLG_HCCA_CHUNK = (1 << 31) > > }; /* IWM_TX_FLAGS_BITS_API_S_VER_1 */ > > > > -/** > > - * enum iwm_tx_pm_timeouts - pm timeout values in TX command > > - * @IWM_PM_FRAME_NONE: no need to suspend sleep mode > > - * @IWM_PM_FRAME_MGMT: fw suspend sleep mode for 100TU > > - * @IWM_PM_FRAME_ASSOC: fw suspend sleep mode for 10sec > > - */ > > -enum iwm_tx_pm_timeouts { > > - IWM_PM_FRAME_NONE = 0, > > - IWM_PM_FRAME_MGMT = 2, > > - IWM_PM_FRAME_ASSOC = 3, > > -}; > > - > > /* > > * TX command security control > > */ > > > > > > > > Scan Debug: > > http://www.lerctr.org/~ler/FreeBSD/WIFI-Scan.txt > > > > What next? > > > > On Thu, Jul 28, 2016 at 06:06:47PM -0700, Adrian Chadd wrote: > > > +imre, > > > > > > Hi! Larry is having issues with r303418. Would you be able to help him out? > > > > > > (If it's not too bad, can we back this out until you figure out what's > > > going on?) > > > > > > Thanks! > > > > > > > > > -a > > > > > > > > > On 28 July 2016 at 18:05, Larry Rosenman wrote: > > > > On 2016-07-28 20:02, Adrian Chadd wrote: > > > >> > > > >> Hi, > > > >> > > > >> Which commit(s) did you revert? > > > >> > > > >> > > > >> > > > >> -a > > > > > > > > > > > > revert r303418 > > > > > > > > and now it connects again. > > > > > > > > > > > > -- > > > > Larry Rosenman http://www.lerctr.org/~ler > > > > Phone: +1 214-642-9640 E-Mail: ler@lerctr.org > > > > US Mail: 17716 Limpia Crk, Round Rock, TX 78664-7281 > > > > -- > > Larry Rosenman http://www.lerctr.org/~ler > > Phone: +1 214-642-9640 E-Mail: ler@lerctr.org > > US Mail: 17716 Limpia Crk, Round Rock, TX 78664-7281 > > -- > Larry Rosenman http://www.lerctr.org/~ler > Phone: +1 214-642-9640 E-Mail: ler@lerctr.org > US Mail: 17716 Limpia Crk, Round Rock, TX 78664-7281 -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 E-Mail: ler@lerctr.org US Mail: 17716 Limpia Crk, Round Rock, TX 78664-7281 From owner-freebsd-wireless@freebsd.org Wed Aug 3 17:36:18 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 5A6EABAD576; Wed, 3 Aug 2016 17:36:18 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-io0-x22a.google.com (mail-io0-x22a.google.com [IPv6:2607:f8b0:4001:c06::22a]) (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 220051D64; Wed, 3 Aug 2016 17:36:18 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-io0-x22a.google.com with SMTP id m101so249688352ioi.2; Wed, 03 Aug 2016 10:36:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=0KO+31uu85z/Vy05Ot64xaa82Q+ds0O+qwbyXWmOZR4=; b=sOcUtOPLToFVBOvuirv1IGKAnkOoWvMYPMOQJl47tKI1+5ezAB7z3V9utJA01qHELz HwvsLTlNEX4FiVh6gjw41Tj0PFm7am0+DkbSl/KOb6gCLhZ+ZbsyUPbgcHQSUQbiYCfR WQVhxIuLYLxkgZzLmX5qzwzdW7M/eOimnZL139Jp7Sgnq6mxYkOVNGEEaVMLPzRxtVgv ORiGZ2yTKVyac9gDUsYf+eBKqLHzqj4b+v/qC6Ea0FCtiVLatR0RJYnCe5y6LMI+zYeM HgEGcVhRXW7c/GwzS+wy7WwNDXmpArB3LeduhBrHeDrAHiGpNYkKh67NQCJdoSvtGwsu ySzw== 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:from:date :message-id:subject:to; bh=0KO+31uu85z/Vy05Ot64xaa82Q+ds0O+qwbyXWmOZR4=; b=mGO1hAtADfw0QfZywcBV4xfym2xs68VgJPHeevlPA1yuexmiaHqwFeEoxX4S+NQtfF 0eC9a+mh28ZhiAZv9THwrhBfOMGinrUCmfP57PCxDXjLDOYBOeJfaPtjAQZDOA8nz2VI ISqW9sGp3vi7G/cEgh6Gs9NtbG8jyMhi9pZxVypO+FTsZrTmbEMR6I9azf65ow6IA8PR Hp2lJDA1dVWTzp2LXJL5Flg3gD14O4yrCfNc2pvmGwvdlYHLUbf1FK6bpt8+vi0HjgxA DgFdGeHKeqqjbGL45ZCiq2wv0Ak1s7P1j8G93VzFFX054dpPEgrzl1L6xPXfzkbpn0QF QgTQ== X-Gm-Message-State: AEkoouuflpwo0fmLXglpW5VDQ3zRnjT+EfOBCx9AfH2GxjfsF7hp/f/treMVeI4xae6vG3qLJ1fIaMfmYnVWjQ== X-Received: by 10.107.144.10 with SMTP id s10mr65908331iod.165.1470245777436; Wed, 03 Aug 2016 10:36:17 -0700 (PDT) MIME-Version: 1.0 Received: by 10.36.141.129 with HTTP; Wed, 3 Aug 2016 10:36:16 -0700 (PDT) In-Reply-To: <20160803172854.GA30265@thebighonker.lerctr.org> References: <20160728023954.GA1321@pita> <20160728233504.GA1226@pita> <4ee03d28cc2711ed9bc56a725cac344a@thebighonker.lerctr.org> <20160801013647.GA1294@pita> <20160801021902.GA1998@pita> <20160803172854.GA30265@thebighonker.lerctr.org> From: Adrian Chadd Date: Wed, 3 Aug 2016 10:36:16 -0700 Message-ID: Subject: Re: IWM(7260), no connect To: Adrian Chadd , "Imre Vad??sz" , Andriy Voskoboinyk , "freebsd-wireless@freebsd.org" , freebsd-current , owner-freebsd-current@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.22 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: Wed, 03 Aug 2016 17:36:18 -0000 I've no idea, sorry. :( Imre's out for another week, so let him finish his holiday first. :) -a On 3 August 2016 at 10:28, Larry Rosenman wrote: > Anyone? > On Sun, Jul 31, 2016 at 09:19:02PM -0500, Larry Rosenman wrote: >> I recompiled security/wpa_supplicant and seem to be able to get >> associated. >> >> I'm not sure what is going on. >> >> Any suggestions? >> >> On Sun, Jul 31, 2016 at 08:36:47PM -0500, Larry Rosenman wrote: >> > Even with that reverted, I'm still having iffy connections. >> > >> > Current code: >> > >> > FreeBSD pita 12.0-CURRENT FreeBSD 12.0-CURRENT #4 r303597M: Sun Jul 31 16:02:39 CDT 2016 root@pita:/usr/obj/usr/src/sys/IWM-DEBUG amd64 1200001 1200001 >> > >> > Current diff to that SVN Rev: >> > >> > Index: sys/dev/iwm/if_iwm.c >> > =================================================================== >> > --- sys/dev/iwm/if_iwm.c (revision 303597) >> > +++ sys/dev/iwm/if_iwm.c (working copy) >> > @@ -3357,15 +3357,12 @@ >> > uint8_t subtype = wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK; >> > >> > if (subtype == IEEE80211_FC0_SUBTYPE_ASSOC_REQ || >> > - subtype == IEEE80211_FC0_SUBTYPE_REASSOC_REQ) { >> > - tx->pm_frame_timeout = htole16(IWM_PM_FRAME_ASSOC); >> > - } else if (subtype == IEEE80211_FC0_SUBTYPE_ACTION) { >> > - tx->pm_frame_timeout = htole16(IWM_PM_FRAME_NONE); >> > - } else { >> > - tx->pm_frame_timeout = htole16(IWM_PM_FRAME_MGMT); >> > - } >> > + subtype == IEEE80211_FC0_SUBTYPE_REASSOC_REQ) >> > + tx->pm_frame_timeout = htole16(3); >> > + else >> > + tx->pm_frame_timeout = htole16(2); >> > } else { >> > - tx->pm_frame_timeout = htole16(IWM_PM_FRAME_NONE); >> > + tx->pm_frame_timeout = htole16(0); >> > } >> > >> > if (hdrlen & 3) { >> > Index: sys/dev/iwm/if_iwmreg.h >> > =================================================================== >> > --- sys/dev/iwm/if_iwmreg.h (revision 303597) >> > +++ sys/dev/iwm/if_iwmreg.h (working copy) >> > @@ -4244,18 +4244,6 @@ >> > IWM_TX_CMD_FLG_HCCA_CHUNK = (1 << 31) >> > }; /* IWM_TX_FLAGS_BITS_API_S_VER_1 */ >> > >> > -/** >> > - * enum iwm_tx_pm_timeouts - pm timeout values in TX command >> > - * @IWM_PM_FRAME_NONE: no need to suspend sleep mode >> > - * @IWM_PM_FRAME_MGMT: fw suspend sleep mode for 100TU >> > - * @IWM_PM_FRAME_ASSOC: fw suspend sleep mode for 10sec >> > - */ >> > -enum iwm_tx_pm_timeouts { >> > - IWM_PM_FRAME_NONE = 0, >> > - IWM_PM_FRAME_MGMT = 2, >> > - IWM_PM_FRAME_ASSOC = 3, >> > -}; >> > - >> > /* >> > * TX command security control >> > */ >> > >> > >> > >> > Scan Debug: >> > http://www.lerctr.org/~ler/FreeBSD/WIFI-Scan.txt >> > >> > What next? >> > >> > On Thu, Jul 28, 2016 at 06:06:47PM -0700, Adrian Chadd wrote: >> > > +imre, >> > > >> > > Hi! Larry is having issues with r303418. Would you be able to help him out? >> > > >> > > (If it's not too bad, can we back this out until you figure out what's >> > > going on?) >> > > >> > > Thanks! >> > > >> > > >> > > -a >> > > >> > > >> > > On 28 July 2016 at 18:05, Larry Rosenman wrote: >> > > > On 2016-07-28 20:02, Adrian Chadd wrote: >> > > >> >> > > >> Hi, >> > > >> >> > > >> Which commit(s) did you revert? >> > > >> >> > > >> >> > > >> >> > > >> -a >> > > > >> > > > >> > > > revert r303418 >> > > > >> > > > and now it connects again. >> > > > >> > > > >> > > > -- >> > > > Larry Rosenman http://www.lerctr.org/~ler >> > > > Phone: +1 214-642-9640 E-Mail: ler@lerctr.org >> > > > US Mail: 17716 Limpia Crk, Round Rock, TX 78664-7281 >> > >> > -- >> > Larry Rosenman http://www.lerctr.org/~ler >> > Phone: +1 214-642-9640 E-Mail: ler@lerctr.org >> > US Mail: 17716 Limpia Crk, Round Rock, TX 78664-7281 >> >> -- >> Larry Rosenman http://www.lerctr.org/~ler >> Phone: +1 214-642-9640 E-Mail: ler@lerctr.org >> US Mail: 17716 Limpia Crk, Round Rock, TX 78664-7281 > > -- > Larry Rosenman http://www.lerctr.org/~ler > Phone: +1 214-642-9640 E-Mail: ler@lerctr.org > US Mail: 17716 Limpia Crk, Round Rock, TX 78664-7281 From owner-freebsd-wireless@freebsd.org Wed Aug 3 17:41:19 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 A7A12BAD6A7; Wed, 3 Aug 2016 17:41:19 +0000 (UTC) (envelope-from ler@lerctr.org) Received: from thebighonker.lerctr.org (thebighonker.lerctr.org [IPv6:2001:470:1f0f:3ad:223:7dff:fe9e:6e8a]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "thebighonker.lerctr.org", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8162A11E6; Wed, 3 Aug 2016 17:41:19 +0000 (UTC) (envelope-from ler@lerctr.org) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lerctr.org; s=lerami; h=Message-ID:References:In-Reply-To:Subject:Cc:To:From:Date: Content-Transfer-Encoding:Content-Type:MIME-Version:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=iRST4J8XSDYkt2FL/PFHnfxOMWWXFXjuHoH3tPtZovM=; b=SQ9k+5EJyStZLDNklA0FNISAfm 7PcbcXj1UQHvx7BkKlHUySZ00dj4hdotJuudfk+pveVPu2ij9YHWCMB3R4E/fBIo2Kb4eM9lhQ8IA m3IZh6jxuLQwrP3njbYJQmMQtSQL/vOoJ1GKUvcPZ7Ja4wu7uphB0IFvO0FLn3ePSAL4=; Received: from thebighonker.lerctr.org ([2001:470:1f0f:3ad:223:7dff:fe9e:6e8a]:54395 helo=webmail.lerctr.org) by thebighonker.lerctr.org with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.87 (FreeBSD)) (envelope-from ) id 1bV0AQ-0008K8-P4; Wed, 03 Aug 2016 12:41:18 -0500 Received: from proxy.na.alcatel-lucent.com ([135.245.48.72]) by webmail.lerctr.org with HTTP (HTTP/1.1 POST); Wed, 03 Aug 2016 12:41:18 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Wed, 03 Aug 2016 12:41:18 -0500 From: Larry Rosenman To: Adrian Chadd Cc: Imre Vad??sz , Andriy Voskoboinyk , freebsd-wireless@freebsd.org, freebsd-current , owner-freebsd-current@freebsd.org Subject: Re: IWM(7260), no connect In-Reply-To: References: <20160728023954.GA1321@pita> <20160728233504.GA1226@pita> <4ee03d28cc2711ed9bc56a725cac344a@thebighonker.lerctr.org> <20160801013647.GA1294@pita> <20160801021902.GA1998@pita> <20160803172854.GA30265@thebighonker.lerctr.org> Message-ID: <0fa5c63f757644782ee8fcf55056344c@thebighonker.lerctr.org> X-Sender: ler@lerctr.org User-Agent: Roundcube Webmail/1.2.0 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.22 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: Wed, 03 Aug 2016 17:41:19 -0000 I didn't (realize|know) Imre was on vacation. Thanks Adrian! On 2016-08-03 12:36, Adrian Chadd wrote: > I've no idea, sorry. :( > > Imre's out for another week, so let him finish his holiday first. :) > > > -a > > > On 3 August 2016 at 10:28, Larry Rosenman wrote: >> Anyone? >> On Sun, Jul 31, 2016 at 09:19:02PM -0500, Larry Rosenman wrote: >>> I recompiled security/wpa_supplicant and seem to be able to get >>> associated. >>> >>> I'm not sure what is going on. >>> >>> Any suggestions? >>> >>> On Sun, Jul 31, 2016 at 08:36:47PM -0500, Larry Rosenman wrote: >>> > Even with that reverted, I'm still having iffy connections. >>> > >>> > Current code: >>> > >>> > FreeBSD pita 12.0-CURRENT FreeBSD 12.0-CURRENT #4 r303597M: Sun Jul 31 16:02:39 CDT 2016 root@pita:/usr/obj/usr/src/sys/IWM-DEBUG amd64 1200001 1200001 >>> > >>> > Current diff to that SVN Rev: >>> > >>> > Index: sys/dev/iwm/if_iwm.c >>> > =================================================================== >>> > --- sys/dev/iwm/if_iwm.c (revision 303597) >>> > +++ sys/dev/iwm/if_iwm.c (working copy) >>> > @@ -3357,15 +3357,12 @@ >>> > uint8_t subtype = wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK; >>> > >>> > if (subtype == IEEE80211_FC0_SUBTYPE_ASSOC_REQ || >>> > - subtype == IEEE80211_FC0_SUBTYPE_REASSOC_REQ) { >>> > - tx->pm_frame_timeout = htole16(IWM_PM_FRAME_ASSOC); >>> > - } else if (subtype == IEEE80211_FC0_SUBTYPE_ACTION) { >>> > - tx->pm_frame_timeout = htole16(IWM_PM_FRAME_NONE); >>> > - } else { >>> > - tx->pm_frame_timeout = htole16(IWM_PM_FRAME_MGMT); >>> > - } >>> > + subtype == IEEE80211_FC0_SUBTYPE_REASSOC_REQ) >>> > + tx->pm_frame_timeout = htole16(3); >>> > + else >>> > + tx->pm_frame_timeout = htole16(2); >>> > } else { >>> > - tx->pm_frame_timeout = htole16(IWM_PM_FRAME_NONE); >>> > + tx->pm_frame_timeout = htole16(0); >>> > } >>> > >>> > if (hdrlen & 3) { >>> > Index: sys/dev/iwm/if_iwmreg.h >>> > =================================================================== >>> > --- sys/dev/iwm/if_iwmreg.h (revision 303597) >>> > +++ sys/dev/iwm/if_iwmreg.h (working copy) >>> > @@ -4244,18 +4244,6 @@ >>> > IWM_TX_CMD_FLG_HCCA_CHUNK = (1 << 31) >>> > }; /* IWM_TX_FLAGS_BITS_API_S_VER_1 */ >>> > >>> > -/** >>> > - * enum iwm_tx_pm_timeouts - pm timeout values in TX command >>> > - * @IWM_PM_FRAME_NONE: no need to suspend sleep mode >>> > - * @IWM_PM_FRAME_MGMT: fw suspend sleep mode for 100TU >>> > - * @IWM_PM_FRAME_ASSOC: fw suspend sleep mode for 10sec >>> > - */ >>> > -enum iwm_tx_pm_timeouts { >>> > - IWM_PM_FRAME_NONE = 0, >>> > - IWM_PM_FRAME_MGMT = 2, >>> > - IWM_PM_FRAME_ASSOC = 3, >>> > -}; >>> > - >>> > /* >>> > * TX command security control >>> > */ >>> > >>> > >>> > >>> > Scan Debug: >>> > http://www.lerctr.org/~ler/FreeBSD/WIFI-Scan.txt >>> > >>> > What next? >>> > >>> > On Thu, Jul 28, 2016 at 06:06:47PM -0700, Adrian Chadd wrote: >>> > > +imre, >>> > > >>> > > Hi! Larry is having issues with r303418. Would you be able to help him out? >>> > > >>> > > (If it's not too bad, can we back this out until you figure out what's >>> > > going on?) >>> > > >>> > > Thanks! >>> > > >>> > > >>> > > -a >>> > > >>> > > >>> > > On 28 July 2016 at 18:05, Larry Rosenman wrote: >>> > > > On 2016-07-28 20:02, Adrian Chadd wrote: >>> > > >> >>> > > >> Hi, >>> > > >> >>> > > >> Which commit(s) did you revert? >>> > > >> >>> > > >> >>> > > >> >>> > > >> -a >>> > > > >>> > > > >>> > > > revert r303418 >>> > > > >>> > > > and now it connects again. >>> > > > >>> > > > >>> > > > -- >>> > > > Larry Rosenman http://www.lerctr.org/~ler >>> > > > Phone: +1 214-642-9640 E-Mail: ler@lerctr.org >>> > > > US Mail: 17716 Limpia Crk, Round Rock, TX 78664-7281 >>> > >>> > -- >>> > Larry Rosenman http://www.lerctr.org/~ler >>> > Phone: +1 214-642-9640 E-Mail: ler@lerctr.org >>> > US Mail: 17716 Limpia Crk, Round Rock, TX 78664-7281 >>> >>> -- >>> Larry Rosenman http://www.lerctr.org/~ler >>> Phone: +1 214-642-9640 E-Mail: ler@lerctr.org >>> US Mail: 17716 Limpia Crk, Round Rock, TX 78664-7281 >> >> -- >> Larry Rosenman http://www.lerctr.org/~ler >> Phone: +1 214-642-9640 E-Mail: ler@lerctr.org >> US Mail: 17716 Limpia Crk, Round Rock, TX 78664-7281 > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to > "freebsd-current-unsubscribe@freebsd.org" -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 E-Mail: ler@lerctr.org US Mail: 17716 Limpia Crk, Round Rock, TX 78664-7281 From owner-freebsd-wireless@freebsd.org Wed Aug 3 22:37:08 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 8E59BBAE7B4 for ; Wed, 3 Aug 2016 22:37:08 +0000 (UTC) (envelope-from andrew@ugh.net.au) Received: from kaija.ugh.net.au (kaija.ugh.net.au [5.79.7.178]) by mx1.freebsd.org (Postfix) with ESMTP id 5C4FB1F67 for ; Wed, 3 Aug 2016 22:37:07 +0000 (UTC) (envelope-from andrew@ugh.net.au) Received: from [10.0.0.10] (77-64-196-138.dynamic.primacom.net [77.64.196.138]) by kaija.ugh.net.au (Postfix) with ESMTPSA id 36413ACE6; Wed, 3 Aug 2016 22:37:00 +0000 (UTC) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: bf_next not NULL! From: Andrew Stevenson In-Reply-To: Date: Thu, 4 Aug 2016 00:36:58 +0200 Cc: "freebsd-wireless@freebsd.org" , Willem@offermans.rompen.nl Content-Transfer-Encoding: quoted-printable Message-Id: References: <2DEF8DBE-1444-435C-B48C-FEAB71CA60E5@ugh.net.au> <20160716105843.GA5832@vpn.offrom.nl> <762054A0-B628-4CD8-9F59-6B52CEB78481@ugh.net.au> <09DD4206-6D68-4B03-A3F9-01512C2F866B@ugh.net.au> To: Adrian Chadd X-Mailer: Apple Mail (2.1878.6) X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.22 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: Wed, 03 Aug 2016 22:37:08 -0000 On 02 Aug 2016, at 22:53, Adrian Chadd wrote: > sysctl dev.ath.0.hal.force_full_reset=3D1 > while true; do > sysctl dev.ath.0.force_bstuck=3D1 > sleep 300 > done >=20 > .. see if that fixes things. Definitely not fixed. It does sometimes seem to be good immediately = after the sysctl runs - but then at other times its back to its old = tricks with lost packets and the sysctl doesn=92t seem to bring it back = - however it seems to have stopped the dropping of all the clients. Thanks, Andrew= From owner-freebsd-wireless@freebsd.org Wed Aug 3 22:42:17 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 CBF6CBAE8FE for ; Wed, 3 Aug 2016 22:42:17 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-it0-x22d.google.com (mail-it0-x22d.google.com [IPv6:2607:f8b0:4001:c0b::22d]) (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 9A0981342 for ; Wed, 3 Aug 2016 22:42:17 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-it0-x22d.google.com with SMTP id f6so308885432ith.1 for ; Wed, 03 Aug 2016 15:42:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=HsECSXhe7nhYmiRYTCoU5TBQt7+auMQK0j9QmElsP/A=; b=lk1374OaF5E9+1LwEdqMTxnPkMhIcPSplGPYw/1qUogheVs2ds1yhVUw5Ry9Ls+BEf ok787Zm9p3I5Eo62ztN9ZArF5bIKpIEDL3EPOQgfGICRG17LFxveyzthLRPDgNc4mdpG g8HKXqQ1E94R0V83InljMtWY3VrT24Kk9RtMIGfF+KxtFAgxCC1OWLdzIuygiTUWwP6V vUqCOrf5RvZv1nH7GyYlR3J8sUWl35PCFTX8Q27CKF5iodxtgY8wAQAggsqdYEKr6HBS OnqeNr+kvRNaV4h2PSEEObd8xqq+flZxlNFuAedK31kLTizXVjyRLaPPp7UmhnivSMEn W7hg== 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:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=HsECSXhe7nhYmiRYTCoU5TBQt7+auMQK0j9QmElsP/A=; b=YMcers5msWNfgLDnwB+X1+CkYPxZJQYaP6GI+bKBKEqJxklgGsYbG7EcwuSn8+VQdM YVXPgz7h40j1WtaFeB++6NCBQPWtlITpI5cqixyRNIZdQyshzHy0HjysvJW+G8om25wE 9fEvYqrYjjE/2aWP/xwubVW5Pt27ncCpT3EtbaZzyb1gd+grcQbFK7fLEnZ2UG+oe1r0 vyVcp94WNktrssAn8C9RRuWG//bH+XD2SIeex1N/BBTL57Uuo+JZcYktzNTaUawW1JWL Kn10F2NqpWZmMI1i+24wEnUpe6LiL78XKVTHjqq9b089Cb9p0OsQjLaj/OSR9A38z3AK 0yow== X-Gm-Message-State: AEkoout3KHDNYCJc2l2MJEXfGgBV3g9TXu9TVaThJed+CLnkBxKrkzhaSUyv6g9Z7kLQ6ulvY6/LgpyuR9Tb4Q== X-Received: by 10.36.122.2 with SMTP id a2mr68848645itc.25.1470264064461; Wed, 03 Aug 2016 15:41:04 -0700 (PDT) MIME-Version: 1.0 Received: by 10.36.141.129 with HTTP; Wed, 3 Aug 2016 15:41:03 -0700 (PDT) In-Reply-To: References: <2DEF8DBE-1444-435C-B48C-FEAB71CA60E5@ugh.net.au> <20160716105843.GA5832@vpn.offrom.nl> <762054A0-B628-4CD8-9F59-6B52CEB78481@ugh.net.au> <09DD4206-6D68-4B03-A3F9-01512C2F866B@ugh.net.au> From: Adrian Chadd Date: Wed, 3 Aug 2016 15:41:03 -0700 Message-ID: Subject: Re: bf_next not NULL! To: Andrew Stevenson Cc: "freebsd-wireless@freebsd.org" , Willem@offermans.rompen.nl Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.22 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: Wed, 03 Aug 2016 22:42:17 -0000 ok. I'll go dig an ar9227 out of storage and set it up to see what's going = on. please do this: sysctl dev.ath.0.hal.debug=3D0x18 then paste me the results from 'dmesg' over some period of time (eg between good/bad/good times.) Thanks, -adrian On 3 August 2016 at 15:36, Andrew Stevenson wrote: > > On 02 Aug 2016, at 22:53, Adrian Chadd wrote: > >> sysctl dev.ath.0.hal.force_full_reset=3D1 >> while true; do >> sysctl dev.ath.0.force_bstuck=3D1 >> sleep 300 >> done >> >> .. see if that fixes things. > > Definitely not fixed. It does sometimes seem to be good immediately after= the sysctl runs - but then at other times its back to its old tricks with = lost packets and the sysctl doesn=E2=80=99t seem to bring it back - however= it seems to have stopped the dropping of all the clients. > > Thanks, > > Andrew From owner-freebsd-wireless@freebsd.org Thu Aug 4 04:50:14 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 5E189BAD169 for ; Thu, 4 Aug 2016 04:50:14 +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 4DEB0145B for ; Thu, 4 Aug 2016 04:50:14 +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 u744oEBv014437 for ; Thu, 4 Aug 2016 04:50:14 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-wireless@FreeBSD.org Subject: [Bug 211568] RSU wifi adapter is unable to get IP address Date: Thu, 04 Aug 2016 04:50:14 +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-BETA3 X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: jakedoeiv@gmail.com 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 cc 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.22 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, 04 Aug 2016 04:50:14 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211568 Bug ID: 211568 Summary: RSU wifi adapter is unable to get IP address Product: Base System Version: 11.0-BETA3 Hardware: amd64 OS: Any Status: New Severity: Affects Many People Priority: --- Component: wireless Assignee: freebsd-wireless@FreeBSD.org Reporter: jakedoeiv@gmail.com CC: freebsd-amd64@FreeBSD.org CC: freebsd-amd64@FreeBSD.org The Trendnet TEW-649UB is not able to get an IP address after many attempts with different wifi networks. On bootup the rsu firmware loads as expected= and the rsu0 interface is created on my Lenovo IdeaPad Yoga 13 laptop. It even joins the wifi network but dhclient cannot get an IP. This appears to be broken in OpenBSD rsu(4) as well. In OpenBSD I was gett= ing errors such as the wifi adapter could not send join command and could not s= end survey command. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-wireless@freebsd.org Thu Aug 4 07:48:16 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 A9C07BAE40D for ; Thu, 4 Aug 2016 07:48:16 +0000 (UTC) (envelope-from andrew@ugh.net.au) Received: from kaija.ugh.net.au (kaija.ugh.net.au [IPv6:2a00:1a48:7803:107:65bc:4bde:ff08:1f7f]) by mx1.freebsd.org (Postfix) with ESMTP id 674CD1A51 for ; Thu, 4 Aug 2016 07:48:15 +0000 (UTC) (envelope-from andrew@ugh.net.au) Received: from [IPv6:2a00:c1a0:4886:7a00:5cf9:629b:c8b5:c149] (unknown [IPv6:2a00:c1a0:4886:7a00:5cf9:629b:c8b5:c149]) by kaija.ugh.net.au (Postfix) with ESMTPSA id 35882ADAB; Thu, 4 Aug 2016 07:48:13 +0000 (UTC) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: bf_next not NULL! From: Andrew Stevenson In-Reply-To: Date: Thu, 4 Aug 2016 09:48:11 +0200 Cc: "freebsd-wireless@freebsd.org" , Willem@offermans.rompen.nl Content-Transfer-Encoding: quoted-printable Message-Id: <2E7BBB3B-2398-413B-BA8E-18CFB16AE4E1@ugh.net.au> References: <2DEF8DBE-1444-435C-B48C-FEAB71CA60E5@ugh.net.au> <20160716105843.GA5832@vpn.offrom.nl> <762054A0-B628-4CD8-9F59-6B52CEB78481@ugh.net.au> <09DD4206-6D68-4B03-A3F9-01512C2F866B@ugh.net.au> To: Adrian Chadd X-Mailer: Apple Mail (2.1878.6) X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.22 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, 04 Aug 2016 07:48:16 -0000 On 04 Aug 2016, at 00:41, Adrian Chadd wrote: > ok. I'll go dig an ar9227 out of storage and set it up to see what's = going on. >=20 > please do this: >=20 > sysctl dev.ath.0.hal.debug=3D0x18 >=20 > then paste me the results from 'dmesg' over some period of time (eg > between good/bad/good times.) OK I enabled this last night and this morning I find that the DHCP = server has stopped serving anything on the WIFI interface. Thats a new = one. It might be a random bugs in the ISC DHCP server but I haven=92t = noticed it before and I have seen that rtadvd sometimes doesn=92t cope = with broken interfaces and requires a restart after they are fixed so = maybe dhcpd is similar. That would mean the sysctl loop had brought = things back by itself. DHCP didn=92t log anything and seemed to be = working over wired ethernet. I restarted DHCP and everything seems normal. Pings are a bit variable = but no IP layer loss (e.g. best 1.6ms, avg 6.9ms, worst 15.3 ms for a = ping from a client to the base station). Nothing logged yet from ath0 other than "ath0: stuck beacon; resetting = (bmiss count 0)=94 (note 0 this time) logged approx every 4 minutes. = Every 5th (approx) has a bmiss of 4). "ath0: device timeout=94 appears = about once every 2 hours. I will keep checking and let you know. Thanks, Andrew= From owner-freebsd-wireless@freebsd.org Thu Aug 4 07:50:22 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 823ABBAE52E for ; Thu, 4 Aug 2016 07:50:22 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-it0-x22b.google.com (mail-it0-x22b.google.com [IPv6:2607:f8b0:4001:c0b::22b]) (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 459AF1BF0 for ; Thu, 4 Aug 2016 07:50:22 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-it0-x22b.google.com with SMTP id f6so253458394ith.0 for ; Thu, 04 Aug 2016 00:50:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=FISu3kf+zbtqvzqtIqSdUWESRHeIrzMYxtQ1xcd76pE=; b=erBUdr1p3WeBmz9NKN/q+vE6I0cByp2IgOX7tQjfzKem4RPF89fUwTPucq1xlMaVtJ KoF91D7MYiuAekTjozRoU20To19ygmef31kAuBrgpo6B8NbVRV3zwVejF14RT3wjhHku G6eSm4zWCPGWNMOhjcb0LCo9UgCS1pqH94r8vF5qUWXdn00HDtjcPMiqRt6MKhoyJlF/ T9w3VeschoxUB1ne9flzG8nNGyp4R5Fim9c4Y/heaUdBPzWrq9GB6TJRGyoO/3PwJGBb 5WWJDYPhISPv/RyGDPPAztR5Iar5qE7TzodlKmSUXxJsxFjo/oGlYLgU7Ja+NOtxuk8D qFwg== 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:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=FISu3kf+zbtqvzqtIqSdUWESRHeIrzMYxtQ1xcd76pE=; b=d1sbP5VQWTd+LpXdGW93oefR54/88Eu+g4OU8YuCpOGLVmWlfsDXNlXjtQb+/6vprj ee/CbzpUaWIbqa12RF1FUqoIM1LSeMOjeNYJ2GCspd1XFYWG1zdBL52TyA/c44IoQZrO w8Gxs6FQ7jTyp0pBRE6+nN/Hm1fly+AXZN26F+OQYcY8/arAqNJxRhepL5DEuvil+STn MxIwmSSFcHjORT5BjRDt4mQDJC08io7VQScsVVordQUHqnPAtz9445vKYlw8r7FGBFYQ 50NAUNgqElzDS2Nitln0B8CnHbB6OaNTl8ueUz6oHHI9HDU7xO1vFrgL3SrP0IMkQTuj rVtA== X-Gm-Message-State: AEkoouua+69EEi6fqIiY2S+5kagMxAkvUH9mhRebSGAqlsams1EB41E119Pk1NcQS/k92Np/yJzIroPXNj8AmA== X-Received: by 10.36.150.70 with SMTP id z67mr27629965itd.80.1470297021679; Thu, 04 Aug 2016 00:50:21 -0700 (PDT) MIME-Version: 1.0 Received: by 10.36.141.129 with HTTP; Thu, 4 Aug 2016 00:50:20 -0700 (PDT) In-Reply-To: <2E7BBB3B-2398-413B-BA8E-18CFB16AE4E1@ugh.net.au> References: <2DEF8DBE-1444-435C-B48C-FEAB71CA60E5@ugh.net.au> <20160716105843.GA5832@vpn.offrom.nl> <762054A0-B628-4CD8-9F59-6B52CEB78481@ugh.net.au> <09DD4206-6D68-4B03-A3F9-01512C2F866B@ugh.net.au> <2E7BBB3B-2398-413B-BA8E-18CFB16AE4E1@ugh.net.au> From: Adrian Chadd Date: Thu, 4 Aug 2016 00:50:20 -0700 Message-ID: Subject: Re: bf_next not NULL! To: Andrew Stevenson Cc: "freebsd-wireless@freebsd.org" , Willem@offermans.rompen.nl Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.22 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, 04 Aug 2016 07:50:22 -0000 Hi, Recompile with ATH_DEBUG, AH_DEBUG, ATH_DIAGAPI Thanks! -adrian On 4 August 2016 at 00:48, Andrew Stevenson wrote: > > On 04 Aug 2016, at 00:41, Adrian Chadd wrote: > >> ok. I'll go dig an ar9227 out of storage and set it up to see what's goi= ng on. >> >> please do this: >> >> sysctl dev.ath.0.hal.debug=3D0x18 >> >> then paste me the results from 'dmesg' over some period of time (eg >> between good/bad/good times.) > > OK I enabled this last night and this morning I find that the DHCP server= has stopped serving anything on the WIFI interface. Thats a new one. It mi= ght be a random bugs in the ISC DHCP server but I haven=E2=80=99t noticed i= t before and I have seen that rtadvd sometimes doesn=E2=80=99t cope with br= oken interfaces and requires a restart after they are fixed so maybe dhcpd = is similar. That would mean the sysctl loop had brought things back by itse= lf. DHCP didn=E2=80=99t log anything and seemed to be working over wired et= hernet. > > I restarted DHCP and everything seems normal. Pings are a bit variable bu= t no IP layer loss (e.g. best 1.6ms, avg 6.9ms, worst 15.3 ms for a ping fr= om a client to the base station). > > Nothing logged yet from ath0 other than "ath0: stuck beacon; resetting (b= miss count 0)=E2=80=9D (note 0 this time) logged approx every 4 minutes. Ev= ery 5th (approx) has a bmiss of 4). "ath0: device timeout=E2=80=9D appears = about once every 2 hours. > > I will keep checking and let you know. > > Thanks, > > Andrew From owner-freebsd-wireless@freebsd.org Fri Aug 5 19:22:24 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 6B9B2BB063F for ; Fri, 5 Aug 2016 19:22:24 +0000 (UTC) (envelope-from andrew@ugh.net.au) Received: from kaija.ugh.net.au (kaija.ugh.net.au [5.79.7.178]) by mx1.freebsd.org (Postfix) with ESMTP id 37F8B17D4 for ; Fri, 5 Aug 2016 19:22:24 +0000 (UTC) (envelope-from andrew@ugh.net.au) Received: from [IPv6:2a00:c1a0:4886:7a00:fc65:2c9f:1f49:136d] (unknown [IPv6:2a00:c1a0:4886:7a00:fc65:2c9f:1f49:136d]) by kaija.ugh.net.au (Postfix) with ESMTPSA id 40ECBAFA1; Fri, 5 Aug 2016 19:22:15 +0000 (UTC) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: bf_next not NULL! From: Andrew Stevenson In-Reply-To: Date: Fri, 5 Aug 2016 21:22:13 +0200 Cc: "freebsd-wireless@freebsd.org" , Willem@offermans.rompen.nl Content-Transfer-Encoding: quoted-printable Message-Id: <40DE7FBD-8206-4388-806D-4D4BE169ACEB@ugh.net.au> References: <2DEF8DBE-1444-435C-B48C-FEAB71CA60E5@ugh.net.au> <20160716105843.GA5832@vpn.offrom.nl> <762054A0-B628-4CD8-9F59-6B52CEB78481@ugh.net.au> <09DD4206-6D68-4B03-A3F9-01512C2F866B@ugh.net.au> <2E7BBB3B-2398-413B-BA8E-18CFB16AE4E1@ugh.net.au> To: Adrian Chadd X-Mailer: Apple Mail (2.1878.6) X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.22 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: Fri, 05 Aug 2016 19:22:24 -0000 On 04 Aug 2016, at 09:50, Adrian Chadd wrote: > Hi, >=20 > Recompile with ATH_DEBUG, AH_DEBUG, ATH_DIAGAPI I don=92t know if the debug code actually changes something or its just = Murphy=92s law but everything has, so far, been working since. Maybe = this email will be enough to break it=85and there we go. 10 packets transmitted, 6 packets received, 40.0% packet loss round-trip min/avg/max/stddev =3D 37.029/135.772/222.928/66.821 ms The same messages are repeated in dmesg so here is a sample: ath0: stuck beacon; resetting (bmiss count 4) ar5416StopDmaReceive: dma failed to stop in 10ms AR_CR=3D0x00000024 AR_DIAG_SW=3D0x42000020 ath0: stuck beacon; resetting (bmiss count 4) ar5416StopDmaReceive: dma failed to stop in 10ms AR_CR=3D0x00000024 AR_DIAG_SW=3D0x42000020 ath0: stuck beacon; resetting (bmiss count 4) ar5416StopDmaReceive: dma failed to stop in 10ms AR_CR=3D0x00000024 AR_DIAG_SW=3D0x42000020 ath0: stuck beacon; resetting (bmiss count 4) ar5416StopDmaReceive: dma failed to stop in 10ms AR_CR=3D0x00000024 AR_DIAG_SW=3D0x42000020 ath0: stuck beacon; resetting (bmiss count 4) ath0: stuck beacon; resetting (bmiss count 4) ath0: stuck beacon; resetting (bmiss count 4) ath0: stuck beacon; resetting (bmiss count 4) ath0: stuck beacon; resetting (bmiss count 4) ath0: stuck beacon; resetting (bmiss count 4) ath0: stuck beacon; resetting (bmiss count 4) ath0: stuck beacon; resetting (bmiss count 4) Thanks, Andrew= From owner-freebsd-wireless@freebsd.org Fri Aug 5 21:32:45 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 BEF89BB05C4 for ; Fri, 5 Aug 2016 21:32:45 +0000 (UTC) (envelope-from andrew@ugh.net.au) Received: from kaija.ugh.net.au (kaija.ugh.net.au [IPv6:2a00:1a48:7803:107:65bc:4bde:ff08:1f7f]) by mx1.freebsd.org (Postfix) with ESMTP id 892D61D06 for ; Fri, 5 Aug 2016 21:32:45 +0000 (UTC) (envelope-from andrew@ugh.net.au) Received: from [IPv6:2a00:c1a0:4886:7a00:fc65:2c9f:1f49:136d] (unknown [IPv6:2a00:c1a0:4886:7a00:fc65:2c9f:1f49:136d]) by kaija.ugh.net.au (Postfix) with ESMTPSA id 97C4FAFC6; Fri, 5 Aug 2016 21:32:42 +0000 (UTC) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: bf_next not NULL! From: Andrew Stevenson In-Reply-To: <40DE7FBD-8206-4388-806D-4D4BE169ACEB@ugh.net.au> Date: Fri, 5 Aug 2016 23:32:41 +0200 Cc: "freebsd-wireless@freebsd.org" , Willem@offermans.rompen.nl Content-Transfer-Encoding: quoted-printable Message-Id: References: <2DEF8DBE-1444-435C-B48C-FEAB71CA60E5@ugh.net.au> <20160716105843.GA5832@vpn.offrom.nl> <762054A0-B628-4CD8-9F59-6B52CEB78481@ugh.net.au> <09DD4206-6D68-4B03-A3F9-01512C2F866B@ugh.net.au> <2E7BBB3B-2398-413B-BA8E-18CFB16AE4E1@ugh.net.au> <40DE7FBD-8206-4388-806D-4D4BE169ACEB@ugh.net.au> To: Adrian Chadd X-Mailer: Apple Mail (2.1878.6) X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.22 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: Fri, 05 Aug 2016 21:32:45 -0000 On 05 Aug 2016, at 21:22, Andrew Stevenson wrote: >=20 > The same messages are repeated in dmesg so here is a sample: >=20 But of course I forgot to sysctl dev.ath.0.hal.debug=3D0x18 after = restarting with the new kernel=85=20 It was currently broken but sysctl dev.ath.0.hal.force_full_reset=3D1 = brought it back to life. I will wait for it to die again so I can get messages before and after = with debugging actually switched on=85 Andrew= From owner-freebsd-wireless@freebsd.org Fri Aug 5 21:33:26 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 17959BB0621 for ; Fri, 5 Aug 2016 21:33:26 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-io0-x241.google.com (mail-io0-x241.google.com [IPv6:2607:f8b0:4001:c06::241]) (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 CDF4D1E11 for ; Fri, 5 Aug 2016 21:33:25 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-io0-x241.google.com with SMTP id y34so25047158ioi.3 for ; Fri, 05 Aug 2016 14:33:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=f7v+sC8sFLjw6pkXt1tAgIVRQ4z3ehS34tAkenzGFlk=; b=nAbKyBxF7feC+YMfkgZWxDHpcPbuEUPxuJkMj7NawEQvmEVVR6LOtqjHbUaQNms2BY pKHq7bt5P8unMspNU1P+DB34xzXTAtPY5eyFUY/gZf5Y8QdshdhtZ2jg94BJ3xyc6ytB aFkqRY//ZEtESuxiszfCsSqFywEhnRe84+hEvB7LF3qTtfAH0zoBlBQ2QEU0MG8kPEfq TOPIqk0vbjoerQXetU3RYsLhcyK+iK4+wd3JT5IADORR7og1bnjbRIBA/3amnlmaD4VX 8ofQtI5a6Z3fvgEAv9OlCHKkSlxBpP0nkLbo6e9uScgdOGd/8DDV9d99I5vR2tcqVYzm pvYQ== 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:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=f7v+sC8sFLjw6pkXt1tAgIVRQ4z3ehS34tAkenzGFlk=; b=Tewo6hflwvYuwgCryUkia4eQXCg3zRAdF8j6foGzEV+Wr05VO8QTEtGQIA5ztfJ/Ey EGUDkqbiPwIbSV9NeUt1DRqOsFsPji5VXm+vjI+VA5sZzlMJShvWh73tzDayHIjnq/rJ xH9dEmr4iGckbpzG95N5tWCi4YOUAHsrCcFgRphTrmnwvOnBK8W2GKRWip92BwCF85RV IWYj5k80LH1QTat32yf0tvGYgOaAUZJM0ebIl7qc6nnxQwWTXBk1t72Wo+J23NXfYz21 SlzuLy+CjtBlWiehsLG1gV5/2KYsSSO1MLOjLc9V7BHCBGPGt/xwxlM259EIkRIr8vp8 u48w== X-Gm-Message-State: AEkooutPYkw/q8PLkmJptv7iFezOtQDXrHwG4CJlDRwiupg9+ztqJaok28c2fyaJhK80aiNG1cR/vAOUBWgfhA== X-Received: by 10.107.144.10 with SMTP id s10mr79175594iod.165.1470432805239; Fri, 05 Aug 2016 14:33:25 -0700 (PDT) MIME-Version: 1.0 Received: by 10.36.141.129 with HTTP; Fri, 5 Aug 2016 14:33:24 -0700 (PDT) In-Reply-To: References: <2DEF8DBE-1444-435C-B48C-FEAB71CA60E5@ugh.net.au> <20160716105843.GA5832@vpn.offrom.nl> <762054A0-B628-4CD8-9F59-6B52CEB78481@ugh.net.au> <09DD4206-6D68-4B03-A3F9-01512C2F866B@ugh.net.au> <2E7BBB3B-2398-413B-BA8E-18CFB16AE4E1@ugh.net.au> <40DE7FBD-8206-4388-806D-4D4BE169ACEB@ugh.net.au> From: Adrian Chadd Date: Fri, 5 Aug 2016 14:33:24 -0700 Message-ID: Subject: Re: bf_next not NULL! To: Andrew Stevenson Cc: "freebsd-wireless@freebsd.org" , Willem@offermans.rompen.nl Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.22 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: Fri, 05 Aug 2016 21:33:26 -0000 thanks! -a On 5 August 2016 at 14:32, Andrew Stevenson wrote: > > On 05 Aug 2016, at 21:22, Andrew Stevenson wrote: > >> >> The same messages are repeated in dmesg so here is a sample: >> > > But of course I forgot to sysctl dev.ath.0.hal.debug=3D0x18 after restart= ing with the new kernel=E2=80=A6 > > It was currently broken but sysctl dev.ath.0.hal.force_full_reset=3D1 bro= ught it back to life. > > I will wait for it to die again so I can get messages before and after wi= th debugging actually switched on=E2=80=A6 > > Andrew From owner-freebsd-wireless@freebsd.org Fri Aug 5 23:45:50 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 9D1B7BB0F4A; Fri, 5 Aug 2016 23:45:50 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-io0-x234.google.com (mail-io0-x234.google.com [IPv6:2607:f8b0:4001:c06::234]) (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 5F30F19DF; Fri, 5 Aug 2016 23:45:50 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-io0-x234.google.com with SMTP id q83so314071098iod.1; Fri, 05 Aug 2016 16:45:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=gHFkZ3y4ngwpDwiKW5a9GUqUm9Mc04Yd0OCkjjwJnLw=; b=SOy35J6Nd3PiYkPRMBGK+Sk2a6mB0q5VVof64n/A8sW07J+/KreFMKUlfv2K8Pr7T6 VX7EMFafTWlA43tDYLsZqAzt2r3KpgJAL1HrAc9QPgYgqGbxnDbIgDYFMnjb4rs1k4GW rOFhagfU9Cdojona09oFvl5Q9Jg8pCevrA8SThPRQtJevfgq5l6BX6msJ+KS/kzX5Nxz R6vrX+ocjD3AWpCnOx1evDGDyNboHLWzZh1rgKP5j24m18bj4Z06PNMAIzR/7DCptEtM zPI05bHSQjT2+1+J/GTrvKGmpjEpWZRQrbnrqsbqMzfQR6fOfnNOAzJwdntn38/35c67 QTwQ== 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:from:date :message-id:subject:to:cc; bh=gHFkZ3y4ngwpDwiKW5a9GUqUm9Mc04Yd0OCkjjwJnLw=; b=SEzAYkFzCGGjAAFdBF/dMU84EeC0XzZuXv/iuz1E/1gJa39d5pr6UsTtBRk3az3nzo fWA3JWkE7nVehlmvbkDqU4OyX0aTfvsu9O8Yjb6wsn7bX5jgZ2EEr3lVJ+ows4bSnU1f +Il3ZJu4Tx3TZzbCPkIbcaCjulB9qaiCsycZLGLHqFaz0AWUdgkWMlr9+a80vnqSwd+6 y5DrN9ADIHw4WU6pa3k8kkQFkUCWREXIzkjDFM7RfI5CT4KiX3Cdkdm8UkfAxo/SMIlz AODhLA1vG5mwem7y7jptV61kZkO0sXy1o98cZgsHYnoBBNWVc6mp2Y4/QxfwPIxXIpN/ 52/Q== X-Gm-Message-State: AEkoouvIljfHLrNasSymRE0S1WF0D1Z7g9XBpKHDHwTwMdPVm92AUsRJaMW+JiAiO/dnWud9wptxHBt4M/XVAg== X-Received: by 10.107.136.138 with SMTP id s10mr27280829ioi.75.1470440749637; Fri, 05 Aug 2016 16:45:49 -0700 (PDT) MIME-Version: 1.0 Received: by 10.36.141.129 with HTTP; Fri, 5 Aug 2016 16:45:48 -0700 (PDT) In-Reply-To: References: <201605212321.u4LNLgDI029432@repo.freebsd.org> From: Adrian Chadd Date: Fri, 5 Aug 2016 16:45:48 -0700 Message-ID: Subject: Re: svn commit: r300383 - head/sys/net80211 To: Andriy Voskoboinyk , "freebsd-wireless@freebsd.org" Cc: "src-committers@freebsd.org" , "svn-src-all@freebsd.org" , "svn-src-head@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.22 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: Fri, 05 Aug 2016 23:45:50 -0000 Also, the scan code now also seems to alternate between g and n channels on 2ghz; and it never seems to update the chanlist if it's interrupted. So yeah, hm. Avos, any ideas? -adrian On 5 August 2016 at 16:42, Adrian Chadd wrote: > Hi, > > Just a reminder and notice to others - yeah, I've found that this > actually stops scan from working well and reliably. > > Notably, I've found that we get a scan completion notification and > then we can't restart a subsequent scan for some reason. > > I may have to revert this and put in something slightly more explicit > - eg, we put on an explicit full scan timeout and we explicitly > complete the scan if we don't finish it in time. > > > -adrian > > > On 21 May 2016 at 16:24, Andriy Voskoboinyk wrote: >> Tested with wpi(4) and urtwn(4) in STA mode. >> From owner-freebsd-wireless@freebsd.org Sat Aug 6 07:48:52 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 8E7FABB0CE8 for ; Sat, 6 Aug 2016 07:48:52 +0000 (UTC) (envelope-from andrew@ugh.net.au) Received: from kaija.ugh.net.au (kaija.ugh.net.au [IPv6:2a00:1a48:7803:107:65bc:4bde:ff08:1f7f]) by mx1.freebsd.org (Postfix) with ESMTP id 06BC214A6 for ; Sat, 6 Aug 2016 07:48:51 +0000 (UTC) (envelope-from andrew@ugh.net.au) Received: from [10.0.0.10] (77-64-196-130.dynamic.primacom.net [77.64.196.130]) by kaija.ugh.net.au (Postfix) with ESMTPSA id 9461CA04F; Sat, 6 Aug 2016 07:48:49 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: bf_next not NULL! From: Andrew Stevenson In-Reply-To: Date: Sat, 6 Aug 2016 09:48:48 +0200 Cc: "freebsd-wireless@freebsd.org" , Willem@offermans.rompen.nl Content-Transfer-Encoding: quoted-printable Message-Id: <8292C80F-9A18-450D-9A2A-D4C63D0EA99A@ugh.net.au> References: <2DEF8DBE-1444-435C-B48C-FEAB71CA60E5@ugh.net.au> <20160716105843.GA5832@vpn.offrom.nl> <762054A0-B628-4CD8-9F59-6B52CEB78481@ugh.net.au> <09DD4206-6D68-4B03-A3F9-01512C2F866B@ugh.net.au> <2E7BBB3B-2398-413B-BA8E-18CFB16AE4E1@ugh.net.au> <40DE7FBD-8206-4388-806D-4D4BE169ACEB@ugh.net.au> To: Adrian Chadd X-Mailer: Apple Mail (2.1878.6) X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.22 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: Sat, 06 Aug 2016 07:48:52 -0000 OK a bit less incompetently this time. This is dmesg with duplicate = lines suppressed. The first field is the number of times the line was = duplicated. 164 ar5416DoCalibration: IQ Calibration, state 2, calValid 0x4 0 ar5416GetMibCycleCounts: cycle counter wrap. ExtBusy =3D 0 32 ar5416DoCalibration: IQ Calibration, state 2, calValid 0x4 0 ar9287olcTemperatureCompensation: initPDADC=3D126, currPDADC=3D124= 0 ar9287olcTemperatureCompensation: delta=3D1 0 NF calibrated [ctl] [chain 0] is -120 0 NF calibrated [ctl] [chain 1] is -120 0 NF calibrated [ext] [chain 0] is -121 0 NF calibrated [ext] [chain 1] is -120 0 CCA: [0: -121][1: -121][3: -121][4: -121] 0 2462 raw nf -120 adjust 24 204 ar5416DoCalibration: IQ Calibration, state 2, calValid 0x4 0 ar5416GetMibCycleCounts: cycle counter wrap. ExtBusy =3D 0 87 ar5416DoCalibration: IQ Calibration, state 2, calValid 0x4 0 ar9287olcTemperatureCompensation: initPDADC=3D126, currPDADC=3D124= 0 ar9287olcTemperatureCompensation: delta=3D1 0 NF calibrated [ctl] [chain 0] is -121 0 NF calibrated [ctl] [chain 1] is -121 0 NF calibrated [ext] [chain 0] is -121 0 NF calibrated [ext] [chain 1] is -121 0 CCA: [0: -121][1: -121][3: -121][4: -121] 0 2462 raw nf -121 adjust 25 150 ar5416DoCalibration: IQ Calibration, state 2, calValid 0x4 0 ar5416GetMibCycleCounts: cycle counter wrap. ExtBusy =3D 0 138 ar5416DoCalibration: IQ Calibration, state 2, calValid 0x4 0 ar5416DoCalibration: sample 0 of 1 finished 0 0: Chn 0 pmi=3D0x127e79ea;pmq=3D0x13347b9d;iqcm=3D0xffca20b5; 0 0: Chn 1 pmi=3D0x10bfb290;pmq=3D0x116a15ed;iqcm=3D0xff899551; 0 0: Chn 2 pmi=3D0x00000000;pmq=3D0x00000000;iqcm=3D0x00000000; 0 Start IQ Cal and Correction for Chain 0 0 Orignal: iq_corr_meas =3D 0xffca20b5 0 pwr_meas_i =3D 0x127e79ea 0 pwr_meas_q =3D 0x13347b9d 0 iqCorrNeg is 0x00000001 0 iCoff =3D 0x00000001 0 qCoff =3D 0xfffffffd 0 New: iCoff =3D 0x00000001 0 : iCoff =3D 0x1 qCoff =3D 0xfffffffd 0 IQ Cal and Correction done for Chain 0 0 Start IQ Cal and Correction for Chain 1 0 Orignal: iq_corr_meas =3D 0xff899551 0 pwr_meas_i =3D 0x10bfb290 0 pwr_meas_q =3D 0x116a15ed 0 iqCorrNeg is 0x00000001 0 iCoff =3D 0x00000003 0 qCoff =3D 0xfffffffd 0 New: iCoff =3D 0x00000003 0 : iCoff =3D 0x3 qCoff =3D 0xfffffffd 0 IQ Cal and Correction done for Chain 1 0 ar9287olcTemperatureCompensation: initPDADC=3D126, currPDADC=3D124= 0 ar9287olcTemperatureCompensation: delta=3D1 0 NF calibrated [ctl] [chain 0] is -121 0 NF calibrated [ctl] [chain 1] is -121 0 NF calibrated [ext] [chain 0] is -121 0 NF calibrated [ext] [chain 1] is -121 0 CCA: [0: -121][1: -121][3: -121][4: -121] 0 2462 raw nf -121 adjust 25 0 ar5416GetMibCycleCounts: cycle counter wrap. ExtBusy =3D 0 0 ar9287olcTemperatureCompensation: initPDADC=3D126, currPDADC=3D124= 0 ar9287olcTemperatureCompensation: delta=3D1 0 NF calibrated [ctl] [chain 0] is -121 0 NF calibrated [ctl] [chain 1] is -121 0 NF calibrated [ext] [chain 0] is -121 0 NF calibrated [ext] [chain 1] is -121 0 CCA: [0: -121][1: -121][3: -121][4: -121] 0 2462 raw nf -121 adjust 25 1 ar5416GetMibCycleCounts: cycle counter wrap. ExtBusy =3D 0 0 ar9287olcTemperatureCompensation: initPDADC=3D126, currPDADC=3D124= 0 ar9287olcTemperatureCompensation: delta=3D1 0 NF calibrated [ctl] [chain 0] is -121 0 NF calibrated [ctl] [chain 1] is -121 0 NF calibrated [ext] [chain 0] is -121 0 NF calibrated [ext] [chain 1] is -121 0 CCA: [0: -121][1: -121][3: -121][4: -121] 0 2462 raw nf -121 adjust 25 0 ar5416GetMibCycleCounts: cycle counter wrap. ExtBusy =3D 0 0 ar9287olcTemperatureCompensation: initPDADC=3D126, currPDADC=3D124= 0 ar9287olcTemperatureCompensation: delta=3D1 0 NF calibrated [ctl] [chain 0] is -121 0 NF calibrated [ctl] [chain 1] is -121 0 NF calibrated [ext] [chain 0] is -120 0 NF calibrated [ext] [chain 1] is -121 0 CCA: [0: -121][1: -121][3: -121][4: -121] 0 2462 raw nf -121 adjust 25 0 ar5416GetMibCycleCounts: cycle counter wrap. ExtBusy =3D 0 0 ar9287olcTemperatureCompensation: initPDADC=3D126, currPDADC=3D124= 0 ar9287olcTemperatureCompensation: delta=3D1 0 NF calibrated [ctl] [chain 0] is -121 0 NF calibrated [ctl] [chain 1] is -122 0 NF calibrated [ext] [chain 0] is -122 0 NF calibrated [ext] [chain 1] is -121 0 CCA: [0: -121][1: -121][3: -121][4: -121] 0 2462 raw nf -121 adjust 25 0 ar5416GetMibCycleCounts: cycle counter wrap. ExtBusy =3D 0 0 ar9287olcTemperatureCompensation: initPDADC=3D126, currPDADC=3D124= 0 ar9287olcTemperatureCompensation: delta=3D1 0 NF calibrated [ctl] [chain 0] is -120 0 NF calibrated [ctl] [chain 1] is -121 0 NF calibrated [ext] [chain 0] is -121 0 NF calibrated [ext] [chain 1] is -121 0 CCA: [0: -121][1: -121][3: -121][4: -121] 0 2462 raw nf -120 adjust 24 0 ar5416GetMibCycleCounts: cycle counter wrap. ExtBusy =3D 0 0 ath0: stuck beacon; resetting (bmiss count 4) 0 ar5416StopDmaReceive: dma failed to stop in 10ms 0 AR_CR=3D0x00000024 0 AR_DIAG_SW=3D0x42000020 0 ar5416StopTxDma: queue 9 DMA did not stop in 400 msec 0 ar5416StopTxDma: QSTS 0x500 Q_TXE 0x202 Q_TXD 0x200 Q_CBR 0x0 0 ar5416StopTxDma: Q_MISC 0x8a2 Q_RDYTIMECFG 0x0 Q_RDYTIMESHDN = 0x100 0 ar5416StopTxDma: Failed to stop Tx DMA in 4 msec after killing = last frame 0 ar5416StopTxDma: queue 1 DMA did not stop in 400 msec 0 ar5416StopTxDma: QSTS 0x1 Q_TXE 0x202 Q_TXD 0x2 Q_CBR 0x0 0 ar5416StopTxDma: Q_MISC 0x800 Q_RDYTIMECFG 0x0 Q_RDYTIMESHDN = 0x100 0 ar5416StopTxDma: Failed to stop Tx DMA in 4 msec after killing = last frame 0 ar9287olcTemperatureCompensation: initPDADC=3D126, currPDADC=3D0 0 ar5416InitCal: enable ADC DC Calibration. 0 ar5416InitCal: enable IQ Calibration. 0 ar5416SetupMeasurement: start ADC DC calibration 0 ar5416GetMibCycleCounts: cycle counter wrap. ExtBusy =3D 0 0 ath0: stuck beacon; resetting (bmiss count 4) 0 ar5416StopTxDma: queue 9 DMA did not stop in 400 msec 0 ar5416StopTxDma: QSTS 0x400 Q_TXE 0x202 Q_TXD 0x200 Q_CBR 0x0 0 ar5416StopTxDma: Q_MISC 0x8a2 Q_RDYTIMECFG 0x0 Q_RDYTIMESHDN 0x0 0 ar5416StopTxDma: Failed to stop Tx DMA in 4 msec after killing = last frame 0 ar5416StopTxDma: queue 1 DMA did not stop in 400 msec 0 ar5416StopTxDma: QSTS 0x1 Q_TXE 0x202 Q_TXD 0x2 Q_CBR 0x0 0 ar5416StopTxDma: Q_MISC 0x800 Q_RDYTIMECFG 0x0 Q_RDYTIMESHDN 0x0 0 ar5416StopTxDma: Failed to stop Tx DMA in 4 msec after killing = last frame 0 ar9287olcTemperatureCompensation: initPDADC=3D126, currPDADC=3D0 0 ar5416InitCal: enable ADC DC Calibration. 0 ar5416InitCal: enable IQ Calibration. 0 ar5416SetupMeasurement: start ADC DC calibration 0 ar5416GetMibCycleCounts: cycle counter wrap. ExtBusy =3D 0 0 ar5416DoCalibration: ADC DC Calibration, state 2, calValid 0x0 0 ar9287olcTemperatureCompensation: initPDADC=3D126, currPDADC=3D124= 0 ar9287olcTemperatureCompensation: delta=3D1 0 NF calibrated [ctl] [chain 0] is -121 0 NF calibrated [ctl] [chain 1] is -121 0 NF calibrated [ext] [chain 0] is -121 0 NF calibrated [ext] [chain 1] is -121 0 CCA: [0: -121][1: -121][3: -121][4: -121] 0 2462 raw nf -121 adjust 25 31 ar5416DoCalibration: ADC DC Calibration, state 2, calValid 0x0 0 ar5416DoCalibration: sample 0 of 1 finished 0 0: Chn 0 oddi=3D0xfffffee7; eveni=3D0xfffffe6a; oddq=3D0x00000159;= evenq=3D0xfffffffb; 0 0: Chn 1 oddi=3D0xffffff34; eveni=3D0xfffffd75; oddq=3D0xfffffe75;= evenq=3D0xfffffeef; 0 0: Chn 2 oddi=3D0x00000000; eveni=3D0x00000000; oddq=3D0x00000000;= evenq=3D0x00000000; 0 Starting ADC DC Offset Cal for Chain 0 0 pwr_meas_odd_i =3D -281 0 pwr_meas_even_i =3D -406 0 pwr_meas_odd_q =3D 345 0 pwr_meas_even_q =3D -5 0 dc_offset_mismatch_i =3D 0x000001fe 0 dc_offset_mismatch_q =3D 0x00000005 0 ADC DC Offset Cal done for Chain 0 0 Starting ADC DC Offset Cal for Chain 1 0 pwr_meas_odd_i =3D -204 0 pwr_meas_even_i =3D -651 0 pwr_meas_odd_q =3D -395 0 pwr_meas_even_q =3D -273 0 dc_offset_mismatch_i =3D 0x000001f9 0 dc_offset_mismatch_q =3D 0x000001fe 0 ADC DC Offset Cal done for Chain 1 0 ar5416SetupMeasurement: start IQ Mismatch calibration 260 ar5416DoCalibration: IQ Calibration, state 2, calValid 0x4 0 ar9287olcTemperatureCompensation: initPDADC=3D126, currPDADC=3D124= 0 ar9287olcTemperatureCompensation: delta=3D1 0 NF calibrated [ctl] [chain 0] is -121 0 NF calibrated [ctl] [chain 1] is -121 0 NF calibrated [ext] [chain 0] is -122 0 NF calibrated [ext] [chain 1] is -121 0 CCA: [0: -121][1: -121][3: -121][4: -121] 0 2462 raw nf -121 adjust 25 181 ar5416DoCalibration: IQ Calibration, state 2, calValid 0x4 0 ar5416GetMibCycleCounts: cycle counter wrap. ExtBusy =3D 0 110 ar5416DoCalibration: IQ Calibration, state 2, calValid 0x4 0 ar9287olcTemperatureCompensation: initPDADC=3D126, currPDADC=3D124= 0 ar9287olcTemperatureCompensation: delta=3D1 0 NF calibrated [ctl] [chain 0] is -121 0 NF calibrated [ctl] [chain 1] is -121 0 NF calibrated [ext] [chain 0] is -122 0 NF calibrated [ext] [chain 1] is -121 0 CCA: [0: -121][1: -121][3: -122][4: -121] 0 2462 raw nf -121 adjust 25 118 ar5416DoCalibration: IQ Calibration, state 2, calValid 0x4 0 ar5416DoCalibration: sample 0 of 1 finished 0 0: Chn 0 pmi=3D0x1125f992;pmq=3D0x11617ba6;iqcm=3D0xffda1104; 0 0: Chn 1 pmi=3D0x10372c81;pmq=3D0x10b4af8f;iqcm=3D0xffd907b7; 0 0: Chn 2 pmi=3D0x00000000;pmq=3D0x00000000;iqcm=3D0x00000000; 0 Start IQ Cal and Correction for Chain 0 0 Orignal: iq_corr_meas =3D 0xffda1104 0 pwr_meas_i =3D 0x1125f992 0 pwr_meas_q =3D 0x11617ba6 0 iqCorrNeg is 0x00000001 0 iCoff =3D 0x00000001 0 qCoff =3D 0xffffffff 0 New: iCoff =3D 0x00000001 0 : iCoff =3D 0x1 qCoff =3D 0xffffffff 0 IQ Cal and Correction done for Chain 0 0 Start IQ Cal and Correction for Chain 1 0 Orignal: iq_corr_meas =3D 0xffd907b7 0 pwr_meas_i =3D 0x10372c81 0 pwr_meas_q =3D 0x10b4af8f 0 iqCorrNeg is 0x00000001 0 iCoff =3D 0x00000001 0 qCoff =3D 0xfffffffe 0 New: iCoff =3D 0x00000001 0 : iCoff =3D 0x1 qCoff =3D 0xfffffffe 0 IQ Cal and Correction done for Chain 1 0 ar5416GetMibCycleCounts: cycle counter wrap. ExtBusy =3D 0 0 ar9287olcTemperatureCompensation: initPDADC=3D126, currPDADC=3D124= 0 ar9287olcTemperatureCompensation: delta=3D1 0 NF calibrated [ctl] [chain 0] is -121 0 NF calibrated [ctl] [chain 1] is -121 0 NF calibrated [ext] [chain 0] is -121 0 NF calibrated [ext] [chain 1] is -121 0 CCA: [0: -121][1: -121][3: -121][4: -121] 0 2462 raw nf -121 adjust 25 0 ar5416GetMibCycleCounts: cycle counter wrap. ExtBusy =3D 0 0 ar9287olcTemperatureCompensation: initPDADC=3D126, currPDADC=3D124= 0 ar9287olcTemperatureCompensation: delta=3D1 0 NF calibrated [ctl] [chain 0] is -121 0 NF calibrated [ctl] [chain 1] is -121 0 NF calibrated [ext] [chain 0] is -121 0 NF calibrated [ext] [chain 1] is -121 0 CCA: [0: -121][1: -121][3: -121][4: -121] 0 2462 raw nf -121 adjust 25 1 ar5416GetMibCycleCounts: cycle counter wrap. ExtBusy =3D 0 0 ar9287olcTemperatureCompensation: initPDADC=3D126, currPDADC=3D124= 0 ar9287olcTemperatureCompensation: delta=3D1 0 NF calibrated [ctl] [chain 0] is -121 0 NF calibrated [ctl] [chain 1] is -121 0 NF calibrated [ext] [chain 0] is -121 0 NF calibrated [ext] [chain 1] is -121 0 CCA: [0: -121][1: -121][3: -121][4: -121] 0 2462 raw nf -121 adjust 25 0 ar5416GetMibCycleCounts: cycle counter wrap. ExtBusy =3D 0 0 ar9287olcTemperatureCompensation: initPDADC=3D126, currPDADC=3D124= 0 ar9287olcTemperatureCompensation: delta=3D1 0 NF calibrated [ctl] [chain 0] is -121 0 NF calibrated [ctl] [chain 1] is -122 0 NF calibrated [ext] [chain 0] is -121 0 NF calibrated [ext] [chain 1] is -121 0 CCA: [0: -121][1: -121][3: -121][4: -121] 0 2462 raw nf -121 adjust 25 0 ar5416GetMibCycleCounts: cycle counter wrap. ExtBusy =3D 0 0 ar9287olcTemperatureCompensation: initPDADC=3D126, currPDADC=3D124= 0 ar9287olcTemperatureCompensation: delta=3D1 0 NF calibrated [ctl] [chain 0] is -121 0 NF calibrated [ctl] [chain 1] is -121 0 NF calibrated [ext] [chain 0] is -121 0 NF calibrated [ext] [chain 1] is -121 0 CCA: [0: -121][1: -121][3: -121][4: -121] 0 2462 raw nf -121 adjust 25 0 ar5416GetMibCycleCounts: cycle counter wrap. ExtBusy =3D 0 Thanks, Andrew= From owner-freebsd-wireless@freebsd.org Sat Aug 6 08:33:09 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 9A1C0BB08E2 for ; Sat, 6 Aug 2016 08:33:09 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-it0-x235.google.com (mail-it0-x235.google.com [IPv6:2607:f8b0:4001:c0b::235]) (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 5C91D1916 for ; Sat, 6 Aug 2016 08:33:09 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-it0-x235.google.com with SMTP id f6so7597664ith.0 for ; Sat, 06 Aug 2016 01:33:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=3/bkw9QkWBl8pFf1Y+Q6EpSeHeoD1t8COfR+jrVMrYg=; b=jfJ8lEh43UBigTOI0+7rqUc3Q/PM6QpgQrgDhnkJt0hfHgGkP55ut5ZZYi4ug4xXoE gEzkUh59lG8r9i3eSJtv38FOyijdZ97w7AiTqHhUMdVzxAbI7CXMpujcDwIMM+1TroD2 v7NuUrXJP89q8IRCTbKESf2ABfi640jylqKZid9Q+Oy0Zz8fEWKzI5UJXotn6BhoRB+8 8SjibYYt5G6MhTzNnr3EAiDUGfGXeVqZkLBrlQ/vAsEXq0Mgd41DvNh4jcF2+u3jMZgF ir9F1RUAKiVjT+hgjosgiwAtkEYbmEIGnrMdDQd7jbhFcB8lOSHKfI8LpRh1LegA6f5a B2AQ== 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:from:date :message-id:subject:to:cc; bh=3/bkw9QkWBl8pFf1Y+Q6EpSeHeoD1t8COfR+jrVMrYg=; b=PjpjBfdSK5eIK97tEohbgkrR4U+mzQ/qV6u38ghYmNPPZRAkOhIsjyrrwkTz+Rau0M CpS448corIDbeJDxibrUQ176ADRdlRH26ytl/lJTl6vYziGN8xFi5X3ly6/WiggACIYB mGNt9jtvc6m+h64hp9D4hA1A/sqTE+qvdi2I3qm4lFFD4bv1o2jHiiaFlEJ++QLCA62J z6/QOz4euwLuxj77pi6ccms/xafvtjNJGFP7xAa/LZActB2ZT8KeWhtn7fdsxaHZ16zq PyT67k9vtUG0ARvwQWs8sijP+qdA/Js9TSBKup8yiLOBRnGWvgQiF8Ar8ydd7V0XsUtl FTAA== X-Gm-Message-State: AEkoousYAK7XokgxqQRsHu8KiVwcNGzTMfCMeEkSLvIDDd01MRU9DKPJn3ZnkfpRdbU1+EkhLz3JGETDmxbzaA== X-Received: by 10.36.242.68 with SMTP id j65mr8301550ith.25.1470472388169; Sat, 06 Aug 2016 01:33:08 -0700 (PDT) MIME-Version: 1.0 Received: by 10.36.141.129 with HTTP; Sat, 6 Aug 2016 01:33:07 -0700 (PDT) In-Reply-To: <8292C80F-9A18-450D-9A2A-D4C63D0EA99A@ugh.net.au> References: <2DEF8DBE-1444-435C-B48C-FEAB71CA60E5@ugh.net.au> <20160716105843.GA5832@vpn.offrom.nl> <762054A0-B628-4CD8-9F59-6B52CEB78481@ugh.net.au> <09DD4206-6D68-4B03-A3F9-01512C2F866B@ugh.net.au> <2E7BBB3B-2398-413B-BA8E-18CFB16AE4E1@ugh.net.au> <40DE7FBD-8206-4388-806D-4D4BE169ACEB@ugh.net.au> <8292C80F-9A18-450D-9A2A-D4C63D0EA99A@ugh.net.au> From: Adrian Chadd Date: Sat, 6 Aug 2016 01:33:07 -0700 Message-ID: Subject: Re: bf_next not NULL! To: Andrew Stevenson Cc: "freebsd-wireless@freebsd.org" , Willem@offermans.rompen.nl Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.22 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: Sat, 06 Aug 2016 08:33:09 -0000 hi, ok. Try running with 'sysctl dev.ath.0.hal.force_full_reset=1' enabled. It looks like the DMA engine reset isn't fully resetting things. Good, this i can likely reproduce. -adrian On 6 August 2016 at 00:48, Andrew Stevenson wrote: > OK a bit less incompetently this time. This is dmesg with duplicate lines suppressed. The first field is the number of times the line was duplicated. > > 164 ar5416DoCalibration: IQ Calibration, state 2, calValid 0x4 > 0 ar5416GetMibCycleCounts: cycle counter wrap. ExtBusy = 0 > 32 ar5416DoCalibration: IQ Calibration, state 2, calValid 0x4 > 0 ar9287olcTemperatureCompensation: initPDADC=126, currPDADC=124 > 0 ar9287olcTemperatureCompensation: delta=1 > 0 NF calibrated [ctl] [chain 0] is -120 > 0 NF calibrated [ctl] [chain 1] is -120 > 0 NF calibrated [ext] [chain 0] is -121 > 0 NF calibrated [ext] [chain 1] is -120 > 0 CCA: [0: -121][1: -121][3: -121][4: -121] > 0 2462 raw nf -120 adjust 24 > 204 ar5416DoCalibration: IQ Calibration, state 2, calValid 0x4 > 0 ar5416GetMibCycleCounts: cycle counter wrap. ExtBusy = 0 > 87 ar5416DoCalibration: IQ Calibration, state 2, calValid 0x4 > 0 ar9287olcTemperatureCompensation: initPDADC=126, currPDADC=124 > 0 ar9287olcTemperatureCompensation: delta=1 > 0 NF calibrated [ctl] [chain 0] is -121 > 0 NF calibrated [ctl] [chain 1] is -121 > 0 NF calibrated [ext] [chain 0] is -121 > 0 NF calibrated [ext] [chain 1] is -121 > 0 CCA: [0: -121][1: -121][3: -121][4: -121] > 0 2462 raw nf -121 adjust 25 > 150 ar5416DoCalibration: IQ Calibration, state 2, calValid 0x4 > 0 ar5416GetMibCycleCounts: cycle counter wrap. ExtBusy = 0 > 138 ar5416DoCalibration: IQ Calibration, state 2, calValid 0x4 > 0 ar5416DoCalibration: sample 0 of 1 finished > 0 0: Chn 0 pmi=0x127e79ea;pmq=0x13347b9d;iqcm=0xffca20b5; > 0 0: Chn 1 pmi=0x10bfb290;pmq=0x116a15ed;iqcm=0xff899551; > 0 0: Chn 2 pmi=0x00000000;pmq=0x00000000;iqcm=0x00000000; > 0 Start IQ Cal and Correction for Chain 0 > 0 Orignal: iq_corr_meas = 0xffca20b5 > 0 pwr_meas_i = 0x127e79ea > 0 pwr_meas_q = 0x13347b9d > 0 iqCorrNeg is 0x00000001 > 0 iCoff = 0x00000001 > 0 qCoff = 0xfffffffd > 0 New: iCoff = 0x00000001 > 0 : iCoff = 0x1 qCoff = 0xfffffffd > 0 IQ Cal and Correction done for Chain 0 > 0 Start IQ Cal and Correction for Chain 1 > 0 Orignal: iq_corr_meas = 0xff899551 > 0 pwr_meas_i = 0x10bfb290 > 0 pwr_meas_q = 0x116a15ed > 0 iqCorrNeg is 0x00000001 > 0 iCoff = 0x00000003 > 0 qCoff = 0xfffffffd > 0 New: iCoff = 0x00000003 > 0 : iCoff = 0x3 qCoff = 0xfffffffd > 0 IQ Cal and Correction done for Chain 1 > 0 ar9287olcTemperatureCompensation: initPDADC=126, currPDADC=124 > 0 ar9287olcTemperatureCompensation: delta=1 > 0 NF calibrated [ctl] [chain 0] is -121 > 0 NF calibrated [ctl] [chain 1] is -121 > 0 NF calibrated [ext] [chain 0] is -121 > 0 NF calibrated [ext] [chain 1] is -121 > 0 CCA: [0: -121][1: -121][3: -121][4: -121] > 0 2462 raw nf -121 adjust 25 > 0 ar5416GetMibCycleCounts: cycle counter wrap. ExtBusy = 0 > 0 ar9287olcTemperatureCompensation: initPDADC=126, currPDADC=124 > 0 ar9287olcTemperatureCompensation: delta=1 > 0 NF calibrated [ctl] [chain 0] is -121 > 0 NF calibrated [ctl] [chain 1] is -121 > 0 NF calibrated [ext] [chain 0] is -121 > 0 NF calibrated [ext] [chain 1] is -121 > 0 CCA: [0: -121][1: -121][3: -121][4: -121] > 0 2462 raw nf -121 adjust 25 > 1 ar5416GetMibCycleCounts: cycle counter wrap. ExtBusy = 0 > 0 ar9287olcTemperatureCompensation: initPDADC=126, currPDADC=124 > 0 ar9287olcTemperatureCompensation: delta=1 > 0 NF calibrated [ctl] [chain 0] is -121 > 0 NF calibrated [ctl] [chain 1] is -121 > 0 NF calibrated [ext] [chain 0] is -121 > 0 NF calibrated [ext] [chain 1] is -121 > 0 CCA: [0: -121][1: -121][3: -121][4: -121] > 0 2462 raw nf -121 adjust 25 > 0 ar5416GetMibCycleCounts: cycle counter wrap. ExtBusy = 0 > 0 ar9287olcTemperatureCompensation: initPDADC=126, currPDADC=124 > 0 ar9287olcTemperatureCompensation: delta=1 > 0 NF calibrated [ctl] [chain 0] is -121 > 0 NF calibrated [ctl] [chain 1] is -121 > 0 NF calibrated [ext] [chain 0] is -120 > 0 NF calibrated [ext] [chain 1] is -121 > 0 CCA: [0: -121][1: -121][3: -121][4: -121] > 0 2462 raw nf -121 adjust 25 > 0 ar5416GetMibCycleCounts: cycle counter wrap. ExtBusy = 0 > 0 ar9287olcTemperatureCompensation: initPDADC=126, currPDADC=124 > 0 ar9287olcTemperatureCompensation: delta=1 > 0 NF calibrated [ctl] [chain 0] is -121 > 0 NF calibrated [ctl] [chain 1] is -122 > 0 NF calibrated [ext] [chain 0] is -122 > 0 NF calibrated [ext] [chain 1] is -121 > 0 CCA: [0: -121][1: -121][3: -121][4: -121] > 0 2462 raw nf -121 adjust 25 > 0 ar5416GetMibCycleCounts: cycle counter wrap. ExtBusy = 0 > 0 ar9287olcTemperatureCompensation: initPDADC=126, currPDADC=124 > 0 ar9287olcTemperatureCompensation: delta=1 > 0 NF calibrated [ctl] [chain 0] is -120 > 0 NF calibrated [ctl] [chain 1] is -121 > 0 NF calibrated [ext] [chain 0] is -121 > 0 NF calibrated [ext] [chain 1] is -121 > 0 CCA: [0: -121][1: -121][3: -121][4: -121] > 0 2462 raw nf -120 adjust 24 > 0 ar5416GetMibCycleCounts: cycle counter wrap. ExtBusy = 0 > 0 ath0: stuck beacon; resetting (bmiss count 4) > 0 ar5416StopDmaReceive: dma failed to stop in 10ms > 0 AR_CR=0x00000024 > 0 AR_DIAG_SW=0x42000020 > 0 ar5416StopTxDma: queue 9 DMA did not stop in 400 msec > 0 ar5416StopTxDma: QSTS 0x500 Q_TXE 0x202 Q_TXD 0x200 Q_CBR 0x0 > 0 ar5416StopTxDma: Q_MISC 0x8a2 Q_RDYTIMECFG 0x0 Q_RDYTIMESHDN 0x100 > 0 ar5416StopTxDma: Failed to stop Tx DMA in 4 msec after killing last frame > 0 ar5416StopTxDma: queue 1 DMA did not stop in 400 msec > 0 ar5416StopTxDma: QSTS 0x1 Q_TXE 0x202 Q_TXD 0x2 Q_CBR 0x0 > 0 ar5416StopTxDma: Q_MISC 0x800 Q_RDYTIMECFG 0x0 Q_RDYTIMESHDN 0x100 > 0 ar5416StopTxDma: Failed to stop Tx DMA in 4 msec after killing last frame > > > > > > 0 ar9287olcTemperatureCompensation: initPDADC=126, currPDADC=0 > 0 ar5416InitCal: enable ADC DC Calibration. > 0 ar5416InitCal: enable IQ Calibration. > 0 ar5416SetupMeasurement: start ADC DC calibration > 0 ar5416GetMibCycleCounts: cycle counter wrap. ExtBusy = 0 > 0 ath0: stuck beacon; resetting (bmiss count 4) > 0 ar5416StopTxDma: queue 9 DMA did not stop in 400 msec > 0 ar5416StopTxDma: QSTS 0x400 Q_TXE 0x202 Q_TXD 0x200 Q_CBR 0x0 > 0 ar5416StopTxDma: Q_MISC 0x8a2 Q_RDYTIMECFG 0x0 Q_RDYTIMESHDN 0x0 > 0 ar5416StopTxDma: Failed to stop Tx DMA in 4 msec after killing last frame > 0 ar5416StopTxDma: queue 1 DMA did not stop in 400 msec > 0 ar5416StopTxDma: QSTS 0x1 Q_TXE 0x202 Q_TXD 0x2 Q_CBR 0x0 > 0 ar5416StopTxDma: Q_MISC 0x800 Q_RDYTIMECFG 0x0 Q_RDYTIMESHDN 0x0 > 0 ar5416StopTxDma: Failed to stop Tx DMA in 4 msec after killing last frame > 0 ar9287olcTemperatureCompensation: initPDADC=126, currPDADC=0 > 0 ar5416InitCal: enable ADC DC Calibration. > 0 ar5416InitCal: enable IQ Calibration. > 0 ar5416SetupMeasurement: start ADC DC calibration > 0 ar5416GetMibCycleCounts: cycle counter wrap. ExtBusy = 0 > 0 ar5416DoCalibration: ADC DC Calibration, state 2, calValid 0x0 > 0 ar9287olcTemperatureCompensation: initPDADC=126, currPDADC=124 > 0 ar9287olcTemperatureCompensation: delta=1 > 0 NF calibrated [ctl] [chain 0] is -121 > 0 NF calibrated [ctl] [chain 1] is -121 > 0 NF calibrated [ext] [chain 0] is -121 > 0 NF calibrated [ext] [chain 1] is -121 > 0 CCA: [0: -121][1: -121][3: -121][4: -121] > 0 2462 raw nf -121 adjust 25 > 31 ar5416DoCalibration: ADC DC Calibration, state 2, calValid 0x0 > 0 ar5416DoCalibration: sample 0 of 1 finished > 0 0: Chn 0 oddi=0xfffffee7; eveni=0xfffffe6a; oddq=0x00000159; evenq=0xfffffffb; > 0 0: Chn 1 oddi=0xffffff34; eveni=0xfffffd75; oddq=0xfffffe75; evenq=0xfffffeef; > 0 0: Chn 2 oddi=0x00000000; eveni=0x00000000; oddq=0x00000000; evenq=0x00000000; > 0 Starting ADC DC Offset Cal for Chain 0 > 0 pwr_meas_odd_i = -281 > 0 pwr_meas_even_i = -406 > 0 pwr_meas_odd_q = 345 > 0 pwr_meas_even_q = -5 > 0 dc_offset_mismatch_i = 0x000001fe > 0 dc_offset_mismatch_q = 0x00000005 > 0 ADC DC Offset Cal done for Chain 0 > 0 Starting ADC DC Offset Cal for Chain 1 > 0 pwr_meas_odd_i = -204 > 0 pwr_meas_even_i = -651 > 0 pwr_meas_odd_q = -395 > 0 pwr_meas_even_q = -273 > 0 dc_offset_mismatch_i = 0x000001f9 > 0 dc_offset_mismatch_q = 0x000001fe > 0 ADC DC Offset Cal done for Chain 1 > 0 ar5416SetupMeasurement: start IQ Mismatch calibration > 260 ar5416DoCalibration: IQ Calibration, state 2, calValid 0x4 > 0 ar9287olcTemperatureCompensation: initPDADC=126, currPDADC=124 > 0 ar9287olcTemperatureCompensation: delta=1 > 0 NF calibrated [ctl] [chain 0] is -121 > 0 NF calibrated [ctl] [chain 1] is -121 > 0 NF calibrated [ext] [chain 0] is -122 > 0 NF calibrated [ext] [chain 1] is -121 > 0 CCA: [0: -121][1: -121][3: -121][4: -121] > 0 2462 raw nf -121 adjust 25 > 181 ar5416DoCalibration: IQ Calibration, state 2, calValid 0x4 > 0 ar5416GetMibCycleCounts: cycle counter wrap. ExtBusy = 0 > 110 ar5416DoCalibration: IQ Calibration, state 2, calValid 0x4 > 0 ar9287olcTemperatureCompensation: initPDADC=126, currPDADC=124 > 0 ar9287olcTemperatureCompensation: delta=1 > 0 NF calibrated [ctl] [chain 0] is -121 > 0 NF calibrated [ctl] [chain 1] is -121 > 0 NF calibrated [ext] [chain 0] is -122 > 0 NF calibrated [ext] [chain 1] is -121 > 0 CCA: [0: -121][1: -121][3: -122][4: -121] > 0 2462 raw nf -121 adjust 25 > 118 ar5416DoCalibration: IQ Calibration, state 2, calValid 0x4 > 0 ar5416DoCalibration: sample 0 of 1 finished > 0 0: Chn 0 pmi=0x1125f992;pmq=0x11617ba6;iqcm=0xffda1104; > 0 0: Chn 1 pmi=0x10372c81;pmq=0x10b4af8f;iqcm=0xffd907b7; > 0 0: Chn 2 pmi=0x00000000;pmq=0x00000000;iqcm=0x00000000; > 0 Start IQ Cal and Correction for Chain 0 > 0 Orignal: iq_corr_meas = 0xffda1104 > 0 pwr_meas_i = 0x1125f992 > 0 pwr_meas_q = 0x11617ba6 > 0 iqCorrNeg is 0x00000001 > 0 iCoff = 0x00000001 > 0 qCoff = 0xffffffff > 0 New: iCoff = 0x00000001 > 0 : iCoff = 0x1 qCoff = 0xffffffff > 0 IQ Cal and Correction done for Chain 0 > 0 Start IQ Cal and Correction for Chain 1 > 0 Orignal: iq_corr_meas = 0xffd907b7 > 0 pwr_meas_i = 0x10372c81 > 0 pwr_meas_q = 0x10b4af8f > 0 iqCorrNeg is 0x00000001 > 0 iCoff = 0x00000001 > 0 qCoff = 0xfffffffe > 0 New: iCoff = 0x00000001 > 0 : iCoff = 0x1 qCoff = 0xfffffffe > 0 IQ Cal and Correction done for Chain 1 > 0 ar5416GetMibCycleCounts: cycle counter wrap. ExtBusy = 0 > 0 ar9287olcTemperatureCompensation: initPDADC=126, currPDADC=124 > 0 ar9287olcTemperatureCompensation: delta=1 > 0 NF calibrated [ctl] [chain 0] is -121 > 0 NF calibrated [ctl] [chain 1] is -121 > 0 NF calibrated [ext] [chain 0] is -121 > 0 NF calibrated [ext] [chain 1] is -121 > 0 CCA: [0: -121][1: -121][3: -121][4: -121] > 0 2462 raw nf -121 adjust 25 > 0 ar5416GetMibCycleCounts: cycle counter wrap. ExtBusy = 0 > 0 ar9287olcTemperatureCompensation: initPDADC=126, currPDADC=124 > 0 ar9287olcTemperatureCompensation: delta=1 > 0 NF calibrated [ctl] [chain 0] is -121 > 0 NF calibrated [ctl] [chain 1] is -121 > 0 NF calibrated [ext] [chain 0] is -121 > 0 NF calibrated [ext] [chain 1] is -121 > 0 CCA: [0: -121][1: -121][3: -121][4: -121] > 0 2462 raw nf -121 adjust 25 > 1 ar5416GetMibCycleCounts: cycle counter wrap. ExtBusy = 0 > 0 ar9287olcTemperatureCompensation: initPDADC=126, currPDADC=124 > 0 ar9287olcTemperatureCompensation: delta=1 > 0 NF calibrated [ctl] [chain 0] is -121 > 0 NF calibrated [ctl] [chain 1] is -121 > 0 NF calibrated [ext] [chain 0] is -121 > 0 NF calibrated [ext] [chain 1] is -121 > 0 CCA: [0: -121][1: -121][3: -121][4: -121] > 0 2462 raw nf -121 adjust 25 > 0 ar5416GetMibCycleCounts: cycle counter wrap. ExtBusy = 0 > 0 ar9287olcTemperatureCompensation: initPDADC=126, currPDADC=124 > 0 ar9287olcTemperatureCompensation: delta=1 > 0 NF calibrated [ctl] [chain 0] is -121 > 0 NF calibrated [ctl] [chain 1] is -122 > 0 NF calibrated [ext] [chain 0] is -121 > 0 NF calibrated [ext] [chain 1] is -121 > 0 CCA: [0: -121][1: -121][3: -121][4: -121] > 0 2462 raw nf -121 adjust 25 > 0 ar5416GetMibCycleCounts: cycle counter wrap. ExtBusy = 0 > 0 ar9287olcTemperatureCompensation: initPDADC=126, currPDADC=124 > 0 ar9287olcTemperatureCompensation: delta=1 > 0 NF calibrated [ctl] [chain 0] is -121 > 0 NF calibrated [ctl] [chain 1] is -121 > 0 NF calibrated [ext] [chain 0] is -121 > 0 NF calibrated [ext] [chain 1] is -121 > 0 CCA: [0: -121][1: -121][3: -121][4: -121] > 0 2462 raw nf -121 adjust 25 > 0 ar5416GetMibCycleCounts: cycle counter wrap. ExtBusy = 0 > > > Thanks, > > Andrew