Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Sep 2016 16:46:58 -0300
From:      Renato Botelho <garga@FreeBSD.org>
To:        Andriy Voskoboinyk <avos@FreeBSD.org>
Cc:        "freebsd-wireless@freebsd.org" <freebsd-wireless@freebsd.org>, "freebsd-current@freebsd.org" <freebsd-current@freebsd.org>
Subject:   Re: urtwn(4) / rtwn(4) drivers are merged - call for testing (Was: RTL8812AU / RTL8821AU driver)
Message-ID:  <9A93030A-2112-4DBF-B3E4-50698C98218A@FreeBSD.org>
In-Reply-To: <op.ym4deppz4dikkl@localhost>
References:  <op.yjivmw1k4dikkl@localhost> <op.yjvko8zt4dikkl@localhost> <op.ym4deppz4dikkl@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
> On 1 Sep 2016, at 13:29, Andriy Voskoboinyk <avos@FreeBSD.org> 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: <Realtek RTL8188CE> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9A93030A-2112-4DBF-B3E4-50698C98218A>