1 .\" $OpenBSD: rtwn.4,v 1.2 2015/07/09 11:28:53 stsp Exp $
3 .\" Copyright (c) 2010 Damien Bergamini <damien.bergamini@free.fr>
4 .\" Copyright (c) 2015 Stefan Sperling <stsp@openbsd.org>
6 .\" Permission to use, copy, modify, and distribute this software for any
7 .\" purpose with or without fee is hereby granted, provided that the above
8 .\" copyright notice and this permission notice appear in all copies.
10 .\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
11 .\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
12 .\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
13 .\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
14 .\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
15 .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
16 .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
25 .Nd Realtek RTL8188CE PCIe IEEE 802.11b/g/n wireless network device
27 To compile this driver into the kernel,
28 place the following lines in your
29 kernel configuration file:
30 .Bd -ragged -offset indent
37 Alternatively, to load the driver as a
38 module at boot time, place the following line in
40 .Bd -literal -offset indent
44 After you have read the license in
45 .Pa /usr/share/doc/legal/realtek.LICENSE
46 you will want to add the following lines to
48 .Bd -literal -offset indent
49 legal.realtek.license_ack=1
50 rtwn-rtl8192cfwU_load="YES"
51 rtwn-rtl8192cfwU_B_load="YES"
56 driver supports PCIe wireless network devices based on the Realtek
59 The RTL8188CE is a highly integrated 802.11n adapter that combines a MAC,
60 a 1T1R capable baseband and an RF in a single chip.
61 It operates in the 2GHz spectrum only.
63 These are the modes the
65 driver can operate in:
66 .Bl -tag -width "IBSS-masterXX"
70 mode, this is used when associating with an access point, through
71 which all traffic passes.
72 This mode is the default.
74 In this mode the driver is able to receive packets without
75 associating with an access point.
76 This disables the internal receive filter and enables the card to
77 capture packets from networks which it wouldn't normally have access to,
78 or to scan for access points.
83 driver can be configured to use
84 Wired Equivalent Privacy (WEP) or
85 Wi-Fi Protected Access (WPA-PSK and WPA2-PSK).
86 WPA is the current encryption standard for wireless networks.
87 It is strongly recommended that WEP
88 not be used as the sole mechanism
89 to secure wireless communication,
90 due to serious weaknesses in it.
94 driver can be configured at runtime with
97 The driver needs at least version 1.0 of the following firmware files,
98 which are loaded when an interface is brought up:
100 .Bl -tag -width Ds -offset indent -compact
101 .It Pa /boot/kernel/rtwn-rtl8192cfwU.ko
102 .It Pa /boot/kernel/rtwn-rtl8192cfwU_B.ko
105 Join an existing BSS network (i.e., connect to an access point):
106 .Bd -literal -offset indent
107 ifconfig wlan create wlandev rtwn0 inet 192.168.0.20 \e
111 Join a specific BSS network with network name
114 .Dl "ifconfig wlan create wlandev rtwn0 ssid my_net up"
116 Join a specific BSS network with 64-bit WEP encryption:
117 .Bd -literal -offset indent
118 ifconfig wlan create wlandev rtwn0 ssid my_net \e
119 wepmode on wepkey 0x1234567890 weptxkey 1 up
123 .It "could not read firmware %s"
124 For some reason, the driver was unable to read the microcode file from the
126 The file might be missing or corrupted.
128 A frame dispatched to the hardware for transmission did not complete in time.
129 The driver will reset the hardware.
130 This should not happen.
144 driver first appeared in
149 driver was written by
151 .An Stefan Sperling Aq Mt stsp@openbsd.org
153 .An Kevin Lo Aq Mt kevlo@freebsd.org .
157 .An Damien Bergamini Aq Mt damien.bergamini@free.fr .
161 driver does not support any of the 802.11n capabilities offered by the
163 Additional work is required in
165 before those features can be supported.