problem about prism2dl and pda

jiabao bao <[email protected]>
Newsgroups gmane.linux.linux-wlan.devel,gmane.linux.linux-wlan.user
Message-ID <[email protected]>
Hi, All,
I want to use my Linksys WPC11 PCMCIA card to set an AP to serve for other 
terminals. I am studying how to set wlan-ng driver as AP mode. Now I am 
using linux-wlan-ng-0.2.1pre26 and Red Hat FC4( 2.6.11 kernel ). I have 
successfully driven the card up and made it work under Ad-Hoc mode. 
I searched online and found there are something need to notice if I want to 
set AP mode. One is prism2dl. I really want to make clear if "prism2dl" is 
just only a command? or an tool can be wrapped? Now the problem is: when I 
insert the card, the messages in /var/log will be:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Aug 31 09:42:59 localhost kernel: cs: memory probe 0xa0000000-0xa0ffffff: 
clean.
Aug 31 09:42:59 localhost cardmgr[1709]: socket 0: I-Gate 11M PC Card
Aug 31 09:42:59 localhost kernel: prism2_cs: index 0x01: Vcc 5.0, irq 3, io 
0x0100-0x013f
Aug 31 09:42:59 localhost wlan.agent[2989]: WLAN Hotplug bypassed for pcmcia
Aug 31 09:43:00 localhost cardmgr[1709]: executing: './wlan-ng start wlan0 
2>&1'
Aug 31 09:43:00 localhost cardmgr[1709]: + message=lnxreq_ifstate
Aug 31 09:43:00 localhost cardmgr[1709]: + ifstate=fwload
Aug 31 09:43:00 localhost cardmgr[1709]: + resultcode=success
Aug 31 09:43:00 localhost kernel: PDA Read from 0x00390000 in NV space.
Aug 31 09:43:00 localhost kernel: PDA Read from 0x00390000 in NV space.
Aug 31 09:43:00 localhost cardmgr[1709]: + prism2dl: warning: Failed to find 
PDR for plugrec 0x0204.
Aug 31 09:43:00 localhost cardmgr[1709]: + prism2dl: warning: Failed to find 
PDR for plugrec 0x0405.
Aug 31 09:43:00 localhost cardmgr[1709]: + prism2dl: warning: Failed to find 
PDR for plugrec 0x0406.
Aug 31 09:43:00 localhost cardmgr[1709]: + prism2dl: warning: Failed to find 
PDR for plugrec 0x0302.
Aug 31 09:43:00 localhost cardmgr[1709]: + prism2dl: warning: Failed to find 
PDR for plugrec 0x0303.
Aug 31 09:43:00 localhost kernel: Writing 4096 bytes to ram @0x1f17fe
Aug 31 09:43:00 localhost kernel: Writing 4096 bytes to ram @0x1f27fe
Aug 31 09:43:00 localhost kernel: Writing 4096 bytes to ram @0x1f37fe
Aug 31 09:43:00 localhost kernel: Writing 4096 bytes to ram @0x1f47fe
Aug 31 09:43:00 localhost kernel: Writing 4096 bytes to ram @0x1f57fe
Aug 31 09:43:00 localhost kernel: Writing 4096 bytes to ram @0x1f67fe
Aug 31 09:43:00 localhost kernel: Writing 4096 bytes to ram @0x1f77fe
Aug 31 09:43:00 localhost kernel: Writing 4096 bytes to ram @0x1f87fe
Aug 31 09:43:00 localhost cardmgr[1709]: + Reading S-record file 
/etc/wlan//prism2_r1.hex...
Aug 31 09:43:00 localhost kernel: Writing 4096 bytes to ram @0x1f97fe
Aug 31 09:43:00 localhost cardmgr[1709]: + NIC ID: 0x8002 v1.0.0
Aug 31 09:43:00 localhost kernel: Writing 4096 bytes to ram @0x1fa7fe
Aug 31 09:43:00 localhost cardmgr[1709]: + MFI ID: 0x1 v1 1->1
Aug 31 09:43:00 localhost kernel: Writing 4096 bytes to ram @0x1fb7fe
Aug 31 09:43:00 localhost cardmgr[1709]: + CFI ID: 0x2 v1 1->1
Aug 31 09:43:00 localhost kernel: Writing 4096 bytes to ram @0x1fc7fe
Aug 31 09:43:00 localhost cardmgr[1709]: + PRI ID: 0x3 v1 1->2
Aug 31 09:43:00 localhost kernel: Writing 2940 bytes to ram @0x1fd7fe
Aug 31 09:43:00 localhost cardmgr[1709]: + Version: ID 0x1f 1.7.1
Aug 31 09:43:00 localhost kernel: Writing 3046 bytes to ram @0x1ff000
Aug 31 09:43:00 localhost cardmgr[1709]: + Compat: Role 0 Id 0x4 v1 1->12
Aug 31 09:43:00 localhost kernel: ident: nic h/w: id=0x8002 1.0.0
Aug 31 09:43:00 localhost cardmgr[1709]: + Compat: Role 0x1 Id 0x1 v1 1->1
Aug 31 09:43:00 localhost kernel: ident: pri f/w: id=0x15 0.3.0
Aug 31 09:43:00 localhost cardmgr[1709]: + Compat: Role 0x1 Id 0x2 v1 1->1
Aug 31 09:43:00 localhost kernel: ident: sta f/w: id=0x1f 1.7.1
Aug 31 09:43:00 localhost cardmgr[1709]: + Compat: Role 0x1 Id 0x3 v1 1->2
Aug 31 09:43:00 localhost kernel: MFI:SUP:role=0x00:id=0x01:var=0x01:b/t=1/1
Aug 31 09:43:00 localhost cardmgr[1709]: + Seq: 0
Aug 31 09:43:00 localhost kernel: CFI:SUP:role=0x00:id=0x02:var=0x01:b/t=1/1
Aug 31 09:43:00 localhost cardmgr[1709]: + Platform: ID 0x8002 1.0.0
Aug 31 09:43:00 localhost kernel: PRI:SUP:role=0x00:id=0x03:var=0x01:b/t=1/2
Aug 31 09:43:00 localhost cardmgr[1709]: + Platform: ID 0x8002 1.0.1
Aug 31 09:43:01 localhost kernel: 
STA:SUP:role=0x00:id=0x04:var=0x01:b/t=1/12
Aug 31 09:43:01 localhost cardmgr[1709]: + Platform: ID 0x8003 1.0.0
Aug 31 09:43:01 localhost kernel: 
PRI-CFI:ACT:role=0x01:id=0x02:var=0x01:b/t=1/1
Aug 31 09:43:01 localhost cardmgr[1709]: + Platform: ID 0x8003 1.0.1
Aug 31 09:43:01 localhost kernel: 
STA-CFI:ACT:role=0x01:id=0x02:var=0x01:b/t=1/1
Aug 31 09:43:01 localhost cardmgr[1709]: + Platform: ID 0x8004 1.0.0
Aug 31 09:43:01 localhost kernel: 
STA-MFI:ACT:role=0x01:id=0x01:var=0x01:b/t=1/1
Aug 31 09:43:01 localhost cardmgr[1709]: + Platform: ID 0x8008 1.0.0
Aug 31 09:43:01 localhost kernel: Prism2 card SN: 99SA01000000
Aug 31 09:43:01 localhost cardmgr[1709]: + prism2dl: finished.
Aug 31 09:43:01 localhost kernel: linkstatus=CONNECTED
Aug 31 09:43:01 localhost cardmgr[1709]: + Failed to open network config 
file /etc/wlan/wlancfg-linksys, using default.
Aug 31 09:43:01 localhost cardmgr[1709]: + IBSS mode started.
Aug 31 09:43:01 localhost cardmgr[1709]: + ./wireless.opts: line 69: syntax 
error near unexpected token `)'
Aug 31 09:43:01 localhost cardmgr[1709]: + ./wireless.opts: line 69: 
`*,*,*,00:60:1D:*|*,*,*,00:02:2D:*)'
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Then, I entered prism2dl command:

[root@BobLinuxStation ~]# prism2dl -s wlan0
load_cardpda failed, exiting.
[root@BobLinuxStation ~]# prism2dl -V
prism2dl utility version 0.2.1-pre26
[root@BobLinuxStation ~]#

Now, there are some new words in messages:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Aug 31 09:58:12 localhost kernel: prism2mgmt_readpda: PDA may only be read 
in the fwload state.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

I do not know the exact means of this message. Does it have any relationship 
with Ad-Hoc mode now?

Can anybody tell me what is the PDA at all? and how I can make prism2dl work 
up? 
I am really wondering if my way is correct to set an AP.

Thanks for any hint. Thank you!
-- 
Bob

_______________________________________________
Linux-wlan-devel mailing list
[email protected]
http://lists.linux-wlan.com/mailman/listinfo/linux-wlan-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.