From owner-freebsd-fs@FreeBSD.ORG Wed Mar 30 21:40:23 2011 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 45B5C106576A for ; Wed, 30 Mar 2011 21:40:22 +0000 (UTC) (envelope-from kungfujesus06@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 3054A8FC1D for ; Wed, 30 Mar 2011 21:40:21 +0000 (UTC) Received: by fxm11 with SMTP id 11so1806467fxm.13 for ; Wed, 30 Mar 2011 14:40:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=TQK5LccUqQmSj7YqFxhFu+nYX2qp2dYId6keWL1a3eA=; b=bALvK/TdmtRqFFibVJ5fdUZc0B5GaLEJ8DaWdMupMFWnY5joT/Kt4qZGbwfrs0kOxH ncTdTWYG7gHhfx3+scDAwIzC2kDcLoXyLNJ13EGf34g7nkWbOU/M3WVMP5i8h0PpNIv/ L1+nwtnBLMByWeO7Y29QEdAd5bK5aV1UWCv5I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=ODvhYG2w5XFopT9N6U/s8EDndDnsE4UlnsxYzTPwgoPEhBUWRcNTDJb5r6EcJzTT8Z DsLxuvr/My86ycJd6PccHfMxbhM7pvmuhrxZiXLBcXaAVMALzb93GI/ZX/ZYFOgUavtQ tDQZ3m6OwWk0TgTJw9H7phJgYnDVXMVS/iPds= MIME-Version: 1.0 Received: by 10.223.106.76 with SMTP id w12mr949580fao.104.1301519452282; Wed, 30 Mar 2011 14:10:52 -0700 (PDT) Received: by 10.223.110.147 with HTTP; Wed, 30 Mar 2011 14:10:52 -0700 (PDT) Date: Wed, 30 Mar 2011 17:10:52 -0400 Message-ID: From: Adam Stylinski To: freebsd-fs@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: net80211 and interface requests X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Mar 2011 21:40:23 -0000 Hello, This list has helped me before so I'll email again with the hopes that somebody has an answer. All is working well with my project, however for the life of me I cannot get the interface to inject the raw frames faster than 11mbps. I'm following the example given in /usr/src/tools/tools/net80211/wlaninject.c, and manually specifying parameters such as ucastrate, mcastrate, and mgmtrate within ifconfig. I'm putting the card into pureg mode, and yet I still can't inject any faster. I've even gone so far as to specify an ieee802211_txparam struct giving values of 255 both mcast and ucast rates within the struct (and of course anding them by 0xff). I then used the ioctl call to set the flags within the interface request. Any help would be greatly appreciated. I am doing nanosleeps in between transmissions as if I don't the bpf clone can't inject due to the buffer being too full. There's probably a better way of doing this, but I doubt the nanosleeps are the issue (afterall, I get almost exactly 11mbps). I should probably note I'm not doing any ACKs, this is pure transmits. If anybody cares enough to look at my unpolished code to get a better idea, look here: http://projhinternet.svn.sourceforge.net/ The idea is to allow unidirectional traffic so that with an FCC amateur license (yes I know I'm not currently broadcasting the call sign as of yet) you can broadcast unencrypted transmissions for miles (with a linear amplifier spec'd to 2.4ghz). With the license FCC part15 no longer applies and you can operate just like in any other amateur band.