HostAP Drivers with non-Prism2

Ian Cass ian.cass
Mon Dec 2 08:50:49 PST 2002


Hi,

I'm aware that only Prism2 supports host ap mode, however the documentation
says the following....

In addition to Intersil's Prism2/2.5 chipsets, this driver may partly
support other chipsets. As far as I know, other chipsets do not have
Host AP mode, so this is not supported, but managed mode (i.e., being
a station in a BSS) seems to work with Prism1 (e.g., Intel, 3Com, and
Symbol cards) and Lucent WaveLAN.

I have a Prism 1 card (Zoomair 4000) and for reasons of sanity I'd rather
like to use the same drivers as my Prism2 card. I know the old card won't
work in Host AP mode, but if I could get it to work in Ad-Hoc mode, that'd
be cool. How can I get the host_ap drivers to even 'partly' support the old
Prism1 card?

Relevant part of /var/log/syslog below.

--
Ian Cass

Dec  2 16:37:37 defender cardmgr[194]: watching 2 sockets
Dec  2 16:37:37 defender cardmgr[194]: Card Services release does not match
Dec  2 16:37:37 defender kernel: cs: IO port probe 0x0c00-0x0cff: clean.
Dec  2 16:37:37 defender kernel: cs: IO port probe 0x0800-0x08ff: clean.
Dec  2 16:37:37 defender kernel: cs: IO port probe 0x0100-0x04ff: excluding
0x220-0x22f 0x330-0x337 0x378-0
x37f 0x388-0x38f 0x4d0-0x4d7
Dec  2 16:37:37 defender kernel: cs: IO port probe 0x0a00-0x0aff: clean.
Dec  2 16:37:37 defender kernel: cs: memory probe 0x0d0000-0x0dffff: clean.
Dec  2 16:37:37 defender cardmgr[194]: socket 0: ZoomAir 4000 2Mb/s WLAN
Card
Dec  2 16:37:37 defender cardmgr[194]: executing: 'modprobe hostap_cs'
Dec  2 16:37:38 defender kernel: hostap_crypt: registered algorithm 'NULL'
Dec  2 16:37:38 defender kernel: hostap_cs: hostap_cs.c 0.0.0 CVS (SSH
Communications Security Corp, Jouni
Malinen)
Dec  2 16:37:38 defender kernel: hostap_cs: (c) Jouni Malinen
<jkmaline at cc.hut.fi>
Dec  2 16:37:39 defender kernel: hostap_cs: setting Vcc=33 (constant)
Dec  2 16:37:39 defender kernel: hostap_cs: CS_EVENT_CARD_INSERTION
Dec  2 16:37:39 defender kernel: prism2_config()
Dec  2 16:37:39 defender kernel: hostap_cs: setting Vcc=50 (from config)
Dec  2 16:37:39 defender kernel: Checking CFTABLE_ENTRY 0x01 (default 0x01)
Dec  2 16:37:39 defender kernel: IO window settings: cfg->io.nwin=1
dflt.io.nwin=1
Dec  2 16:37:39 defender kernel: io->flags = 0x0024, io.base=0x0000, len=16
Dec  2 16:37:39 defender kernel: hostap_cs: index 0x01: Vcc 5.0, irq 3, io
0x0100-0x010f
Dec  2 16:37:39 defender cardmgr[194]: executing: './network start wlan0'
Dec  2 16:37:39 defender kernel: hostap_cs: Registered netdevice wlan0
Dec  2 16:37:39 defender kernel: prism2_hw_init()
Dec  2 16:37:39 defender kernel: wlan0: hfa384x_cmd - timeout - reg=0x8000
Dec  2 16:37:39 defender kernel: hostap_cs: first command failed - is the
card compatible?
Dec  2 16:37:39 defender kernel: hostap_cs: Initialization failed
Dec  2 16:37:39 defender cardmgr[194]: + usage: /sbin/cardctl command
[socket #]
Dec  2 16:37:39 defender cardmgr[194]: +     or /sbin/cardctl [-c
configpath] [-f scheme] [-s stab] scheme
[name]
Dec  2 16:37:39 defender cardmgr[194]: +     commands: status config ident
suspend resume reset eject inser
t
Dec  2 16:37:39 defender ntpd[214]: ntpd 4.1.0 Mon Mar 25 23:39:47 UTC 2002
(2)
Dec  2 16:37:40 defender kernel: prism2: wlan0: operating mode changed 3 ->
1
Dec  2 16:37:40 defender kernel: wlan0: hfa384x_setup_bap - timeout before
Dec  2 16:37:40 defender kernel: wlan0: hfa384x_set_rid (rid=fc00, len=2) -
failed - res=-110
Dec  2 16:37:40 defender cardmgr[194]: + /sbin/iwconfig wlan0 mode Ad-Hoc
Dec  2 16:37:40 defender cardmgr[194]: + Error for wireless request "Set
Mode" (8B06) :
Dec  2 16:37:40 defender cardmgr[194]: +     SET failed on device wlan0 ;
Operation not supported.
Dec  2 16:37:40 defender kernel: wlan0: hfa384x_setup_bap - timeout before
Dec  2 16:37:40 defender kernel: wlan0: hfa384x_set_rid (rid=fc0e, len=34) -
failed - res=-110
Dec  2 16:37:40 defender ntpd[214]: signal_no_reset: signal 13 had flags
4000000
Dec  2 16:37:40 defender ntpd[214]: precision = 17 usec
Dec  2 16:37:40 defender ntpd[214]: kernel time discipline status 0040
Dec  2 16:37:40 defender ntpd[214]: getconfig: Couldn't open </etc/ntp.conf>
Dec  2 16:37:40 defender cardmgr[194]: + /sbin/iwconfig wlan0 channel 1
Dec  2 16:37:40 defender cardmgr[194]: + Error for wireless request "Set
Frequency" (8B04) :
Dec  2 16:37:40 defender cardmgr[194]: +     SET failed on device wlan0 ;
Invalid argument.
Dec  2 16:37:40 defender kernel: wlan0: hfa384x_setup_bap - timeout before
Dec  2 16:37:40 defender kernel: wlan0: hfa384x_set_rid (rid=fc84, len=2) -
failed - res=-110
Dec  2 16:37:40 defender kernel: wlan0: TXRateControl setting to 0xf failed
Dec  2 16:37:40 defender /usr/sbin/cron[230]: (CRON) INFO (pidfile fd = 3)
Dec  2 16:37:41 defender /usr/sbin/cron[236]: (CRON) STARTUP (fork ok)
Dec  2 16:37:41 defender kernel: hostap_crypt: registered algorithm 'WEP'
Dec  2 16:37:41 defender /usr/sbin/cron[236]: (CRON) INFO (Running @reboot
jobs)
Dec  2 16:37:41 defender kernel: wlan0: hfa384x_cmd_issue: cmd reg was busy
for 1000 usec
Dec  2 16:37:41 defender kernel: wlan0: hfa384x_cmd_issue - timeout -
reg=0x8000
Dec  2 16:37:41 defender kernel: wlan0: hfa384x_cmd: entry still in list?
(entry=c25121e0, type=0, res=-1)
Dec  2 16:37:41 defender kernel: wlan0: hfa384x_cmd: interrupted; err=-110
Dec  2 16:37:41 defender kernel: wlan0: hfa384x_get_rid: CMDCODE_ACCESS
failed (res=-110, rid=fc28, len=2)
Dec  2 16:37:41 defender kernel: Could not read current WEP flags.
Dec  2 16:37:41 defender kernel: wlan0: encryption setup failed
Dec  2 16:37:41 defender kernel: set_encryption or reset_port failed
Dec  2 16:37:41 defender cardmgr[194]: + /sbin/iwconfig wlan0 key
s:defender-plexus1
Dec  2 16:37:41 defender cardmgr[194]: + Error for wireless request "Set
Encode" (8B2A) :
Dec  2 16:37:41 defender cardmgr[194]: +     SET failed on device wlan0 ;
Invalid argument.
Dec  2 16:37:41 defender cardmgr[194]: + /sbin/iwconfig wlan0 essid
"defender-plexus.backbone.kentwireless.
net"
Dec  2 16:37:41 defender cardmgr[194]: + Error for wireless request "Set
ESSID" (8B1A) :
Dec  2 16:37:41 defender cardmgr[194]: +     argument too big (max 32)
Dec  2 16:37:42 defender kernel: wlan0: prism2_open
Dec  2 16:37:42 defender kernel: wlan0: hfa384x_cmd_issue: cmd reg was busy
for 1000 usec
Dec  2 16:37:42 defender kernel: wlan0: hfa384x_cmd_issue - timeout -
reg=0x8000
Dec  2 16:37:42 defender kernel: wlan0: hfa384x_cmd: entry still in list?
(entry=c25121e0, type=0, res=-1)
Dec  2 16:37:42 defender kernel: wlan0: hfa384x_cmd: interrupted; err=-110
Dec  2 16:37:42 defender kernel: wlan0: MAC port 0 enabling failed
Dec  2 16:37:42 defender kernel: wlan0: could not enable MAC port
Dec  2 16:37:42 defender kernel: wlan0: prism2_close
Dec  2 16:37:42 defender cardmgr[194]: + /sbin/ifconfig wlan0 up
192.168.2.254 netmask 255.255.255.0 broadc
ast 192.168.2.255
Dec  2 16:37:42 defender cardmgr[194]: + SIOCSIFFLAGS: No such device
Dec  2 16:37:42 defender cardmgr[194]: + /sbin/route add -net 192.168.2.0
netmask 255.255.255.0 dev wlan0
Dec  2 16:37:42 defender cardmgr[194]: + SIOCADDRT: Network is down






More information about the Hostap mailing list