Subject: RE: latest ath/net80211 from freebsd (9 June 2005 update)
To: 'David Young' <tech-net@NetBSD.org>
From: Konstantin KABASSANOV <Konstantin.Kabassanov@lip6.fr>
List: tech-net
Date: 06/10/2005 20:02:56
This is a multi-part message in MIME format.

------=_NextPart_000_02AD_01C56DF7.63EB6C90
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

It is probably normal, but I have also some errors when I try to rebuild
userland:

/usr/NetBSD-new-build/usr/include/net80211/ieee80211_sysctl.h:86: error:
field `ns_rates' has incomplete type
/usr/src/usr.sbin/wlanctl/wlanctl.c: In function `print_rateset':
/usr/src/usr.sbin/wlanctl/wlanctl.c:83: error: dereferencing pointer to
incomplete type
/usr/src/usr.sbin/wlanctl/wlanctl.c:85: error: dereferencing pointer to
incomplete type
/usr/src/usr.sbin/wlanctl/wlanctl.c:93: error: dereferencing pointer to
incomplete type
=20
*** Failed target:  wlanctl.o
*** Failed command: /usr/src/../tools/bin/i386--netbsdelf-gcc -O2 -Wall
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-a
rith -Wno-sign-compare -Wno-traditional -Werror -nostdinc -isystem
/usr/NetBSD-new-build/usr/include -c /usr/src/usr.sbin/wl
anctl/wlanctl.c
*** Error code 1

  =20
> -----Message d'origine-----
> De=A0: current-users-owner@NetBSD.org [mailto:current-users-
> owner@NetBSD.org] De la part de Konstantin KABASSANOV
> Envoy=E9=A0: vendredi 10 juin 2005 13:56
> =C0=A0: 'David Young'; tech-net@NetBSD.org; current-users@NetBSD.org
> Objet=A0: RE: latest ath/net80211 from freebsd (9 June 2005 update)
>=20
> Hello,
>=20
> The bug I mentioned yesterday has gone. But I have the following =
comments:
>=20
> 1. In /usr/src/sys/net80211/ieee80211_proto.c there is a shadowed =
variable
> (line 327 I think...). The variable i is already declared at line 286. =
I
> hope I have the right line numbers ???
>=20
> 2. On an interface set as AP I have "ath1: device timeout".
>=20
> ifconfig ath0:
>=20
> ath1: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>         ssid TEST-CLIENT
>         powersave off
>         bssid 00:20:a6:51:fa:ba chan 3
>         address: 00:20:a6:51:fa:ba
>         media: IEEE802.11 autoselect mode 11g hostap
>         status: active
>         inet6 2001:660:3302:2a21::2 prefixlen 128
>         inet6 fe80::220:a6ff:fe51:faba%ath1 prefixlen 64 scopeid 0x5
>=20
> 3. In adhoc mode, the wiconfig command returns an error:
>=20
> ath0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>         ssid TEST-ADHOC
>         powersave off
>         bssid 02:02:6f:20:f7:ec chan 36
>         address: 00:02:6f:20:f7:ec
>         media: IEEE802.11 autoselect mode 11a adhoc
>         status: active
>         inet6 fe80::202:6fff:fe20:f7ec%ath0 prefixlen 64 scopeid 0x1
>=20
>=20
> wiconfig ath0 -D
> wiconfig: SIOCSWAVELAN: Invalid argument
>=20
> 4. More generally (even in other current netbsd releases), after the
> wiconfig ath0 -D command, no communication is possible anymore over =
the
> interface...
>=20
> Konstantin
>=20
> _________________________________
>=20
> Konstantin K. KABASSANOV
>=20
> LIP6/CNRS
> 8, rue du Capitaine Scott
> 75015 Paris, France
>=20
> Phone: +33 (0) 1 44 27 71 26
> Fax:   +33 (0) 1 44 27 74 95
>=20
> E-mail: konstantin@kabassanov.com
> Web: http://www.kabassanov.com
> _________________________________
>=20
>=20
> IMPORTANT! If you have tried to reply to this mail and you received a
> stupid message, announcing that the mail had been rejected as spam,
> please, resend your reply to the address above.
>=20
> The certificate used to sign this e-mail can be verified at:
> http://igc.services.cnrs.fr/CNRS-Standard/recherche.html
>=20
> Mediocrity is the worst kind of failure...
>=20
> > -----Message d'origine-----
> > De=A0: current-users-owner@NetBSD.org [mailto:current-users-
> > owner@NetBSD.org] De la part de David Young
> > Envoy=E9=A0: vendredi 10 juin 2005 08:13
> > =C0=A0: tech-net@NetBSD.org; current-users@NetBSD.org
> > Objet=A0: Re: latest ath/net80211 from freebsd (9 June 2005 update)
> >
> > On Thu, Jun 09, 2005 at 06:54:51PM -0500, David Young wrote:
> > > In src/, extract
> > >
> > > 	http://che.ojctech.com/~dyoung/public/9-jun-2005-net80211.tgz
> > >
> > > apply
> > >
> > > 	http://che.ojctech.com/~dyoung/public/9-jun-2005-net80211-patch
> > >
> > > and 'xargs rm'
> > >
> > > 	=
http://che.ojctech.com/~dyoung/public/9-jun-2005-net80211-obsolete
> >
> > One stand-out problem is that I have not re-implemented the
> > SIOCS80211NWKEY ioctl in terms of the new net80211-crypto API.  If
> you're
> > losing with WEP, that explains it.
> >
> > Dave
> >
> > --
> > David Young             OJC Technologies
> > dyoung@ojctech.com      Urbana, IL * (217) 278-3933

------=_NextPart_000_02AD_01C56DF7.63EB6C90
Content-Type: application/x-pkcs7-signature;
	name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
	filename="smime.p7s"

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIILoDCCA2Qw
ggJMoAMCAQICAQAwDQYJKoZIhvcNAQEEBQAwKzELMAkGA1UEBhMCRlIxDTALBgNVBAoTBENOUlMx
DTALBgNVBAMTBENOUlMwHhcNMDEwNDI3MDU0NDM2WhcNMjEwNDIyMDU0NDM2WjArMQswCQYDVQQG
EwJGUjENMAsGA1UEChMEQ05SUzENMAsGA1UEAxMEQ05SUzCCASIwDQYJKoZIhvcNAQEBBQADggEP
ADCCAQoCggEBAN13q/Hq/Hi1FKHcd2JWl4wvt1TCTFSm1H0iR3t0qffjrXxVshTwSF2YjwK9khG2
iE/EFfVvWFv3ibUn6q+g/KCOiIaPnyS2kE4k3GfQT49+Vi0bKAdysRdnoA7bQk7DfLQloviMBLGp
gl2Mj9SDe+6qn9fS2/ZbbsKBENaaq12IHDbKBWRoS4uewFCUI/22KLWvXaTdpsXT2FcrPvi1usTY
/xIiXyRpB2LkNEoId8owu+zT7XWQaKKMcXIn3hUmLCUhhCqeVxi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