More info on Invalid CIS info

Joseph njmurphy1
Sun Apr 11 17:29:31 PDT 2004


Hi All
	To full in some background.  The card is an EnGenius NL-2511cd plus ext2.  It 
is a prism 2.5 card.  It is not recognized by the hostap_plx driver.  I get 
INVALID CIS when loading.  I tried setting the driver to not check for CIS 
and I still could not get it to load.  I set the driver to not check for CIS 
by changing line 41 of hostap_plx.c to 1 instead of 0, thus:
static int ignore_cis = 1;

Here is some info I get from dmesg and /var/log/messages:


########### with cis checking ##############################
##########  from DMESG  ###################################
hostap_crypt: registered algorithm 'NULL'
hostap_crypt: registered algorithm 'WEP'
hostap_plx: 0.1.3 - 2004-02-08 (Jouni Malinen <jkmaline at cc.hut.fi>)
PCI: Assigned IRQ 11 for device 0000:00:0b.0
PLX9052 PCI/PCMCIA adapter: mem=0xd5800000, plx_io=0xe800, irq=11, 
pccard_io=0xec00
hostap_plx: CIS: f3 84 84 80 80 84 ...
hostap_plx: invalid CIS data
Unknown PC Card CIS - not a Prism2/2.5 card?

##################### from /var/log/messages
hostap_plx: 0.1.3 - 2004-02-08 (Jouni Malinen <jkmaline at cc.hut.fi>)
Apr 11 12:16:22 ap kernel: PCI: Assigned IRQ 11 for device 0000:00:0b.0
Apr 11 12:16:22 ap kernel: PLX9052 PCI/PCMCIA adapter: mem=0xd5800000, 
plx_io=0xe800, irq=11, pccard_io=0xec00
Apr 11 12:16:22 ap kernel: Unknown PC Card CIS - not a Prism2/2.5 card?

#####################################################################

########### With no cis checking  ########################
########## FROM DMESG #####################
hostap_crypt: registered algorithm 'NULL'
hostap_crypt: registered algorithm 'WEP'
hostap_plx: 0.1.3 - 2004-02-08 (Jouni Malinen <jkmaline at cc.hut.fi>)
PCI: Assigned IRQ 11 for device 0000:00:0b.0
PLX9052 PCI/PCMCIA adapter: mem=0xd5800000, plx_io=0xe800, irq=11, 
pccard_io=0xec00
hostap_plx: CIS: f3 84 84 80 80 84 ...
hostap_plx: invalid CIS data
hostap_plx: ignore_cis parameter set - ignoring errors during CIS verification
Prism2/2.5 PC Card detected in PLX9052 adapter
PLX_INTCSR=0x1063
PLX_CNTRL=0x180066d2 (Serial EEPROM present=1)
hostap_plx: Registered netdevice wlan0
prism2_hw_init: initialized in 0 ms
prism2_enable_aux_port(1) timed out
wlan0: trying to read PDA from 0x007f0000: failed
wlan0: trying to read PDA from 0x003f0000: failed
wlan0: trying to read PDA from 0x00390000: failed
prism2_enable_aux_port: was not enabled!?
SWSUPPORT0 write/read failed: 00A6 != 8A32
hostap_plx: Initialization failed
hostap_plx: hardware initialization failed

################## FROM VAR/LOG/MESSAGES #####################
Apr 11 09:36:59 ap kernel: PLX9052 PCI/PCMCIA adapter: mem=0xd5800000, 
plx_io=0xe800, irq=11, pccard_io=0xec00
Apr 11 09:36:59 ap kernel: hostap_plx: ignore_cis parameter set - ignoring 
errors during CIS verification
Apr 11 09:36:59 ap kernel: hostap_plx: Registered netdevice wlan0

################################################################

In hostap_plx.c on lines 85-105 we find this:
/* Array of known Prism2/2.5 PC Card manufactured ids. If your card's manfid
 * is not listed here, you will need to add it here to get the driver
 * initialized. */
static struct prism2_plx_manfid {
	u16 manfid1, manfid2;
} prism2_plx_known_manfids[] = {
	{ 0x000b, 0x7300 } /* Philips 802.11b WLAN PCMCIA */,
	{ 0x0101, 0x0777 } /* 3Com AirConnect PCI 777A */,
	{ 0x0126, 0x8000 } /* Proxim RangeLAN */,
	{ 0x0138, 0x0002 } /* Compaq WL100 */,
	{ 0x0156, 0x0002 } /* Intersil Prism II Ref. Design (and others) */,
	{ 0x026f, 0x030b } /* Buffalo WLI-CF-S11G */,
	{ 0x0274, 0x1612 } /* Linksys WPC11 Ver 2.5 */,
	{ 0x0274, 0x1613 } /* Linksys WPC11 Ver 3 */,
	{ 0x028a, 0x0002 } /* D-Link DRC-650 */,
	{ 0x0250, 0x0002 } /* Samsung SWL2000-N */,
	{ 0xc250, 0x0002 } /* EMTAC A2424i */,
	{ 0xd601, 0x0002 } /* Z-Com XI300 */,
	{ 0xd601, 0x0005 } /* Zcomax XI-325H 200mW */,
	{ 0, 0}
};


It seems clear to me that my card is NOT in the list.  So the big question is 
how do I get the manufactures ID from my card so I can add it to the list?  
Also how do I get the CIS info, or is this the same, for my card and add it 
to where ever it goes????

Joseph





More information about the Hostap mailing list