From owner-freebsd-wireless@freebsd.org Mon Sep 26 19:53:43 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 94BD9BEBBAA; Mon, 26 Sep 2016 19:53:43 +0000 (UTC) (envelope-from andriyvos@gmail.com) Received: from mail-lf0-f52.google.com (mail-lf0-f52.google.com [209.85.215.52]) (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 1C464163; Mon, 26 Sep 2016 19:53:42 +0000 (UTC) (envelope-from andriyvos@gmail.com) Received: by mail-lf0-f52.google.com with SMTP id g62so155330552lfe.3; Mon, 26 Sep 2016 12:53:42 -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:from :message-id:in-reply-to:user-agent; bh=eaeuerEHShrfOv4emFOcxCnEXmXa0kgg11WD+4OEk+g=; b=Ixxxq5TkGk/d/0GRzNKfZMvW4BjdK1RwmeXa22x9gizpHh5Zllo1GAJek9E2eRuSg7 IwVW/Jt+q9zY9tjdU5Hw9xtzFaSY6hMijF0HJyyn0Zz4MVHP6YpF6OAWXpXIIDkqipq3 cruY7UmAm1VWKIMyQptyjq0wlJ3lLRXEJUI66ZyQhh/Os+LyTdw1wyAWRAIrzh8WTDZd ih69szR5xD7CTsWD6ACAD6GIPolRdZh+BZ7xbd5t8r6bw7tgnDz2TnQ5XePd5cbZSw8/ AEOXJjy52cMBGrO/WEOsifomg9tPJvEYtbMLuS/lSQIa4OE2y4Q1Esgz65xnAprFEgjL sSkw== X-Gm-Message-State: AA6/9RkWLMTFofGrEsnJ7zqeHVxJUVn/XpAqHq00+Z+MGfG4n4EOxPtcQusZE3BVyC8lyQ== X-Received: by 10.25.139.66 with SMTP id n63mr1604668lfd.111.1474919614532; Mon, 26 Sep 2016 12:53:34 -0700 (PDT) Received: from localhost (host-176-37-109-22.la.net.ua. [176.37.109.22]) by smtp.gmail.com with ESMTPSA id f64sm3986949lji.29.2016.09.26.12.53.33 (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 26 Sep 2016 12:53:34 -0700 (PDT) To: "Renato Botelho" Cc: "freebsd-wireless@freebsd.org" , "freebsd-current@freebsd.org" Subject: Re: urtwn(4) / rtwn(4) drivers are merged - call for testing (Was: RTL8812AU / RTL8821AU driver) References: <9A93030A-2112-4DBF-B3E4-50698C98218A@FreeBSD.org> Date: Mon, 26 Sep 2016 22:53:32 +0300 MIME-Version: 1.0 From: "Andriy Voskoboinyk" Message-ID: In-Reply-To: <9A93030A-2112-4DBF-B3E4-50698C98218A@FreeBSD.org> User-Agent: Opera Mail/12.16 (FreeBSD) Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes 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:53:43 -0000 Mon, 26 Sep 2016 22:46:58 +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 Renato Botelho = : AFAIK, it is not critical (at least for USB devices). If it won't work without firmware try to install it from sys/modules/rtwnfw/rtwnrtl8192cEB (and restart the interface). >> On 1 Sep 2016, at 13:29, Andriy Voskoboinyk wrote:= >> >> Hi everyone, >> >> rtwn(4), urtwn(4) and urtwm (from previous emails) drivers were merge= d = >> into a >> single rtwn driver (plus rtwn_usb / rtwn_pci device glue); the code i= s >> available on https://github.com/s3erios/rtwn repository. Among bugfix= es = >> / >> code deduplication, there some new features too: >> >> 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 acceleratio= n >> * 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. >> >> It's known to work with RTL8188CUS, RTL8188EU and RTL8821AU; however,= >> 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. > > 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-0xf1c03ff= f = > 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-rtl8192= cfwE_B.ko > > -- > Renato Botelho From owner-freebsd-wireless@freebsd.org Mon Sep 26 20:02:21 2016 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7E492BEBE19; Mon, 26 Sep 2016 20:02:21 +0000 (UTC) (envelope-from garga.bsd@gmail.com) Received: from mail-qt0-x22f.google.com (mail-qt0-x22f.google.com [IPv6:2607:f8b0:400d:c0d::22f]) (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 3514C883; Mon, 26 Sep 2016 20:02:21 +0000 (UTC) (envelope-from garga.bsd@gmail.com) Received: by mail-qt0-x22f.google.com with SMTP id 93so88825243qtg.2; Mon, 26 Sep 2016 13:02:21 -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=ypFWEkPC3hOXRapbl5dBueF1kmq5/7Z54dnJyMizqFA=; b=SYAg6Z752wE0yJCCSJqQvKXeQvX+Y47IMWIe0/pDzJjySmtUZE2tGJKZZHtbcqwwdV YSbqh5COX/SPVb4UwP7FUUmKNrNWn9+ZMM9L5SeCnKnPm3qQvNmgC5fCzGYu3g4g8q4R HCZTZ2yDugc2MUW1vK1YNJaye2mi3dpVFh+b1QYsKOP6Dn0dsh6Pw+ArK0NNpHgUhSBA t4A2+Z+ubLRkh1NtHW3cAM8CI8xYxE9cg71/o0TOOwCXy42Pbq26k23UUVvHAgaEXBas 8y98mlfaUUHzntBy/v8Xf/4D4Mh92HD/NkdJjPW7BABIIRxharhhQL5BZkwPu6w52Fs1 rJtg== 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=ypFWEkPC3hOXRapbl5dBueF1kmq5/7Z54dnJyMizqFA=; b=NjnlJfnQoHLi2EHOChYLN+SSo5BziYwUruVOhtulfxFNxF2LAJ578YJPApRDjZQ+Yw iqc8Tf27y4bJ66BtMEtqX78L3L1kv4Ukeo6uPRGTi15oGxN6b/+ywSY27MAOuoN06vnR cWSs07TjkdSFO9/0mjq+oD0TMhsaaqhMfnG5DF7v9NrBZvoCTrxeg0dalm7ngabSMkMr z+d+tlnceUsWvspy11H+WdYwN28orPbv76+Hh0IPUtBvTQ01mSiX0QLjxsCo2Fk+HGMR TpXTsE0nEAd3DJBlPCIIsSHR5EOIvfnDJ79CJpMWNTcwivHUv8uTKOVd4DD5Ci7TChps 8fkg== X-Gm-Message-State: AA6/9RkKW3pJYBaNxhm83C9ebAXRtqx9Q/VI2qmH2XcTzh+lleZIahE3letZiNaF2MixXg== X-Received: by 10.237.34.122 with SMTP id o55mr24272054qtc.15.1474920140125; Mon, 26 Sep 2016 13:02:20 -0700 (PDT) Received: from mbp.home (179-125-152-136.desktop.com.br. [179.125.152.136]) by smtp.gmail.com with ESMTPSA id 55sm12484408qtm.36.2016.09.26.13.02.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 26 Sep 2016 13:02:19 -0700 (PDT) Sender: Renato Botelho From: Renato Botelho Message-Id: <55E6C2DA-D44F-4966-81D9-D02B66CD5FE5@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 17:02:15 -0300 In-Reply-To: Cc: "freebsd-wireless@freebsd.org" , "freebsd-current@freebsd.org" To: Andriy Voskoboinyk References: <9A93030A-2112-4DBF-B3E4-50698C98218A@FreeBSD.org> 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 20:02:21 -0000 > On 26 Sep 2016, at 16:53, Andriy Voskoboinyk wrote: >=20 > Mon, 26 Sep 2016 22:46:58 +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 Renato Botelho = >: >=20 > AFAIK, it is not critical (at least for USB devices). >=20 > If it won't work without firmware try to install it from > sys/modules/rtwnfw/rtwnrtl8192cEB (and restart the interface). I=E2=80=99ve built and loaded it and the error is gone. But =E2=80=98list = scan=E2=80=99 never show anything and I got this warning, not sure if = it=E2=80=99s relevant 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 rtwn0: r92ce_post_init: warning: net80211 ratectl is used Thanks -- Renato Botelho