Re: [PATCH wireless-2.6-git] prism54: WPA/RSN support for fullmac cards

2006-12-06 Thread chunkeey
On Wednesday, 6. December 2006 02:44, you wrote:
> FYI...after latest round of merges, that patch that I've been carrying
> in the pending branch of wireless-2.6 no longer applies.
>
> John

Ok, I'm waiting for Dmitry' feedback...  (hello, where're you ;) ?)

Christian
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH wireless-2.6-git] prism54: WPA/RSN support for fullmac cards

2006-11-18 Thread chunkeey
Am Samstag, 18. November 2006 05:27 schrieben Sie:
>
> OK, i'll try installing kismet on another laptop. For now that's what I
> have from iwevent:
>
> [EMAIL PROTECTED] ~]# cat iwevents.bad
> 21:30:52.185823   eth1 Set Mode:Managed
where's Set Encryption key:------**   Security 
mode:restricted ? was the key set?


> 21:30:52.226100   eth1 Set ESSID:"ALCT76_68b"
> 21:30:54.505039   eth1 Authenticate request to XY [00 0D 0002]
> 21:30:56.300128   eth1 Authenticate request to XY [00 0D 0002]
ok, the error code is 0D (=unsupported Authentication Algorithm).

>
> [EMAIL PROTECTED] ~]# cat iwevents.good
> 21:50:50.575630   eth1 Set Mode:Managed
> 21:50:50.604998   eth1 Set Encryption
> key:------**   Security mode:restricted
> 21:50:50.616502   eth1 Set ESSID:"ALCT76_68b"
> 21:50:52.880361   eth1 Authenticate request to XY : [00  00 0002]
> 21:50:52.882638   eth1 Associate request to XY : [00 00 0002]
> 21:50:52.883625   eth1 New Access Point/Cell address:XY
are your wireless-tools( iwconfig, iwevent, iwlist...) up to date? they've to 
be atleast Version 21!


but there's still something you can try:

go to drivers/net/wireless/prism54/isl_ioctl.c
and change in "prism54_set_auth_alg" function (somewhere at line 1040)
next to "if (flag & IW_ENCODE_RESTRICTED) {" 
authen = DOT11_AUTH_SK;
to 
authen = DOT11_AUTH_BOTH;

recompile; test; report ;)
>
> No, just netdev watchdog bitches:
>
> Nov 16 23:15:30 core kernel: [164606.712000] NETDEV WATCHDOG: eth1:
> transmit timed out Nov 16 23:15:30 core kernel: [164606.712000] eth1:
> tx_timeout, scheduling a reset Nov 16 23:15:30 core kernel: [164606.712000]
> eth1: resetting device... Nov 16 23:15:30 core kernel: [164606.712000]
> eth1: uploading firmware... Nov 16 23:15:31 core kernel: [164606.996000]
> eth1: firmware version: 1.0.4.3 Nov 16 23:15:31 core kernel:
> [164606.996000] eth1: firmware upload complete Nov 16 23:15:31 core kernel:
> [164607.232000] eth1: interface reset complete
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH wireless-2.6-git] prism54: WPA/RSN support for fullmac cards

2006-11-17 Thread chunkeey
>
> Btw, it usually locks up under heavyish load. I.e. if I just ssh into
> my devel box and code in vi it will stay jsut fine for hours. But
> FTPing stuff over quite often locks it up.

k, I've seen this phenomenon too, but on my a PCI card.

Alright, when you come home, you should check the syslogs for these 
kind of "timeout" messages. 
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH wireless-2.6-git] prism54: WPA/RSN support for fullmac cards

2006-11-17 Thread chunkeey
>
> The card is WG511 talking to netgear WGR614 router. I am using WEP128
> with shared keys. Router is set to be "g" only. The OS is Fedora Core
> 3 (I swear I will upgrade :) ), just recompiled wireless tools from
> sources in FC6.
>
> > for debugging:
> > dmesg & iwevent output would be nice...
>
> Will do when I get home.
>
> > but I'll accept a short "sniffer" extract too. ;)
> >
> > (it would be really good, if you can provide a package dump form a
> > working setup with the old driver too!)
>
> You'd have to tell me exactly what you want me to do.
just the Management Frames (MLME):
Beacon, Authentication and Association Responses/Requests Frames
you can capture these frames with an extra sniffer card (in monitor mode)
just run tcpdump, wireshark(ethereal), kismet, ...


>
> The reason for me trying the patch is that the card locks up
> frequently (the amber transmission light turns on stays this way).
 
Do you get any fancy "mgt timeout ..." or something in dmesg, when
the cards locks up? (include one, if you can, maybe syslog "saved" one)
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH wireless-2.6-git] prism54: WPA/RSN support for fullmac cards

2006-11-17 Thread chunkeey
Am Freitag, 17. November 2006 06:42 schrieben Sie:
> >
> > No, more that my card doesn't successfully associate at all even
> > _without_ the patch on unencrypted or WEP APs; I just can't test it,
> > since my card seems to be broken...
>
> FWIW I applied the patch to tonight pull form Linus's tree and my card
> stopped associating with my AP (WEP128, Shared key). It only associated
> with my neighbour router which is running without encryption.
can you please describe your setup? I tested WEP ("restricted") with a Netgear 
WGT624 and a normal linux AP and haven't seen any problems so far.

for debugging: 
dmesg & iwevent output would be nice...
but I'll accept a short "sniffer" extract too. ;)

(it would be really good, if you can provide a package dump form a working 
setup with the old driver too!)

Christian
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH wireless-2.6-git] prism54: WPA/RSN support for fullmac cards

2006-11-09 Thread chunkeey
Am Mittwoch, 8. November 2006 01:39 schrieben Sie:
> On Fri, Nov 03, 2006 at 01:41:46PM -0500, Luis R. Rodriguez wrote:
> > On 11/3/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> > >yes, especially mgt_commit_list caused alot headaches, until I removed
> > >DOT11_OID_PSM from the cache list.
> > >Now, I can "hammer" it with ping -f for hours.
> >
> > nice, perhaps that's been the culprit all along... going to dig to see
> > if I find a fullmac prism card. Will like to get this merged in.
>
> Any resolution on this?

no replies.
Seems like it works for just fine for everybody. ;)

Christian
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH] prism54: wpa support for fullmac cards

2006-10-05 Thread chunkeey
On Wed, Oct 04, 2006 23:43 you wrote:
> On Wed, Oct 04, 2006 at 04:12:26PM +0200, [EMAIL PROTECTED] wrote:
> > the AP code never worked. And the hostapd-ioctl interface was designed
> > for prism2/2.5/3 cards, but not for "fullmac" prism54.
>
> What do you mean by never working? I have seen fullmac Prism54
> completing WPA authentication with hostapd.. This was using the
> driver_prism54.c in hostapd, not the Host AP driver interface.
> > (BTW, hostapd's backend for prism54 uses a "proprietary" interface -
> > PIMFOR -, which never made it into the kernel.)
>
> But it worked in the external driver. So yes, saying that the version in
> kernel tree never worked in AP mode would probably be valid.
>
ok, sorry my fault, I should have put it this was:

it was never woking for ME, linmax, roland warsow, ...
and I tried alot of things. (patches, how-tos, ask the maintainer, etc. )
But i only saw "Oops" or "mgt: queue full" ...
 
the PIMFOR-Interface is a direct "tunnel" to the hardware.
And guess what? it's very "crashy" .. (e.g "set/get the generic elements" does 
a very good job. ;) )

> And as far as the WEXT interface in hostapd is concerned, no, there is
> no such thing yet.

that's correct.
WEXT is not going anywhere anymore, but maybe cfg80211?

Chr
 
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH] prism54: wpa support for fullmac cards

2006-10-04 Thread chunkeey
On Wed, 4 Oct 2006 13:40 +0200 [EMAIL PROTECTED] wrote:
> On Wed, 2006-10-04 at 12:38 +0200, Jiri Benc wrote:
> > On Tue, 3 Oct 2006 14:57:33 +0200, [EMAIL PROTECTED] wrote:
> > > This patch (prism54-en-wpa3.patch) brings WPA/WPA2(RSN) with
> > > TKIP-Cipher to everyone with a FULLMAC Prism GT/Indigo/Duette card.
> > > I removed all the parts(e.g.: Hostapd Support) which are not relevant
> > > for wpa_supplicant (client/managed mode).
> >
> > Are you proposing a patch that removes AP support from the driver or did
> > I understand it wrong?
>
> I believe it adds the support back in, just using standard WE ioctls
> like ENCODEEXT and AUTH rather than the custom HostAP ones...  which
> brings up the question whether the hostapd driver for wext (is there
> such a thing?) works well enough.
>
> Dan
>

the AP code never worked. And the hostapd-ioctl interface was designed 
for prism2/2.5/3 cards, but not for "fullmac" prism54.
Because the "fullmac" prism54 card does everything(mac-, key- and 
station-management) in the firmware and the hostapd_param struct 
does neither support the necessary mlme requests/responses (Authentication & 
Association frames) nor a param to handle the EAP filter for the stations.

(I wrote a "patch" HostAPD support, but with it's own 
firmwareap_param struct and some other hacky things, but it works well.
I can post a diff too, but "be" warned! ;) )

(BTW, hostapd's backend for prism54 uses a "proprietary" interface - 
PIMFOR -, which never made it into the kernel.) 

Chr.
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH] wext

2006-10-04 Thread chunkeey
On Wed, 2006-10-04 at 10:37, Johannes Berg <[EMAIL PROTECTED]> wrote:
> On Mon, 2006-10-02 at 19:55 +0200, [EMAIL PROTECTED] wrote:
> > This patch (wext-patch) is a proposal. It adds two new defines for the
> > SIOCSIWMLME to cover all kinds MLMEs (well, except REASSOC) through a
> > ioctl. (it would be nice to have them, so that I can post the hostapd
> > code for the prism54 card!)
>
> NACK from me. Please help me work on nl80211 instead :)
>
> johannes

hmm... another month of fun. ;) 

no really, the problem is that "my" hardware (aka: prism54 fullmac) does all 
the mac-management, encryption/decryption, AP-Management,... in the firmware. 
And all "management" operation are wrapped into a simple unique 
4-byte "Operation ID"... That's why the WEXT "would be better" for that 
thing...

(Or, do I mix everything up and nl80211 has "nothing" to do with devicescape's 
networkstack d80211?)

Chr
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[PATCH] wext

2006-10-02 Thread chunkeey
This patch (wext-patch) is a proposal. It adds two new defines for the 
SIOCSIWMLME to cover all kinds MLMEs (well, except REASSOC) through a ioctl.
(it would be nice to have them, so that I can post the hostapd code for the 
prism54 card!)

I didn't update the changelog! but this should be done in a matter of seconds.

diffstat wext-patch
 wireless.h |    2 ++
 1 file changed, 2 insertions(+)

Signed-off-by: Christian Lamparter <[EMAIL PROTECTED]>

Regards,
Chr. Lamparter
--- a/include/linux/wireless.h	2006-10-01 03:24:01.0 +0200
+++ b/include/linux/wireless.h	2006-10-01 03:24:38.0 +0200
@@ -546,6 +546,8 @@
 /* MLME requests (SIOCSIWMLME / struct iw_mlme) */
 #define IW_MLME_DEAUTH		0
 #define IW_MLME_DISASSOC	1
+#define IW_MLME_AUTH		2
+#define IW_MLME_ASSOC		3
 
 /* SIOCSIWAUTH/SIOCGIWAUTH struct iw_param flags */
 #define IW_AUTH_INDEX		0x0FFF