From owner-freebsd-wireless@freebsd.org Sun Mar 12 21:00:57 2017 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AA114D09E1E for ; Sun, 12 Mar 2017 21:00:57 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A0D24164F for ; Sun, 12 Mar 2017 21:00:57 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v2CL01RF012203 for ; Sun, 12 Mar 2017 21:00:57 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <201703122100.v2CL01RF012203@kenobi.freebsd.org> From: bugzilla-noreply@FreeBSD.org To: freebsd-wireless@FreeBSD.org Subject: Problem reports for freebsd-wireless@FreeBSD.org that need special attention Date: Sun, 12 Mar 2017 21:00:57 +0000 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Mar 2017 21:00:57 -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 ------------+-----------+--------------------------------------------------- New | 206801 | iwn(4) page fault on netif restart Open | 154598 | [ath] Atheros 5424/2424 can't connect to WPA netw Open | 163312 | [panic] [ath] kernel panic: page fault with ath0 Open | 166190 | [ath] TX hangs and frames stuck in TX queue Open | 166357 | [ath] 802.11n TX stall when the first frame in th Open | 169362 | [ath] AR5416: radar pulse PHY errors sometimes in Open | 169433 | [iwn] iwn(4) doesn't support 6235 chip. Open | 211689 | panic with lagg failover wireless ath and iwm 8 problems total for which you should take action. From owner-freebsd-wireless@freebsd.org Tue Mar 14 01:34:15 2017 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6C4EDD0B628 for ; Tue, 14 Mar 2017 01:34:15 +0000 (UTC) (envelope-from trev@sentry.org) Received: from shadow.sentry.org (shadow.sentry.org [220.233.87.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "shadow.sentry.org", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 163641A96 for ; Tue, 14 Mar 2017 01:34:14 +0000 (UTC) (envelope-from trev@sentry.org) Received: from shadow.sentry.org (localhost [127.0.0.1]) by shadow.sentry.org (8.15.2/8.15.2) with ESMTP id v2E1Y5Oa043146 for ; Tue, 14 Mar 2017 12:34:05 +1100 (AEDT) (envelope-from trev@sentry.org) Subject: Re: Mac Mini late 2009 BCM4321 issues :) To: freebsd-wireless@freebsd.org References: <6e188362-fad7-4dee-967b-1280ebe8978e@sentry.org> From: Trevor Roydhouse Organization: Sentry Message-ID: <86857ca0-5b71-7695-49ce-e4d527f56bd1@sentry.org> Date: Tue, 14 Mar 2017 12:34:05 +1100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:49.0) Gecko/20100101 Firefox/49.0 SeaMonkey/2.46 MIME-Version: 1.0 In-Reply-To: <6e188362-fad7-4dee-967b-1280ebe8978e@sentry.org> Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="------------ms070903080104090907060505" X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (shadow.sentry.org [127.0.0.1]); Tue, 14 Mar 2017 12:34:05 +1100 (AEDT) X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Mar 2017 01:34:15 -0000 This is a cryptographically signed message in MIME format. --------------ms070903080104090907060505 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Never received your post Adrian - found it in the archives ... hence the = delay. Trev wrote on 09/03/2017 17:55: > 1A, uname -a shows: > > FreeBSD citadel.sentry.org 11.0-STABLE FreeBSD 11.0-STABLE #0 \ > r314907M: Thu Mar 9 04:26:47 AEDT 2017 \ > root@citadel.sentry.org:/usr/obj/usr/src/sys/GENERIC amd64 OK, as you suggested, I installed head as of yesterday (source upgrade=20 from 11-STABLE). FreeBSD citadel.sentry.org 12.0-CURRENT FreeBSD 12.0-CURRENT #0=20 r315191M: Tue Mar 14 02:02:24 AEDT 2017 However, the result is the same. No successful association. It still=20 fails with: > wlan0: Request to deauthenticate - bssid=3D00:00:00:00:00:00 > pending_bssid=3D34:31:c4:bc:d0:21 reason=3D3 state=3DASSOCIATING > wlan0: Event DEAUTH (12) received > wlan0: Deauthentication notification > wlan0: * reason 3 (locally generated) > Deauthentication frame IE(s) - hexdump(len=3D0): [NULL] > wlan0: CTRL-EVENT-DISCONNECTED bssid=3D34:31:c4:bc:d0:21 reason=3D3 > locally_generated=3D1 :( --------------ms070903080104090907060505 Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgEFADCABgkqhkiG9w0BBwEAAKCC Ce0wggSvMIIDl6ADAgECAhEA4CPLFRKDU4m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IgTWFuY2hlc3RlcjEQMA4GA1UE BxMHU2FsZm9yZDEaMBgGA1UEChMRQ09NT0RPIENBIExpbWl0ZWQxQTA/BgNVBAMTOENPTU9E TyBTSEEtMjU2IENsaWVudCBBdXRoZW50aWNhdGlvbiBhbmQgU2VjdXJlIEVtYWlsIENBAhEA 2SFAIhCmfcaiQ251JoXf5jANBgkqhkiG9w0BAQEFAASCAQC5voTU0ZbuW4QFDznG093KSGVG FkTDstHuY4u9ODrKqXobSrlBFqB9UWmxg734kQgPIHhNfNMfT/c8O3Hoe5HqsE9IUVT6Esyz Aa0DVo7NnwH0DdO/RaHSbYdzzUo5s2I3zgy/qkb0aCyXiuiNuFO7JFJC+HE92vtIhQktWAC4 e/h2NfkGRvdpMCIElL5ZF4ei/oJnxFcwCGIKLKg+/APhMc2KiqDBJwhqO6bYufqZ+tM8nAYk T9pATvGE6rffzPXHNA9ymwa7TRMTSgQSZCQpAT7HmADjb/OU7E4C4JznXu+TeO+HobkMb3Fi BxxwpJMLQd3Hh9usUFA+/J9AHJ+7AAAAAAAA --------------ms070903080104090907060505-- From owner-freebsd-wireless@freebsd.org Wed Mar 15 02:14:06 2017 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 269F3D0A093 for ; Wed, 15 Mar 2017 02:14:06 +0000 (UTC) (envelope-from darren780@yahoo.com) Received: from nm10-vm0.bullet.mail.ne1.yahoo.com (nm10-vm0.bullet.mail.ne1.yahoo.com [98.138.91.72]) (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 DD3A31C15 for ; Wed, 15 Mar 2017 02:14:05 +0000 (UTC) (envelope-from darren780@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1489544044; bh=EdLIjZxSKmhu9UwaNoNZA+Vgq36xhUrvfYInpTFvCHI=; h=Date:From:Reply-To:To:Subject:References:From:Subject; b=sBf768EKktj1VLP7yYlMFh/BMVoycHztQez2FRKQbq+P9xDQo4VykSr8FTr+LUTXdeG9U9wm/mfCgm6sDSKoXUscdxgNk+Q1F3sbWWX9+/HVb+MwdXoQgSPkN7U8F2dT/sobAWRtQ+OJj7W543OkRZvI0v/aDiPF00JklKjd1f+ZQZravsmBO8zhGK7bpfnSZhFTUn+10asyzkxIl5lKEeKq2CO9xFslUo9oRx2bIYahXEUcB+Zub1xDMNGMocY12lK0dPeh+cvi4w9StQfPeqh+1GXvMS8lkg4A+xkv4+sZdReofd2ZZ2+dSE6Y6U6gHeRn1f0mOqu27JhRwmp9WA== Received: from [98.138.226.179] by nm10.bullet.mail.ne1.yahoo.com with NNFMP; 15 Mar 2017 02:14:04 -0000 Received: from [98.138.87.7] by tm14.bullet.mail.ne1.yahoo.com with NNFMP; 15 Mar 2017 02:14:04 -0000 Received: from [127.0.0.1] by omp1007.mail.ne1.yahoo.com with NNFMP; 15 Mar 2017 02:14:04 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 468800.35693.bm@omp1007.mail.ne1.yahoo.com X-YMail-OSG: G3qkxU0VM1kTbxgJbRTRen7ITNaVhieJvY3FUBci_yH4R1cjmPQrn3RkYunFkah joJfqfdwhiNKfgJEwvXXLP2n2m1Jofg2M9wiRULcHtOcJxrC6LcKWvt.N__tEVve3__V1vgCno60 76eSKoVyaOALReeHQPCLEctQatt6J_1V32uktokJy2yEQXIZOms3MZEuqACJRITmQAH2XKN6wrT_ MUEFim7ViH5U_pS23DFppH940kwJJYMIqhU3fIJa1UZxgOFc.J7w0VPUTpw0ENanRwvUtDN01Pv4 QDpt2Rks2Aa6WrRb9USz4DExV.f1QS6ksPZ9PFYaYoI5CnYSogJyEuUemIJ.oDp98W_bZQtPirws V3gFbomnfd98gbMDvVzmcRHPP7WEOw_GLEIxydPmPMTUmdakuEpjnQd2B8yMXIVeQ8VmQenVtUG9 AgA1B3JgsOg9OqrxqeJKv_vLbhlCFCTPqeSlPUi52a_KkcGzvQ8J7fBy00hZij4V0Bm4i8eR6uV2 S8W8iH7Eo6Q8pW_EfguF1tVTxk3ab2rGk8kdclmv3KngrwqBLIEAmR.oYDxnfZw-- Received: from jws200053.mail.ne1.yahoo.com by sendmailws141.mail.ne1.yahoo.com; Wed, 15 Mar 2017 02:14:04 +0000; 1489544044.015 Date: Wed, 15 Mar 2017 02:13:59 +0000 (UTC) From: Darren Reply-To: Darren To: "freebsd-wireless@freebsd.org" Message-ID: <2057137749.327495.1489544039927@mail.yahoo.com> Subject: Support for QCA9880 Mikrotik R11e-5HacT? MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit References: <2057137749.327495.1489544039927.ref@mail.yahoo.com> X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Mar 2017 02:14:06 -0000 I have noticed some posts about having a QCA9880 chip working with wireless, or wanting alpha testers. This is my QCA9880 card: https://mikrotik.com/product/R11e-5HacT which runs using the linux ath10k result of pciconf -lv: none2@pci0:6:0:0: class=0x028000 card=0xd03c19b6 chip=0x003c168c rev=0x00 hdr=0x00 vendor = 'Qualcomm Atheros' device = 'QCA986x/988x 802.11ac Wireless Network Adapter' class = network added extra options to kernel as requested: options ATH_ENABLE_11N # Enable 802.11n support for AR5416 and later options AH_DEBUG #Adrian Chadd options ATH_DEBUG #Adrian Chadd options ATH_DIAGAPI #Adrian Chadd Compiled and svned today: FreeBSD asrock 12.0-CURRENT FreeBSD 12.0-CURRENT #0 r315282: Tue Mar 14 21:08:43 EDT 2017 darren@asrock:/usr/obj/usr/src/sys/DARREN amd64 From owner-freebsd-wireless@freebsd.org Wed Mar 15 02:23:34 2017 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 111B2D0A580 for ; Wed, 15 Mar 2017 02:23:34 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wm0-x230.google.com (mail-wm0-x230.google.com [IPv6:2a00:1450:400c:c09::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AF68F101E for ; Wed, 15 Mar 2017 02:23:33 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-wm0-x230.google.com with SMTP id n11so12472270wma.0 for ; Tue, 14 Mar 2017 19:23:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=Ny6m6q2CSVunFCzEKY7C1K3AiWZOWDo8PRRLPH9Cjfk=; b=R0943LYA/iFmJBcgAXyi/1uNw7mt/dU5H4MtxBjSObeWJbc9gVO13MuinnLEu4mwO2 RlI8QnXsu7voSxr0LkiQezuPAYxnCOUYpwwZqCDOC9ycZ+p7Q8wehHQsrg3c7IGhwNN0 7RVzYWgScAyWFxbNKbo2YEjxOIkuVS/geLfC4ocuD6iqdHXIEHelqSVS029wDXec1Tef Ob8hZ2qlInCLQo2qYUplDL/rAlN2f2ixklKEzBKoRM2kIs6zVp5q1UZ1TiL3qCzDjUzp Rv3cQ/KE13Y7wLilA6ShJzFNcAr//M9+azXXNmz6DBRpfs0hddlkCgRg0zmZzSzuvr/T 9Vvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=Ny6m6q2CSVunFCzEKY7C1K3AiWZOWDo8PRRLPH9Cjfk=; b=je5VEiYv/Fyy6z7E8hEtthk94QeCmoK8jIu++7cmT3OrsIlXtr133qbmBSdXzVNDFU 4oilYgjBzoTFRLc3pPACsAnO4WY2ep7zxToOlyUHUyWMJGMjV612ZV2j7wMrvB6oE6r/ 37VDO1sElbMI/agB8Wff1TTicb8jhkEbB8m1cItMtkAmN59PlfuCZhNsGAnHcsv4eldV 6eDNIZxd6CHcfIqkVDQCyCkXEhtn7eMK4a5e8QVlvYODERPqXS8WY2Vqzi5A3g4viLbO h73BBXjsxZb6GR1OWfcmzfkBVudea6WjiA+xj9zoL4TxYeEqf/UZNJcUislGb+SWeTjY BX5Q== X-Gm-Message-State: AFeK/H2n6vjpm54aih7d35QcRkNvj1pv4ZBvtbWWv4KXgSSBpD1gUR9OU4fQI1e/XNsLl9zYNAhHcMWYnmybbw== X-Received: by 10.28.72.193 with SMTP id v184mr17434339wma.105.1489544611707; Tue, 14 Mar 2017 19:23:31 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.128.133 with HTTP; Tue, 14 Mar 2017 19:23:31 -0700 (PDT) In-Reply-To: <2057137749.327495.1489544039927@mail.yahoo.com> References: <2057137749.327495.1489544039927.ref@mail.yahoo.com> <2057137749.327495.1489544039927@mail.yahoo.com> From: Adrian Chadd Date: Tue, 14 Mar 2017 19:23:31 -0700 Message-ID: Subject: Re: Support for QCA9880 Mikrotik R11e-5HacT? To: Darren Cc: "freebsd-wireless@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Mar 2017 02:23:34 -0000 hiya, It's a new driver, not ath. ath is for 11abgn chips, not 11ac. I'm still working on the ath10k port. :-) It's at the point where I can use it daily and it's /mostly/ okay, however there are still plenty of missing things in the net80211 stack for 11ac support. I think it's good enough for basic station use, as long as you don't want to do lots of traffic. It's just not in a very committable form right now. I promise to commit it soon though and do further work in freebsd-head. -adrian On 14 March 2017 at 19:13, Darren via freebsd-wireless wrote: > I have noticed some posts about having a QCA9880 chip working with wireless, or wanting alpha testers. > > > This is my QCA9880 card: > > https://mikrotik.com/product/R11e-5HacT > which runs using the linux ath10k > > > result of pciconf -lv: > none2@pci0:6:0:0: class=0x028000 card=0xd03c19b6 chip=0x003c168c rev=0x00 hdr=0x00 > vendor = 'Qualcomm Atheros' > device = 'QCA986x/988x 802.11ac Wireless Network Adapter' > class = network > > added extra options to kernel as requested: > options ATH_ENABLE_11N # Enable 802.11n support for AR5416 and later > options AH_DEBUG #Adrian Chadd > options ATH_DEBUG #Adrian Chadd > options ATH_DIAGAPI #Adrian Chadd > > > Compiled and svned today: > > FreeBSD asrock 12.0-CURRENT FreeBSD 12.0-CURRENT #0 r315282: Tue Mar 14 21:08:43 EDT 2017 darren@asrock:/usr/obj/usr/src/sys/DARREN amd64 > _______________________________________________ > 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 Mar 18 20:22:12 2017 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6AFF3D123C4 for ; Sat, 18 Mar 2017 20:22:12 +0000 (UTC) (envelope-from khanzf@gmail.com) Received: from mail-pg0-x22a.google.com (mail-pg0-x22a.google.com [IPv6:2607:f8b0:400e:c05::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 389B314B9 for ; Sat, 18 Mar 2017 20:22:12 +0000 (UTC) (envelope-from khanzf@gmail.com) Received: by mail-pg0-x22a.google.com with SMTP id g2so58238661pge.3 for ; Sat, 18 Mar 2017 13:22:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=sZQQHOiu9vb76T3UdUUCAtq745twayflYolxUJ6Kk6w=; b=kNg/2Q9DAUmPIS3glMTFmbabKefJNSnH+yNn9nJ7LjGDNVZZrh4QChh0JuzWDe2mKB Zp0qyh5QXTG8Ey1be8Zr9Guu5WkeCwxy8VE/9MPYBKITRCLOW+OkOrO55mx65IVLFb5Y jJIKhsXLIlj6Lu3gm3N8tcXwAx3hjbEx4DEcQXdA624ssNpoPVo4Dijp7Tg0wDu/Bq2k l+bJ/wj7Q8KArEl0sAn+ee0vOScnxpkADOO1X8cTqef5j1/qZ5iDW43TEj5dl/W0aCwM 12s9Fvddz7a4Vj17H189aGifywaVjS7pzaArkSFznDI/3QVBv8pMUsPBCn4YQuuXOrT+ TmPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=sZQQHOiu9vb76T3UdUUCAtq745twayflYolxUJ6Kk6w=; b=NFVWG0zczJMQHdHQuFTIQcZYHH40odBu7XWploM0skatMK5nUZ8q96YSrjU+HubhL5 oaXib9B5WRzgoFSNh0CURhdL3FMl/Vd/MHjHqL18qo8Q1VFQyf74lYpHpRyUcfOWDnAU LYviTN7Y3pJI2YWB2nIuGS8S21dHyYPBliZ3OpnCUVLj7juct9L0hFzc0derVyQgAbXX H9rC5uIKf4zeGC1YhG7I6NpQgO2V1B+oGEhtQOBFJL6mwP0+ZySqJ7QX3+1YfCV44m6N fmUp4fGFKQHzjrGCR4+ZkE3nQIPu4mXbTsnlJ6RgH9361z2KxuOpJbi4A9k/0SHxCVn3 j79Q== X-Gm-Message-State: AFeK/H00ZpQ+4gPPEptAsHv2+m1hetdpY83rz7ukIOoiSKbDTb8jdDzggXV/FFosyi+fQ3HGIYWOAM8WZytOLA== X-Received: by 10.98.66.155 with SMTP id h27mr23747770pfd.182.1489868531617; Sat, 18 Mar 2017 13:22:11 -0700 (PDT) MIME-Version: 1.0 Received: by 10.100.179.37 with HTTP; Sat, 18 Mar 2017 13:21:51 -0700 (PDT) From: Farhan Khan Date: Sat, 18 Mar 2017 16:21:51 -0400 Message-ID: Subject: Trouble writing rtl8188ee driver To: freebsd-wireless@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Mar 2017 20:22:12 -0000 Hi team, I'm toothe from the IRC channel. I hope you all are doing well :) Let me tell you where I am in writing my code. In short, I am stuck and need asisstance. I created a copy of the rtl8192c code, and placed it here: https://github.com/khanzf/freebsd/tree/master/sys/dev/rtwn/rtl8188ee I zero'd out all functions and went one-by-one to replace them as necessary. The section of code that I am stuck at is reading the EEPROM/ROM from the chip. I backed into the ROM image for the first 222 bytes by using the Linux source as documentation and created this: ( https://github.com/khanzf/freebsd/blob/master/sys/dev/rtwn/rtl8188ee/r88ee_rom_image.h#L56) When I read from the ROM, I basically get 500~ bytes of 0xFF - the first 10 or so are set properly, suggesting that I am reading from the right memory segment. Specifically, the first 2 bytes are 0x8129, which is accurate per the Linux driver. But why is everything else coming up as 0xFF's? I delved into how FreeBSD's rtwn and Linux's rtl8188ee drivers work. The efuse code is very similiar, of course, but I do not understand the reasoning for what is occurring. The main difference I found, so far, was that the Linux driver will read from EFUSE_CTRL + an offset (1, 2 or 3), whereas the FreeBSD driver does not use an offset. This is where I am stuck. I would easily just change the code over to add the offset on the FreeBSD code, but it is in sys/dev/rtwn/if_rtwn_efuse.c, which is used by multiple drivers. I am unsure what is wrong or how to diagnose it. Can you please provide me some guidance? I have been stuck on this same issue for a little more than a month. Thank you! -- Farhan Khan PGP Fingerprint: 782F 342B 5B08 0D2F F4E8 82C3 FFA1 CAE1 6536 51CA From owner-freebsd-wireless@freebsd.org Sat Mar 18 23:28:34 2017 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 72EFED12ED6 for ; Sat, 18 Mar 2017 23:28:34 +0000 (UTC) (envelope-from s3erios@gmail.com) Received: from mail-wm0-x233.google.com (mail-wm0-x233.google.com [IPv6:2a00:1450:400c:c09::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1EB7F130D for ; Sat, 18 Mar 2017 23:28:34 +0000 (UTC) (envelope-from s3erios@gmail.com) Received: by mail-wm0-x233.google.com with SMTP id t189so39952317wmt.1 for ; Sat, 18 Mar 2017 16:28:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:subject:references:date:cc:mime-version :content-transfer-encoding:from:message-id:in-reply-to:user-agent; bh=ZV/Vd5K+oahyGl8CNzaMAPxsgnXcVlCkbnHLY/u4lnE=; b=e4bHk7xig72fRltBM3kvpOQaa2ffDhE1yk3r2fSlU1jjucoJFxGfISVss6O+D3dbWh rm6IPayc2id83EO5fTJEFDnZA9d4ygnSlUHbJR5Fp1c6wP+REk2R8oWOUzXaP7d7YC73 sBpCcIeBLvgIpjpduc5L6OkBaIqiqkSslL6h5RxWCpYZfsKRwP+PR8xi6b1dH8M7YX/2 PlVlBymj1F3RtX7wl0KO/a+8oz9ybEHZaq1NlQwntO9ep3SBm1P1UWOy3dGnZfUZNzf2 n5ZB1D9Xh0BnYSzdBLIHgdT/qlaylWai9aYaEbYJ6e2exGGMlraCc2+8XkQQDk6tUpxu 9g/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:subject:references:date:cc:mime-version :content-transfer-encoding:from:message-id:in-reply-to:user-agent; bh=ZV/Vd5K+oahyGl8CNzaMAPxsgnXcVlCkbnHLY/u4lnE=; b=ZFJVmQHcwLYytUbleo4sEccrIxNlvumWw8WI3twQcKWi0Zs+OOXr24H3odjnKrcSVU U3R774FYNR59zjl98bi4aH2jbeQnky4gRZxOWlQD4OJx4Je/yV6R+M1ud6up18w3KkGJ dFa/zTXyKI7e+aAU0NBjt6X/tLQ9s4vTbfqnrMeO2Sfuw6ONbhFniPJKmv+tX0EZKY+D VaVropaIehJ/fHQYbxf6kzxC4/pj9csPAVKI5obfVpoRBhTdjWQi90YVwgJjQs/4e7IN YaCXlgB9blhkQ0/564SluSYwgscV9y9jwsNF2FW+6iVk3ubiO20JW/cmL5LaQpl6GAMU +l/w== X-Gm-Message-State: AFeK/H3P9wjAxwuBsSwQs/ykkERJsJLgSwP1uWjjcEj96kRroxuWKZdmaiJNd7yFsiGs9Q== X-Received: by 10.28.5.72 with SMTP id 69mr3949429wmf.6.1489879711444; Sat, 18 Mar 2017 16:28:31 -0700 (PDT) Received: from thinkpad-x220 (host-176-37-109-22.la.net.ua. [176.37.109.22]) by smtp.gmail.com with ESMTPSA id g5sm15001670wrb.48.2017.03.18.16.28.30 (version=TLS1 cipher=AES128-SHA bits=128/128); Sat, 18 Mar 2017 16:28:30 -0700 (PDT) Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes To: "Farhan Khan" Subject: Re: Trouble writing rtl8188ee driver References: Date: Sun, 19 Mar 2017 01:28:23 +0200 Cc: "freebsd-wireless@freebsd.org" MIME-Version: 1.0 Content-Transfer-Encoding: Quoted-Printable From: "Andriy Voskoboinyk" Message-ID: In-Reply-To: User-Agent: Opera Mail/12.15 (FreeBSD) X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Mar 2017 23:28:34 -0000 Sat, 18 Mar 2017 22:21:51 +0200 =D0=B1=D1=83=D0=BB=D0=BE =D0=BD=D0=B0=D0= =BF=D0=B8=D1=81=D0=B0=D0=BD=D0=BE Farhan Khan = : Hi, there is no need to create an additional rtl8188ee[e] directories / file= s; AFAIK, rtl8188ee is just a PCI-E version of rtl8188e chipset (and rtl818= 8eu is an USB-based version); you should just separate pci / usb code inside= rtl8188e directory (most of it will be the same; you can use rtl8192c as= an example (but you should use rtl8188eu as an template - they are somewhat= different)) About this particular bug: you don't have RTWN_FLAG_EXT_HDR set = (non-rtl8192c chipsets may contain an 'extended header' in encoded ROM image; it is generally used to extend maximum ROM image size over 128 bytes) > Hi team, > > I'm toothe from the IRC channel. I hope you all are doing well :) Let = me > tell you where I am in writing my code. In short, I am stuck and need > asisstance. > > I created a copy of the rtl8192c code, and placed it here: > https://github.com/khanzf/freebsd/tree/master/sys/dev/rtwn/rtl8188ee > > I zero'd out all functions and went one-by-one to replace them as > necessary. The section of code that I am stuck at is reading the = > EEPROM/ROM > from the chip. I backed into the ROM image for the first 222 bytes by = = > using > the Linux source as documentation and created this: ( > https://github.com/khanzf/freebsd/blob/master/sys/dev/rtwn/rtl8188ee/r= 88ee_rom_image.h#L56) > When > I read from the ROM, I basically get 500~ bytes of 0xFF - the first 10= or > so are set properly, suggesting that I am reading from the right memor= y > segment. Specifically, the first 2 bytes are 0x8129, which is accurate= = > per > the Linux driver. But why is everything else coming up as 0xFF's? > > I delved into how FreeBSD's rtwn and Linux's rtl8188ee drivers work. T= he > efuse code is very similiar, of course, but I do not understand the > reasoning for what is occurring. The main difference I found, so far, = was > that the Linux driver will read from EFUSE_CTRL + an offset (1, 2 or 3= ), > whereas the FreeBSD driver does not use an offset. > > This is where I am stuck. I would easily just change the code over to = add > the offset on the FreeBSD code, but it is in = > sys/dev/rtwn/if_rtwn_efuse.c, > which is used by multiple drivers. > > I am unsure what is wrong or how to diagnose it. Can you please provid= e = > me > some guidance? I have been stuck on this same issue for a little more = = > than > a month. > > Thank you! > > -- > Farhan Khan > PGP Fingerprint: 782F 342B 5B08 0D2F F4E8 82C3 FFA1 CAE1 6536 51CA > _______________________________________________ > 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"