From owner-freebsd-wireless@freebsd.org Mon Sep 19 13:26:51 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 280FDBE0477; Mon, 19 Sep 2016 13:26:51 +0000 (UTC) (envelope-from andriyvos@gmail.com) Received: from mail-lf0-f66.google.com (mail-lf0-f66.google.com [209.85.215.66]) (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 AD9E1775; Mon, 19 Sep 2016 13:26:50 +0000 (UTC) (envelope-from andriyvos@gmail.com) Received: by mail-lf0-f66.google.com with SMTP id s29so8396215lfg.3; Mon, 19 Sep 2016 06:26:49 -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:subject:references:date:mime-version :content-transfer-encoding:from:message-id:in-reply-to:user-agent; bh=ryOUB7oJ2T3JqNlnmYt/VG3O22EZK0vy+dlA1CPxodE=; b=hmfzEdg4/YHeqr2z98ugSXRnvVdb4K21Ag4LZFQgNKxJv1I+hoazymJeBZD5eDF2V1 9ioOetO7HkrF3RJ5fg2HjJ42hmZG0iDNKuHibbfT8N8+xVoo3vsVY2IhJ7sSiJ5jouJi TyAinmVRIrpRvRYWQkxmPg2KSX/1mnabRUQp05cJTBTG+tsRp3+Ieh83+Ys22bbaKgD+ 0OsP6sBuj1lt+McNYUErJaQBS8p4LRak87UuhTE0aHKtYJBpN5L8N5Ik7k0tBqSr3jvN eMlO6UBuh1a495WfY5P+BdJJzZUj22yIqzLBqQvuUrDzdI0FPj9LVge6ydULvi7ux38U Zy2g== X-Gm-Message-State: AE9vXwMr0fFkElcwvQK8/qDcnUBOoreqdf3SwCQ2sRTcDqOR0ZKgeEhsxQL3rxpK5CbnAw== X-Received: by 10.25.210.205 with SMTP id j196mr11128855lfg.139.1474291601346; Mon, 19 Sep 2016 06:26:41 -0700 (PDT) Received: from localhost (host-176-37-109-22.la.net.ua. [176.37.109.22]) by smtp.gmail.com with ESMTPSA id g3sm4904436lji.1.2016.09.19.06.26.40 (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 19 Sep 2016 06:26:40 -0700 (PDT) Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes To: "freebsd-wireless@freebsd.org" , "freebsd-current@freebsd.org" Subject: Re: urtwn(4) / rtwn(4) drivers are merged - call for review / testing References: Date: Mon, 19 Sep 2016 16:26:38 +0300 MIME-Version: 1.0 Content-Transfer-Encoding: Quoted-Printable From: "Andriy Voskoboinyk" Message-ID: In-Reply-To: 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: Mon, 19 Sep 2016 13:26:51 -0000 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 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 bugfixe= s / > 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 accelerati= on > * 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.