Re: [zd1211-devs] zd1211-rw : packet are send tree times

2006-06-22 Thread Matthieu CASTET
Hi,

  PS : the monitor mode return garbage. Is that normal ?

I think this is a bug in ethereal 0.99.0. The older versions work OK for 
me.

I check the intel driver and they seem to use radiotap only when 
CONFIG_IEEE80211_RADIOTAP is defined.
But it seems CONFIG_IEEE80211_RADIOTAP is never defined in the 2.6.17.

I wrote a small patch that make work monitor mode by removing radiotap.

I also add the 2 sagem ids.

the zd1211 (zd1211 chip 079b:004a v4330 high 00-60-b3 AL2230_RF pa0 g--) 
doens't seem to send duplicate frame.

I'll try to get some trace for the zd1211b.


Matthieu

diff -ur zd1211_2006-06-19/zd_mac.c zd1211_2006-06-19.mod/zd_mac.c
--- zd1211_2006-06-19/zd_mac.c  2006-06-11 14:37:31.0 +0200
+++ zd1211_2006-06-19.mod/zd_mac.c  2006-06-22 11:01:16.0 
+0200
@@ -412,7 +412,11 @@
mac-netdev-type = ARPHRD_ETHER;
break;
case IW_MODE_MONITOR:
+#ifdef CONFIG_IEEE80211_RADIOTAP
mac-netdev-type = ARPHRD_IEEE80211_RADIOTAP;
+#else
+   mac-netdev-type = ARPHRD_IEEE80211;
+#endif
break;
default:
dev_dbg_f(zd_mac_dev(mac), wrong mode %u\n, mode);
@@ -951,9 +955,11 @@
skb = dev_alloc_skb(sizeof(struct zd_rt_hdr) + length);
if (!skb)
return -ENOMEM;
+#ifdef CONFIG_IEEE80211_RADIOTAP
if (ieee-iw_mode == IW_MODE_MONITOR)
fill_rt_header(skb_put(skb, sizeof(struct zd_rt_hdr)), 
mac,
   stats, status);
+#endif
memcpy(skb_put(skb, length), buffer, length);
 
r = ieee80211_rx(ieee, skb, stats);
diff -ur zd1211_2006-06-19/zd_usb.c zd1211_2006-06-19.mod/zd_usb.c
--- zd1211_2006-06-19/zd_usb.c  2006-06-11 14:37:31.0 +0200
+++ zd1211_2006-06-19.mod/zd_usb.c  2006-06-22 10:44:28.0 
+0200
@@ -39,9 +39,11 @@
{ USB_DEVICE(0x6891, 0xa727), .driver_info = DEVICE_ZD1211 },
{ USB_DEVICE(0x0df6, 0x9071), .driver_info = DEVICE_ZD1211 },
{ USB_DEVICE(0x157e, 0x300b), .driver_info = DEVICE_ZD1211 },
+   { USB_DEVICE(0x079b, 0x004a), .driver_info = DEVICE_ZD1211 },
/* ZD1211B */
{ USB_DEVICE(0x0ace, 0x1215), .driver_info = DEVICE_ZD1211B },
{ USB_DEVICE(0x157e, 0x300d), .driver_info = DEVICE_ZD1211B },
+   { USB_DEVICE(0x079b, 0x0062), .driver_info = DEVICE_ZD1211B },
{}
 };
 

All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnkkid=107521bid=248729dat=121642
___
Zd1211-devs mailing list - http://zd1211.ath.cx/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs


Re: [zd1211-devs] zd1211-rw : packet are send tree times

2006-06-22 Thread Daniel Drake
Matthieu CASTET wrote:
 I check the intel driver and they seem to use radiotap only when 
 CONFIG_IEEE80211_RADIOTAP is defined.
 But it seems CONFIG_IEEE80211_RADIOTAP is never defined in the 2.6.17.

Indeed - it is only the out-of-tree version which enables radiotap by 
default. I didn't realise it was so easy to turn on in the in-kernel 
version though.

 I wrote a small patch that make work monitor mode by removing radiotap.

I think first we need to get to the root of the problem, because the old 
ethereal still works OK. It may just be an ethereal bug?

 I also add the 2 sagem ids.
 
 the zd1211 (zd1211 chip 079b:004a v4330 high 00-60-b3 AL2230_RF pa0 g--) 
 doens't seem to send duplicate frame.

Strange. Thanks, I'll apply the patch. By the way, we can rejoice 
because my ipw3945 doesn't appear to be as blind/deaf as my other 
devices, I appear to have reliable monitor mode through that :)

Daniel

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Zd1211-devs mailing list - http://zd1211.ath.cx/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs


[zd1211-devs] [zd1211rw] LED not configured?

2006-06-22 Thread Guennadi Liakhovetski
Hi

Is it known and just not implemented yet or is it just my dongle? With 
the old driver the LED on my dongle blinked cheerfully during transfers 
and just from time to time for fun:-) Now with rw it stays quiet:-(

(Fiberline WL410U:
zd1211 chip 0ace:1211 v4330 high 00-11-f6 RF2959_RF pa0)

Thanks
Guennadi
---
Guennadi Liakhovetski

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Zd1211-devs mailing list - http://zd1211.ath.cx/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs


Re: [zd1211-devs] [zd1211rw] LED not configured?

2006-06-22 Thread Daniel Drake
Guennadi Liakhovetski wrote:
 Is it known and just not implemented yet or is it just my dongle? With 
 the old driver the LED on my dongle blinked cheerfully during transfers 
 and just from time to time for fun:-) Now with rw it stays quiet:-(

That's correct. The vendor driver simply blinks the LED at fixed 
intervals, it doesn't actually indicate how much traffic is flying around.

To implement it, they have a routine which runs every few milliseconds, 
which blinks the LED amongst other things. This is the reason why people 
complain that the vendor driver results in a significant jump in CPU 
usage - the driver does too much in a routine which is called too often.

So, we need to be more careful when we implement these timer-based 
routines. Ulrich started working on the infrastructure behind it, but 
we're not ready yet.

Daniel


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Zd1211-devs mailing list - http://zd1211.ath.cx/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs


Re: [zd1211-devs] [zd1211rw] LED not configured?

2006-06-22 Thread Guennadi Liakhovetski
On Fri, 23 Jun 2006, Daniel Drake wrote:

 Guennadi Liakhovetski wrote:
  Is it known and just not implemented yet or is it just my dongle? With the
  old driver the LED on my dongle blinked cheerfully during transfers and
  just from time to time for fun:-) Now with rw it stays quiet:-(
 
 That's correct. The vendor driver simply blinks the LED at fixed intervals, it
 doesn't actually indicate how much traffic is flying around.

Emn, it doesn't look like just periodic blinking. You definitely see when 
data is being transferred, in contrast to when it is idle. No idea, maybe 
it has to do with firmware, or maybe you meant the same thing. Anyway, 
I could definitely see when it was downloading emails:-)

Thanks
Guennadi
---
Guennadi Liakhovetski

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Zd1211-devs mailing list - http://zd1211.ath.cx/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs