Konstantin Kletschke
2006-06-13 07:50:51 UTC
Hi Folks!
We are using the prism2-usb and p80211 modules in our application on an
embedded ARM9 platform for a while now.
The application went into production use with linux 2.6.10. In recent
Kernels, namely 2.6.14 or 2.6.15 i have the fear doubt that the
prism2-usb takes 2 seconds longer to init the WLAN stick (its a
dwl-122g). I am asking here if there is a possibility to get rid of this
second, bootuptime and wlan connect is very critical in our application.
To measure timing of the stuff I take the output of serial console and
pipe it through an expect script which puts timestamps to the kernel
messages. This is our known to be fast old setup:
1.944
4.147 prism2usb_init: prism2_usb.o: 0.2.1-pre23 Loaded
4.150 prism2usb_init: dev_info is: prism2_usb
4.155 usbcore: registered new driver prism2_usb
4.487 ident: nic h/w: id=0x8026 1.0.0
4.501 ident: pri f/w: id=0x15 1.1.3
4.509 ident: sta f/w: id=0x1f 1.7.1
4.522 MFI:SUP:role=0x00:id=0x01:var=0x01:b/t=1/1
4.532 CFI:SUP:role=0x00:id=0x02:var=0x02:b/t=1/1
4.543 PRI:SUP:role=0x00:id=0x03:var=0x01:b/t=1/4
4.552 STA:SUP:role=0x00:id=0x04:var=0x01:b/t=1/12
4.562 PRI-CFI:ACT:role=0x01:id=0x02:var=0x02:b/t=1/1
4.571 STA-CFI:ACT:role=0x01:id=0x02:var=0x02:b/t=1/1
4.582 STA-MFI:ACT:role=0x01:id=0x01:var=0x01:b/t=1/1
4.590 Prism2 card SN: 000000000000
~2.2 seconds with linux-wlan-ng-0.2.3.
Now take a look at linux-2.6.16 with linux-wlan-ng-0.2.4+svn20060414:
2.491
5.612 ident: nic h/w: id=0x8026 1.0.0
5.623 ident: pri f/w: id=0x15 1.1.3
5.632 ident: sta f/w: id=0x1f 1.7.1
5.642 MFI:SUP:role=0x00:id=0x01:var=0x01:b/t=1/1
5.652 CFI:SUP:role=0x00:id=0x02:var=0x02:b/t=1/1
5.662 PRI:SUP:role=0x00:id=0x03:var=0x01:b/t=1/4
5.672 STA:SUP:role=0x00:id=0x04:var=0x01:b/t=1/12
5.682 PRI-CFI:ACT:role=0x01:id=0x02:var=0x02:b/t=1/1
5.692 STA-CFI:ACT:role=0x01:id=0x02:var=0x02:b/t=1/1
5.702 STA-MFI:ACT:role=0x01:id=0x01:var=0x01:b/t=1/1
5.711 Prism2 card SN: 000000000000
over all you see getting the ident stuff lasts 1.2s longer than the
old version.
Additionally I have the Problem init failing sometimes until a timeout
reinits again (I suppose, I am only beginning to investigate the
linux-wlan-ng code yet).
Actually it does not happen every time but more often on 2.6.16 than
2.6.14. I am not able to reproduce it this day (wtf?). It is
hfa384x_usbin_ctlx complaining about CTLX stuff.
Kind Regards, Konsti
We are using the prism2-usb and p80211 modules in our application on an
embedded ARM9 platform for a while now.
The application went into production use with linux 2.6.10. In recent
Kernels, namely 2.6.14 or 2.6.15 i have the fear doubt that the
prism2-usb takes 2 seconds longer to init the WLAN stick (its a
dwl-122g). I am asking here if there is a possibility to get rid of this
second, bootuptime and wlan connect is very critical in our application.
To measure timing of the stuff I take the output of serial console and
pipe it through an expect script which puts timestamps to the kernel
messages. This is our known to be fast old setup:
1.944
4.147 prism2usb_init: prism2_usb.o: 0.2.1-pre23 Loaded
4.150 prism2usb_init: dev_info is: prism2_usb
4.155 usbcore: registered new driver prism2_usb
4.487 ident: nic h/w: id=0x8026 1.0.0
4.501 ident: pri f/w: id=0x15 1.1.3
4.509 ident: sta f/w: id=0x1f 1.7.1
4.522 MFI:SUP:role=0x00:id=0x01:var=0x01:b/t=1/1
4.532 CFI:SUP:role=0x00:id=0x02:var=0x02:b/t=1/1
4.543 PRI:SUP:role=0x00:id=0x03:var=0x01:b/t=1/4
4.552 STA:SUP:role=0x00:id=0x04:var=0x01:b/t=1/12
4.562 PRI-CFI:ACT:role=0x01:id=0x02:var=0x02:b/t=1/1
4.571 STA-CFI:ACT:role=0x01:id=0x02:var=0x02:b/t=1/1
4.582 STA-MFI:ACT:role=0x01:id=0x01:var=0x01:b/t=1/1
4.590 Prism2 card SN: 000000000000
~2.2 seconds with linux-wlan-ng-0.2.3.
Now take a look at linux-2.6.16 with linux-wlan-ng-0.2.4+svn20060414:
2.491
5.612 ident: nic h/w: id=0x8026 1.0.0
5.623 ident: pri f/w: id=0x15 1.1.3
5.632 ident: sta f/w: id=0x1f 1.7.1
5.642 MFI:SUP:role=0x00:id=0x01:var=0x01:b/t=1/1
5.652 CFI:SUP:role=0x00:id=0x02:var=0x02:b/t=1/1
5.662 PRI:SUP:role=0x00:id=0x03:var=0x01:b/t=1/4
5.672 STA:SUP:role=0x00:id=0x04:var=0x01:b/t=1/12
5.682 PRI-CFI:ACT:role=0x01:id=0x02:var=0x02:b/t=1/1
5.692 STA-CFI:ACT:role=0x01:id=0x02:var=0x02:b/t=1/1
5.702 STA-MFI:ACT:role=0x01:id=0x01:var=0x01:b/t=1/1
5.711 Prism2 card SN: 000000000000
over all you see getting the ident stuff lasts 1.2s longer than the
old version.
Additionally I have the Problem init failing sometimes until a timeout
reinits again (I suppose, I am only beginning to investigate the
linux-wlan-ng code yet).
Actually it does not happen every time but more often on 2.6.16 than
2.6.14. I am not able to reproduce it this day (wtf?). It is
hfa384x_usbin_ctlx complaining about CTLX stuff.
Kind Regards, Konsti
--
GPG KeyID EF62FCEF
Fingerprint: 13C9 B16B 9844 EC15 CC2E A080 1E69 3FDA EF62 FCEF
GPG KeyID EF62FCEF
Fingerprint: 13C9 B16B 9844 EC15 CC2E A080 1E69 3FDA EF62 FCEF