From owner-cvs-all@FreeBSD.ORG Sun Jul 15 18:26:21 2007 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D0D2316A405; Sun, 15 Jul 2007 18:26:21 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from heff.fud.org.nz (203-109-251-39.static.bliink.ihug.co.nz [203.109.251.39]) by mx1.freebsd.org (Postfix) with ESMTP id 620EE13C4A6; Sun, 15 Jul 2007 18:26:21 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: by heff.fud.org.nz (Postfix, from userid 1001) id B1CB21CC58; Mon, 16 Jul 2007 06:26:19 +1200 (NZST) Date: Mon, 16 Jul 2007 06:26:19 +1200 From: Andrew Thompson To: Matteo Riondato , src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Message-ID: <20070715182619.GA10968@heff.fud.org.nz> References: <200707120254.l6C2s5Yg041022@repoman.freebsd.org> <20070713230833.GA2642@krapfengeist.dei.unipd.it> <20070715111346.GJ95956@heff.fud.org.nz> <20070715131140.GA1413@krapfengeist.dei.unipd.it> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070715131140.GA1413@krapfengeist.dei.unipd.it> User-Agent: Mutt/1.5.13 (2006-08-11) Cc: Subject: Re: cvs commit: src/sys/dev/if_ndis if_ndis.c if_ndisvar.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Jul 2007 18:26:21 -0000 On Sun, Jul 15, 2007 at 03:11:40PM +0200, Matteo Riondato wrote: > On Sun, Jul 15, 2007 at 11:13:46PM +1200, Andrew Thompson wrote: > > On Sat, Jul 14, 2007 at 01:08:33AM +0200, Matteo Riondato wrote: > > > On Thu, Jul 12, 2007 at 02:54:05AM +0000, Andrew Thompson wrote: > > > > thompsa 2007-07-12 02:54:05 UTC > > > > > > > > FreeBSD src repository > > > > > > > > Modified files: > > > > sys/dev/if_ndis if_ndis.c if_ndisvar.h > > > > Log: > > > > Improve the net80211 handling within ndis > > > > - use net80211 for scanning and pass the results back to the scan cache > > > > - use ieee80211_init_channels to fill our channel list > > > > - fix up state transitions > > > > - depreciate the old wicontrol ioctls > > > > - add some debugging lines (#define NDIS_DEBUG) > > > > > > I wonder whether this commit can be guilty of my wireless connection > > > (which uses ndis) no longer working. I rebuild my system today and when > > > I rebooted my machine can no longer connect to the network. "ifconfig > > > ndis0 scan" seems not to work any more. > > > I will be pleased to give more debug information, if you tell me what > > > you need. > > > > You can turn on net80211 debugging my setting sysctl > > net.wlan.0.debug=0xffffffff (or use wlandebug). Kick off a scan and see > > if anything is returned. > > kaiser# sysctl net.wlan.0.debug=0xffffffff > net.wlan.0.debug: 0 -> 2147483647 > kaise# ifconfig ndis0 scan > ndis0: ieee80211_start_scan: acrive scan 2147483647, desired mode auto, > append, nopick, once > ndis0 scan set dwell min 20 max 200 > ndis0: scan_restart: no channels to scan > Maybe the channel set hasnt been initialised, can you list 'ifconfig ndis0 list channel' Andrew