From owner-freebsd-wireless@freebsd.org Sun Apr 7 20:56:51 2019 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 35865156A6EF for ; Sun, 7 Apr 2019 20:56:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id B762D71BD3 for ; Sun, 7 Apr 2019 20:56:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 6E111156A6ED; Sun, 7 Apr 2019 20:56:50 +0000 (UTC) Delivered-To: wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 583E3156A6EC for ; Sun, 7 Apr 2019 20:56:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CE87371BD2 for ; Sun, 7 Apr 2019 20:56:49 +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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id E9A988BC1 for ; Sun, 7 Apr 2019 20:56:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x37KumR6022100 for ; Sun, 7 Apr 2019 20:56:48 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x37Kumcg022099 for wireless@FreeBSD.org; Sun, 7 Apr 2019 20:56:48 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: wireless@FreeBSD.org Subject: [Bug 237083] [ubt] Init fails on Thinkpad t480s Date: Sun, 07 Apr 2019 20:56: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: 12.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: alex@xanderio.de X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: 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 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.29 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: Sun, 07 Apr 2019 20:56:51 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237083 Bug ID: 237083 Summary: [ubt] Init fails on Thinkpad t480s Product: Base System Version: 12.0-STABLE Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: wireless Assignee: wireless@FreeBSD.org Reporter: alex@xanderio.de When trying to start the bluetooth stack on a Thinkpad t480s with the Intel Dual Band Wireless-AC 8265: 2x2 Wi-Fi 802.11ac with MU-MIMO, Bluetooth 4.1 module. ubt0 on uhub0 ubt0: on usbus0 ubt0: ubt_ctrl_write_callback:782: control transfer failed: USB_ERR_TIMEOUT ng_hci_process_command_timeout: ubt0hci - unable to complete HCI command OGF=3D0x3, OCF=3D0x3. Timeout --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-wireless@freebsd.org Sun Apr 7 21:01:26 2019 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0588A156AC0B for ; Sun, 7 Apr 2019 21:01:26 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 777537236C for ; Sun, 7 Apr 2019 21:01:25 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 3744B156ABF3; Sun, 7 Apr 2019 21:01:25 +0000 (UTC) Delivered-To: wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 24C73156ABF1 for ; Sun, 7 Apr 2019 21:01:25 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B0C487235A for ; Sun, 7 Apr 2019 21:01:24 +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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id C601F8CE6 for ; Sun, 7 Apr 2019 21:01:23 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x37L1NIh075985 for ; Sun, 7 Apr 2019 21:01:23 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x37L1N8h075979 for wireless@FreeBSD.org; Sun, 7 Apr 2019 21:01:23 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <201904072101.x37L1N8h075979@kenobi.freebsd.org> X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@FreeBSD.org using -f From: bugzilla-noreply@FreeBSD.org To: wireless@FreeBSD.org Subject: Problem reports for wireless@FreeBSD.org that need special attention Date: Sun, 7 Apr 2019 21:01:23 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.29 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: Sun, 07 Apr 2019 21:01:26 -0000 To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- Open | 154598 | [ath] Atheros 5424/2424 can't connect to WPA netw Open | 211689 | panic with lagg failover wireless ath and iwm 2 problems total for which you should take action. From owner-freebsd-wireless@freebsd.org Tue Apr 9 16:03:45 2019 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3A26F15632EE for ; Tue, 9 Apr 2019 16:03:45 +0000 (UTC) (envelope-from danfe@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CEB286C058; Tue, 9 Apr 2019 16:03:44 +0000 (UTC) (envelope-from danfe@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 1033) id C12E31CD0E; Tue, 9 Apr 2019 16:03:44 +0000 (UTC) Date: Tue, 9 Apr 2019 16:03:44 +0000 From: Alexey Dokuchaev To: Adrian Chadd Cc: Miguel Clara , freebsd-wireless@freebsd.org Subject: Re: Atheros AR5B22 WLAN+Bluetooth support on FreeBSD Message-ID: <20190409160344.GA83271@FreeBSD.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-Rspamd-Queue-Id: CEB286C058 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.91 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_SHORT(-0.92)[-0.925,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_MEDIUM(-0.98)[-0.981,0]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; TAGGED_RCPT(0.00)[] X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.29 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, 09 Apr 2019 16:03:45 -0000 On Sun, Jun 02, 2013 at 09:59:05AM -0700, Adrian Chadd wrote: > Hi, > > It's supported in -HEAD. Hmm, almost six years later, apparently it is still not: % uname -UK 1300014 1300014 # kldload if_ath_pci if_ath % pciconf -lv | tail -4 none2@pci0:3:0:0: class=0x028000 card=0x661111ad chip=0x0034168c rev=0x01 hdr=0x00 vendor = 'Qualcomm Atheros' device = 'AR9462 Wireless Network Adapter' class = network > Bluetooth may or may not work. I've not sat down and focused on that, > sorry. Looks like it does not work either: ``hccontrol inquiry'' does not see any devices around. :-( ./danfe From owner-freebsd-wireless@freebsd.org Tue Apr 9 19:06:02 2019 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 561D31569AC8 for ; Tue, 9 Apr 2019 19:06:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id EAEAE73A3B for ; Tue, 9 Apr 2019 19:06:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 961951569AA1; Tue, 9 Apr 2019 19:05:58 +0000 (UTC) Delivered-To: wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 824FB1569AA0 for ; Tue, 9 Apr 2019 19:05:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0F4D7739CD for ; Tue, 9 Apr 2019 19:05:58 +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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id C905E21B03 for ; Tue, 9 Apr 2019 19:05:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x39J5rFV024254 for ; Tue, 9 Apr 2019 19:05:53 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x39J5rWH024253 for wireless@FreeBSD.org; Tue, 9 Apr 2019 19:05:53 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: wireless@FreeBSD.org Subject: [Bug 208415] iwn panic: "out of data, data_len 3735928914" Date: Tue, 09 Apr 2019 19:05:53 +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: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: phk@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: 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.29 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, 09 Apr 2019 19:06:02 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D208415 --- Comment #2 from Poul-Henning Kamp --- Reviewing my old tickets. I have not seen this error since. The NetBSD patch seems relevant though so why not integrated yet ? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-wireless@freebsd.org Tue Apr 9 19:12:36 2019 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 78DE2156A1A2 for ; Tue, 9 Apr 2019 19:12:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 0C71274EF8 for ; Tue, 9 Apr 2019 19:12:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id BA308156A19D; Tue, 9 Apr 2019 19:12:35 +0000 (UTC) Delivered-To: wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A77BF156A19C for ; Tue, 9 Apr 2019 19:12:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 41E4B74EF2 for ; Tue, 9 Apr 2019 19:12:35 +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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 8034021C71 for ; Tue, 9 Apr 2019 19:12:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x39JCY7I041619 for ; Tue, 9 Apr 2019 19:12:34 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x39JCY3k041616 for wireless@FreeBSD.org; Tue, 9 Apr 2019 19:12:34 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: wireless@FreeBSD.org Subject: [Bug 208415] iwn panic: "out of data, data_len 3735928914" Date: Tue, 09 Apr 2019 19:12:34 +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: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: adrian@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: 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.29 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, 09 Apr 2019 19:12:36 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D208415 Adrian Chadd changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |adrian@freebsd.org --- Comment #3 from Adrian Chadd --- I bought a house, stripped a LOT of paint, got married, had a kid? :-P I'm open to having that patch applied if someone wants to verify it. I'm st= ill trying to figure out a STA crash here... --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-wireless@freebsd.org Wed Apr 10 14:50:08 2019 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 772DA1584CB1 for ; Wed, 10 Apr 2019 14:50:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 04C4A7448F for ; Wed, 10 Apr 2019 14:50:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id B7F221584CB0; Wed, 10 Apr 2019 14:50:07 +0000 (UTC) Delivered-To: wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A518D1584CAF for ; Wed, 10 Apr 2019 14:50:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 404CC7448B for ; Wed, 10 Apr 2019 14:50:07 +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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 867234600 for ; Wed, 10 Apr 2019 14:50:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x3AEo6Bw025170 for ; Wed, 10 Apr 2019 14:50:06 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x3AEo6HO025169 for wireless@FreeBSD.org; Wed, 10 Apr 2019 14:50:06 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: wireless@FreeBSD.org Subject: [Bug 237083] [ubt] Init fails on Thinkpad t480s Date: Wed, 10 Apr 2019 14:50:06 +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: 12.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: alex@xanderio.de X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: 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.29 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, 10 Apr 2019 14:50:08 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237083 --- Comment #1 from alex@xanderio.de --- To provide a bit more infomation. FreeBSD 12.0-STABLE r346077 GENERIC=20 usbconfig ugen0.5 dump_device_desc output: ugen0.5: at usbus0, cfg=3D0 md=3DHOST spd=3D= FULL (12Mbps) pwr=3DON (100mA) bLength =3D 0x0012=20 bDescriptorType =3D 0x0001=20 bcdUSB =3D 0x0200=20 bDeviceClass =3D 0x00e0 bDeviceSubClass =3D 0x0001=20 bDeviceProtocol =3D 0x0001=20 bMaxPacketSize0 =3D 0x0040=20 idVendor =3D 0x8087=20 idProduct =3D 0x0a2b=20 bcdDevice =3D 0x0010=20 iManufacturer =3D 0x0000 iProduct =3D 0x0000 iSerialNumber =3D 0x0000 bNumConfigurations =3D 0x0001 --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-wireless@freebsd.org Wed Apr 10 15:22:57 2019 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D64391585614 for ; Wed, 10 Apr 2019 15:22:57 +0000 (UTC) (envelope-from danfe@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7258275BA7; Wed, 10 Apr 2019 15:22:57 +0000 (UTC) (envelope-from danfe@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 1033) id 26D9D10B23; Wed, 10 Apr 2019 15:22:50 +0000 (UTC) Date: Wed, 10 Apr 2019 15:22:50 +0000 From: Alexey Dokuchaev To: Adrian Chadd Cc: Miguel Clara , freebsd-wireless@freebsd.org Subject: Re: Atheros AR5B22 WLAN+Bluetooth support on FreeBSD Message-ID: <20190410152250.GA37191@FreeBSD.org> References: <20190409160344.GA83271@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190409160344.GA83271@FreeBSD.org> User-Agent: Mutt/1.10.1 (2018-07-13) X-Rspamd-Queue-Id: 7258275BA7 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.94 / 15.00]; TAGGED_RCPT(0.00)[]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_SHORT(-0.95)[-0.950,0]; NEURAL_HAM_MEDIUM(-0.99)[-0.990,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-0.999,0] X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.29 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, 10 Apr 2019 15:22:58 -0000 On Tue, Apr 09, 2019 at 04:03:44PM +0000, Alexey Dokuchaev wrote: > On Sun, Jun 02, 2013 at 09:59:05AM -0700, Adrian Chadd wrote: > > Hi, > > > > It's supported in -HEAD. > > Hmm, almost six years later, apparently it is still not: > > % uname -UK > 1300014 1300014 > > # kldload if_ath_pci if_ath Driver attaches correctly if I move module loading to loader.conf(5): if_ath_load="YES" if_ath_pci_load="YES" Bluetooth still doesn't work though. ./danfe From owner-freebsd-wireless@freebsd.org Thu Apr 11 09:27:58 2019 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DB941157F00F for ; Thu, 11 Apr 2019 09:27:58 +0000 (UTC) (envelope-from danfe@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7909A8635A; Thu, 11 Apr 2019 09:27:58 +0000 (UTC) (envelope-from danfe@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 1033) id 6338E1AAD; Thu, 11 Apr 2019 09:27:58 +0000 (UTC) Date: Thu, 11 Apr 2019 09:27:58 +0000 From: Alexey Dokuchaev To: Adrian Chadd Cc: Miguel Clara , freebsd-wireless@freebsd.org Subject: Re: Atheros AR5B22 WLAN+Bluetooth support on FreeBSD Message-ID: <20190411092758.GA6899@FreeBSD.org> References: <20190409160344.GA83271@FreeBSD.org> <20190410152250.GA37191@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190410152250.GA37191@FreeBSD.org> User-Agent: Mutt/1.10.1 (2018-07-13) X-Rspamd-Queue-Id: 7909A8635A X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.94 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_SHORT(-0.95)[-0.952,0]; ASN(0.00)[asn:11403, ipnet:96.47.64.0/20, country:US]; NEURAL_HAM_MEDIUM(-0.99)[-0.993,0]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; TAGGED_RCPT(0.00)[] X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.29 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, 11 Apr 2019 09:27:59 -0000 On Wed, Apr 10, 2019 at 03:22:50PM +0000, Alexey Dokuchaev wrote: > On Tue, Apr 09, 2019 at 04:03:44PM +0000, Alexey Dokuchaev wrote: > > On Sun, Jun 02, 2013 at 09:59:05AM -0700, Adrian Chadd wrote: > > > Hi, > > > > > > It's supported in -HEAD. > > Driver attaches correctly if I move module loading to loader.conf(5): > > if_ath_load="YES" > if_ath_pci_load="YES" > > Bluetooth still doesn't work though. I've just stumbled upon this email* of Adrian's that tells how to enable Bluetooth Coexistence by adding ``hint.ath.0.btcoex_profile="wb222"'' to /boot/device.hints (for AR9462 cards). I've done that, and logs tell me it is enabled, but Bluetooth still does not work: % dmesg | grep -i coex ath0: Enabling WB222 BTCOEX # hccontrol inquiry ... repeated attempts, plenty of devices around ... Inquiry complete. Status: No error [00] ./danfe *) https://lists.freebsd.org/pipermail/freebsd-wireless/2016-June/006766.html From owner-freebsd-wireless@freebsd.org Thu Apr 11 10:46:58 2019 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 64DC81580BAE for ; Thu, 11 Apr 2019 10:46:58 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4A86588C2C for ; Thu, 11 Apr 2019 10:46:56 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from [89.204.130.80] (helo=localhost.unixarea.de) by ms-10.1blu.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.86_2) (envelope-from ) id 1hEXEF-0002Pv-GW for freebsd-wireless@freebsd.org; Thu, 11 Apr 2019 12:46:47 +0200 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.unixarea.de (8.15.2/8.14.9) with ESMTPS id x3BAklOU003963 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO) for ; Thu, 11 Apr 2019 12:46:47 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.15.2/8.14.9/Submit) id x3BAkl0k003962 for freebsd-wireless@freebsd.org; Thu, 11 Apr 2019 12:46:47 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Thu, 11 Apr 2019 12:46:47 +0200 From: Matthias Apitz To: freebsd-wireless@freebsd.org Subject: Re: Atheros AR5B22 WLAN+Bluetooth support on FreeBSD Message-ID: <20190411104647.GA3864@c720-r342378> Reply-To: Matthias Apitz References: <20190409160344.GA83271@FreeBSD.org> <20190410152250.GA37191@FreeBSD.org> <20190411092758.GA6899@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20190411092758.GA6899@FreeBSD.org> X-Operating-System: FreeBSD 13.0-CURRENT r342378 (amd64) X-message-flag: Mails containing HTML will not be read! Please send only plain text. User-Agent: Mutt/1.11.1 (2018-12-01) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 89.204.130.80 X-Rspamd-Queue-Id: 4A86588C2C X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-4.87 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[guru@unixarea.de]; HAS_XOIP(0.00)[]; IP_SCORE(-3.19)[ip: (-9.15), ipnet: 178.254.0.0/19(-3.79), asn: 42730(-3.01), country: DE(-0.01)]; HAS_XAW(0.00)[]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; MX_GOOD(-0.01)[mail.unixarea.de]; NEURAL_HAM_SHORT(-0.98)[-0.981,0]; FROM_EQ_ENVFROM(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[101.4.254.178.list.dnswl.org : 127.0.5.1]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:42730, ipnet:178.254.0.0/19, country:DE]; MIME_TRACE(0.00)[0:+]; RECEIVED_SPAMHAUS_PBL(0.00)[80.130.204.89.zen.spamhaus.org : 127.0.0.11]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.994,0]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-wireless@freebsd.org]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; DMARC_NA(0.00)[unixarea.de]; R_SPF_NA(0.00)[]; MID_RHS_NOT_FQDN(0.50)[]; RCVD_TLS_LAST(0.00)[] X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.29 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, 11 Apr 2019 10:46:58 -0000 El día jueves, abril 11, 2019 a las 09:27:58a. m. +0000, Alexey Dokuchaev escribió: > On Wed, Apr 10, 2019 at 03:22:50PM +0000, Alexey Dokuchaev wrote: > > On Tue, Apr 09, 2019 at 04:03:44PM +0000, Alexey Dokuchaev wrote: > > > On Sun, Jun 02, 2013 at 09:59:05AM -0700, Adrian Chadd wrote: > > > > Hi, > > > > > > > > It's supported in -HEAD. > > > > Driver attaches correctly if I move module loading to loader.conf(5): > > > > if_ath_load="YES" > > if_ath_pci_load="YES" > > > > Bluetooth still doesn't work though. > > I've just stumbled upon this email* of Adrian's that tells how to enable > Bluetooth Coexistence by adding ``hint.ath.0.btcoex_profile="wb222"'' to > /boot/device.hints (for AR9462 cards). I've done that, and logs tell me > it is enabled, but Bluetooth still does not work: > > % dmesg | grep -i coex > ath0: Enabling WB222 BTCOEX > # hccontrol inquiry > ... repeated attempts, plenty of devices around ... > Inquiry complete. Status: No error [00] I own an Acer C720 and set the same in /boot/device.hints. After boot it says in dmesg: $ dmesg | grep ath ath0: mem 0xe0400000-0xe047ffff at device 0.0 on pci1 ath0: RX status length: 48 ath0: RX buffer size: 4096 ath0: TX descriptor length: 128 ath0: TX status length: 36 ath0: TX buffers per descriptor: 4 ath0: ath_edma_setup_rxfifo: type=0, FIFO depth = 16 entries ath0: ath_edma_setup_rxfifo: type=1, FIFO depth = 128 entries ath0: Enabling WB222 BTCOEX ... But I don't know how to further enable any BT device. The above hcccontrol just says: # hccontrol inquiry hccontrol: Could not create socket: Address family not supported by protocol family What in addition I should load or do to get BT working? Thanks matthias -- Matthias Apitz, ✉ guru@unixarea.de, http://www.unixarea.de/ +49-176-38902045 Public GnuPG key: http://www.unixarea.de/key.pub From owner-freebsd-wireless@freebsd.org Thu Apr 11 12:52:42 2019 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B9F301583D09 for ; Thu, 11 Apr 2019 12:52:42 +0000 (UTC) (envelope-from danfe@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5E5D48D054; Thu, 11 Apr 2019 12:52:42 +0000 (UTC) (envelope-from danfe@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 1033) id 1F07A404D; Thu, 11 Apr 2019 12:52:42 +0000 (UTC) Date: Thu, 11 Apr 2019 12:52:42 +0000 From: Alexey Dokuchaev To: Matthias Apitz Cc: freebsd-wireless@freebsd.org Subject: Re: Atheros AR5B22 WLAN+Bluetooth support on FreeBSD Message-ID: <20190411125242.GA64046@FreeBSD.org> References: <20190409160344.GA83271@FreeBSD.org> <20190410152250.GA37191@FreeBSD.org> <20190411092758.GA6899@FreeBSD.org> <20190411104647.GA3864@c720-r342378> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190411104647.GA3864@c720-r342378> User-Agent: Mutt/1.10.1 (2018-07-13) X-Rspamd-Queue-Id: 5E5D48D054 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.81 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-0.99)[-0.993,0]; NEURAL_HAM_SHORT(-0.82)[-0.821,0]; ASN(0.00)[asn:11403, ipnet:96.47.64.0/20, country:US]; NEURAL_HAM_LONG(-1.00)[-0.999,0] X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.29 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, 11 Apr 2019 12:52:42 -0000 On Thu, Apr 11, 2019 at 12:46:47PM +0200, Matthias Apitz wrote: > > ... > > I've just stumbled upon this email* of Adrian's that tells how to enable > > Bluetooth Coexistence by adding ``hint.ath.0.btcoex_profile="wb222"'' to > > /boot/device.hints (for AR9462 cards). I've done that, and logs tell me > > it is enabled, but Bluetooth still does not work: > > > > % dmesg | grep -i coex > > ath0: Enabling WB222 BTCOEX > > # hccontrol inquiry > > ... repeated attempts, plenty of devices around ... > > Inquiry complete. Status: No error [00] > > I own an Acer C720 and set the same in /boot/device.hints. After boot it > says in dmesg: > > $ dmesg | grep ath > ath0: mem 0xe0400000-0xe047ffff at device 0.0 on pci1 > ath0: RX status length: 48 > ath0: RX buffer size: 4096 > ath0: TX descriptor length: 128 > ath0: TX status length: 36 > ath0: TX buffers per descriptor: 4 > ath0: ath_edma_setup_rxfifo: type=0, FIFO depth = 16 entries > ath0: ath_edma_setup_rxfifo: type=1, FIFO depth = 128 entries > ath0: Enabling WB222 BTCOEX > ... > > But I don't know how to further enable any BT device. What does "usbconfig list" say about your BT device? Mine is 0x0930:0x021c, which is AR3012 with sflash firmware according to the Linux' drivers/bluetooth/ath3k.c. Ubuntu users had reported* similar problems: "My BT seems to work to some extent.. answers to commands etc. But it doesn't discover anything sudo hcitool -i hci0 inq gives nothing.. even though devices are discoverable." Which apparently might be solved by updating the card's firmware: commit 0a9640c85c781a4ec0c82f16fbf7333b7ce6daa6 Author: Costa Yao Date: Wed Jul 4 17:38:09 2012 +0800 ar3k: add patch and sysconfig for Qualcomm Atheros AR9462 add patch and sysconfig for Qualcomm Atheros AR9462 Signed-off-by: Costa Yao Signed-off-by: Ben Hutchings This commit is from 2012, but I'm not sure how relevant it is to FreeBSD because it seems that ATH_EEPROM_FIRMWARE is disabled by default in our ath(4); then again, I have no real knowledge about our drivers and how ath3k/ath9k (BT/WiFi) parts are handled. ./danfe *) https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1024884 https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1394368 From owner-freebsd-wireless@freebsd.org Thu Apr 11 13:13:35 2019 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EC8D5158475F for ; Thu, 11 Apr 2019 13:13:34 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AE4138E00F; Thu, 11 Apr 2019 13:13:33 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from [89.204.130.80] (helo=localhost.unixarea.de) by ms-10.1blu.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.86_2) (envelope-from ) id 1hEZWD-0008MB-RV; Thu, 11 Apr 2019 15:13:30 +0200 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.unixarea.de (8.15.2/8.14.9) with ESMTPS id x3BDDSJ5005095 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Thu, 11 Apr 2019 15:13:28 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.15.2/8.14.9/Submit) id x3BDDSTu005094; Thu, 11 Apr 2019 15:13:28 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Thu, 11 Apr 2019 15:13:28 +0200 From: Matthias Apitz To: Alexey Dokuchaev Cc: freebsd-wireless@freebsd.org Subject: Re: Atheros AR5B22 WLAN+Bluetooth support on FreeBSD Message-ID: <20190411131328.GA4909@c720-r342378> Reply-To: Matthias Apitz References: <20190409160344.GA83271@FreeBSD.org> <20190410152250.GA37191@FreeBSD.org> <20190411092758.GA6899@FreeBSD.org> <20190411104647.GA3864@c720-r342378> <20190411125242.GA64046@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20190411125242.GA64046@FreeBSD.org> X-Operating-System: FreeBSD 13.0-CURRENT r342378 (amd64) X-message-flag: Mails containing HTML will not be read! Please send only plain text. User-Agent: Mutt/1.11.1 (2018-12-01) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 89.204.130.80 X-Rspamd-Queue-Id: AE4138E00F X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-4.85 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[guru@unixarea.de]; HAS_XOIP(0.00)[]; TO_DN_SOME(0.00)[]; HAS_XAW(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; MX_GOOD(-0.01)[cached: mail.unixarea.de]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.97)[-0.973,0]; RCVD_IN_DNSWL_LOW(-0.10)[101.4.254.178.list.dnswl.org : 127.0.5.1]; RECEIVED_SPAMHAUS_PBL(0.00)[80.130.204.89.zen.spamhaus.org : 127.0.0.11]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:42730, ipnet:178.254.0.0/19, country:DE]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.996,0]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[unixarea.de]; AUTH_NA(1.00)[]; MIME_TRACE(0.00)[0:+]; R_SPF_NA(0.00)[]; MID_RHS_NOT_FQDN(0.50)[]; IP_SCORE(-3.17)[ip: (-9.09), ipnet: 178.254.0.0/19(-3.76), asn: 42730(-2.98), country: DE(-0.01)] X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.29 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, 11 Apr 2019 13:13:35 -0000 El día jueves, abril 11, 2019 a las 12:52:42p. m. +0000, Alexey Dokuchaev escribió: > > ath0: Enabling WB222 BTCOEX > > ... > > > > But I don't know how to further enable any BT device. > > What does "usbconfig list" say about your BT device? Mine is > 0x0930:0x021c, which is AR3012 with sflash firmware according to > the Linux' drivers/bluetooth/ath3k.c. Ubuntu users had reported* > similar problems: # usbconfig list ugen0.1: <0x8086 XHCI root HUB> at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA) ugen1.1: at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA) ugen0.2: at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (500mA) ugen1.2: at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA) ugen0.3: at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (100mA) The later vendor 0x0489 product 0xe056 seems to be: https://cateee.net/lkddb/web-lkddb/BT_ATH3K.html ... Numeric ID (from LKDDb) and names (from usb.ids) of recognized devices: vendor: 03f0 ("HP, Inc"), product: 311d ("Atheros AR9285 Malbec Bluetooth Adapter") vendor: 0489 ("Foxconn / Hon Hai"), product: e027 vendor: 0489 ("Foxconn / Hon Hai"), product: e02c ("Atheros AR5BBU12 Bluetooth Device") vendor: 0489 ("Foxconn / Hon Hai"), product: e036 vendor: 0489 ("Foxconn / Hon Hai"), product: e03c vendor: 0489 ("Foxconn / Hon Hai"), product: e03d vendor: 0489 ("Foxconn / Hon Hai"), product: e04d ("Atheros AR3012 Bluetooth") vendor: 0489 ("Foxconn / Hon Hai"), product: e04e vendor: 0489 ("Foxconn / Hon Hai"), product: e056 vendor: 0489 ("Foxconn / Hon Hai"), product: e057 ... -- Matthias Apitz, ✉ guru@unixarea.de, http://www.unixarea.de/ +49-176-38902045 Public GnuPG key: http://www.unixarea.de/key.pub From owner-freebsd-wireless@freebsd.org Thu Apr 11 13:19:00 2019 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B7BCB158494E for ; Thu, 11 Apr 2019 13:19:00 +0000 (UTC) (envelope-from danfe@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2D80A8E3E4; Thu, 11 Apr 2019 13:19:00 +0000 (UTC) (envelope-from danfe@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 1033) id 1D5E84BF5; Thu, 11 Apr 2019 13:19:00 +0000 (UTC) Date: Thu, 11 Apr 2019 13:19:00 +0000 From: Alexey Dokuchaev To: Matthias Apitz Cc: freebsd-wireless@freebsd.org Subject: Re: Atheros AR5B22 WLAN+Bluetooth support on FreeBSD Message-ID: <20190411131859.GA17806@FreeBSD.org> References: <20190409160344.GA83271@FreeBSD.org> <20190410152250.GA37191@FreeBSD.org> <20190411092758.GA6899@FreeBSD.org> <20190411104647.GA3864@c720-r342378> <20190411125242.GA64046@FreeBSD.org> <20190411131328.GA4909@c720-r342378> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190411131328.GA4909@c720-r342378> User-Agent: Mutt/1.10.1 (2018-07-13) X-Rspamd-Queue-Id: 2D80A8E3E4 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.81 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-0.99)[-0.992,0]; NEURAL_HAM_SHORT(-0.81)[-0.813,0]; ASN(0.00)[asn:11403, ipnet:96.47.64.0/20, country:US]; NEURAL_HAM_LONG(-1.00)[-0.999,0] X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.29 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, 11 Apr 2019 13:19:00 -0000 On Thu, Apr 11, 2019 at 03:13:28PM +0200, Matthias Apitz wrote: > # usbconfig list > ... > ugen0.3: at usbus0, cfg=0 md=HOST > spd=FULL (12Mbps) pwr=ON (100mA) > > The later vendor 0x0489 product 0xe056 seems to be: > > https://cateee.net/lkddb/web-lkddb/BT_ATH3K.html Yes, it is also Atheros AR3012 (with sflash firmware), in Linux it's handled by the same ath3k driver as my chip. I'll try to boot under Ubuntu LiveCD on the weekend to see if it really works. ./danfe From owner-freebsd-wireless@freebsd.org Thu Apr 11 13:36:43 2019 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 44BC11584F80 for ; Thu, 11 Apr 2019 13:36:43 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wm1-x32b.google.com (mail-wm1-x32b.google.com [IPv6:2a00:1450:4864:20::32b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2D96B8F167; Thu, 11 Apr 2019 13:36:42 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-wm1-x32b.google.com with SMTP id w15so6725309wmc.3; Thu, 11 Apr 2019 06:36:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=QsDaUUz3svogbCniLLSmeXLy0ltrF5sfCoxvLZDgd80=; b=ZE6rQcjvY8PMGmq8r8si8B2a6e3SiY+KkgZKBKiySnmDUucbQbFtKva9QSTj8Pe/eK PzTtlVLLMCLQ2PK7Eqn4yy9e0GLbMaTGS5WCz2o+TeuY/ulGbouh/cXJEni1qMdsKoWL OKYA78mVMgrrY0K0Nn6Y1CbYAF/cTT3ghUlm2h8Wd7cEq8YIa0FcnRF614hyubOitEyJ CYc/Bx1ZbKFxUdpV24ZSPZimuK6FI0LSAqbY2wLg1RIoir262x6gLyMclAlHOzxjrVzK Y6OK80/HaIypfNhrJ8SDBIPGfOewbUhQ1z/nnxp86TMullf6YLDC5dQLkZdqhZlrEpgb /fEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=QsDaUUz3svogbCniLLSmeXLy0ltrF5sfCoxvLZDgd80=; b=mDzcoNljcNdzlQjhl/2Nvq2mo/6OSM4tEjgifO+MtibuZND1LgZBLIVVN/tAg0m4ZC Xzj3O5jt7cT1NOf6HXdkzef5xFQzvZtuk7LFwF0I1NOGp2FbnFISkjQv5H9GI35SUN6H /5+n2E2uY/FMgMALa9LfyixLYBhVtmCujIv6UwOxVmwsyakYLfZ1X6xVwRalq6yvgUMl UTlsqpUfONZFqKo7mwHc4wtVGQeI8GehQxDgaCduQbU6Hp+C8a/PxurpAvcTv9qxlW7p mfXpPw8VG4Nc/BzWtr7Y6qZGOw+9dZ+VwPSERmCvvtvSSbfevdUW6eRhCG9nKbPn/mxk N+iw== X-Gm-Message-State: APjAAAVjcY9hv6yJNzJOaCDn1hEyg0n8MBohTOuvYhLjgpY2Egsg8O7A S27SpPkQ8Bamywe84VG/cSFE5nXZwj/AwK1h+5Hu2g== X-Google-Smtp-Source: APXvYqzvftsEmKEVu8bJj2+hNeDZp2CGVnLX5KMB2GRzqV8MvqbpM2idRiT0K8kFfs+D5tFbRHPbLPqNkKBzOX0E0uI= X-Received: by 2002:a1c:ca06:: with SMTP id a6mr6993820wmg.14.1554989799666; Thu, 11 Apr 2019 06:36:39 -0700 (PDT) MIME-Version: 1.0 References: <20190409160344.GA83271@FreeBSD.org> <20190410152250.GA37191@FreeBSD.org> <20190411092758.GA6899@FreeBSD.org> <20190411104647.GA3864@c720-r342378> <20190411125242.GA64046@FreeBSD.org> <20190411131328.GA4909@c720-r342378> <20190411131859.GA17806@FreeBSD.org> In-Reply-To: <20190411131859.GA17806@FreeBSD.org> From: Adrian Chadd Date: Thu, 11 Apr 2019 06:36:26 -0700 Message-ID: Subject: Re: Atheros AR5B22 WLAN+Bluetooth support on FreeBSD To: Alexey Dokuchaev Cc: Matthias Apitz , "freebsd-wireless@freebsd.org" X-Rspamd-Queue-Id: 2D96B8F167 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=ZE6rQcjv; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of adrianchadd@gmail.com designates 2a00:1450:4864:20::32b as permitted sender) smtp.mailfrom=adrianchadd@gmail.com X-Spamd-Result: default: False [-6.56 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; NEURAL_HAM_SHORT(-0.75)[-0.752,0]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; IP_SCORE(-2.80)[ip: (-9.34), ipnet: 2a00:1450::/32(-2.39), asn: 15169(-2.19), country: US(-0.06)]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[b.2.3.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.29 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, 11 Apr 2019 13:36:43 -0000 I have a tool to upload firmware - github.com/erikarn/ath3k. See if that helps! -a On Thu, 11 Apr 2019 at 06:19, Alexey Dokuchaev wrote: > On Thu, Apr 11, 2019 at 03:13:28PM +0200, Matthias Apitz wrote: > > # usbconfig list > > ... > > ugen0.3: at usbus0, cfg=0 md=HOST > > spd=FULL (12Mbps) pwr=ON (100mA) > > > > The later vendor 0x0489 product 0xe056 seems to be: > > > > https://cateee.net/lkddb/web-lkddb/BT_ATH3K.html > > Yes, it is also Atheros AR3012 (with sflash firmware), in Linux it's > handled by the same ath3k driver as my chip. I'll try to boot under > Ubuntu LiveCD on the weekend to see if it really works. > > ./danfe > _______________________________________________ > 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 Thu Apr 11 14:23:50 2019 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A59301585E9E for ; Thu, 11 Apr 2019 14:23:50 +0000 (UTC) (envelope-from danfe@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3929769C5C; Thu, 11 Apr 2019 14:23:50 +0000 (UTC) (envelope-from danfe@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 1033) id 1222D59A6; Thu, 11 Apr 2019 14:23:50 +0000 (UTC) Date: Thu, 11 Apr 2019 14:23:50 +0000 From: Alexey Dokuchaev To: Adrian Chadd Cc: Matthias Apitz , "freebsd-wireless@freebsd.org" Subject: Re: Atheros AR5B22 WLAN+Bluetooth support on FreeBSD Message-ID: <20190411142350.GA71446@FreeBSD.org> References: <20190409160344.GA83271@FreeBSD.org> <20190410152250.GA37191@FreeBSD.org> <20190411092758.GA6899@FreeBSD.org> <20190411104647.GA3864@c720-r342378> <20190411125242.GA64046@FreeBSD.org> <20190411131328.GA4909@c720-r342378> <20190411131859.GA17806@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-Rspamd-Queue-Id: 3929769C5C X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.89 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-0.99)[-0.993,0]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; TAGGED_RCPT(0.00)[]; NEURAL_HAM_SHORT(-0.90)[-0.901,0]; ASN(0.00)[asn:11403, ipnet:96.47.64.0/20, country:US] X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.29 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, 11 Apr 2019 14:23:50 -0000 On Thu, Apr 11, 2019 at 06:36:26AM -0700, Adrian Chadd wrote: > I have a tool to upload firmware -- github.com/erikarn/ath3k. > See if that helps! Something's wrong: $ git clone https://github.com/erikarn/ath3k.git $ cd ath3k/src/usr.bin/ath3k $ make $ usbconfig list | grep 0x0930 ugen2.2: at usbus2 <...> $ ./ath3kfw -D -d ugen2.2 -I ath3kfw: opening dev 2.2 ath3k_get_state: libusb_control_transfer() failed: code=-4 main: ath3k_get_state() failed! USB device permissions are fine. ./danfe From owner-freebsd-wireless@freebsd.org Thu Apr 11 16:05:40 2019 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 598BF1587EC4 for ; Thu, 11 Apr 2019 16:05:40 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4A5CD6D16A; Thu, 11 Apr 2019 16:05:38 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from x59cc8250.dyn.telefonica.de ([89.204.130.80] helo=[127.0.0.1]) by ms-10.1blu.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.86_2) (envelope-from ) id 1hEcCl-0000iF-Cv; Thu, 11 Apr 2019 18:05:36 +0200 Date: Thu, 11 Apr 2019 16:05:27 +0000 From: Matthias Apitz To: Alexey Dokuchaev , Adrian Chadd Cc: "freebsd-wireless@freebsd.org" Subject: Re: Atheros AR5B22 WLAN+Bluetooth support on FreeBSD Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20190411142350.GA71446@FreeBSD.org> References: <20190409160344.GA83271@FreeBSD.org> <20190410152250.GA37191@FreeBSD.org> <20190411092758.GA6899@FreeBSD.org> <20190411104647.GA3864@c720-r342378> <20190411125242.GA64046@FreeBSD.org> <20190411131328.GA4909@c720-r342378> <20190411131859.GA17806@FreeBSD.org> <20190411142350.GA71446@FreeBSD.org> Message-ID: MIME-Version: 1.0 X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 89.204.130.80 X-Rspamd-Queue-Id: 4A5CD6D16A X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-5.25 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_XOIP(0.00)[]; TO_DN_SOME(0.00)[]; MX_GOOD(-0.01)[cached: mail.unixarea.de]; NEURAL_HAM_SHORT(-0.89)[-0.894,0]; RECEIVED_SPAMHAUS_PBL(0.00)[80.130.204.89.zen.spamhaus.org : 127.0.0.11]; IP_SCORE(-3.14)[ip: (-9.03), ipnet: 178.254.0.0/19(-3.73), asn: 42730(-2.96), country: DE(-0.01)]; R_DKIM_NA(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[101.4.254.178.list.dnswl.org : 127.0.5.1]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:42730, ipnet:178.254.0.0/19, country:DE]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; AUTH_NA(1.00)[]; DMARC_NA(0.00)[unixarea.de]; TO_MATCH_ENVRCPT_SOME(0.00)[]; R_SPF_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.29 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, 11 Apr 2019 16:05:40 -0000 On Thu, 11 Apr 2019 14:23:50 +0000, Alexey Dokuchaev wrote: > On Thu, Apr 11, 2019 at 06:36:26AM -0700, Adrian Chadd wrote: >> I have a tool to upload firmware -- github.com/erikarn/ath3k. >> See if that helps! > > Something's wrong: > > $ git clone https://github.com/erikarn/ath3k.git > $ cd ath3k/src/usr.bin/ath3k > $ make > $ usbconfig list | grep 0x0930 > ugen2.2: at usbus2 <...> > $ ./ath3kfw -D -d ugen2.2 -I > ath3kfw: opening dev 2.2 > ath3k_get_state: libusb_control_transfer() failed: code=3D-4 > main: ath3k_get_state() failed! > > USB device permissions are fine. > Is this on CURRENT? matthias -- Sent using Dekko from my Ubuntu device http://www.unixarea.de/ +49 176 38902045 From owner-freebsd-wireless@freebsd.org Thu Apr 11 16:09:25 2019 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CD57F1587F48 for ; Thu, 11 Apr 2019 16:09:25 +0000 (UTC) (envelope-from danfe@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6EC356D1E2; Thu, 11 Apr 2019 16:09:25 +0000 (UTC) (envelope-from danfe@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 1033) id 373F46C4D; Thu, 11 Apr 2019 16:09:25 +0000 (UTC) Date: Thu, 11 Apr 2019 16:09:25 +0000 From: Alexey Dokuchaev To: Matthias Apitz Cc: Adrian Chadd , "freebsd-wireless@freebsd.org" Subject: Re: Atheros AR5B22 WLAN+Bluetooth support on FreeBSD Message-ID: <20190411160925.GB85006@FreeBSD.org> References: <20190409160344.GA83271@FreeBSD.org> <20190410152250.GA37191@FreeBSD.org> <20190411092758.GA6899@FreeBSD.org> <20190411104647.GA3864@c720-r342378> <20190411125242.GA64046@FreeBSD.org> <20190411131328.GA4909@c720-r342378> <20190411131859.GA17806@FreeBSD.org> <20190411142350.GA71446@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-Rspamd-Queue-Id: 6EC356D1E2 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.91 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-0.99)[-0.993,0]; NEURAL_HAM_SHORT(-0.92)[-0.922,0]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; TAGGED_RCPT(0.00)[]; ASN(0.00)[asn:11403, ipnet:96.47.64.0/20, country:US] X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.29 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, 11 Apr 2019 16:09:26 -0000 On Thu, Apr 11, 2019 at 04:05:27PM +0000, Matthias Apitz wrote: > On Thu, 11 Apr 2019 14:23:50 +0000, Alexey Dokuchaev wrote: > > On Thu, Apr 11, 2019 at 06:36:26AM -0700, Adrian Chadd wrote: > >> I have a tool to upload firmware -- github.com/erikarn/ath3k. > >> See if that helps! > > > > Something's wrong: > > > > $ git clone https://github.com/erikarn/ath3k.git > > $ cd ath3k/src/usr.bin/ath3k > > $ make > > $ usbconfig list | grep 0x0930 > > ugen2.2: at usbus2 <...> > > $ ./ath3kfw -D -d ugen2.2 -I > > ath3kfw: opening dev 2.2 > > ath3k_get_state: libusb_control_transfer() failed: code=-4 > > main: ath3k_get_state() failed! > > > > USB device permissions are fine. To be clear: running it root does not change the output. > Is this on CURRENT? Yes, and pretty fresh one (kernel 1300018, userland 1300014). Do you observe different results? If so, does it help or can you share anything? ./danfe From owner-freebsd-wireless@freebsd.org Thu Apr 11 16:15:30 2019 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9C5A6158812E for ; Thu, 11 Apr 2019 16:15:30 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wr1-x436.google.com (mail-wr1-x436.google.com [IPv6:2a00:1450:4864:20::436]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id ADA466D57F; Thu, 11 Apr 2019 16:15:29 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-wr1-x436.google.com with SMTP id w1so8142785wrp.2; Thu, 11 Apr 2019 09:15:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=T1whN94vkTwgwxiBoqM/61BL52+oZQww8OT1iAWZLVA=; b=V9TBQA5zga8h6mGK1WztguwQ8J/HaR2NOr5akSK9gWjotvSkp3CaSe8JV4iEKAaKmy SSiSPV3fBqCGbYV6TfhiMxBLPL22EFw0O+tUJkyZOTKauXeveCZCrbfK3bMVlHLp5718 pyXeLPTgh2v2OF9LR0xzpRM6LifuEt2Shfi1Tknypbqy8TvLOcted3Ntj9VxrbbmuNeE AXTdiRc9kGJYE8vcQ97gxPtfuQ+nIB56n7VYENTEofLvqOx9zXa5Ryu15jUlTHmXdPl7 5A2uX2QLBzdJqesgmxdyhapLRtro3ybjAzdhfY7qeq9aW/rR879D74p1d4JSsL35LBEK TlLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=T1whN94vkTwgwxiBoqM/61BL52+oZQww8OT1iAWZLVA=; b=F8zUPOXFY8lGJiKd+rUGslPvQe6jnIPBZF9s6sTmhY+hOneX5Xr1rYpIrms3zbL3og 0Qh3sdTAIYybBhPRcGyxJ5e0lrN7vu402lOBEoV5kiwyAk8RxaGO24j9LY3xTj6CvBLQ wWL1zVbQrZUAlR1OfXe0XDgFAMEsaKmOstY+vCcQq7q8u7QPSQOltSB3FF87Ncp/Oly0 3N074ii9walGK03W9n5zJjISgoeQM6UcMP0p0CxJIspdtnxAPBYH3Cymwpmdwp77h/Z2 7NsfKFKpJnipCOU5ABgybRThnP4CFbv19Mns9grRPzxmPg2NgPQnXUPhctf9fPK2zQFP xbww== X-Gm-Message-State: APjAAAUG9C+Tgb+9ALHRSmBFfI27jbveIfasq6yecPGKauPtJuY71kt0 WaKY663OiNznqfTvemGpr+CmKrYcf8bO7J9u6hWG0A== X-Google-Smtp-Source: APXvYqxKRXs1ztDr4p/CGgxoVPPmzpSbb6r36JiFDD25ZURKxknBHKiF5cJdF90LHZNHwKX0SzR0zWwzOPx6CEBmNXA= X-Received: by 2002:adf:efc1:: with SMTP id i1mr31709591wrp.199.1554999327777; Thu, 11 Apr 2019 09:15:27 -0700 (PDT) MIME-Version: 1.0 References: <20190409160344.GA83271@FreeBSD.org> <20190410152250.GA37191@FreeBSD.org> <20190411092758.GA6899@FreeBSD.org> <20190411104647.GA3864@c720-r342378> <20190411125242.GA64046@FreeBSD.org> <20190411131328.GA4909@c720-r342378> <20190411131859.GA17806@FreeBSD.org> <20190411142350.GA71446@FreeBSD.org> <20190411160925.GB85006@FreeBSD.org> In-Reply-To: <20190411160925.GB85006@FreeBSD.org> From: Adrian Chadd Date: Thu, 11 Apr 2019 09:15:13 -0700 Message-ID: Subject: Re: Atheros AR5B22 WLAN+Bluetooth support on FreeBSD To: Alexey Dokuchaev Cc: Matthias Apitz , Adrian Chadd , "freebsd-wireless@freebsd.org" X-Rspamd-Queue-Id: ADA466D57F X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=V9TBQA5z; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of adrianchadd@gmail.com designates 2a00:1450:4864:20::436 as permitted sender) smtp.mailfrom=adrianchadd@gmail.com X-Spamd-Result: default: False [-6.75 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; NEURAL_HAM_SHORT(-0.90)[-0.902,0]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[6.3.4.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; IP_SCORE(-2.84)[ip: (-9.57), ipnet: 2a00:1450::/32(-2.39), asn: 15169(-2.19), country: US(-0.06)]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.29 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, 11 Apr 2019 16:15:30 -0000 > > Hi, > I'm trying to figure out an ath sta mode crash and some ath10k things. I have the AR9485 / AR9462 hardware here so please just keep poking me here and on irc over the next couple weeks to get it working. There's also some weird antenna coex stuff that needs setting up in the HAL too that I thought I did but it isn't automatic.. :( -a From owner-freebsd-wireless@freebsd.org Thu Apr 11 17:23:38 2019 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8259B158959F for ; Thu, 11 Apr 2019 17:23:38 +0000 (UTC) (envelope-from stephen@cablefree.net) Received: from outmx-006.london.gridhost.co.uk (outmx-006.london.gridhost.co.uk [95.142.156.174]) (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 9930C6F982 for ; Thu, 11 Apr 2019 17:23:37 +0000 (UTC) (envelope-from stephen@cablefree.net) Received: from mail-lf1-f41.google.com (unknown [209.85.167.41]) (Authenticated sender: cablefree@cablefree.net) by outmx-006.london.gridhost.co.uk (Postfix) with ESMTPA id A55A420948B9 for ; Thu, 11 Apr 2019 18:23:29 +0100 (BST) Received: by mail-lf1-f41.google.com with SMTP id t11so818127lfl.12 for ; Thu, 11 Apr 2019 10:23:29 -0700 (PDT) X-Gm-Message-State: APjAAAWb8OnZT/8ZOKy6yXBU7oxuqUcmRg23Jc7gMS8QMCIUkT0KajTT /a7WZYSBCPirZIJBxWMy4oR+h/ruGMz4Qrd7jVI= X-Google-Smtp-Source: APXvYqymh2pVnxj5tppKb7eGkfZNyZejycBT8wRQGSYVR60EE3GbRbP0dD/iachpzf1Dap3K1bJEULg4TuHtDA/ccAQ= X-Received: by 2002:a19:7d84:: with SMTP id y126mr27759127lfc.124.1555003409083; Thu, 11 Apr 2019 10:23:29 -0700 (PDT) MIME-Version: 1.0 From: Stephen Patrick Date: Thu, 11 Apr 2019 18:23:27 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: TDMA Wireless status? To: freebsd-wireless@freebsd.org X-Rspamd-Queue-Id: 9930C6F982 X-Spamd-Bar: +++++ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [5.12 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_SPAM_SHORT(0.89)[0.892,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-wireless@freebsd.org]; TO_DN_NONE(0.00)[]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[3]; RCVD_TLS_LAST(0.00)[]; MX_GOOD(-0.01)[mail3.eqx.gridhost.co.uk]; NEURAL_SPAM_LONG(1.00)[0.998,0]; DMARC_NA(0.00)[cablefree.net]; NEURAL_SPAM_MEDIUM(0.94)[0.942,0]; R_SPF_NA(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[174.156.142.95.list.dnswl.org : 127.0.5.1]; R_DKIM_NA(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:198047, ipnet:95.142.156.0/22, country:GB]; MIME_TRACE(0.00)[0:+,1:+]; IP_SCORE(0.50)[ipnet: 95.142.156.0/22(1.33), asn: 198047(1.27), country: GB(-0.09)]; FROM_EQ_ENVFROM(0.00)[] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.29 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, 11 Apr 2019 17:23:38 -0000 Dear sirs, Is this feature working for point-to-point, and point-to-multipoint long range links? 802.11ac chipsets/modes supported? Best regards Stephen -- *Stephen Patrick* *Director* Wireless Excellence Limited The Oxford Science Park G6, Magdalen Centre, Robert Robinson Avenue Oxford OX4 4GA - United Kingdom CAUTION - This message is confidential and may contain privileged information intended only for the use of the addressee named above. If you are not the intended recipient of this message you are hereby notified that any use, dissemination, distribution or reproduction of this message is prohibited. If you have received this message in error please notify Wireless Excellence immediately. Any views expressed in this message are those of the individual sender and may not necessarily reflect the views of Wireless Excellence Ltd. From owner-freebsd-wireless@freebsd.org Thu Apr 11 19:52:17 2019 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AC6141568715 for ; Thu, 11 Apr 2019 19:52:17 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 740B073B73 for ; Thu, 11 Apr 2019 19:52:16 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-wr1-x430.google.com with SMTP id y7so8889979wrn.11 for ; Thu, 11 Apr 2019 12:52:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=N/ro2dK8VGgmfPsooT4b/L/kTcQLL4DvDZxO0UI9qPg=; b=XDWgMQ/d4+JjttZqUsNf9zff33KZ7cJn5+Vs1GbLT12OPRYJkJsRjYTfFqsKP7ai+g 6lOKng/pSIC3BTSwTogYn49/ZMtZHvRN72iUsV8FWq205bRQ/bsy/weX3yivYAwIckGX /DH5ZE4ynQDpvv1nU8U2sJsmzYJkfar8XpSHbeJ8ubdlkJi1xzRqv/gNmL5ypPW2jau/ Jt8aRw1aFgVyjA/0VuTUxQ4bcpOE58iR1odr+VYypVrd5nY3oOvt1rqS+rsu1ePo2dZ0 8V81JBLyFv+d6cc8V8ZU0nz43Dtc63E+wICJkBOIM5wk1qPTFQHb83rICq56jfNqPBF3 H4hg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=N/ro2dK8VGgmfPsooT4b/L/kTcQLL4DvDZxO0UI9qPg=; b=HiAMPv5HvOakLO2z7Zc0hbAU+mqD/1xpex4ER3CG98q+a0A0/4mMAw/XkYf6tXVDhN 1myp2KufZNROcFSsul6QH5sdQgoOdi37OtSGbjzYW4GwRB4+HNKIxXT81l3vsICT4PpU fSWv1eIlAToZyEyJPCw4XRlOcHrHy+ZYkXFlRj/i3wN9HqX0JcLXCDHTTdkr7MtFAsiB c3QqgnYbmt+8qB4CLfL5bhBI1YvaGBETGK+B3ISxb+LUDM0GelvUQd0m51jxbky0/vR/ 7i3zUVpUuOM+mCwKqRqfe/3vZ8BVR29kLyeIOz0SULeSLWI7PMKcHr/LBQ8hqKFHTXVH 9dDg== X-Gm-Message-State: APjAAAWy5lc+2KfrCofyrnMjkbZddAcbbLLhHYdeZTewZwMkm10zvXi3 VAe6HZa3oaNkpWHSSxUnYEU2HxhGlf+Q1VDf9xjfbw== X-Google-Smtp-Source: APXvYqxx5/ruVmgkMpJOk6pjOm4dv1akFTG3sSEjjk14MvffmptVuQonnO7r9R4AhaFfXmMckRsJ8XdOWeKU4unoqN8= X-Received: by 2002:adf:efc1:: with SMTP id i1mr32340670wrp.199.1555012335231; Thu, 11 Apr 2019 12:52:15 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Adrian Chadd Date: Thu, 11 Apr 2019 12:52:01 -0700 Message-ID: Subject: Re: TDMA Wireless status? To: Stephen Patrick Cc: "freebsd-wireless@freebsd.org" X-Rspamd-Queue-Id: 740B073B73 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=XDWgMQ/d; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of adrianchadd@gmail.com designates 2a00:1450:4864:20::430 as permitted sender) smtp.mailfrom=adrianchadd@gmail.com X-Spamd-Result: default: False [-5.64 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; NEURAL_HAM_SHORT(-0.83)[-0.833,0]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(-2.79)[ip: (-9.33), ipnet: 2a00:1450::/32(-2.39), asn: 15169(-2.18), country: US(-0.06)]; MIME_TRACE(0.00)[0:+,1:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-wireless@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[0.3.4.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; SUBJECT_ENDS_QUESTION(1.00)[]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_LAST(0.00)[] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.29 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, 11 Apr 2019 19:52:17 -0000 hi! I know that a lot of the 11ac chips do TDMA but the vendors keep the implementation and knobs close to their chest. We don't have any public APIs for it. Sorry :( -a On Thu, 11 Apr 2019 at 10:23, Stephen Patrick wrote: > Dear sirs, > > Is this feature working for point-to-point, and point-to-multipoint long > range links? > 802.11ac chipsets/modes supported? > > Best regards > > Stephen > > -- > > *Stephen Patrick* > > *Director* > > Wireless Excellence Limited > The Oxford Science Park > G6, Magdalen Centre, Robert Robinson Avenue > Oxford OX4 4GA - United Kingdom > > CAUTION - This message is confidential and may contain privileged > information intended only for the use of the addressee named above. If you > are not the intended recipient of this message you are hereby notified that > any use, dissemination, distribution or reproduction of this message is > prohibited. If you have received this message in error please notify > Wireless Excellence immediately. Any views expressed in this message are > those of the individual sender and may not necessarily reflect the views of > Wireless Excellence Ltd. > _______________________________________________ > 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 Fri Apr 12 08:51:18 2019 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D4A1F1576A39 for ; Fri, 12 Apr 2019 08:51:17 +0000 (UTC) (envelope-from stephen@cablefree.net) Received: from outmx-006.london.gridhost.co.uk (outmx-006.london.gridhost.co.uk [95.142.156.174]) (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 851746AEE1 for ; Fri, 12 Apr 2019 08:51:16 +0000 (UTC) (envelope-from stephen@cablefree.net) Received: from mail-lj1-f179.google.com (unknown [209.85.208.179]) (Authenticated sender: cablefree@cablefree.net) by outmx-006.london.gridhost.co.uk (Postfix) with ESMTPA id 019D2209ED1D for ; Fri, 12 Apr 2019 09:51:13 +0100 (BST) Received: by mail-lj1-f179.google.com with SMTP id p14so8115789ljg.5 for ; Fri, 12 Apr 2019 01:51:13 -0700 (PDT) X-Gm-Message-State: APjAAAV7QPxmF+rHWyU/R73QmOSAVG4Tn5m7FDcV6iCSIjpwAcyVto8U IT/H7zT4g4zXux0bWi5cJ56Vd3M3Up2ydsPKpnQ= X-Google-Smtp-Source: APXvYqxFrkJ2+lCWfvEyXLoVbFhRJo0tPX9qtOMD2ZPWrTgC9jC6Rf/vegp5h5OweDX3N8+irQ9tcVj1zHLu5hlCmvA= X-Received: by 2002:a2e:8347:: with SMTP id l7mr29141790ljh.17.1555059073404; Fri, 12 Apr 2019 01:51:13 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Stephen Patrick Date: Fri, 12 Apr 2019 09:51:13 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: TDMA Wireless status? To: Adrian Chadd Cc: "freebsd-wireless@freebsd.org" X-Rspamd-Queue-Id: 851746AEE1 X-Spamd-Bar: +++++ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [6.00 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; MX_GOOD(-0.01)[cached: mail3.eqx.gridhost.co.uk]; RCPT_COUNT_TWO(0.00)[2]; FREEMAIL_TO(0.00)[gmail.com]; RCVD_IN_DNSWL_LOW(-0.10)[174.156.142.95.list.dnswl.org : 127.0.5.1]; IP_SCORE(1.47)[ip: (4.96), ipnet: 95.142.156.0/22(1.27), asn: 198047(1.24), country: GB(-0.09)]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:198047, ipnet:95.142.156.0/22, country:GB]; SUBJECT_ENDS_QUESTION(1.00)[]; FROM_EQ_ENVFROM(0.00)[]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; NEURAL_SPAM_SHORT(0.77)[0.772,0]; TAGGED_RCPT(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; PREVIOUSLY_DELIVERED(0.00)[freebsd-wireless@freebsd.org]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; DMARC_NA(0.00)[cablefree.net]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.96)[0.959,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(1.00)[1.000,0]; R_SPF_NA(0.00)[]; RCVD_TLS_LAST(0.00)[] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.29 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, 12 Apr 2019 08:51:18 -0000 Thanks Adrian, We are interested in "long range outdoor" (10-20km) with high gain antennas. Do you know "Mikrotik Nstreme/NV2" and "Ubiquity Airmax" ? Those have framing/polling done in software - wrapped around the wireless driver. Is there equivalent developed in FreeBSD? Best regards Stephen On Thu, 11 Apr 2019 at 20:52, Adrian Chadd wrote: > hi! > > I know that a lot of the 11ac chips do TDMA but the vendors keep the > implementation and knobs close to their chest. We don't have any public > APIs for it. Sorry :( > > > -a > > > On Thu, 11 Apr 2019 at 10:23, Stephen Patrick > wrote: > >> Dear sirs, >> >> Is this feature working for point-to-point, and point-to-multipoint long >> range links? >> 802.11ac chipsets/modes supported? >> >> Best regards >> >> Stephen >> >> -- >> >> *Stephen Patrick* >> >> *Director* >> >> Wireless Excellence Limited >> The Oxford Science Park >> G6, Magdalen Centre, Robert Robinson Avenue >> Oxford OX4 4GA - United Kingdom >> >> CAUTION - This message is confidential and may contain privileged >> information intended only for the use of the addressee named above. If you >> are not the intended recipient of this message you are hereby notified >> that >> any use, dissemination, distribution or reproduction of this message is >> prohibited. If you have received this message in error please notify >> Wireless Excellence immediately. Any views expressed in this message are >> those of the individual sender and may not necessarily reflect the views >> of >> Wireless Excellence Ltd. >> _______________________________________________ >> 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" >> > -- *Stephen Patrick* *Director* Wireless Excellence Limited The Oxford Science Park G6, Magdalen Centre, Robert Robinson Avenue Oxford OX4 4GA - United Kingdom Tel: +44 (0) 870 4959169 Mob: +44 (0)7802 425581 Email: stephen@cablefree.net Skype: stephenjpatrick Google: cablefree.stephen [image: Facebook] [image: Linkedin] [image: RSS] [image: Youtube] [image: Flickr] [image: Twitter] CAUTION - This message is confidential and may contain privileged information intended only for the use of the addressee named above. If you are not the intended recipient of this message you are hereby notified that any use, dissemination, distribution or reproduction of this message is prohibited. If you have received this message in error please notify Wireless Excellence immediately. Any views expressed in this message are those of the individual sender and may not necessarily reflect the views of Wireless Excellence Ltd. From owner-freebsd-wireless@freebsd.org Fri Apr 12 17:12:20 2019 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C3FA11581C0E for ; Fri, 12 Apr 2019 17:12:19 +0000 (UTC) (envelope-from danfe@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 595C184073; Fri, 12 Apr 2019 17:12:19 +0000 (UTC) (envelope-from danfe@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 1033) id C148116E62; Fri, 12 Apr 2019 17:12:18 +0000 (UTC) Date: Fri, 12 Apr 2019 17:12:18 +0000 From: Alexey Dokuchaev To: Adrian Chadd Cc: Matthias Apitz , "freebsd-wireless@freebsd.org" Subject: Re: Atheros AR5B22 WLAN+Bluetooth support on FreeBSD Message-ID: <20190412171218.GA16463@FreeBSD.org> References: <20190409160344.GA83271@FreeBSD.org> <20190410152250.GA37191@FreeBSD.org> <20190411092758.GA6899@FreeBSD.org> <20190411104647.GA3864@c720-r342378> <20190411125242.GA64046@FreeBSD.org> <20190411131328.GA4909@c720-r342378> <20190411131859.GA17806@FreeBSD.org> <20190411142350.GA71446@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190411142350.GA71446@FreeBSD.org> User-Agent: Mutt/1.10.1 (2018-07-13) X-Rspamd-Queue-Id: 595C184073 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.92 / 15.00]; TAGGED_RCPT(0.00)[]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_SHORT(-0.93)[-0.927,0]; NEURAL_HAM_MEDIUM(-0.99)[-0.993,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.29 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, 12 Apr 2019 17:12:20 -0000 On Thu, Apr 11, 2019 at 02:23:50PM +0000, Alexey Dokuchaev wrote: > On Thu, Apr 11, 2019 at 06:36:26AM -0700, Adrian Chadd wrote: > > I have a tool to upload firmware -- github.com/erikarn/ath3k. > > See if that helps! > > Something's wrong: > > $ git clone https://github.com/erikarn/ath3k.git > $ cd ath3k/src/usr.bin/ath3k > $ make > $ usbconfig list | grep 0x0930 > ugen2.2: at usbus2 <...> > $ ./ath3kfw -D -d ugen2.2 -I > ath3kfw: opening dev 2.2 > ath3k_get_state: libusb_control_transfer() failed: code=-4 > main: ath3k_get_state() failed! I've booted off Fedora 26 USB thumbdrive, to discover that everything works (dualband WiFi, BT, devices can be discovered), so the hardware is not faulty. I've converted Linux' drivers/bluetooth/ath3k.c to libusb to obtain rom_version and ref_clock of my card, so I know which firmware files I need (just in case): # ./a.out get_state -> 1, state = 0xce get_version -> 20, rom_version = 0x11020000, clock value = 40 I've then rebooted back into FreeBSD. Apparently, this AR3012 hardware if very fragile, it can be easily left in confused state and won't accept further commands, "usbconfig reset" does not help. To avoid this, it is better run ./ath3kfw as root, after powercycling machine (to reset the card). This got me further: ath3kfw: opening dev 2.2 main: state=0x0e ROM version: 285343744, build version: 155, ram version: 155, ref clock=1 ath3k_init_firmware: loading ath3k-1.fw ath3k_load_fwfile: file=/home/danfe/ath3k/share/firmware/ath3k/ath3k-1.fw, size=246804 ath3k_load_fwfile: transferring 20 bytes, offset 4096 LIBUSB_FUNCTION: libusb_bulk_transfer enter LIBUSB_FUNCTION: libusb_submit_transfer enter LIBUSB_FUNCTION: libusb_submit_transfer leave 0 LIBUSB_FUNCTION: libusb_handle_events_timeout_completed enter LIBUSB_FUNCTION: libusb10_handle_events_sub enter LIBUSB_FUNCTION: libusb_handle_events_timeout_completed exit LIBUSB_FUNCTION: libusb_handle_events_timeout_completed enter LIBUSB_FUNCTION: libusb10_handle_events_sub enter LIBUSB_TRANSFER: sync I/O done LIBUSB_FUNCTION: libusb_handle_events_timeout_completed exit LIBUSB_FUNCTION: libusb_bulk_transfer leave ath3k_load_fwfile: transferring 4116 bytes, offset 4096 ... ath3k_load_fwfile: transferring 8212 bytes, offset 4096 ... ath3k_load_fwfile: transferring 12308 bytes, offset 4096 ... ... (numbers go 16404, 20500, 24596, 28692, 32788, 36884, 40980, 45076 ...) ... ath3k_load_fwfile: transferring 65556 bytes, offset 4096 LIBUSB_FUNCTION: libusb_bulk_transfer enter LIBUSB_FUNCTION: libusb_submit_transfer enter LIBUSB_FUNCTION: libusb_submit_transfer leave 0 LIBUSB_FUNCTION: libusb_handle_events_timeout_completed enter LIBUSB_FUNCTION: libusb10_handle_events_sub enter LIBUSB_TRANSFER: sync I/O done LIBUSB_FUNCTION: libusb_handle_events_timeout_completed exit LIBUSB_FUNCTION: libusb_bulk_transfer leave Can't load firmware: err=Timeout, size=4096 ath3k_load_fwfile: transferring 65556 bytes, offset 4096 After that, ``hccontrol inquiry'' stops working at all (says "operation timed out"), dmesg shows this: ubt0: ubt_ctrl_write_callback:782: control transfer failed: USB_ERR_TIMEOUT ng_hci_process_command_timeout: ubt0hci - unable to complete HCI command OGF=0x1, OCF=0x1. Timeout ./danfe P.S. Fedora is amazing (just as Ubuntu) on this laptop: everything works, WMI multimedia keys, LCD brightness control, mic/speaker mute buttons, WiFi and Bluetooth. Under FreeBSD, only WiFi works from this list. :-( From owner-freebsd-wireless@freebsd.org Fri Apr 12 20:50:07 2019 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 887031585D9E for ; Fri, 12 Apr 2019 20:50:07 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CAA0D8C332; Fri, 12 Apr 2019 20:50:05 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-wm1-x32e.google.com with SMTP id y197so688603wmd.0; Fri, 12 Apr 2019 13:50:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=/45T45w+IeggIk38uWhLGFSnJY1id6ia/8uMy4E3L0I=; b=lMtsOtIzYaQaijqixJspVeq/XSnbUyr7FKRTQj7948IwqlVxLrg9Tvvyz6/psmTfvY WtUjzQtgNH/TKPI/TA+h+WDoUR1l+BCJUPAR4eKIxbM4IIb3mSO/JAajMzoAo4w/Nyn/ cVvz4IUC9+MMx/sjXe7vz72YDZJwJyLfkpUqs3jIDXIUtEqigWF5ewWyXpofbeao7aHI seuZS9JUWOtHuj87vbDP7mJ9tjFgwlpxVSMCkBiSDA6w3JL3wRZKo+CfBS7G63LOzUkk qZcT9pkZUez/dpQvIfDCprHZ/hZUVh3xscTpPNKNbVzJ959q1G9fGS+R9hpZsSsBYrGH kpEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=/45T45w+IeggIk38uWhLGFSnJY1id6ia/8uMy4E3L0I=; b=q00DXINcAFJCv4m0jC0bCllVUe2wswfRe+FdH5xuofTv7C5zz4sv80djbnncMQMU/d vxYV5GbqCSLKDMrc/2uaM8mDvOmbfG+6COevSYpgrssbthL4VeWNDVcXVVqXf/XLL24C pg71dQtXS7/hyb7jnwBJSBW3YGfApLXILXQw4SKgovHtLMwULUUej1aWqhUR8+VmVW99 hOlwYJCINrJdKzSIVlNTEfJKmaobVGT1ML23a4/d3YHnghH6sUCStqUWb+/B7NpZBx4K 38ER529+YV7hk/WMfbch8XQA+dzxlEKp9LoJm5RpxO+jW5x96x3AoGCks+Jim0yEAy20 /7Pw== X-Gm-Message-State: APjAAAUdOHzXcECgl6FwnJ30xsT4VnREc6oQmZ/ezfW7bDxmc9EWO6fO 4o2CIs9y7mUD7k2O9fucRaqN9NXPf9D3rxcg1sQ0iQ== X-Google-Smtp-Source: APXvYqyrEu3wx7thApCP23i1ApCoGNS0CS/uCZVf19uZ40AgZ/+OOwVY8XeWWkBQT7bJCuRFG8IuybphGXT0Gn3tuhc= X-Received: by 2002:a1c:cfcb:: with SMTP id f194mr12077904wmg.51.1555102203772; Fri, 12 Apr 2019 13:50:03 -0700 (PDT) MIME-Version: 1.0 References: <20190409160344.GA83271@FreeBSD.org> <20190410152250.GA37191@FreeBSD.org> <20190411092758.GA6899@FreeBSD.org> <20190411104647.GA3864@c720-r342378> <20190411125242.GA64046@FreeBSD.org> <20190411131328.GA4909@c720-r342378> <20190411131859.GA17806@FreeBSD.org> <20190411142350.GA71446@FreeBSD.org> <20190412171218.GA16463@FreeBSD.org> In-Reply-To: <20190412171218.GA16463@FreeBSD.org> From: Adrian Chadd Date: Fri, 12 Apr 2019 13:49:51 -0700 Message-ID: Subject: Re: Atheros AR5B22 WLAN+Bluetooth support on FreeBSD To: Alexey Dokuchaev Cc: Matthias Apitz , "freebsd-wireless@freebsd.org" X-Rspamd-Queue-Id: CAA0D8C332 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=lMtsOtIz; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of adrianchadd@gmail.com designates 2a00:1450:4864:20::32e as permitted sender) smtp.mailfrom=adrianchadd@gmail.com X-Spamd-Result: default: False [-6.66 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; DKIM_TRACE(0.00)[gmail.com:+]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-0.85)[-0.855,0]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; IP_SCORE(-2.79)[ip: (-9.34), ipnet: 2a00:1450::/32(-2.38), asn: 15169(-2.18), country: US(-0.06)]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[e.2.3.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.29 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, 12 Apr 2019 20:50:07 -0000 Well, yeah, qualcomm developers did a lot of the linux ath9k/ath3k support :) -a From owner-freebsd-wireless@freebsd.org Sat Apr 13 14:15:43 2019 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F35E71579CC2 for ; Sat, 13 Apr 2019 14:15:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 8D9448572F for ; Sat, 13 Apr 2019 14:15:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 4AAA11579CC1; Sat, 13 Apr 2019 14:15:42 +0000 (UTC) Delivered-To: wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 386571579CC0 for ; Sat, 13 Apr 2019 14:15:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C29F38572C for ; Sat, 13 Apr 2019 14:15:41 +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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 02344AEAD for ; Sat, 13 Apr 2019 14:15:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x3DEFeNY088947 for ; Sat, 13 Apr 2019 14:15:40 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x3DEFe4n088946 for wireless@FreeBSD.org; Sat, 13 Apr 2019 14:15:40 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: wireless@FreeBSD.org Subject: [Bug 237083] [ubt] Init fails on Thinkpad t480s Date: Sat, 13 Apr 2019 14:15:39 +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: 12.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: bz@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: 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.29 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, 13 Apr 2019 14:15:43 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237083 Bjoern A. Zeeb changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bz@FreeBSD.org --- Comment #2 from Bjoern A. Zeeb --- I can possibly go and have a look on Tuesday though I have never done BT on FreeBSD I have to admit. Is there a good list of things to run to reproduce this, or is it just loading the kernel module? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-wireless@freebsd.org Sat Apr 13 14:20:07 2019 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 647741579DF5 for ; Sat, 13 Apr 2019 14:20:07 +0000 (UTC) (envelope-from danfe@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0AD98858B0; Sat, 13 Apr 2019 14:20:07 +0000 (UTC) (envelope-from danfe@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 1033) id F1EF76B62; Sat, 13 Apr 2019 14:20:06 +0000 (UTC) Date: Sat, 13 Apr 2019 14:20:06 +0000 From: Alexey Dokuchaev To: Adrian Chadd Cc: Matthias Apitz , "freebsd-wireless@freebsd.org" Subject: Re: Atheros AR5B22 WLAN+Bluetooth support on FreeBSD Message-ID: <20190413142006.GA59512@FreeBSD.org> References: <20190409160344.GA83271@FreeBSD.org> <20190410152250.GA37191@FreeBSD.org> <20190411092758.GA6899@FreeBSD.org> <20190411104647.GA3864@c720-r342378> <20190411125242.GA64046@FreeBSD.org> <20190411131328.GA4909@c720-r342378> <20190411131859.GA17806@FreeBSD.org> <20190411142350.GA71446@FreeBSD.org> <20190412171218.GA16463@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190412171218.GA16463@FreeBSD.org> User-Agent: Mutt/1.10.1 (2018-07-13) X-Rspamd-Queue-Id: 0AD98858B0 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.78 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-0.99)[-0.992,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TAGGED_RCPT(0.00)[]; NEURAL_HAM_SHORT(-0.79)[-0.787,0]; ASN(0.00)[asn:11403, ipnet:96.47.64.0/20, country:US] X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.29 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, 13 Apr 2019 14:20:07 -0000 On Fri, Apr 12, 2019 at 05:12:18PM +0000, Alexey Dokuchaev wrote: > I've then rebooted back into FreeBSD. Apparently, this AR3012 hardware > is very fragile, it can be easily left in confused state and won't accept > further commands, "usbconfig reset" does not help. To avoid this, it is > better run ./ath3kfw as root, after powercycling machine (to reset the > card). This got me further: > > ath3kfw: opening dev 2.2 > main: state=0x0e > ROM version: 285343744, build version: 155, ram version: 155, ref clock=1 > ath3k_init_firmware: loading ath3k-1.fw > ath3k_load_fwfile: file=/home/danfe/ath3k/share/firmware/ath3k/ath3k-1.fw, > size=246804 > ath3k_load_fwfile: transferring 20 bytes, offset 4096 Looks like there is a bug with the logging, consider this pseudo-patch: @@ ... ath3k_debug("%s: transferring %d bytes, offset %d\n", __func__, - sent, - size); + size, sent); > ... > ath3k_load_fwfile: transferring 65556 bytes, offset 4096 > LIBUSB_FUNCTION: libusb_bulk_transfer enter > LIBUSB_FUNCTION: libusb_submit_transfer enter > LIBUSB_FUNCTION: libusb_submit_transfer leave 0 > LIBUSB_FUNCTION: libusb_handle_events_timeout_completed enter > LIBUSB_FUNCTION: libusb10_handle_events_sub enter > LIBUSB_TRANSFER: sync I/O done > LIBUSB_FUNCTION: libusb_handle_events_timeout_completed exit > LIBUSB_FUNCTION: libusb_bulk_transfer leave > Can't load firmware: err=Timeout, size=4096 > ath3k_load_fwfile: transferring 65556 bytes, offset 4096 I've found seemingly related bug report about Atheros BT devices (ath3k) failing to work on USB 3.0 buses, while working well on USB 2.0: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1400215 In 2015, a work-around for this problem was committed* to Linux kernel: author Adam Lee 2015-01-28 committer Marcel Holtmann 2015-01-29 commit c561a5753dd631920c4459a067d22679b3d110d6 Bluetooth: ath3k: workaround the compatibility issue with xHCI controller ath3k devices fail to load firmwares on xHCI buses, but work well on EHCI, this might be a compatibility issue between xHCI and ath3k chips. As my testing result, those chips will work on xHCI buses again with this patch. This workaround is from Qualcomm, they also did some workarounds in Windows driver. I've patched ath3kfw tool in a similar way like this: +#define TIMEGAP_USEC_MIN 50 +#define TIMEGAP_USEC_MAX 100 + +static inline void +usleep_range(unsigned long min, unsigned long max) +{ + usleep(min); // or usleep(max); +} ... while (count) { + /* workaround the compatibility issue with xHCI controller */ + usleep_range(TIMEGAP_USEC_MIN, TIMEGAP_USEC_MAX); Unfortunately, this hack didn't help, neither with usleep(min) nor with usleep(max). Error message is the same "Can't load firmware: err=Timeout, size=4096". I will try to find a USB 2.0-only laptop which supports mini-PCIe cards to get more data points, but not sure if I can find one easily. It would be nice if someone who has pre-xHCI hardware could conduct this test. ./danfe *) https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/drivers/bluetooth/ath3k.c?id=c561a5753dd631920c4459a067d22679b3d110d6 From owner-freebsd-wireless@freebsd.org Sat Apr 13 15:12:49 2019 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BBA19157B79A for ; Sat, 13 Apr 2019 15:12:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 516CE8767A for ; Sat, 13 Apr 2019 15:12:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 0B0A5157B799; Sat, 13 Apr 2019 15:12:49 +0000 (UTC) Delivered-To: wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EB2C5157B798 for ; Sat, 13 Apr 2019 15:12:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8288787676 for ; Sat, 13 Apr 2019 15:12: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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id BEC18B776 for ; Sat, 13 Apr 2019 15:12:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x3DFCl0L007659 for ; Sat, 13 Apr 2019 15:12:47 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x3DFClok007652 for wireless@FreeBSD.org; Sat, 13 Apr 2019 15:12:47 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: wireless@FreeBSD.org Subject: [Bug 237083] [ubt] Init fails on Thinkpad t480s Date: Sat, 13 Apr 2019 15:12:47 +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: 12.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: alex@xanderio.de X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: 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.29 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, 13 Apr 2019 15:12:49 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237083 --- Comment #3 from Alexander Sieg --- Just loading the kernel module will produce the error. And `service bluetoo= th start ubt0` will provide the same error. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-wireless@freebsd.org Sat Apr 13 18:44:41 2019 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B981D1580231 for ; Sat, 13 Apr 2019 18:44:41 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wr1-x442.google.com (mail-wr1-x442.google.com [IPv6:2a00:1450:4864:20::442]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 677DE8D846; Sat, 13 Apr 2019 18:44:40 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-wr1-x442.google.com with SMTP id y13so16232978wrd.3; Sat, 13 Apr 2019 11:44:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=y6bgpVkhftKJy25XqJ5KyM39I7VJt+fgIDLs/A8W/qY=; b=BVUQD7NcJQiJ8fbCQEUETAKC+4l4T7jUKG1g1lHMNrKITKuZ0rcyqH+jbYWQ4cgNAi iD7LVjqXlMxL3GnAhDUgciEziFWCG+dQnsYki2ANkF7yNM5FBO9yT66Hfy8071xzVUTd y9gtPAN9ooxmuw8toiAFFsBdudVebzPxmXGjl+NlvJ6md5j1WzUaNvVOWyH21T23OEDm 6jiM1asD15aO5TVSpYnDIOJh4oqhJT2NbpgSHuLz9u47s5LEskVVga+LjYe2aco5dQ9S s5h/4MVh4oqmjikf78e190uYGABYpD+D0WYGBeRm4yVy30m6rLGpuS1I4w76cHxrq2zI ZGFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=y6bgpVkhftKJy25XqJ5KyM39I7VJt+fgIDLs/A8W/qY=; b=n+VoAl9DSG/ojQNgTk2dQ5nYXIveC0KUduldK1wlWGzVFHYdQ9JK24P3eeYoKhyZtw L0TEnyGXDv5ja/2vAEaFHiMIndzVmkkmDKzpQGiXPRW/3q/9biTJsRckVXosVS4B2CkY slVlB1CwDRx/vCTOFkHFO95fSHXLnPKiaVjB2LcPH7J+0z/oyUvtq7OqqMqKYBn/xNIm VmSSp7nfmym88aPHJ5GaKxE5G7cw5idMVBzjpybjlDEn/vsaxJeGROYMPwJUneCbHP3t ubrfGMR/m1hapXK4bjOpsT62luWV7okGHen8wyNBbuD9dsNzk29Bcc0zPidQHkAuOCZW WRPA== X-Gm-Message-State: APjAAAVYgxeH7LezgvMmizUNDfD358FhmcA/RjkqlnUETzZUDsn3Or8r kSfWLEzTFTWaKuSXWxkMyVu5fV7EbTzZ0NcBKIjCdg== X-Google-Smtp-Source: APXvYqx4kLd1kDk3etaWROf/I72Ds9K05oKrm9MiotDjKnLPNBsiwoaC3gaXESFoKdd1Ja2nkDCyyq8+xpE6jKqo/dE= X-Received: by 2002:adf:e84b:: with SMTP id d11mr39111756wrn.289.1555181077147; Sat, 13 Apr 2019 11:44:37 -0700 (PDT) MIME-Version: 1.0 References: <20190409160344.GA83271@FreeBSD.org> <20190410152250.GA37191@FreeBSD.org> <20190411092758.GA6899@FreeBSD.org> <20190411104647.GA3864@c720-r342378> <20190411125242.GA64046@FreeBSD.org> <20190411131328.GA4909@c720-r342378> <20190411131859.GA17806@FreeBSD.org> <20190411142350.GA71446@FreeBSD.org> <20190412171218.GA16463@FreeBSD.org> <20190413142006.GA59512@FreeBSD.org> In-Reply-To: <20190413142006.GA59512@FreeBSD.org> From: Adrian Chadd Date: Sat, 13 Apr 2019 11:44:25 -0700 Message-ID: Subject: Re: Atheros AR5B22 WLAN+Bluetooth support on FreeBSD To: Alexey Dokuchaev Cc: "freebsd-wireless@freebsd.org" X-Rspamd-Queue-Id: 677DE8D846 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=BVUQD7Nc; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of adrianchadd@gmail.com designates 2a00:1450:4864:20::442 as permitted sender) smtp.mailfrom=adrianchadd@gmail.com X-Spamd-Result: default: False [-4.18 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; NEURAL_HAM_SHORT(-0.40)[-0.399,0]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; IP_SCORE(-0.77)[ip: (0.78), ipnet: 2a00:1450::/32(-2.39), asn: 15169(-2.19), country: US(-0.06)]; RCVD_IN_DNSWL_NONE(0.00)[2.4.4.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.29 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, 13 Apr 2019 18:44:42 -0000 Hm, is this a problem with our usb3 stack itself? If you send me a pull request against ath3k I'll merge it into my git tree just for completeness. Maybe we need to loop in hps@ with a bunch of usbdump output to see what the transactions look like... -adrian On Sat, 13 Apr 2019 at 07:21, Alexey Dokuchaev wrote: > On Fri, Apr 12, 2019 at 05:12:18PM +0000, Alexey Dokuchaev wrote: > > I've then rebooted back into FreeBSD. Apparently, this AR3012 hardware > > is very fragile, it can be easily left in confused state and won't accept > > further commands, "usbconfig reset" does not help. To avoid this, it is > > better run ./ath3kfw as root, after powercycling machine (to reset the > > card). This got me further: > > > > ath3kfw: opening dev 2.2 > > main: state=0x0e > > ROM version: 285343744, build version: 155, ram version: 155, ref clock=1 > > ath3k_init_firmware: loading ath3k-1.fw > > ath3k_load_fwfile: > file=/home/danfe/ath3k/share/firmware/ath3k/ath3k-1.fw, > > size=246804 > > ath3k_load_fwfile: transferring 20 bytes, offset 4096 > > Looks like there is a bug with the logging, consider this pseudo-patch: > > @@ ... > ath3k_debug("%s: transferring %d bytes, offset %d\n", > __func__, > - sent, > - size); > + size, sent); > > > ... > > ath3k_load_fwfile: transferring 65556 bytes, offset 4096 > > LIBUSB_FUNCTION: libusb_bulk_transfer enter > > LIBUSB_FUNCTION: libusb_submit_transfer enter > > LIBUSB_FUNCTION: libusb_submit_transfer leave 0 > > LIBUSB_FUNCTION: libusb_handle_events_timeout_completed enter > > LIBUSB_FUNCTION: libusb10_handle_events_sub enter > > LIBUSB_TRANSFER: sync I/O done > > LIBUSB_FUNCTION: libusb_handle_events_timeout_completed exit > > LIBUSB_FUNCTION: libusb_bulk_transfer leave > > Can't load firmware: err=Timeout, size=4096 > > ath3k_load_fwfile: transferring 65556 bytes, offset 4096 > > I've found seemingly related bug report about Atheros BT devices (ath3k) > failing to work on USB 3.0 buses, while working well on USB 2.0: > > https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1400215 > > In 2015, a work-around for this problem was committed* to Linux kernel: > > author Adam Lee 2015-01-28 > committer Marcel Holtmann 2015-01-29 > commit c561a5753dd631920c4459a067d22679b3d110d6 > > Bluetooth: ath3k: workaround the compatibility issue with xHCI controller > > ath3k devices fail to load firmwares on xHCI buses, but work well on > EHCI, this might be a compatibility issue between xHCI and ath3k chips. > As my testing result, those chips will work on xHCI buses again with > this patch. > > This workaround is from Qualcomm, they also did some workarounds in > Windows driver. > > I've patched ath3kfw tool in a similar way like this: > > +#define TIMEGAP_USEC_MIN 50 > +#define TIMEGAP_USEC_MAX 100 > + > +static inline void > +usleep_range(unsigned long min, unsigned long max) > +{ > + usleep(min); // or usleep(max); > +} > ... > > while (count) { > + /* workaround the compatibility issue with xHCI controller */ > + usleep_range(TIMEGAP_USEC_MIN, TIMEGAP_USEC_MAX); > > Unfortunately, this hack didn't help, neither with usleep(min) nor with > usleep(max). Error message is the same "Can't load firmware: err=Timeout, > size=4096". > > I will try to find a USB 2.0-only laptop which supports mini-PCIe cards > to get more data points, but not sure if I can find one easily. It would > be nice if someone who has pre-xHCI hardware could conduct this test. > > ./danfe > > *) > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/drivers/bluetooth/ath3k.c?id=c561a5753dd631920c4459a067d22679b3d110d6 > _______________________________________________ > 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 Sat Apr 13 18:46:45 2019 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3460E1580288 for ; Sat, 13 Apr 2019 18:46:45 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BEBB58DA51 for ; Sat, 13 Apr 2019 18:46:43 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-wm1-x32d.google.com with SMTP id r186so2887622wmf.1 for ; Sat, 13 Apr 2019 11:46:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=4F6VfjmN8aXbYDtoDFsWMWdVrrhRynPsFu6dOQtOLg8=; b=nmE96FiQiFpAcNgaj4sWJv6FIv53iPNyFxcDOLet1Afxg/YTJrY9s69dwuydA8LFte uk+vgW13+/K5atQTOJBUsHVvaWOWDrPtNeHGQQTFkyJHvSCH8k4Ausa9fA9cE1nW1elx 3/WXO5aUO5FGZJAdP6C8UpPBWe8DJuJvmPaKP3//9nm3TVKxLXXvU9y+9tOJAI31H+4A Pj9rZXOd3oscLUUMScQO+aR5qxQXxB9Mnr/aZc7EvL+h7/78Gta1N1E0xq5REgYo/uRD Us6w2BwKoBGPN6Ag+RjhPJVo/PcKKrlCpLZ3AalEp1HgpbklUjphtQ9TcuUGn2Ib95nK h45A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=4F6VfjmN8aXbYDtoDFsWMWdVrrhRynPsFu6dOQtOLg8=; b=Q2IDQmrk29+8X3Q5nn91YcTIqw0bl8N8FmQtb47Br6AV8Cc05jR7WFFcY28Su5+XTm pseEvV24hx6DgIHc3yRjHK9zFuKs2WtJhMnXoLy9KY9l5zlY1wOobq9Fg1RykRYAy0Yd NIZclkPodCffz+/WZPpXwcRDrncMHMl0R3biCQHNf18Rx0g5/j+FnQakVkmdC9FWHL31 NXpZdVMx7sP4gzo0QQTDne6tohxzMGHHcCLg1yOUaCkyYvB1yC+5lPg5Mxgbhk79ENQG +m4y6W37ZdbLchbSwAU3nfpFHuxj0O4qxpf0DmIO/cAaXUdeq/YSRuh24JxVtbHIOkAK tImw== X-Gm-Message-State: APjAAAWH6YnfabG1erweG93BdcbbVnRgFmsQOEbkRxEyAWktbjPUDoaJ dAc+b7fW1Lu0wXUKF6WULMpOgX+p/uCGXxx/44qW/Q== X-Google-Smtp-Source: APXvYqxvq2SImnQbGGrYbMPwquz2HM9hcypdsjZVOG9u9Ny1hpXcleXixA+SmyrTao/XpUgSk33CxkCLRbxuScFELyk= X-Received: by 2002:a1c:6309:: with SMTP id x9mr15700293wmb.101.1555181202654; Sat, 13 Apr 2019 11:46:42 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Adrian Chadd Date: Sat, 13 Apr 2019 11:46:30 -0700 Message-ID: Subject: Re: TDMA Wireless status? To: Stephen Patrick Cc: "freebsd-wireless@freebsd.org" X-Rspamd-Queue-Id: BEBB58DA51 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=nmE96FiQ; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of adrianchadd@gmail.com designates 2a00:1450:4864:20::32d as permitted sender) smtp.mailfrom=adrianchadd@gmail.com X-Spamd-Result: default: False [-5.77 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; NEURAL_HAM_SHORT(-0.94)[-0.937,0]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(-2.82)[ip: (-9.48), ipnet: 2a00:1450::/32(-2.39), asn: 15169(-2.19), country: US(-0.06)]; MIME_TRACE(0.00)[0:+,1:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-wireless@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[d.2.3.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; SUBJECT_ENDS_QUESTION(1.00)[]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_LAST(0.00)[] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.29 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, 13 Apr 2019 18:46:45 -0000 Hi, There's some work done on the ath(4) hardware for 11a parts done by Sam Leffler. I fixed it for 11n parts. It's in FreeBSD-HEAD. I figured out how to get it mostly working on the AR93xx/AR94xx parts too but it turns out there are some significant hardware changes in how the MAC schedules packets that a whole lot of work needs to be done to get effective TDMA on those parts. If you're interested in it I can brain dump where I was at with it! -adrian On Fri, 12 Apr 2019 at 01:51, Stephen Patrick wrote: > Thanks Adrian, > > We are interested in "long range outdoor" (10-20km) with high gain > antennas. > Do you know "Mikrotik Nstreme/NV2" and "Ubiquity Airmax" ? > Those have framing/polling done in software - wrapped around the wireless > driver. > Is there equivalent developed in FreeBSD? > > Best regards > > Stephen > > > On Thu, 11 Apr 2019 at 20:52, Adrian Chadd wrote: > >> hi! >> >> I know that a lot of the 11ac chips do TDMA but the vendors keep the >> implementation and knobs close to their chest. We don't have any public >> APIs for it. Sorry :( >> >> >> -a >> >> >> On Thu, 11 Apr 2019 at 10:23, Stephen Patrick >> wrote: >> >>> Dear sirs, >>> >>> Is this feature working for point-to-point, and point-to-multipoint long >>> range links? >>> 802.11ac chipsets/modes supported? >>> >>> Best regards >>> >>> Stephen >>> >>> -- >>> >>> *Stephen Patrick* >>> >>> *Director* >>> >>> Wireless Excellence Limited >>> The Oxford Science Park >>> G6, Magdalen Centre, Robert Robinson Avenue >>> Oxford OX4 4GA - United Kingdom >>> >>> CAUTION - This message is confidential and may contain privileged >>> information intended only for the use of the addressee named above. If >>> you >>> are not the intended recipient of this message you are hereby notified >>> that >>> any use, dissemination, distribution or reproduction of this message is >>> prohibited. If you have received this message in error please notify >>> Wireless Excellence immediately. Any views expressed in this message are >>> those of the individual sender and may not necessarily reflect the views >>> of >>> Wireless Excellence Ltd. >>> _______________________________________________ >>> 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" >>> >> > > -- > > *Stephen Patrick* > > *Director* > > > Wireless Excellence Limited > The Oxford Science Park > G6, Magdalen Centre, Robert Robinson Avenue > Oxford OX4 4GA - United Kingdom > > Tel: +44 (0) 870 4959169 Mob: +44 (0)7802 425581 > Email: stephen@cablefree.net Skype: stephenjpatrick Google: > cablefree.stephen > > [image: Facebook] [image: Linkedin] > [image: RSS] > [image: Youtube] > [image: Flickr] > [image: Twitter] > > > CAUTION - This message is confidential and may contain privileged > information intended only for the use of the addressee named above. If you > are not the intended recipient of this message you are hereby notified that > any use, dissemination, distribution or reproduction of this message is > prohibited. If you have received this message in error please notify > Wireless Excellence immediately. Any views expressed in this message are > those of the individual sender and may not necessarily reflect the views of > Wireless Excellence Ltd. > From owner-freebsd-wireless@freebsd.org Sat Apr 13 19:14:19 2019 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8BEE01580BF2 for ; Sat, 13 Apr 2019 19:14:19 +0000 (UTC) (envelope-from danfe@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 335228EAFC; Sat, 13 Apr 2019 19:14:19 +0000 (UTC) (envelope-from danfe@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 1033) id 249069D76; Sat, 13 Apr 2019 19:14:19 +0000 (UTC) Date: Sat, 13 Apr 2019 19:14:19 +0000 From: Alexey Dokuchaev To: Adrian Chadd Cc: "freebsd-wireless@freebsd.org" , Hans Petter Selasky Subject: Re: Atheros AR5B22 WLAN+Bluetooth support on FreeBSD Message-ID: <20190413191419.GB13742@FreeBSD.org> References: <20190411092758.GA6899@FreeBSD.org> <20190411104647.GA3864@c720-r342378> <20190411125242.GA64046@FreeBSD.org> <20190411131328.GA4909@c720-r342378> <20190411131859.GA17806@FreeBSD.org> <20190411142350.GA71446@FreeBSD.org> <20190412171218.GA16463@FreeBSD.org> <20190413142006.GA59512@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-Rspamd-Queue-Id: 335228EAFC X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.87 / 15.00]; TAGGED_RCPT(0.00)[]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_SHORT(-0.88)[-0.876,0]; NEURAL_HAM_MEDIUM(-0.99)[-0.991,0]; ASN(0.00)[asn:11403, ipnet:96.47.64.0/20, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.29 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, 13 Apr 2019 19:14:19 -0000 On Sat, Apr 13, 2019 at 11:44:25AM -0700, Adrian Chadd wrote: > Hm, is this a problem with our usb3 stack itself? > > If you send me a pull request against ath3k I'll merge it into my git > tree just for completeness. If you tell me how to implement Linuxish usleep_range() correctly in our userland, I can do that. :-) > Maybe we need to loop in hps@ with a bunch of usbdump output to see what > the transactions look like... CC'ed (sorry for the lack of context hps@, but it's hard with Adrian's top-post replies). Please see the archives for the gory details. ./danfe From owner-freebsd-wireless@freebsd.org Sat Apr 13 19:35:46 2019 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D07F515816F6 for ; Sat, 13 Apr 2019 19:35:45 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AC40A8FA5E; Sat, 13 Apr 2019 19:35:44 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-wm1-x32d.google.com with SMTP id r186so2947470wmf.1; Sat, 13 Apr 2019 12:35:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=06zGxVgnOgCKJEt6Srnxkb9L01xtDqDTxP5juPJukRU=; b=R+pOY6RX8J91n0SYQu6200jAY7Awok1d1u8rOXx5PUsRmA3qS0qO2gw5k+oWrN4T+l DPD+Nxy7Ixtc424Wi0affOVbOWCZgGvFhHyJbZqNl0juaZ92FSUG2Ql/KN3kRXN/Zv8b 8wvxS76N35KPqqhT2uliwPX3IFWXnsbMB5VB6l5SqTe+UGrYoxcXGBGo/61X7A3NgS9m 5Z32TvlOETZbYuMQeifwkTsokEZ5yfTzywaVALZu4MsbD6yHq8LpUwaaJRjWt2oCbDi/ pxrxB0EItc93++t+qmr5ntCNcP5GK1QCu13Lqlx7am48v/Phwb3uv5kd9kCLl5cqbHlP d7SA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=06zGxVgnOgCKJEt6Srnxkb9L01xtDqDTxP5juPJukRU=; b=kMNIDTwXErSji7qgChdScPWB/k1a3C8YyAGi5T5Assxo1QTPBGQ9buljIli3VEtLM9 gs1wgHXcDjxA2Oxm1yUV6sFo3nHhZ7wzLt7qQLGsnvchVNWwgfIqBMuf3rcYdCQw3JV0 ElOHyy7CXz9QI9T2r7KQv8KNeeSjJdDBHpAFoOoqpeeOW3hRma36MzzyOq04Loe68qEw ivzC7VNqndM/LkM7hR1XdbuyF49EgyTIFIhNR+2cu1eqPUWyQuTYFvYJ2ElMTvC9b3UL x9yui1h2TBWpn52qD2xphGSFbWG7wv2pmAuhFAthYDCNfxNj6uVhzmpQTHq6t+vrhiEK 84iA== X-Gm-Message-State: APjAAAVS2R+ogXKYQxZWUCQ9gdFDggGLYi/xwONhUgNBDlPUdfIW+O05 YkuUl5FZ/0J1o6fhFOueDwJDTI6MVUO4h4TgcuVF2g== X-Google-Smtp-Source: APXvYqzK4f3QbUNI4WUIZLC8F5rcLtwb+p8UpWAAORpjd+YKn3jh2be5qPgThgcV2xEEyIq1zybA7zdBkiOWFwx7QsQ= X-Received: by 2002:a1c:99d5:: with SMTP id b204mr15465999wme.95.1555184142829; Sat, 13 Apr 2019 12:35:42 -0700 (PDT) MIME-Version: 1.0 References: <20190411092758.GA6899@FreeBSD.org> <20190411104647.GA3864@c720-r342378> <20190411125242.GA64046@FreeBSD.org> <20190411131328.GA4909@c720-r342378> <20190411131859.GA17806@FreeBSD.org> <20190411142350.GA71446@FreeBSD.org> <20190412171218.GA16463@FreeBSD.org> <20190413142006.GA59512@FreeBSD.org> <20190413191419.GB13742@FreeBSD.org> In-Reply-To: <20190413191419.GB13742@FreeBSD.org> From: Adrian Chadd Date: Sat, 13 Apr 2019 12:35:30 -0700 Message-ID: Subject: Re: Atheros AR5B22 WLAN+Bluetooth support on FreeBSD To: Alexey Dokuchaev Cc: "freebsd-wireless@freebsd.org" , Hans Petter Selasky X-Rspamd-Queue-Id: AC40A8FA5E X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=R+pOY6RX; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of adrianchadd@gmail.com designates 2a00:1450:4864:20::32d as permitted sender) smtp.mailfrom=adrianchadd@gmail.com X-Spamd-Result: default: False [-6.60 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; DKIM_TRACE(0.00)[gmail.com:+]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-0.76)[-0.762,0]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; IP_SCORE(-2.83)[ip: (-9.50), ipnet: 2a00:1450::/32(-2.39), asn: 15169(-2.19), country: US(-0.06)]; RCVD_IN_DNSWL_NONE(0.00)[d.2.3.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.29 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, 13 Apr 2019 19:35:46 -0000 On Sat, 13 Apr 2019 at 12:14, Alexey Dokuchaev wrote: > On Sat, Apr 13, 2019 at 11:44:25AM -0700, Adrian Chadd wrote: > > Hm, is this a problem with our usb3 stack itself? > > > > If you send me a pull request against ath3k I'll merge it into my git > > tree just for completeness. > > If you tell me how to implement Linuxish usleep_range() correctly in our > userland, I can do that. :-) > usleep_range() is just the same as usleep() at either min, max or a value in between. It's just a hint to the scheduler that says "look, don't sleep exactly for this amount of time to wake me up; here are my bounds that are fine so if you schedule something else before then don't forget about me." Just pick a value in between. :-) > > > Maybe we need to loop in hps@ with a bunch of usbdump output to see what > > the transactions look like... > > CC'ed (sorry for the lack of context hps@, but it's hard with Adrian's > top-post replies). Please see the archives for the gory details. > Sorry, life is busy nowdays - I was making breakfast and keeping two kids from eating things they shouldn't. Top posting is quick. :) -a