Re: [zd1211-devs] [PATCH] vendor-based: 2.6.22 compatibility

2007-08-11 Thread Mayne
On Mon, 6 Aug 2007, Fernando Toledo wrote:

(sorry for replying late - my mail system had some ZD1211-related trouble 
;-)

 I bassed on these patch and now understand little more how to fix it.
 I create this new patch for back compatibility for kernels  2.6.22
 (still research for the iw_statics fix)

I'd think that
-   struct iw_statistics *iw_stats = macp-drv_stats.iw_stats;
+   struct iw_statistics *iw_stats = macp-device-stats;
without ifdefs will break compilation with older kernels.

Could you try building against 2.6.21 and some older kernel? Perhaps

-   struct iw_statistics *iw_stats = macp-drv_stats.iw_stats;
+#if LINUX_VERSION_CODE  KERNEL_VERSION(2,6,22)
+   struct iw_statistics *iw_stats = macp-drv_stats.iw_stats;
+#elseif
+   struct iw_statistics *iw_stats = macp-device-stats;
+#endif

already does the job.

Regards

-
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


Re: [zd1211-devs] zd1211rw timed out on ep4out

2007-08-11 Thread Mayne
On Sun, 5 Aug 2007, Ulrich Kunitz wrote:

 It could very well be that the support for VIA USB host
 controllers is pretty weak in the kernel. I have a VIA-based USB
 2.0 card in my oldest PC and it is consuming 10% of computation
 time on Linux box.

I heard similar things. However, since USB 2.0/EHCI is standardized, 
that's pretty odd.

Anyways, anyone apart from me running zd1211 on a USB 1.1 system? So far 
the two 1.1 systems I used both had problems with the stick (hiccups every 
some minutes). I got a NEC-based USB 2.0 PCI card now (1033:0035, 
Longshine 8033H, NEC 720100 chipset, EHCI/OHCI) that seems to work 
perfectly.

As a side note, the quest I pursued until recently was adding wifi to a 
AMD K6 machine using some VIA MVP3 board. That's no simple task as all 
wifi PCI cards need PCI 2.2 or later but this chipset doesn't support that 
(will become very unstable with PCI 2.2 cards). Same for USB 2.0 cards - 
all seem to need PCI 2.2. So onboard USB 1.1 was the only option (apart 
from using a standalone router altogether ;-). Well, I got a slightly more 
recent machine now that at least supports PCI 2.2... ;-)

Regards

-
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


Re: [zd1211-devs] New device ID for zd1211rw driver

2007-08-11 Thread Nathan Meyers
Daniel Drake wrote:
 Nathan Meyers wrote:
 Daniel Drake wrote:
 Thanks for the report. It's very interesting: MIMO is the technology 
 used to drive 802.11n (multiple simultaneous data throughput 
 channels) but the ZD1211 hardware does not support this (it only has 
 a single radio). The ZyXEL website doesn't really explain how they 
 are using MIMO in this device. Just curious, do you have any ideas?

 The extent of my knowledge about this product is that it ran me about 
 $12 last week from TigerDirect :-).

 It claims to have three antennas inside its little box - pointing up, 
 left, and right - with LEDs indicating which one is in use.
 
 Someone should tell ZyXEL that's called antenna diversity, not MIMO :)
 
 I wonder if they do diversity/antenna switching externally from the 
 ZD1211 hardware. If they use ZD1211 functionality for diversity, it may 
 explain why the current antenna never changes: our driver doesn't 
 support the ZD1211 diversity features (and neither does the vendor Linux 
 driver really). One interesting test would be doing the same experiment 
 under windows and seeing if the lights change.

Finally tried this under Windows - the switching is indeed performed 
from the driver.

Nathan

-
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