From owner-freebsd-gnome@FreeBSD.ORG Mon Sep 20 06:03:02 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 38F6416A4CE for ; Mon, 20 Sep 2004 06:03:02 +0000 (GMT) Received: from vbook.fbsd.ru (asplinux.ru [195.133.213.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6A0E143D62 for ; Mon, 20 Sep 2004 06:03:00 +0000 (GMT) (envelope-from vova@vbook.fbsd.ru) Received: from vova by vbook.fbsd.ru with local (Exim 4.42 (FreeBSD)) id 1C9HGN-0000KZ-M5; Mon, 20 Sep 2004 10:02:59 +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="=-9kzUjoEy7LdynCFz/Ti+" Organization: SWsoft Date: Mon, 20 Sep 2004 10:02:59 +0400 Message-Id: <1095660179.980.4.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: Mon, 20 Sep 2004 06:03:02 -0000 --=-9kzUjoEy7LdynCFz/Ti+ 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: ... resend ... > -----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 --=-9kzUjoEy7LdynCFz/Ti+--