I know that the community drive is not maintained ,
but i need to use a master mode in some place.
I checked out the svn version and play with it to get compile under

[EMAIL PROTECTED]:/usr/src/modules/zd1211# make
-I/usr/src/modules/zd1211/src/include -fomit-frame-pointer -O2 -Wall 
-Wstrict-prototypes -pipe -DZDCONF_WE_STAT_SUPPORT=1 -DHOST_IF_USB -DAMAC 
src/zd1205.o src/zdasocsvc.o src/zdauthreq.o src/zdauthrsp.o src/zdmmrx.o 
src/zdshared.o src/zdhci.o src/zdglobal.o src/zdencrypt.o src/zdpmfilter.o 
src/zdpsmon.o src/zdsynch.o src/zdbuf.o src/zd1205_proc.o src/zdhw.o 
src/zddebug.o src/zdtkipseed.o src/zdmic.o src/zdusb.o src/zd1211.o
make -C /lib/modules/ SUBDIRS=/usr/src/modules/zd1211 modules
make[1]: se ingresa al directorio `/usr/src/linux-'
  CC [M]  /usr/src/modules/zd1211/src/zd1205.o
/usr/src/modules/zd1211/src/zd1205.c: In function 'zd1205_rx_isr':
/usr/src/modules/zd1211/src/zd1205.c:4162: error: 'struct sk_buff' has no 
member named 'mac'
/usr/src/modules/zd1211/src/zd1205.c: In function 'zd1205wext_iw_get_stats':
/usr/src/modules/zd1211/src/zd1205.c:4783: error: 'struct driver_stats' has no 
member named 'iw_stats'
make[2]: *** [/usr/src/modules/zd1211/src/zd1205.o] Error 1
make[1]: *** [_module_/usr/src/modules/zd1211] Error 2
make[1]: se sale del directorio `/usr/src/linux-'
make: *** [all] Error 2
[EMAIL PROTECTED]:/usr/src/modules/zd1211# 

Then, i test changing these lines to get compile:

[EMAIL PROTECTED]:/usr/src/modules/zd1211# svn diff
Index: src/zd1205.c
--- src/zd1205.c        (revisiĆ³n: 85)
+++ src/zd1205.c        (copia de trabajo)
@@ -4159,7 +4159,7 @@
                         skb->tail = skb->data = pHdr;
                         /* ath_desc: fix monitor mode frame length */
                         skb_put(skb, data_sz - PLCP_HEADER - EXTRA_INFO_LEN - 
-                        skb->mac.raw = skb->data;
+                        //skb->mac.raw = skb->data;
                         skb->pkt_type = PACKET_OTHERHOST;
                         skb->protocol = __constant_htons(ETH_P_802_2);
                         skb->dev = dev;
@@ -4780,7 +4780,7 @@
 struct iw_statistics *zd1205wext_iw_get_stats(struct net_device *dev)
        struct zd1205_private *macp = dev->priv;
-       struct iw_statistics *iw_stats = &macp->drv_stats.iw_stats;
+       struct iw_statistics *iw_stats = &macp->device->stats;
        iw_stats->qual.noise = 0;
        iw_stats->qual.qual = macp->rxSignalQuality;

          struct iw_statistics *iw_stats = &macp->drv_stats.iw_stats;  

Now, the driver compile and work here(almost for me), but i know that that is 
not the solution. I dont know if this code will break other functionality.
Anybody can tell me if is it correct?
I wan to make a correct patch to send to the trunk version.
i read that Mayne leave the project, who have the write access to the svn at 
source forge?
Thanks for all! 

Dock Sud BBS

Attachment: pgpzFxnJIhsc6.pgp
Description: PGP signature

This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
Zd1211-devs mailing list - http://zd1211.wiki.sourceforge.net/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs

Reply via email to