From owner-freebsd-mobile@FreeBSD.ORG Sun Sep 13 14:09:40 2009 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 475E7106566C for ; Sun, 13 Sep 2009 14:09:40 +0000 (UTC) (envelope-from sam@errno.com) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id 1C32E8FC08 for ; Sun, 13 Sep 2009 14:09:39 +0000 (UTC) Received: from ice.local ([10.0.0.115]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id n8DE9dKA002334 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 13 Sep 2009 07:09:39 -0700 (PDT) (envelope-from sam@errno.com) Message-ID: <4AACFD23.50800@errno.com> Date: Sun, 13 Sep 2009 07:09:39 -0700 From: Sam Leffler User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 To: freebsd-mobile@freebsd.org References: <4AAA96DB.7070501@angryeddie.cn> <3a142e750909111328l5f3813d5xba6cf84d349f30a@mail.gmail.com> <4AAAD01F.1040309@angryeddie.cn> <4AAB096F.5090702@freebsd.org> <20090913054601.GH418@sysmon.tcworks.net> In-Reply-To: <20090913054601.GH418@sysmon.tcworks.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-DCC-sonic.net-Metrics: ebb.errno.com; whitelist Subject: Re: Problem using adhoc mode using the iwn driver. X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Sep 2009 14:09:40 -0000 Scott Lambert wrote: > On Fri, Sep 11, 2009 at 07:37:35PM -0700, Sam Leffler wrote: >> Eddie Leisure wrote: >>> Paul B. Mahol wrote: >>>> Look at iwn source code, IBSS cap is commented out. >>>> Either this issue should be addressed or man page should be updated. >>> Thanks for your help here, it never occurred to me to check the source, >>> I'm still a bit of a newbie at this. >>> >>> Deleted the #if 0...#endif block around the code in if_iwn.c and >>> recompiled. >>> Running it form the console this time and I can see the error "iwn0: >>> IBSS mode not supported" - so it still doesn't seem to be working. I >>> checked over the rest of the source and I don't see anything obvious in >>> the header files either. >> iwn's ibss suport didn't work when I last tried it so I removed the >> capability. Someone needs to take responsibility for the driver; there >> are many outstanding issues with the code in the tree (e.g. lack of >> support for the newer (but now old) parts). > > If someone gets interested in playing with iwn, it would be great if > they could work on resume. FreeBSD 8 is *wonderful* for S3 suspend and > resume. I really appreciate the work which has been done to get it to > work. > > The iwn driver is my only issue. I have put up the verbose dmesg for > boot and resume if anyone is interested. > > http://www.lambertfam.org/~lambert/laptop/TravelMate_5720-6911/ > > After resume the ifconfig shows "associated" on iwn0 and "no carrier" on > wlan0. > > There is suspend/resume support in net80211; probably just requires hooking up to it. OTOH if you want to do a good job (i.e. resume quickly) then take a look at what ath does. Sam