Re: [zd1211-devs] idProduct 0x1215: not working.
Status: Beta
Brought to you by:
mayne
From: <ilp...@he...> - 2006-02-03 05:21:39
|
On Thu, 2 Feb 2006, Remco wrote: > One thing drew my attention in your logs "AllowedChannel = 00010000". I'm not > sure if this is correct, it seems to indicate that no channels are allowed, > but the message may be misleading. I usually see something like > "AllowedChannel = 000107FF". Your adapter may not be be initialised > correctly. It might be a (serious) bug in the driver, but that's just > guessing. I'm afraid I can't really help you at this point. You're definately right in this one. Channel x is 1<<(x-1), in other words xth bit in AllowedChannel. And that highword is not related to allowed channels (or has been used as default channel but it is a bit unknown whether it still works that way as some parts are now commented out). So no channels are available for use. Try: iwpriv eth0 set_Region n where n is 1-6: case 1 : macp->RegionCode = ZD_REGION_USA; break; case 2 : macp->RegionCode = ZD_REGION_Europe; break; case 3 : macp->RegionCode = ZD_REGION_France; break; case 4 : macp->RegionCode = ZD_REGION_Japan; break; case 5 : macp->RegionCode = ZD_REGION_Israel; break; case 6 : macp->RegionCode = ZD_REGION_Mexico; break; You can check the AllowedChannels each uses from zd1205.c, either from _ZD_REGION comments or below that switch/case stuff I copied above (latter is the one really used but they should agree AFAIK), but you should use the region that matches your location due to regulations of your country... Hope this helps. I guess the zd1211b initialization needs some checking though. You could test if the newest driver provided by Zydas allows more useful set of allowed channels for you (no need to check other functionality at this point, just the log message about AllowedChannels), if it does, we can probably easily figure out what needs to be changed in the initialization... -- i. |