Re: [zd1211-devs] AL7230b on ZD1211b (ZyXEL AG-220)

2007-04-02 Thread Tomas Klas


Daniel Drake wrote:
> 
> Daniel Drake wrote:
>> Please test this driver snapshot:
>> http://dsd.object4.net/zd1211rw-zd1211b-al7230b.tar.bz2
>> 
> 
> Missed a bit, please add the attached patch on top. 
> 

It works well. You may now add ZyXEL AG-220 to device list. (USB id
0586:3412)

http://www.nabble.com/file/7611/zyxel_ag-220.patch zyxel_ag-220.patch 

Thanks for good work.

-- 
View this message in context: 
http://www.nabble.com/AL7230b-on-ZD1211b-%28ZyXEL-AG-220%29-tf3440669.html#a9786132
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.php&p=sourceforge&CID=DEVDEV___
Zd1211-devs mailing list - http://zd1211.ath.cx/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs

Re: [zd1211-devs] AL7230b on ZD1211b (ZyXEL AG-220)

2007-04-01 Thread Daniel Drake

Daniel Drake wrote:

Please test this driver snapshot:
http://dsd.object4.net/zd1211rw-zd1211b-al7230b.tar.bz2



Missed a bit, please add the attached patch on top.


>From 601b87b68b0dbed5a408826cf909ca89f2963542 Mon Sep 17 00:00:00 2001
From: Daniel Drake <[EMAIL PROTECTED]>
Date: Sun, 1 Apr 2007 13:01:49 -0400
Subject: [PATCH] fix radio on

Signed-off-by: Daniel Drake <[EMAIL PROTECTED]>
---
 zd_rf_al7230b.c |   16 ++--
 1 files changed, 14 insertions(+), 2 deletions(-)

diff --git a/zd_rf_al7230b.c b/zd_rf_al7230b.c
index 895af8b..5e5e9dd 100644
--- a/zd_rf_al7230b.c
+++ b/zd_rf_al7230b.c
@@ -414,7 +414,7 @@ static int zd1211b_al7230b_set_channel(struct zd_rf *rf, u8 channel)
 	return zd1211b_al7230b_finalize(chip);
 }
 
-static int al7230b_switch_radio_on(struct zd_rf *rf)
+static int zd1211_al7230b_switch_radio_on(struct zd_rf *rf)
 {
 	struct zd_chip *chip = zd_rf_to_chip(rf);
 	static const struct zd_ioreq16 ioreqs[] = {
@@ -425,6 +425,17 @@ static int al7230b_switch_radio_on(struct zd_rf *rf)
 	return zd_iowrite16a_locked(chip, ioreqs, ARRAY_SIZE(ioreqs));
 }
 
+static int zd1211b_al7230b_switch_radio_on(struct zd_rf *rf)
+{
+	struct zd_chip *chip = zd_rf_to_chip(rf);
+	static const struct zd_ioreq16 ioreqs[] = {
+		{ CR11,  0x00 },
+		{ CR251, 0x7f },
+	};
+
+	return zd_iowrite16a_locked(chip, ioreqs, ARRAY_SIZE(ioreqs));
+}
+
 static int al7230b_switch_radio_off(struct zd_rf *rf)
 {
 	struct zd_chip *chip = zd_rf_to_chip(rf);
@@ -464,15 +475,16 @@ int zd_rf_init_al7230b(struct zd_rf *rf)
 
 	if (chip->is_zd1211b) {
 		rf->init_hw = zd1211b_al7230b_init_hw;
+		rf->switch_radio_on = zd1211b_al7230b_switch_radio_on;
 		rf->set_channel = zd1211b_al7230b_set_channel;
 		rf->patch_6m_band_edge = zd1211b_al7230b_patch_6m;
 	} else {
 		rf->init_hw = zd1211_al7230b_init_hw;
+		rf->switch_radio_on = zd1211_al7230b_switch_radio_on;
 		rf->set_channel = zd1211_al7230b_set_channel;
 		rf->patch_6m_band_edge = zd_rf_generic_patch_6m;
 	}
 
-	rf->switch_radio_on = al7230b_switch_radio_on;
 	rf->switch_radio_off = al7230b_switch_radio_off;
 
 	return 0;
-- 
1.5.0.6

-
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.php&p=sourceforge&CID=DEVDEV___
Zd1211-devs mailing list - http://zd1211.ath.cx/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs

Re: [zd1211-devs] AL7230b on ZD1211b (ZyXEL AG-220)

2007-03-31 Thread Daniel Drake
Hi Tomas,

Tomas Klas wrote:
> But I need WPA2 with 2.6.20 or newer kernel on ARM. I think better is
> altering new driver than the old one. Please tell me what I can do for this.

Please test this driver snapshot:
http://dsd.object4.net/zd1211rw-zd1211b-al7230b.tar.bz2

You'll have to add your ID manually still, I forgot that part.

Thanks!
Daniel


-
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.php&p=sourceforge&CID=DEVDEV
___
Zd1211-devs mailing list - http://zd1211.ath.cx/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs


Re: [zd1211-devs] AL7230b on ZD1211b (ZyXEL AG-220)

2007-03-27 Thread Daniel Drake
Tomas Klas wrote:
> Yes, vendor driver version 2.16.0.0 with kernel 2.6.18.6 on i386 appears to
> work. I tried only WEP mode, not WPA/WPA2.
> 
> But I need WPA2 with 2.6.20 or newer kernel on ARM. I think better is
> altering new driver than the old one. Please tell me what I can do for this.

Thanks for testing. Just give me a little more time. I made most of the 
required changes to the AL7230B code tonight but haven't quite finished yet.

Daniel


-
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.php&p=sourceforge&CID=DEVDEV
___
Zd1211-devs mailing list - http://zd1211.ath.cx/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs


Re: [zd1211-devs] AL7230b on ZD1211b (ZyXEL AG-220)

2007-03-25 Thread Tomas Klas



Daniel Drake wrote:
> 
> Tomas Klas wrote:
>> I have ZyXEL AG-220, with ZD1211B chip and RF AL7230B, usb-id 0586:3412.
>> Is there any way to make AL7230B working with ZD1211B?
> 
> I assume the above results were from zd1211rw. Can you confirm that the 
> vendor driver works?
> 
> 

Yes, vendor driver version 2.16.0.0 with kernel 2.6.18.6 on i386 appears to
work. I tried only WEP mode, not WPA/WPA2.

But I need WPA2 with 2.6.20 or newer kernel on ARM. I think better is
altering new driver than the old one. Please tell me what I can do for this.

Thanks,

Tomas Klas

-- 
View this message in context: 
http://www.nabble.com/AL7230b-on-ZD1211b-%28ZyXEL-AG-220%29-tf3440669.html#a9668454
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.php&p=sourceforge&CID=DEVDEV
___
Zd1211-devs mailing list - http://zd1211.ath.cx/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs


Re: [zd1211-devs] AL7230b on ZD1211b (ZyXEL AG-220)

2007-03-23 Thread Daniel Drake
Tomas Klas wrote:
> I have ZyXEL AG-220, with ZD1211B chip and RF AL7230B, usb-id 0586:3412.
> 
> AL7230B is not supported with ZD1211B. I tried use as ZD1211 and scan works,
> but association not (due to differences between ZD1211 and ZD1211B).

In other words: RX works, TX does not. This is expected when you try and 
drive ZD1211B as ZD1211.

> Is there any way to make AL7230B working with ZD1211B?

I assume the above results were from zd1211rw. Can you confirm that the 
vendor driver works?

If so we can port the ZD1211B+AL7230B code over to zd1211rw. The only 
reason it has not been done already is that we have never seen this 
combination on the market before.

Thanks!
Daniel



-
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.php&p=sourceforge&CID=DEVDEV
___
Zd1211-devs mailing list - http://zd1211.ath.cx/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs