From owner-freebsd-wireless@freebsd.org Thu Sep 22 10:54:33 2016 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8EB35BE556A; Thu, 22 Sep 2016 10:54:33 +0000 (UTC) (envelope-from andriyvos@gmail.com) Received: from mail-lf0-f51.google.com (mail-lf0-f51.google.com [209.85.215.51]) (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 1F641105F; Thu, 22 Sep 2016 10:54:32 +0000 (UTC) (envelope-from andriyvos@gmail.com) Received: by mail-lf0-f51.google.com with SMTP id y6so64271132lff.1; Thu, 22 Sep 2016 03:54:32 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:to:cc:subject:references:date:mime-version :content-transfer-encoding:from:message-id:in-reply-to:user-agent; bh=+juRl6R8dJ7KqksfTrYVIl5KAINDAto9Tplf6WFxLAc=; b=D3gjbIak4NfO5Ef8jQ+QhvDUddz9rxXYEq95ITTRd4wLsLFwv8XQ1mgnUv/+lPleqx hw5dAVhhRMZtEkDd4Ru0TTXu9fSj6RtuqF6Q6MMLcPkFcEiC3HliGmFYh64CpVC4VNuH a4hj6kuuappxHQifJAWBldgAZ3V8ryBLG5vVHMW735c3B/Mc0OGPBv8AkD57YEy4j/on Be5iQLwR1dyzBlrHbcuKs4VFGgfIKH1qDEQlqeRJrrpWLKcoXwyjONxjrdyrjq54tix3 kQFnBmhUcc/4/FZ6xcPntd0JuqMEm/Tu93kLrgEcDrrxaaCtMSku7AGE0RkMzhe7n2fi nTew== X-Gm-Message-State: AE9vXwO4AxXUzjwbHlDuZcyJK8+Jc0N25ald0EX3edaXhlTl6PW0zRZuyKl1OxIH1NC2Lw== X-Received: by 10.25.18.157 with SMTP id 29mr498879lfs.10.1474541664816; Thu, 22 Sep 2016 03:54:24 -0700 (PDT) Received: from localhost (host-176-37-109-22.la.net.ua. [176.37.109.22]) by smtp.gmail.com with ESMTPSA id u78sm249672lff.31.2016.09.22.03.54.24 (version=TLS1 cipher=AES128-SHA bits=128/128); Thu, 22 Sep 2016 03:54:24 -0700 (PDT) Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes To: "Kevin Lo" Cc: "freebsd-wireless@freebsd.org" , "freebsd-current@freebsd.org" Subject: Re: urtwn(4) / rtwn(4) drivers are merged - call for review / testing References: <20160922092442.GA72044@ns.kevlo.org> Date: Thu, 22 Sep 2016 13:54:21 +0300 MIME-Version: 1.0 Content-Transfer-Encoding: Quoted-Printable From: "Andriy Voskoboinyk" Message-ID: In-Reply-To: <20160922092442.GA72044@ns.kevlo.org> User-Agent: Opera Mail/12.16 (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: Thu, 22 Sep 2016 10:54:33 -0000 Thu, 22 Sep 2016 12:24:42 +0300 =D0=B1=D1=83=D0=BB=D0=BE =D0=BD=D0=B0=D0= =BF=D0=B8=D1=81=D0=B0=D0=BD=D0=BE Kevin Lo : Hi, So, the driver was fully tested. Thanks! Can you set dev.rtwn.0.debug=3D0x829f for RTL8188CE to see how big the problem is? > Hi Andriy, > > First of all, THANK YOU! You're doing amazing work! > Second, I've done some testing on the following devices, downloading > FreeBSD-12.0-CURRENT-amd64-20160809-r303880-disc1.iso from = > ftp.freebsd.org: > > - ASUS USB-N10 NANO (RTL8188CUS): > rtwn0: 3> on usbus0 > rtwn0: MAC/BB RTL8188CUS, RF 6052 1T1R > > - TP-Link TL-WN725N v2 (RTL8188EU): > rtwn0: on = > usbus0 > rtwn0: MAC/BB RTL8188EU, RF 6052 1T1R > > - D-Link DWA-131 (RTL8192CU): > rtwn0: 3> on usbus0 > rtwn0: MAC/BB RTL8192CU, RF 6052 2T2R > > - TP-Link Archer T4U (RTL8812AU): > rtwn0: on = > usbus0 > rtwn0: MAC/BB RTL8812AU, RF 6052 2T2R > > - D-Link DWA-171 rev A1 (RTL8821AU): > rtwn0: <802.11n WLAN Adapter> on usbus0 > rtwn0: MAC/BB RTL8821AU, RF 6052 1T1R > > - RTL8188CE mini pcie: > rtwn0: port 0xd000-0xd0ff mem = > 0x90800000-0x90803fff irq 17 at device 0.0 on pci1 > rtwn0: r92ce_attach: warning: hardware crypto enabled > rtwn0: MAC/BB RTL8188CE, RF 6052 1T1R > > All seems to be ok, except RTL8188CE PCIe adapter doesn't work: > > rtwn0: r92ce_post_init: warning: net80211 ratectl is used > rtwn0: device timeout > > Kevin > > On Mon, Sep 19, 2016 at 04:26:38PM +0300, Andriy Voskoboinyk wrote: >> >> Thu, 01 Sep 2016 19:29:03 +0300 =D0=B1=D1=83=D0=BB=D0=BE =D0=BD=D0=B0= =D0=BF=D0=B8=D1=81=D0=B0=D0=BD=D0=BE Andriy Voskoboinyk >> : >> >> Now it resides on https://github.com/s3erios/freebsd-rtwn (integrated= >> into src tree, so it can be built with 'make buildkernel' / 'make >> buildworld'). >> >> This the last stage; once all reported issues will be resolved, I'm >> going to merge it into HEAD. >> >> > Hi everyone, >> > >> > rtwn(4), urtwn(4) and urtwm (from previous emails) drivers were mer= ged >> > into a >> > single rtwn driver (plus rtwn_usb / rtwn_pci device glue); the code= is >> > available on https://github.com/s3erios/rtwn repository. Among = >> bugfixes / >> > code deduplication, there some new features too: >> > >> > 1) multi-vap support (one any wireless interface + one STA interfac= e + >> > any number of monitor mode interfaces). >> > 2) few new sysctls: >> > * dev.rtwn.#.crypto - controls how to use hardware crypto = >> acceleration >> > * dev.rtwn.#.ratectl_selected >> > * dev.rtwn.#.ratectl - selects current 'rate control' algorithm >> > (currently only 'none' and 'net80211' are supported; RTL8192CE need= s >> > testing >> > with the last). >> > 3) (incomplete) power management support for RTL8188EU (requires >> > firmware). >> > 4) Short Guard Interval support. >> > >> > It's known to work with RTL8188CUS, RTL8188EU and RTL8821AU; howeve= r, >> > it was never tested with RTL8192CE or RTL8812AU. >> > >> > How-to-build: >> > 1) download / checkout the repository. >> > 2) apply 'patch-usbdevs.diff' against '/usr/src' >> > 3) build and install rtwn module: >> > cd $repository/sys/modules/rtwn && make && make install >> > 4) build and install rtwn_usb/rtwn_pci: >> > cd ../rtwn_usb && make && make install >> > cd ../rtwn_pci && make && make install >> > 5) unload previous && load current drivers: >> > kldunload if_urtwn if_rtwn >> > kldload /boot/modules/if_rtwn.ko /boot/modules/if_rtwn_usb.ko >> > /boot/modules/if_rtwn_pci.ko >> > 6) Use. >> _______________________________________________ >> 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" >>