From owner-freebsd-net Fri Dec 7 2:31:31 2001 Delivered-To: freebsd-net@freebsd.org Received: from sj-msg-core-4.cisco.com (sj-msg-core-4.cisco.com [171.71.163.10]) by hub.freebsd.org (Postfix) with ESMTP id 1F10737B419 for ; Fri, 7 Dec 2001 02:31:27 -0800 (PST) Received: from europe.cisco.com (europe.cisco.com [144.254.52.73]) by sj-msg-core-4.cisco.com (8.11.3/8.9.1) with ESMTP id fB7AVP917212 for ; Fri, 7 Dec 2001 02:31:25 -0800 (PST) Received: from cobweb.example.org (dhcp-nic-val-26-117.cisco.com [64.103.26.117]) by europe.cisco.com (8.8.8+Sun/8.8.8) with SMTP id LAA12926 for ; Fri, 7 Dec 2001 11:31:22 +0100 (MET) Received: (qmail 21646 invoked by uid 1000); 7 Dec 2001 10:31:32 -0000 Date: Fri, 7 Dec 2001 11:31:32 +0100 From: Marco Molteni To: freebsd-net@FreeBSD.ORG Subject: Re: pcap_open_live() takes 1 sec to complete? Message-ID: <20011207113132.A21525@cobweb.example.org> References: <20011206141330.A17077@cobweb.example.org> <200112061823.fB6INsP49553@ambrisko.com> <20011206132924.A65556@tp.databus.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011206132924.A65556@tp.databus.com>; from barney@databus.com on Thu, Dec 06, 2001 at 01:29:24PM -0500 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On 2001-12-06, Barney Wolff wrote: > As I recall, delays like that come from the power-saving mode on > the card. Turn power-saving off to make them go away. Power saving is off: # ancontrol -C | grep "save mode" Power save mode: [ none ] > > Marco Molteni writes: > > | I am writing a small program that does a pcap_open_live() on the > > | Aironet an device, PCMCIA mode. System is a recent -stable on a > > | Toshiba Portege 7200 laptop. > > | > > | Now, pcap_open_live() takes more than 1 sec to return. Is this long > > | time expected? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message