From owner-freebsd-net@FreeBSD.ORG Sat Mar 18 05:36:14 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7FD7816A400; Sat, 18 Mar 2006 05:36:14 +0000 (UTC) (envelope-from kcai@cs.ubc.ca) Received: from mail-relay1.cs.ubc.ca (mail-relay1.cs.ubc.ca [142.103.6.79]) by mx1.FreeBSD.org (Postfix) with ESMTP id 296AD43D48; Sat, 18 Mar 2006 05:36:14 +0000 (GMT) (envelope-from kcai@cs.ubc.ca) Received: from smtp.cs.ubc.ca (smtp.cs.ubc.ca [142.103.6.52]) by mail-relay1.cs.ubc.ca (8.13.4/8.13.4) with ESMTP id k2I5aBxx029623; Fri, 17 Mar 2006 21:36:11 -0800 Received: from granville.cs.ubc.ca (granville.cs.ubc.ca [142.103.7.20]) by smtp.cs.ubc.ca (8.13.4/8.13.4) with ESMTP id k2I5aBT5006199 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 17 Mar 2006 21:36:11 -0800 Date: Fri, 17 Mar 2006 21:36:11 -0800 (PST) From: Kan Cai To: Bruce M Simpson In-Reply-To: <20060318043019.GR37590@spc.org> Message-ID: References: <20060318043019.GR37590@spc.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-PMX-Version: 5.0.3.165339, Antispam-Engine: 2.1.0.0, Antispam-Data: 2006.02.13.071104 X-UBCCS-SpamTag: Gauge=IIIIIII, Probability=7%, Report='__CT 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0, __STOCK_CRUFT 0' Cc: freebsd-net@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: Wireless sensing function is missing? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Mar 2006 05:36:14 -0000 On Sat, 18 Mar 2006, Bruce M Simpson wrote: > On Fri, Mar 17, 2006 at 02:00:28PM -0800, Kan Cai wrote: >> I wonder if this is true that sensing function is missing? If yes, is it >> supposed to be implemented in the driver or net80211 layer? Thanks in >> advance! > > It's a function of the 802.11 hardware. I assume you're describing the > CSMA/CA technique. The Coordination Function (CF) in use will also have > an effect but you don't specify if you're in IBSS or EBSS mode. Yes, I meant CSMA. But I was actually using ralink card, which has 802.11 firmware implemented in open source. I am aware that freebsd has a 80211 layer as well. So before I dig into the source, I would appreciate it if anyone can let me know where CSMA is implemented, in the driver or net80211 provided by freebsd. I tried both ad hoc mode and hostap mode, btw. > > How are you getting these figures anyway? I use two threads broadcasting and receiving packets, and measure their rates every 10 seconds. Two nodes are put on the edge of transmission range, and then put garbage cans filled with paper (water might be better) around one node so that they can absorb signals and interfere the signal propagation. This was just trying to verify if CSMA actually works. But as the data suggests that it seems that sensing isn't in place. Thanks, --ken > > Regards, > BMS > _______________________________________________ > freebsd-mobile@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-mobile > To unsubscribe, send any mail to "freebsd-mobile-unsubscribe@freebsd.org" >