From owner-freebsd-gnome@FreeBSD.ORG Sun Sep 19 19:36:40 2004 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 907E716A4CE for ; Sun, 19 Sep 2004 19:36:40 +0000 (GMT) Received: from vbook.fbsd.ru (asplinux.ru [195.133.213.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id D1D5143D54 for ; Sun, 19 Sep 2004 19:36:38 +0000 (GMT) (envelope-from vova@vbook.fbsd.ru) Received: from vova by vbook.fbsd.ru with local (Exim 4.42 (FreeBSD)) id 1C97T8-000KNl-Bj; Sun, 19 Sep 2004 23:35:30 +0400 From: Vladimir Grebenschikov To: Joe Marcus Clarke In-Reply-To: <41409AB1.1030002@marcuscom.com> References: <1094713105.1043.22.camel@localhost> <41409AB1.1030002@marcuscom.com> Content-Type: multipart/mixed; boundary="=-lxiOmEw7cpxgEFAi1L+/" Organization: SWsoft Date: Sun, 19 Sep 2004 23:35:29 +0400 Message-Id: <1095622529.1012.35.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.0.0FreeBSD GNOME Team Port Sender: Vladimir Grebenschikov X-Content-Filtered-By: Mailman/MimeDel 2.1.1 cc: gnome Subject: Re: wireless-applet problems X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: vova@fbsd.ru List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Sep 2004 19:36:40 -0000 --=-lxiOmEw7cpxgEFAi1L+/ Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable =F7 =DE=D4, 09/09/2004 =D7 14:02 -0400, Joe Marcus Clarke =D0=C9=DB=C5=D4: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 >=20 > Vladimir Grebenschikov wrote: >=20 > | Hi > | > | There is some problems with wireless applet: > | > | - first it does not handle not "wiX" interfaces, I have ndis0 wireles= s > | interface, but applet can't find any wireless interfaces at all. Proble= m > | can be fixed by "ifconfig ndis0 name wi0" but it looks like hack. I > | guess it is better to query all interfaces for wireless capabilities. >=20 > Except each interface has different APIs. I can add ndis to the list in > the code, but your "hack" is pretty much what I Would be doing in code. >=20 > | > | - second, it can't show wireless level (show N/A) for this interface, > | card is ndis0: > | and wicontrol -L shows signal strength, noise and level. >=20 > I don't have the hardware to test this. Donations or patches welcome. Ok, see attached replacement for=20 x11/gnomeapplets2/files/patch-wireless_wireless-applet.c In two words: reason why original wireless-applet doesn't work - bug in either ndis-framework or my ndis driver (will report separately). Anyway signal information can be fetched from the card and it is done in patch, as well as adding ndis driver to list of "known" drivers. BUT such solution should be considered as HACK :(, even bigger than it was (actually bad hack). Right solution is: - fix ndis-wireless drivers (will fix my card issue) - make single API (see net80211) for fetching signal quality numbers (this will fix hack with interface type detection by name) > Joe --=20 Vladimir B. Grebenchikov vova@fbsd.ru --=-lxiOmEw7cpxgEFAi1L+/--