Project

General

Profile

Actions

Feature #10639

closed

Add rtwn(4) wireless support

Added by Viktor Gurov almost 4 years ago. Updated almost 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Wireless
Target version:
Start date:
06/06/2020
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:

Description

Current 2.5 kernel contains only rtwn firmwares:

# kldstat -v | grep rtwn
        310 rtwn_rtl8821aufw_fw
        309 rtwn_rtl8812aufw_fw
        308 rtwn_rtl8192eufw_fw
        307 rtwn_rtl8192cfwU_fw
        306 rtwn_rtl8192cfwT_fw
        305 rtwn_rtl8192cfwE_B_fw
        304 rtwn_rtl8192cfwE_fw
        303 rtwn_rtl8188eufw_fw
        302 rtwn_rtl8188eefw_fw

to correctly compile PCI and USB rtwn modules, 'rtwn_pci' and 'rtwn_usb' must be added to conf,
see https://www.freebsd.org/cgi/man.cgi?query=rtwn&sektion=4&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports:

To    compile    this driver into the kernel, place the following lines in your
     kernel configuration file:

       device rtwn
       device rtwnfw
       device rtwn_usb
       device rtwn_pci
       device wlan
       device firmware

Actions #1

Updated by Viktor Gurov almost 4 years ago

The current conf works with only with FreeBSD 11:
https://www.freebsd.org/cgi/man.cgi?query=rtwn&apropos=0&sektion=4&manpath=FreeBSD+11.3-stable&arch=default&format=html:

To    compile    this driver into the kernel, place the following lines in your
     kernel configuration file:

       device rtwn
       device rtwnfw
       device wlan
       device firmware

Fix:
https://github.com/pfsense/FreeBSD-src/pull/31

Actions #2

Updated by Jim Pingle almost 4 years ago

  • Status changed from New to Pull Request Review
Actions #3

Updated by Luiz Souza almost 4 years ago

  • Status changed from Pull Request Review to Resolved
  • % Done changed from 0 to 100

Committed. Thanks!

Actions #4

Updated by Viktor Gurov almost 4 years ago

now it's fine on 2.5.0.a.20200618.1024 (TP-LINK TL-WN725N):

# dmesg | grep rtwn
rtwn0: <Realtek 802.11n NIC, class 0/0, rev 2.00/0.00, addr 1> on usbus1
rtwn0: MAC/BB RTL8188EU, RF 6052 1T1R

Actions

Also available in: Atom PDF