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.000000000 +0200
+++ zd1211_2006-06-19.mod/zd_mac.c      2006-06-22 11:01:16.000000000 
+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.000000000 +0200
+++ zd1211_2006-06-19.mod/zd_usb.c      2006-06-22 10:44:28.000000000 
+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=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
Zd1211-devs mailing list - http://zd1211.ath.cx/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs

Reply via email to