Re: urtwn(4) / rtwn(4) drivers are merged - call for testing (Was: RTL8812AU / RTL8821AU driver)

From: Renato Botelho <garga_at_FreeBSD.org>
Date: Mon, 26 Sep 2016 16:46:58 -0300
> On 1 Sep 2016, at 13:29, Andriy Voskoboinyk <avos_at_FreeBSD.org> wrote:
> 
> 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 bugfixes /
> 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 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.
> 
> 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’ t load a firmware that doesn’ 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’ve loaded rtwn-rtl8192cfwU_B.ko, never heard of rtwn-rtl8192cfwE_B.ko

--
Renato Botelho
Received on Mon Sep 26 2016 - 17:47:05 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:08 UTC