Re: [zd1211-devs] How to ADD QoS support.

2007-12-01 Thread Uli Kunitz

Pradeep,

we know that QoS is supported by the ZD1211B chip, the problem we  
don't know exactly how. Supporting it will require reverse- 
engineering. However I have put together a list of information, that  
might help you to learn about developing Linux drivers.


The best source to start understanding writing drivers for Linux is  
the book Linux device drivers from Corbet, Rubini and Hartmann.


A copy is available at the Internet:

http://lwn.net/Kernel/LDD3/

Also helpful might be Linux Kernel in a Nutshell from Hartmann:

http://www.kroah.com/lkn/

Information about Linux wireless drivers can be found at:

http://linuxwireless.org/

Kind regards,

Ulrich

Am 30.11.2007 um 07:43 schrieb Pradeep P. Gaikwad:

Please let me know how I can add QoS support to existing ZD1211rw.  
If possible kindly refer me some documents about writing WLAN driver.




Regards

Pradeep



-- 
---

SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/ 
8857-50307-18918-4___

Zd1211-devs mailing list - http://zd1211.wiki.sourceforge.net/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs


--
Uli Kunitz



-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4___
Zd1211-devs mailing list - http://zd1211.wiki.sourceforge.net/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs

Re: [zd1211-devs] zd1211rw 2.6.23-rc2 (git)

2007-08-12 Thread Uli Kunitz
Steven,

could you please provide the output of:

cat /proc/version

and could you send us the relevant output of /var/log/kern.log or dmesg.

Kind regards.

Ulrich

Am 12.08.2007 um 01:09 schrieb Steven:

 I've noticed this behavior in the zd1211rw driver for a few months now
 and haven't seen anyone else mention it.  I think it's odd.  The  
 system
 is Debian Sid with a git kernel, usually daily.

 When I first boot and plug in the wireless usb stick Debian properly
 identifies it and hotplugs it.  However, the usb stick will not  
 actually
 associate with any given AP until I use `iwconfig eth0 essid off` at
 which point it will pick the first AP with which it can negotiate a
 connection with.  Subsequent `iwconfig eth0 essid off` will toggle the
 essid (and related AP) between off/any and the target essid.

 This is where things become hazy.  If, instead of `iwconfig eth0 essid
 off` I used `iwconfig eth0 essid ap_essid` the `iwconfig` output  
 will
 change to reflect the desired essid (and related AP) but the wireless
 connection will still not be negotiated until `iwconfig eth0 essid  
 off`.
 Well, sometimes it will--about one in ten tries.

 This leads me to, most often, need to do the following:

 On one tty (or screen), `ifdown eth0  ifup eth0` and then, while
 dhclient is trying to find a connection, `iwconfig eth0 essid off` on
 another tty (or screen).

 This is using an AirLink 101, firmware version 4605, zd1211 chip
 0ace:1211 v4330 full 00-11-a3 AL2230_RF pa0


 -- 
 ---
 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

--
Uli Kunitz




-
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] firmware arm architecture question?

2007-06-04 Thread Uli Kunitz
Jeff,

you can use the same firmware on any host platform, because the  
hardware of the device doesn't change. Daniel and I have tested the  
driver on x86, x86-64 and PPC32. We had also positive reports about ARM.

Uli

Am 04.06.2007 um 02:48 schrieb Jeff Sadowski:

 Can I use the same firmware for arm architecture as for the x86?
 If not where do I find the firmware files for an arm or where do I
 find the source code for the firmware?

 -- 
 ---
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Zd1211-devs mailing list - http://zd1211.wiki.sourceforge.net/
 Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs

--
Uli Kunitz




-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Zd1211-devs mailing list - http://zd1211.wiki.sourceforge.net/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs


Re: [zd1211-devs] Help needed : F5D7050 USB key on Debian Etch is not working

2007-05-15 Thread Uli Kunitz
All,

please check the sources of your kernel for a file drivers/net/ 
wireless/zd1211rw/zd_usb.c. There you find the list of supported USB  
ids. Adding a new one should be easy.

Do you see any messages in dmesg or /var/log/kern.log?

If the firmware has been successfully loaded you will see the device  
with iwconfig.

Kind regards,

Ulrich


Am 15.05.2007 um 10:30 schrieb Lucio Crusca:

 AlainM wrote:
 Do you think taht my device : Belkin F5D7050 v400 (zd1211b) , is  
 supported
 by 2.6.21 kernel zd1211rw module and not supported in 2.6.18 ??
 I think that 2.6.21 has some bugfixes that were not present in  
 2.6.18 (at
 least one is about initialization of zd1211b devices), regardless  
 of the fact
 that that particular USB ID were listed in the driver code or not.

 -- 
 Virtual Bit di Lucio Crusca
 via Isonzo, 5
 10069 - Villar Perosa (TO)
 http://virtualbit.sulweb.org

 -- 
 ---
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Zd1211-devs mailing list - http://zd1211.ath.cx/
 Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs

--
Uli Kunitz




-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Zd1211-devs mailing list - http://zd1211.ath.cx/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs


Re: [zd1211-devs] AR5007UG WLAN USB card, not working by now?!

2007-05-15 Thread Uli Kunitz
Björn,

could you provide us with the output of cat /proc/version, we need  
the kernel version.

It appears that the kernel version is to old. The RF is supported in  
newer kernels.

Kind regards,

Ulrich
Am 15.05.2007 um 10:55 schrieb Björn Tappert:

 Hi!

 I am using a laptop with an build in AR5007UG wireless lan card:

 lsusb says:
 Bus 1 Device 2: ID 0ace:1215 ZyDAS

 I used zd1211b first:
 I got my device to be found (iwconfig), but it didn't work  
 correctly (bit rate
 was at 1, I could not find wlans...). I finally gave it up.

 I tried the zd1211rw than:
 with modprobe zd1211rw I got (dmesg):
 ...
 zd1211rw 1-1:1.0: RF UW2453_RF 0x9 is not supported
 ...

 And on your page (http://zd1211.ath.cx/wiki/RfTypes) I saw that  
 your are
 working on that chip.


 So is there a change to get it run by now? When not how long do you  
 think it
 will take? Did anybody get it working with special settings or so?


 Thanks in advise!
 Björn


 -- 
 ---
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Zd1211-devs mailing list - http://zd1211.ath.cx/
 Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs

--
Uli Kunitz




-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Zd1211-devs mailing list - http://zd1211.ath.cx/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs


Re: [zd1211-devs] Different hardware versions of Longshine LCS-8131G3 (1582:6003)

2007-05-12 Thread Uli Kunitz
Ulle,

I have here a 8183G3040... myself, it works quite reasonable  
reflecting your experience. The G3030 seems not to have any patch  
flags set in the EEPROM. We could however add a patch, which would  
set the same flags as for G3040 if there aren't any flags set for a  
1582:6003 device.

If you don't want to do it on your own, you have to be a little bit  
patient, because I'm a little bit short on time.

Uli

Am 12.05.2007 um 09:31 schrieb Ulle:


 Hello,
 I got two Longshine LCS-8131G3 sticks which have no obvious  
 differences,
 except a tiny one in dmesg:

 The first (serial number starts with 8131G3040...):
 usb 1-1: new full speed USB device using uhci_hcd and address 23
 usb 1-1: configuration #1 chosen from 1 choice
 zd1211rw 1-1:1.0: firmware version 4725
 zd1211rw 1-1:1.0: zd1211b chip 1582:6003 v4810 full 00-11-f6  
 AL2230_RF pa0
 g--N
 zd1211rw 1-1:1.0: eth1

 The second (serial number starts with 8131G3030...):
 usb 1-1: new full speed USB device using uhci_hcd and address 21
 usb 1-1: configuration #1 chosen from 1 choice
 zd1211rw 1-1:1.0: firmware version 4725
 zd1211rw 1-1:1.0: zd1211b chip 1582:6003 v4810 full 00-11-f6  
 AL2230_RF pa0
 
 zd1211rw 1-1:1.0: eth1

 Note the pa0 g--N and pa0  .

 Does anybody know, what this means?
 The second one I can not bring to inject packets, the first works  
 okay with
 injection.

 weird: I bought the second one half a year later then the first,  
 but with
 lower serial number :)

 How can those devices behave differently?

 Thanks for answers
 Ulle

 P.S.: Sorry if posted twice.

 -- 
 View this message in context: http://www.nabble.com/Different- 
 hardware-versions-of-Longshine-LCS-8131G3-%281582%3A6003%29- 
 tf3730927.html#a10443434
 Sent from the zd1211-devs mailing list archive at Nabble.com.


 -- 
 ---
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Zd1211-devs mailing list - http://zd1211.ath.cx/
 Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs

--
Uli Kunitz




-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Zd1211-devs mailing list - http://zd1211.ath.cx/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs


Re: [zd1211-devs] Gigafast 1215 not working

2007-05-07 Thread Uli Kunitz

Am 07.05.2007 um 22:10 schrieb Daniel Drake:

 Lucio Crusca wrote:
 Alle 19:19, lunedì 7 maggio 2007, Lucio Crusca ha scritto:
 # ifconfig eth5 up
 SIOCSIFFLAGS: Connection timeout
 but this should be the first thing to do before doing anything  
 else. I'm
 stuck. iwevent output is plain silence.

 I've forgotten the relevant kern.log

 May  7 19:07:36 Acaja-Tour kernel: zd1211rw 3-5:1.0:  
 zd_usb_enable_int()
 May  7 19:07:36 Acaja-Tour kernel: zd1211rw 3-5:1.0:  
 zd_usb_enable_int() submit urb f577e8c0
 May  7 19:07:36 Acaja-Tour kernel: zd1211rw 3-5:1.0:  
 zd_chip_set_basic_rates_locked() ff0f
 May  7 19:07:37 Acaja-Tour kernel: zd1211rw 3-5:1.0:  
 zd_usb_iowrite16v() error in usb_bulk_msg(). Error number -110
 May  7 19:07:37 Acaja-Tour kernel: zd1211rw 3-5:1.0:  
 _zd_iowrite32v_locked() error -110 in zd_usb_write16v
 May  7 19:07:37 Acaja-Tour kernel: zd1211rw 3-5:1.0:  
 zd_usb_disable_int() urb f577e8c0 killed

 Please file a bug for this at http://bugzilla.kernel.org

It remembers me of the old device reinitialization problem, however  
this happens here after the firmware is loaded. We have mitigated the  
reinitialization problem, but it is still there and depends on  
certain combination of the ZD1211B firmware and the USB host adapter.  
Only replugging solves the problem.

Could you send us a more complete log from plugging in the device  
until the error happens?

Kind regards,

Ulrich

--
Uli Kunitz




-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Zd1211-devs mailing list - http://zd1211.ath.cx/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs


Re: [zd1211-devs] SUSE SLED Compile error

2007-02-17 Thread Uli Kunitz
Hi,

I forgot to mention that newer kernels, have the driver integrated,  
so there is no need to use the snapshots.

Regards,

Uli

Am 17.02.2007 um 10:51 schrieb roger tunnicliffe:

 The compile errors start here:-

 [EMAIL PROTECTED]:~/RPMs/ZD1211/zd1211rw_2007-02-17 make
 make -C /lib/modules/`uname -r`/build M=`pwd`
 make[1]: Entering directory `/usr/src/linux-2.6.16.21-0.8-obj/i386/ 
 default'
 make -C ../../../linux-2.6.16.21-0.8 O=../linux-2.6.16.21-0.8-obj/ 
 i386/default
   CC [M]  /home/roger/RPMs/ZD1211/zd1211rw_2007-02-17/zd_netdev.o
 /home/roger/RPMs/ZD1211/zd1211rw_2007-02-17/zd_netdev.c:22:34: error:
 net/ieee80211softmac.h: No such file or directory

 Can anyone help me here
 Thanks
 Roger Tunnicliffe

 -- 
 ---
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to  
 share your
 opinions on IT  business topics through brief surveys-and earn cash
 http://www.techsay.com/default.php? 
 page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Zd1211-devs mailing list - http://zd1211.ath.cx/
 Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs

--
Uli Kunitz




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Zd1211-devs mailing list - http://zd1211.ath.cx/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs


Re: [zd1211-devs] Zydas modules and kernel 2.6.19.x

2007-01-24 Thread Uli Kunitz
You must have udev installed and it must load from /usr/lib/firmware.  
This is not always the case, newer Ubuntus have kernel-version  
specific firmware directories.


Kind regards,

Ulrich


Am 24.01.2007 um 18:22 schrieb Eugéne Suter:




On 24/01/07, Mayne [EMAIL PROTECTED] wrote:
On Wed, 24 Jan 2007, Eugéne Suter wrote:

 # make ins
 sudo modprobe firmware_class
 FATAL: Module firmware_class not found.

Seems you disabled CONFIG_FW_LOADER in your Linux kernel config.

$ grep CONFIG_FW_LOADER /usr/src/linux/.config
CONFIG_FW_LOADER=m

Regards


Indeed, it is not flagged as modular:

# grep CONFIG_FW_LOADER /usr/src/linux- 2.6.19.2/.config
CONFIG_FW_LOADER=y

But is is enabled as built-in.
Shouldn't that work anyway?

Eugéne


-- 
---

Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to  
share your

opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php? 
page=join.phpp=sourceforgeCID=DEVDEV 
___

Zd1211-devs mailing list - http://zd1211.ath.cx/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs


--
Uli Kunitz



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Zd1211-devs mailing list - http://zd1211.ath.cx/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs

Re: [zd1211-devs] Attempted zd1211 compilation (vendor) on PS3

2007-01-23 Thread Uli Kunitz
/zd1205.c:7713: warning: type qualifiers
 ignored on function return type
 /usr/src/zd1211-driver-r83/src/zd1205.c: In function 窶・ 
 dcb_setup_next_send窶・
 /usr/src/zd1211-driver-r83/src/zd1205.c:9151: warning:  
 initialization makes
 integer from pointer without a cast
 /usr/src/zd1211-driver-r83/src/zd1205.c:9151: warning: passing  
 argument 1 of
 窶論_fswab32窶・makes integer from pointer without a cast
 /usr/src/zd1211-driver-r83/src/zd1205.c:9195: warning:  
 initialization makes
 integer from pointer without a cast
 /usr/src/zd1211-driver-r83/src/zd1205.c:9195: warning: passing  
 argument 1 of
 窶論_fswab32窶・makes integer from pointer without a cast
 /usr/src/zd1211-driver-r83/src/zd1205.c:9230: warning:  
 initialization makes
 integer from pointer without a cast
 /usr/src/zd1211-driver-r83/src/zd1205.c:9230: warning: passing  
 argument 1 of
 窶論_fswab32窶・makes integer from pointer without a cast
 /usr/src/zd1211-driver-r83/src/zd1205.c:9259: warning:  
 initialization makes
 integer from pointer without a cast
 /usr/src/zd1211-driver-r83/src/zd1205.c:9259: warning: passing  
 argument 1 of
 窶論_fswab32窶・makes integer from pointer without a cast
 /usr/src/zd1211-driver-r83/src/zd1205.c: In function 窶呂 
 alculateQuality窶・
 /usr/src/zd1211-driver-r83/src/zd1205.c:10074: warning: unused  
 variable
 窶腕xOffset窶・
 make[2]: *** [/usr/src/zd1211-driver-r83/src/zd1205.o] Error 1
 make[1]: *** [_module_/usr/src/zd1211-driver-r83] Error 2
 make[1]: Leaving directory `/usr/src/linux-20061208'
 make: *** [all] Error 2

 I'll note that the error message in the mmu.h section talking about  
 SID
 SHIFT can be eliminated by adding the CFLAG -- __powerpc64__, but it
 doesn't solve all the problems with this compile.

 I can't help but think that something isn't getting initialized  
 properly,
 because of the huge number of warnings about shifts being too large  
 for the
 types being shifted. In any event, I'm no expert and I'm asking  
 those that
 might know better what to try next.

 Thank you,

 David Myers.

 -- 
 View this message in context: http://www.nabble.com/Attempted- 
 zd1211-compilation-%28vendor%29-on-PS3-tf3077445.html#a8549688
 Sent from the zd1211-devs mailing list archive at Nabble.com.


 -- 
 ---
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to  
 share your
 opinions on IT  business topics through brief surveys - and earn cash
 http://www.techsay.com/default.php? 
 page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Zd1211-devs mailing list - http://zd1211.ath.cx/
 Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs

--
Uli Kunitz




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Zd1211-devs mailing list - http://zd1211.ath.cx/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs

Re: [zd1211-devs] anomalous behaviour in handling the WLAN retries

2007-01-16 Thread Uli Kunitz

Am 16.01.2007 um 09:57 schrieb Peter Lueg:

 Can i increment/decrement the retries?
 Which register and bit contribute the retry rate?

ZD1211: CR_ZD1211_RETRY_MAX (exponent of two, so 1 will give two  
retries)
ZD1211B: CR_ZD1211B_RETRY_MAX (each byte contains the retries --  
there are four queues supporting 802.11e, appear to be also expnents  
of 2)

Uli



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Zd1211-devs mailing list - http://zd1211.ath.cx/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs


Re: [zd1211-devs] anomalous behaviour in handling the WLAN retries

2007-01-15 Thread Uli Kunitz

Am 15.01.2007 um 14:59 schrieb Peter Lueg:

 Frame WLAN Sequence=nRetry bit=0
 Retry 1   WLAN Sequence=nRetry bit=1
 Retry 2   WLAN Sequence=nRetry bit=1
 Retry 3   WLAN Sequence=nRetry bit=1
 Retry 4   WLAN Sequence=n+1  Retry bit=0 (Fault)
 Retry 5   WLAN Sequence=n+1  Retry bit=1
 Retry 6   WLAN Sequence=n+2  Retry bit=0 (Fault)
 Retry 7   WLAN Sequence=n+2  Retry bit=1
 Retry 8   WLAN Sequence=n+3  Retry bit=0 (Fault)
 Retry 9   WLAN Sequence=n+3  Retry bit=1

 This behaviour violates the afore mentioned standard.
 We found the same behaviour under Linux and Windows OS.


The ZD1211 retry register is set to 2, which gives 4 retries. (It has  
four bits so you could ask for 2^15 retries. ;-) I cannot explain  
packets 4 to 9 -- this might be firmware behaviour, which we cannot  
control. However the d80211 developers discussed to implement such  
behaviour in the new d80211 stack. Does the 802.11 standard really  
care, what the payload is? What prevents me to send the same UDP  
packet three times? On the 802.11 layer it is a new packet, because  
it has a new sequence number.

Regards,

Uli

--
Uli Kunitz




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Zd1211-devs mailing list - http://zd1211.ath.cx/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs


Re: [zd1211-devs] rx_urb_complete()

2006-12-13 Thread Uli Kunitz
Fernando,

you have compiled the driver in debug mode.

The message simply says, that you get a data block, which might combine
up to three network packets, spread over two USB transactions. This  
might
sound complex, but is absolutely correct.

Regards,

Uli

Am 13.12.2006 um 17:48 schrieb Fernando Toledo:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 hi all
 is a rx_urb_complete() an error?


 zd1211rw 5-6:1.0: zd_chip_lock_phy_regs() CR_REG1: 0xa0 - 0x20
 zd1211rw 5-6:1.0: zd_rf_set_channel() channel: 10
 zd1211rw 5-6:1.0: zd_usb_rfwrite() value 0x003f7b0 bits 24
 zd1211rw 5-6:1.0: zd_usb_rfwrite() value 0x00b3331 bits 24
 zd1211rw 5-6:1.0: zd_usb_rfwrite() value 0x00d bits 24
 zd1211rw 5-6:1.0: update_pwr_int() channel 10 pwr_int 0x5c
 zd1211rw 5-6:1.0: zd_chip_unlock_phy_regs() CR_REG1: 0x20 - 0xa0
 zd1211rw 5-6:1.0: set_channel() channel 11
 zd1211rw 5-6:1.0: zd_chip_lock_phy_regs() CR_REG1: 0xa0 - 0x20
 zd1211rw 5-6:1.0: zd_rf_set_channel() channel: 11
 zd1211rw 5-6:1.0: zd_usb_rfwrite() value 0x003e7b0 bits 24
 zd1211rw 5-6:1.0: zd_usb_rfwrite() value 0x001 bits 24
 zd1211rw 5-6:1.0: zd_usb_rfwrite() value 0x00d bits 24
 zd1211rw 5-6:1.0: update_pwr_int() channel 11 pwr_int 0x5c
 zd1211rw 5-6:1.0: zd_chip_unlock_phy_regs() CR_REG1: 0x20 - 0xa0
 SoftMAC: Scanning finished
 usb 5-6: rx_urb_complete() *** first fragment ***
 usb 5-6: rx_urb_complete() *** second fragment ***
 usb 5-6: rx_urb_complete() *** first fragment ***
 usb 5-6: rx_urb_complete() *** second fragment ***
 usb 5-6: rx_urb_complete() *** first fragment ***
 usb 5-6: rx_urb_complete() *** second fragment ***
 usb 5-6: rx_urb_complete() *** first fragment ***
 usb 5-6: rx_urb_complete() *** second fragment ***
 usb 5-6: rx_urb_complete() *** first fragment ***
 usb 5-6: rx_urb_complete() *** second fragment ***
 usb 5-6: rx_urb_complete() *** first fragment ***
 usb 5-6: rx_urb_complete() *** second fragment ***
 usb 5-6: rx_urb_complete() *** first fragment ***
 usb 5-6: rx_urb_complete() *** second fragment ***
 usb 5-6: rx_urb_complete() *** first fragment ***
 usb 5-6: rx_urb_complete() *** second fragment ***
 usb 5-6: rx_urb_complete() *** first fragment ***
 usb 5-6: rx_urb_complete() *** second fragment ***
 [EMAIL PROTECTED]:~$
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.5 (GNU/Linux)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

 iD8DBQFFgC7Fz8H9Vs7bTsMRAs1eAKCtykmyNl4LaxRo1Tt6hbbt1iStPQCgyZnD
 11wKpUcsey9mSvYRUOZVUic=
 =4vvx
 -END PGP SIGNATURE-

 -- 
 ---
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to  
 share your
 opinions on IT  business topics through brief surveys - and earn cash
 http://www.techsay.com/default.php? 
 page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Zd1211-devs mailing list - http://zd1211.ath.cx/
 Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs

--
Uli Kunitz




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Zd1211-devs mailing list - http://zd1211.ath.cx/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs


Re: [zd1211-devs] zd1211_rw firmware load error

2006-12-07 Thread Uli Kunitz
Stefan,

does your distribution support udev? It might search for the firmware  
in another path.

Regards,

Uli


Am 07.12.2006 um 20:32 schrieb Stefan Meyer:

 Hi All
 I am struggling to get the zd1211_rw driver to load the firmware on
 hotplugging the device.
 I have hotplug enabled in the kernel with the firmware sitting in
 /lib/firmware/zd1211/..
 I have downloaded the latest driver and are running kernel 2.6.19  
 on the
 Freescale PowerPC
 The following message appears :
 [ 503.426848] usb 1-1.6: new high speed USB device using fsl-ehci and
 address 5
 [ 503.519820] usb 1-1.6: Product: USB2.0 WLAN
 [ 503.524090] usb 1-1.6: Manufacturer: ZyDAS
 [ 503.554787] usb 1-1.6: configuration #1 chosen from 1 choice
 [ 504.196374] usb 1-1.6: Could not load firmware file zd1211/ 
 zd1211b_ub.
 Error number -2
 [ 504.204352] zd1211rw 1-1.6:1.0: couldn't load firmware. Error  
 number -2
 .
 Any suggestions would be much appreciated.

 Regards
 Reyems



 -- 
 ---
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to  
 share your
 opinions on IT  business topics through brief surveys - and earn cash
 http://www.techsay.com/default.php? 
 page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Zd1211-devs mailing list - http://zd1211.ath.cx/
 Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs

--
Uli Kunitz




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Zd1211-devs mailing list - http://zd1211.ath.cx/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs


Re: [zd1211-devs] Philips snu5600 usb dongle

2006-11-29 Thread Uli Kunitz

Am 29.11.2006 um 11:54 schrieb unibrow:

 The thing is, I'm not really a coder (I dab a bit though) and I'm  
 certainly
 not familiar with driver code and other things related to kernel  
 code but I
 thought that since the WinXP driver is called ZD1211BU I'd take a  
 shot at
 adding the usb-id (0471:1236) to the zd_usb.c file of the driver and
 recompile. Now after recompilation the device is recognized (of  
 course) and
 the zd1211rw driver is loaded when the device is plugged. Fine and  
 dandy.
 However I only get 11 Mb/s reported by iwconfig even though it's a  
 802.11g
 device and I get 54 Mb/s in Windows. So I figure something is fishy  
 here and
 I would really like some help (and give help in return if I can)  
 from you
 guys.

Thank's for the USB id, I will add it to the driver.

I know this is a little bit disappointing, but the infrastructure we  
are using is
currently not supporting rate adaption. You can however use iwconfig  
to set
54 MBit/s manually.

# iwconfig eth1 rate 54M

 Oh, and the reason I think it uses the AL2230_RF transmitter is  
 because
 that's what dmesg | grep 'zd1211b\? chip' told me (zd1211rw  
 1-5:1.0:
 zd1211b chip 0471:1236 v4810 high 00-12-bf AL2230_RF pa0 g--, to be
 precise).

This is correct, because the RF is coded in the EEPROM of the device.  
You
wouldn't get an association with the AP, if the driver would identify  
the
wrong radio (RF chip).

Cheers,

Uli

--
Uli Kunitz




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Zd1211-devs mailing list - http://zd1211.ath.cx/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs


Re: [zd1211-devs] multicast support and ipv6

2006-11-26 Thread Uli Kunitz
 IPv6 needs to ignore packets sent, which is not done in your patch.
 However, I think such filtering is not zd1211 specific and could be
 better done in the generic softmac layer. What is the process to patch
 the softmac layer? I was also wondering if filtering ALL packets whose
 sender mac is our MAC would be more appropriate? (currently, my patch
 only filters out multicast packets with sender MAC being our MAC).

Benoit, I'm doing the filtering with following change:

  @@ -771,7 +812,8 @@ static int is_data_packet_for_us(struct
  }

  return memcmp(hdr-addr1, netdev-dev_addr, ETH_ALEN) == 0 ||
-   is_multicast_ether_addr(hdr-addr1) ||
+   (is_multicast_ether_addr(hdr-addr1) 
+memcmp(hdr-addr3, netdev-dev_addr, ETH_ALEN) != 0) ||
 (netdev-flags  IFF_PROMISC);
  }

It's exactly as you are doing, but will work also in other modes.
According to RFC2462 there are problems with removing frames
with the identical source address. So limiting it has some value.
One could implement something more complex like
updating a time-stamp variable in tx for multicast packets. And suppress
the incoming packet only if it is in a certain timw window after the tx.
I doubt that it is worth to do it.

Sharing the code with other cards, might not be possible, because the  
devices
might behave differently. For instance doing the filtering on its own.

I'm absolutely interested in test results. The patch works for me  
here under IPv4.

Cheers,

Uli
--
Uli Kunitz




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Zd1211-devs mailing list - http://zd1211.ath.cx/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs


Re: [zd1211-devs] multicast support and ipv6

2006-11-23 Thread Uli Kunitz

Benoit,

I just send my mail and received then yours.

I will rework your patch as outlined in my e-mail at the weekend.
Then it will be in my master branch for 2.6.18 and in the wireless- 
dev for 2.6.19-rc*.


Both trees are synchronized with Daniel's tree. Daniel forwards  
usually the patches

to the John Linville, the maintainer of the wireless tree.

Kind regards,

UIi

--
Uli Kunitz



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Zd1211-devs mailing list - http://zd1211.ath.cx/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs

Re: [zd1211-devs] Strange network problem ...

2006-11-21 Thread Uli Kunitz


 Hello,
 I'm aware of that but it looks like anonymous editing have been
 desactivated, and I didn't find the way to register (In other trac  
 servers I
 know, there is a register button near About Trac ...)

 Regards,
 Sylver

Ooops,

I didn't recognize that anonymous editing has been disabled. I used  
anonymous editing too.

Sorry,

Uli
--
Uli Kunitz




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Zd1211-devs mailing list - http://zd1211.ath.cx/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs


Re: [zd1211-devs] zd1211rw with 2.6.18 kernel on ARM

2006-11-04 Thread Uli Kunitz
 Guennadi, you are probably right. The reason is that the gcc is aligning
 embedded structures always to a word boundary on ARM. I didn't know about 
 that
 and didn't care for while removing the packed attributes.

I have written a patch which should solve the problem.

It is available from http://www.deine-taler.de/zd1211/zd1211.git .

Branch master should work with 2.6.18 and branch wireless-dev with 2.6.19.

The patch itself can be downloaded from:

http://www.deine-taler.de/git/?p=zd1211.git;a=commitdiff_plain;h=62b8442c4a52f5263a33be490c1d60cd95eacafb;hp=6c13c9abd8b0e0bafe8e94ec4d0aa1e726afb1f9

Cheers,

Uli

-- 
Uli Kunitz ([EMAIL PROTECTED])

-
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 with 2.6.18 kernel on ARM

2006-11-02 Thread Uli Kunitz

Am 02.11.2006 um 22:55 schrieb Daniel Drake:

 Guennadi Liakhovetski wrote:
 Yes, reverting that commit fixes the problem. I don't understand the
 comment there saying that those packed attributes were unneeded...  
 From a
 quick view they DO seem to be needed - those are indeed structs  
 mapped on
 data blocks received from hardware. The comment also refers to an  
 email
 from Stephen Hemminger, which I didn't find in ML archives. I  
 think, it
 should be reverted.

 The packed attribute is not needed because the member alignment  
 doesn't
 result in any gaps in the produced structures. Supposedly.

 Please compile and run this program, firstly as-is, secondly with  
 PACKED
 defined (see lines 6 and 7)

Guennadi, you are probably right. The reason is that the gcc is  
aligning embedded structures always to a word boundary on ARM. I  
didn't know about that and didn't care for while removing the packed  
attributes.

Here is a webpage with some explanation about it:

http://netwinder.osuosl.org/users/b/brianbr/public_html/alignment.html

I will write a patch over the weekend, which should solve the issue.

Kind regards,

Ulrich



-
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] [PATCH] wireless-2.6 zd1211rw check against regulatory domain rather than hardcoded value of 11

2006-10-30 Thread Uli Kunitz
Johannes Berg wrote:
 I'm not so sure about this. This patching might be US-specific and we 
 cannot simply apply the setting for top channel of another domain 
 instead of channel 11. One option would be to set the value only under 
 the US regulatory domain.
 
 ??
 What the patch does is replace the top channel which is hardcoded to 11
 by the top channel given by the current regulatory domain. How can that
 be wrong? Except that you may want to init the regulatory domain from
 the EEPROM but I'm not sure how the ieee80211 code works wrt. that.
 
 johannes

The problem is not so much that I don't trust the geo code, but whether
setting the register to that band-edge value for a higher channel is
the right thing to do. It looks like that this is a hack for FFC
compliance. Therefore I suggest to patch CR128 only
for the US regulatory domain.

Here is the code from the GPL vendor driver (zdhw.c):

if (pObj-HWFeature  BIT_21)  //6321 for FCC regulation, enabled HWFeature 
6M band edge bit (for AL2230, AL2230S)
 {
 if (ChannelNo == 1 || ChannelNo == 11)  //MARK_003, band edge, these 
may depend on PCB layout
 {
 pObj-SetReg(reg, ZD_CR128, 0x12);
 pObj-SetReg(reg, ZD_CR129, 0x12);
 pObj-SetReg(reg, ZD_CR130, 0x10);
 pObj-SetReg(reg, ZD_CR47, 0x1E);
 }
 else //(ChannelNo 2 ~ 10, 12 ~ 14)
 {
 pObj-SetReg(reg, ZD_CR128, 0x14);
 pObj-SetReg(reg, ZD_CR129, 0x12);
 pObj-SetReg(reg, ZD_CR130, 0x10);
 pObj-SetReg(reg, ZD_CR47, 0x1E);
 }
 }

The patch from Holden would set ZD_CR128 to 0x12 for the highest channel,
which would not reflect the logic of the vendor driver.

Kind regards,

Uli

-- 
Uli Kunitz ([EMAIL PROTECTED])

-
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] zd1211 on asus A9RP

2006-10-29 Thread Uli Kunitz
Fanch wrote:
 Hello,
 
 I am trying to use my wireless device :
 laptop : ASUS A9RP 5B018H
 vendor id  : 0B05
 product id : 171B
 kernel : 2.6.17-10 (kubuntu 6.10)
 
 
 then I launch wlassistant :
 ifup: /sbin/ifconfig eth1 up
 iwconfig_set: /sbin/iwconfig eth1 mode managed channel 4 key open xxx
 essid my_essid
 ==stderr: Error for wireless request Set Frequency (8B04) :
 SET failed on device eth1 ; Operation not permitted.
 
 
 So, my device is now known, but I cannot use it.
 Where's the mistake ?
 Any idea is welcome.

It appears that wlan_assistant is not run as root.

Kind regards,

Uli


-
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] How to select/build the zd1211rw modules in the git-kernel?

2006-10-29 Thread Uli Kunitz

 This seems to indicate that the driver cannot find the firmware. So what 
 other 
 settings could I change to make it work?

UDEV must be installed and /sys mounted.

Regards,

Uli Kunitz



-
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] [PATCH] wireless-2.6 zd1211rw check against regulatory domain rather than hardcoded value of 11

2006-10-29 Thread Uli Kunitz
Daniel Drake wrote:
 Holden Karau wrote:
 I've changed the patch based on your suggestions :-)
 
 Thanks, looks fine. Let's just wait for an OK from Ulrich, then you can 
 send it to John, without broken tabs/lines, with signoff and description.
 
 Daniel

I'm not so sure about this. This patching might be US-specific and we 
cannot simply apply the setting for top channel of another domain 
instead of channel 11. One option would be to set the value only under 
the US regulatory domain.

Kind regards,

Uli

-- 
Uli Kunitz ([EMAIL PROTECTED])

-
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 on ppc / Debian Sarge

2006-05-25 Thread Uli Kunitz
Guennadi Liakhovetski wrote:

  If it's the same as Gentoo, using network scripts doesn't work yet because 
  we
  don't register any wireless statistics (therefore we don't get listed in
  /proc/net/wireless). This will be fixed soon...
 
 How high is this on your todo lists?

It's already done, you should find it in the latest snapshots.
However I didn't test automatic configuration for now. It would be
good, if you could test it and report your results here.

Ciao,

Uli

-- 
Uli Kunitz - [EMAIL PROTECTED]


---
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] monitor mode and malformed packets

2006-05-16 Thread Uli Kunitz
cees-bart wrote:

Hi,

the zd1211rw supports Monitor mode too. I'm not sure, what you
call malformed packets. The zd1211rw reassembles or splits
packets, which are split or combined for transport over the ZD1211
interface, I believe the vendor driver does the same. I've not
looked into packet injection, but it shouldn't be to difficult to
implement and test it.

However packets are shown as they are transmitted over the Air
including fragmented packets. The problem is, that ethereal seems
to have an issue to display fragments and lacks the
functionality to reassemble them. The other option would be, that
the driver does the reassembly, but then it doesn't make sense to
show 802.11 control frames (ACK, etc.).

Uli

-- 
Uli Kunitz - [EMAIL PROTECTED]


---
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