From owner-freebsd-wireless@freebsd.org Mon Sep 26 19:47:05 2016 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BAD7ABEB94D; Mon, 26 Sep 2016 19:47:05 +0000 (UTC) (envelope-from garga.bsd@gmail.com) Received: from mail-qk0-x22d.google.com (mail-qk0-x22d.google.com [IPv6:2607:f8b0:400d:c09::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7C5AFB7A; Mon, 26 Sep 2016 19:47:05 +0000 (UTC) (envelope-from garga.bsd@gmail.com) Received: by mail-qk0-x22d.google.com with SMTP id t7so178830712qkh.2; Mon, 26 Sep 2016 12:47:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=BPbauAq+uHDu6ehzC6EOYRvr6SIOo5FoTz+RgHUjRbg=; b=0dYk0ieZ4tTGcXuTEkmez493JKUXaKIAv/ZgOOtuKWP22/71yL5naoLjw6dhBJnF91 OIc+Sao31LnUX/FHLlCjsGKKVYjuc9DgSdjFgDf3dwKsjz1LPnRe8BOmgisE/OTN2BrR 2sdOXyGr/9QBwpgFhjoeah25N5zSMRs8EuuQOXW1Rkgf4Ol+8NTzhxsIPvUQMJowlWDL orFwZePvBd1If2VN2KvyfszrdAVV2JN4Wqth8a7KvIbVhYtFuYD9SBdmKJFCM4C7/jPY 0qJzYn2cQv5auwkuw1VXEhB5VoiHqG1OFYaVUu7ZZ6YGbdLSqUZ0PSugddx45frodn+X B2Rw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=BPbauAq+uHDu6ehzC6EOYRvr6SIOo5FoTz+RgHUjRbg=; b=WHfeJJd6TcbahTE77ZLMAHG13qof0znhzodS8Ro1xLdbgqcV4xHBbNok7kLBi23R+1 6ChEDyCub1IxHlxT3vmGWX7+IbKdVoRIcbI+VfrnHkLwhRe3mYNI7IIVTKB1NCCDjJm9 WOJbsHfgQUeaggnOAhxAFO3/Fr1UfYdKFOgqE5JV9KkO1imHzmBPKlHWKHlzVTee36ZR yMY+RwrPYfw2iBgBaPlNrmaR5QjVfTo77cxyre3FwNuD2k350803teD2hmBZ+TcFeivJ WR2nsgpsQzmjHIfcIyb8U3GZ7sXJ3x4YrGmRfXXJJVsQKdc9IIKwHEIf11YQ/dRVsmfW oUMA== X-Gm-Message-State: AA6/9RllecnRRrd8lh/APY44de20/lxH2JIWawFfREGDer+m6HRnwV990vxz4zANFz8ftQ== X-Received: by 10.55.4.23 with SMTP id 23mr910564qke.207.1474919224255; Mon, 26 Sep 2016 12:47:04 -0700 (PDT) Received: from mbp.home (179-125-152-136.desktop.com.br. [179.125.152.136]) by smtp.gmail.com with ESMTPSA id v10sm12443837qkg.20.2016.09.26.12.47.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 26 Sep 2016 12:47:03 -0700 (PDT) Sender: Renato Botelho From: Renato Botelho Message-Id: <9A93030A-2112-4DBF-B3E4-50698C98218A@FreeBSD.org> Mime-Version: 1.0 (Mac OS X Mail 10.0 \(3226\)) Subject: Re: urtwn(4) / rtwn(4) drivers are merged - call for testing (Was: RTL8812AU / RTL8821AU driver) Date: Mon, 26 Sep 2016 16:46:58 -0300 In-Reply-To: Cc: "freebsd-wireless@freebsd.org" , "freebsd-current@freebsd.org" To: Andriy Voskoboinyk References: X-Mailer: Apple Mail (2.3226) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: Mon, 26 Sep 2016 19:47:05 -0000 > On 1 Sep 2016, at 13:29, Andriy Voskoboinyk wrote: >=20 > Hi everyone, >=20 > rtwn(4), urtwn(4) and urtwm (from previous emails) drivers were merged = 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: >=20 > 1) multi-vap support (one any wireless interface + one STA interface + > 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 needs = testing > with the last). > 3) (incomplete) power management support for RTL8188EU (requires = firmware). > 4) Short Guard Interval support. >=20 > It's known to work with RTL8188CUS, RTL8188EU and RTL8821AU; however, > it was never tested with RTL8192CE or RTL8812AU. >=20 > 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. I have a Thinkpad T430 with a PCIe RTL8188CE. It fails waying I didn=E2=80= =99 t load a firmware that doesn=E2=80=99 t exist: rtwn0: port 0x4000-0x40ff mem 0xf1c00000-0xf1c03fff = at device 0.0 on pci2 rtwn0: r92ce_attach: warning: hardware crypto enabled rtwn0: MAC/BB RTL8188CE, RF 6052 1T1R wlan0: Ethernet address: e0:06:e6:c7:54:73 rtwn-rtl8192cfwE_B: could not load firmware image, error 2 rtwn0: failed loadfirmware of file rtwn-rtl8192cfwE_B I=E2=80=99ve loaded rtwn-rtl8192cfwU_B.ko, never heard of = rtwn-rtl8192cfwE_B.ko -- Renato Botelho