]> git.ipfire.org Git - thirdparty/hostap.git/blame - FAQ
P2P: Allow access to group members
[thirdparty/hostap.git] / FAQ
CommitLineData
6fc6879b
JM
1Host AP driver - Frequently Asked Questions
2===========================================
3
41. What does "GetNextTuple: No more items" mean in hostap_cs initialization?
52. Why RX does not work?
6 What does "NETDEV WATCHDOG: wlan0: transmit timed out" mean?
7 (interrupt delivery problems)
83. What is wrong with Host AP mode in secondary (station) firmware v1.4.2?
94. What is causing 'Unresolved symbols' in depmod/modprobe?
105. How can I upgrade Prism2/2.5/3 firmware?
116. Why did I get two network interfaces (wlan0 and wifi0) even when I have
12 only one wireless card?
137. Why does my D-Link DWL-650 rev. P1 or D-Link DWL-520 rev. E1 (or any other
14 card with small flash) card fail?
158. Does Host AP driver support IEEE 802.11a and 802.11g? Does it support
16 chipsets other than Prism 2/2.5/3?
17
18
19
201. What does "GetNextTuple: No more items" mean in hostap_cs initialization?
21
22This is one of the most often reported problems in getting the
23hostap_cs.o driver working. It is usually reported for D-Link DWL-650
24PC Card, e.g., on ISA-to-PCMCIA adapter. Later versions of the driver
25report this also with "Vcc mismatch - skipping this entry".
26
27Most common reason for getting this is a mismatch in voltage
28configuration. The driver tries to make sure that the voltage (Vcc)
29configuration in CIS and the slot match each other. It refuses to
30initialize the card if the card CIS does not include a CFTABLE entry
31with a matching Vcc value. This seems to be a problem for some cases
32since the CIS is invalid or the reported voltage is incorrect.
33
34As a workaround, the driver supports a module parameter ignore_cis_vcc
35that can be used to skip this verification. This can be enabled by
36setting ignore_cis_vcc=1 in /etc/pcmcia/hostap_cs.conf (commented
37example line in the end of file). This can also be tested by manually
38loading the module with 'modprobe hostap_cs ignore_cis_vcc=1' before
39inserting the card).
40
41
42
432. Why RX does not work?
44 What does "NETDEV WATCHDOG: wlan0: transmit timed out" mean?
45 (interrupt delivery problems)
46
47If the driver does not seem to receive any packets or sending packets
48results in "NETDEV WATCHDOG: wlan0: transmit timed out", the reason is
49probably in interrupt delivery problems. This is quite common with
50PCI-to-PCMCIA adapters. Newer than 2002-05-19 of the driver have a
51test that will report this after the initialization ("wlan: Possible
52interrupt delivery problem"). Another method for checking this is to
53observer whether interrupt counters in /proc/interrupts increase for
54hostap_cs/wlan0 entry.
55
56Adding suitable irq_mode=# setting in PCIC_OPTS line of
57pcmcia-configuration is the most common fix for this. pcmcia-cs HOWTO
58has more information on how to debug and fix interrupt delivery
59problems at
60http://pcmcia-cs.sourceforge.net/ftp/doc/PCMCIA-HOWTO-5.html#irqmode
61
62
63
643. What is wrong with Host AP mode in secondary (station) firmware v1.4.2?
65
66It looks like secondary firmware v1.4.2 sends beacon frames properly,
67but does not respond to probe requests. With most station cards, this
68prevents authentication and association and thus, in practice, no data
69frames can be sent. It has been reported that at least some Cisco
70Aironet 350 cards can associate with Host AP mode even with firmware
71v1.4.2 (i.e., without receiving probe response), but Prism2 and
72Lucent/ORiNOCO/Agere seem to require probe response and they do not
73thus associate with AP using v1.4.2 firmware.
74
75This is fixed in later secondary firmware versions; probably already
76in 1.4.3, but at least 1.4.9 has been tested to work. In other words,
77this problem can be fixed by upgrading card firmware.
78
79
80
814. What is causing 'Unresolved symbols' in depmod/modprobe?
82
83Installation of Host AP driver (e.g, 'make install_pccard') may report
84unresolved symbols when running depmod. These are usually caused with
85mismatch in kernel configuration for modversions.
86
87Example:
88
89depmod reports unresolved symbol 'eth_type_trans' (this is without
90modversions):
91depmod: eth_type_trans
92
93but kernel was really configured with CONFIG_MODVERSIONS:
94
95# grep eth_type_trans /proc/ksyms
96c01b66c0 eth_type_trans_Rdb9cd26f
97
98(notice the _R... postfix)
99
100This happens if the kernel configuration given to Host AP driver's
101Makefile (.config in KERNEL_PATH) has not CONFIG_MODVERSIONS, but the
102running kernel is compiled with it.
103If the kernel were configured without modversions, /proc/ksyms would
104show the symbols with _R... postfix:
105
106
107Mismatches in kernel configuration can be fixed by using the same
108configuration (i.e., Linux kernel .config) for both the kernel and the
109driver. If you are using a kernel from a distribution installation
110(i.e., you have not compiled it yourself), you will need to create a
111matching .config file somehow. This depends on the distribution you
112are using, but 'make oldconfig' in kernel source directory might work
113with some distributions. If you compile the kernel yourself, it will
114be easier, since you already have to have created the correct .config
115file.
116
117
118
1195. How can I upgrade Prism2/2.5/3 firmware?
120
121Prism2/2.5/3 cards and Host AP driver support two different mechanism
122of upgrading the card firmware. Firmware images (primary and station)
123can be downloaded either into volatile memory (RAM download) or
124non-volatile memory (flash upgrade). Firmware images downloaded into
125volatile memory are lost when the card is resetted, so they are quite
126safe. Flash upgrade with incorrect images may cause permanent problems
127(i.e., render the card useless), so certain amount of caution is
128always recommended for this.
129
130Note! Some of the older versions of Host AP driver or prism2_srec had
131fatal bugs in flash upgrade. Only versions 0.1.0 or newer should be
132used when performing non-volatile flash upgrade!
133
134utils/prism2_srec (run 'make' in utils directory to build this) is a
135tool that can be instructed Host AP driver to download firmware image
136into the wlan card. Brief usage information is available by running
137this program without any command line parameters. Please note, that
138the downloading support is disabled in the default Host AP driver
139build. You will need to change this by defining
140PRISM2_DOWNLOAD_SUPPORT (and PRISM2_NON_VOLATILE_DOWNLOAD if you want
141to update flash); see driver/modules/hostap_config.h for more details.
142
143Jun Sun has written a mini-howto on flashing Intersil Prism
144Chipsets. This is available at http://linux.junsun.net/intersil-prism/.
145
146
147
1486. Why did I get two network interfaces (wlan0 and wifi0) even when I have
149 only one wireless card?
150
151Host AP driver supports multiple virtual interfaces per wireless
152card. wifi0 is the master radio interface and wlan0 is the first
153virtual interface for this radio. Other virtual interfaces are wlan0ap
154(for hostapd), and one interface per WDS link.
155
156In most cases, one should ignore wifi0 interface and just use wlan0
157interface. In other words, assign IP address to wlan0, not wifi0 and
158in general, just ignore the wifi0 interface.
159
160
161
1627. Why does my D-Link DWL-650 rev. P1 or D-Link DWL-520 rev. E1 (or any other
163 card with small flash) card fail?
164
165Some of the new Prism3-based cards use a smaller flash chip that does
166not include full firmware for the card. For example, D-Link DWL-650
167rev. P1 and D-Link DWL-520 rev. E1 are such cards. These cards require
168that the firmware is downloaded to the card during initialization. See
169utils/hostap_fw_load for example commands on doing this.
170
171
172
1738. Does Host AP driver support IEEE 802.11a and 802.11g? Does it support
174 chipsets other than Prism 2/2.5/3?
175
176Host AP driver supports only Intersil Prism chipsets, versions 2, 2.5,
177and 3. Those chipsets support IEEE 802.11b only; other chipsets are
178not supported. All utilities distributed with Host AP driver except
179wpa_supplicant work only with Host AP driver, so they are limited to
180the same hardware. wpa_supplicant works with other drivers, including
181those that support 802.11a and 802.11g.